-
Notifications
You must be signed in to change notification settings - Fork 903
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 option to include pinned-state in the choco export command #2603
Comments
To implement this, it will require that #798 is completed first, as that will add the ability to pin a package during install. And basing this on #2503 might be ideal, as there is likely some shared code between these two. One item for discussion is whether the pin status should be included in |
This is an interesting question. Since if #798 is implemented, this would mean that a pinned package can be done by both an argument, and as a dedicated command. My gut says that this information would be included by default with the Thoughts? |
Another option would be to always include it with the |
I wouldn't have any issues with that on my end. I can see situations where pins might specifically want to be excluded, having a
I don't thing this is ideal, at least not as the only option. It could work code wise, I actually have a PR in for that exact flag for the upgrade command. My ideal endgame for the So having a way to configure if I want the pins exported is ideal, because then upon reinstall, there is not a need to remember to specify another command line argument, all the information about what options I want to use is already included in the file. |
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This comment was marked as off-topic.
This comment was marked as off-topic.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
This adds the ability for the export command to include pins in the exported file. They will be exported if --include-arguments is specified, but can be excluded with --exclude-pins.
Similar to #2503 where install-args are included in export-file, I would like to have pinned-state included in export.
I'm aware that pinned state isn't known at install time, but it would be helpful to get the same state on a new computer as before.
For now I'm helping myself without "choco export" (I've using this longer than "choco export" exists):
Would be nice if choco implements an export fully (with pins).
Thanks!
The text was updated successfully, but these errors were encountered: