-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Feature] Add bucket sorting (order) #5131
Comments
yes and I think the official bucket should have a higher weighting (by default) the another side,
|
This is not recommended. It would break dependencies prefixed with bucket names. e.g.
|
I feel the best compromise would be to search buckets in the order they are added by user. In this case Main bucket will always be first as it is added by default, and the rest of the bucket order can be left to the user. |
just a dirty method, I use it for sort personal bucket first to avoid declaring the bucket name in executing commands only. so, we need this feature. |
I'm thinking about the case where the user types |
Users may add buckets other than "main" and "extras", and these buckets may include the same software (the version may or may not be the same). |
It's cool that official repositories will now have priority. But the original idea was to be able to change the priority by yourself. Perhaps this request should be left open, for the future? |
Yes, will not be closed. |
Is it possible to use manual bucket sorting for getting information and installing packages?
If the same application is available in several packages, scoop will use this sorting to determine the "priority" bucket (now alphabetical sorting is used instead).
This is useful when using several buckets (I use about 10), and need to install some package whose name I know, but do not want to figure out which bucket it is available in. But I want to install it by priority from certain buckets.
Use bucket order for comands:
Example
1. Current version
2. Set order
3. Result
Solution suggestions
Variant 1: Use bucket sorting list
Sorting is used for all buckets, new buckets are added to the end.
We can specify a specific order in the list for each bucket
Variant 2: Use the 'order' parameter
We can prioritize only the buckets we want - the others will be used alphabetically the way they are prioritized by default.
Each bucket will have an "order" parameter.
The text was updated successfully, but these errors were encountered: