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

Override --name of installed packages #1

Open
mottosso opened this issue Jun 11, 2019 · 1 comment
Open

Override --name of installed packages #1

mottosso opened this issue Jun 11, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@mottosso
Copy link
Owner

Because Scoop doesn't strictly support multiple versions of a single package, packages like python27 end up as a Rez package of the same name, when it should end up as python-2.7.16.

A simple and perhaps naive approach would be to look at the ["version"] string in the Scoop manifest, use that, and strip any numbers following the package name.

Another approach is give control to the user to e.g.

$ install python27 --name python

However that would does not take into account the many packages that may be installed as a dependency of python27.

@mottosso mottosso added the bug Something isn't working label Jun 11, 2019
mottosso added a commit that referenced this issue Jun 11, 2019
Poor-mans version
@mottosso
Copy link
Owner Author

mottosso commented Jul 1, 2019

What happens currently is that the tailing digits are assumed to be a version, and are stripped. E.g. python27 becomes python, whereby the actual version is coming from the bucket definition, which contains an appropriate 2.7.16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant