-
Notifications
You must be signed in to change notification settings - Fork 233
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
Add 'add' subcommand to port select #248
base: master
Are you sure you want to change the base?
Conversation
This can be used to create user-specific, adhoc select groups. The syntax is port select --add <group> <target> <name>:<link> [<name>:<link>...] For example, consider clangd which is installed in the clang port. clangd is installed to bin/clangd-mp-X (for some LLVM version X). If a user wants to use this version as simply bin/clangd they can use port select --add clangd bin/clangd clang-mp-13:bin/clangd-mp-13 The user can install any number of alternatives, but at least one is required.
Would we also want corresponding command |
The CI runs failed and the logs have already expired so I don't know why.
Here is the link: https://lists.macports.org/pipermail/macports-dev/2021-December/043957.html In it, you mentioned the use case you showed above, creating a new select group for You also mentioned a second use case where the universal-ctags port installs a binary |
I sent an email to the macports-dev list earlier today asking about this, but admittedly I got a little excited and just went ahead and implemented a prototype.
This can be used to create user-specific, adhoc select groups. The
syntax is
For example, consider clangd which is installed in the clang port.
clangd is installed to bin/clangd-mp-X (for some LLVM version X). If a
user wants to use this version as simply bin/clangd they can use
The user can install any number of alternatives, but at least one is
required.