-
Notifications
You must be signed in to change notification settings - Fork 255
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
Enhancement - Add export of installed packages to packages.config file #7
Comments
Why not just use a the same format as package.config XML file used by NuGet? It would make sense to me to export to what is already supported. |
Yes, I think that would make a lot of sense. I know there is an open issue on the Chocolatey site to fully support this natively in chocolatey, so if that comes together, we could be able to make use of that functionality. |
If/when this does come together, the ability to select a subset of installed packages to export would be a great enhancement. Also/alternatively, could you generate a Boxstarter URL for a set of packages? |
Thanks for the interest! Ooo, hadn't thought of generating a Boxstarter URL, but I think that this is a great idea! I reckon @mwrock would like it as well :-) |
👍 |
What do you think of the following: This simply generates a packages.config file, in the following format: Which contains all of the currently installed packages. If people are happy with this, we can look to extend this to include the ability to generate a chocolatey package with all the currently installed packages as dependencies, and create a boxstarter script that will have all entries as a single command. Thoughts? |
- Using a simple PersistenceService, i.e. Open/Save Dialog - Provide option to export the current list of installed packages to a packages.config file
- Use XmlWriter, rather that StreamWriter - While the file is being created, prevent the Export button from being pushed again
I am going to break this issue into two, one for export, and one for import. |
- Using a simple PersistenceService, i.e. Open/Save Dialog - Provide option to export the current list of installed packages to a packages.config file
- Use XmlWriter, rather that StreamWriter - While the file is being created, prevent the Export button from being pushed again
I want to add an export of installed packages in JSON format so that you can save it and import and install those packages on another machine.
Suggested enhancement:
Allow the option to generate Boxstarter URL for selected packages as well.
The text was updated successfully, but these errors were encountered: