Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot specify dependencies on package versions #59

Open
DashW opened this issue Mar 12, 2017 · 1 comment
Open

Cannot specify dependencies on package versions #59

DashW opened this issue Mar 12, 2017 · 1 comment

Comments

@DashW
Copy link

DashW commented Mar 12, 2017

I use a large number of Asset Store packages in my daily workflow across various projects, many of which reference different versions of common dependencies, particularly the Standard Assets.

I've been working on my own solution to try to isolate or 'sanitise' asset packages (to track versions and prevent conflicts between them), but would it be possible to add dependency versions into Projeny to allow two packages to depend upon different versions of the same dependency, and have both of those versions imported and correctly referenced, even if it meant refactoring code as part of the process?

@svermeulen
Copy link
Contributor

svermeulen commented Mar 12, 2017

In this first implementation, we decided to not use versions because that adds a lot of complexity and it's quite complex as it is - and also that potentially leads to the "diamond dependency" issue. However, in theory it could work, we would just have to ensure that within a single project there is only one definitive version for a given package. So if you tried to initialize a project that had different versions of the same package referenced in it then projeny would trigger errors.

We could migrate current projects by always assuming latest version when unspecified. Then I suppose we'd have to add sub-folders under each package folder for each version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants