-
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
Allow setting of Chocolatey GUI settings via Chocolatey package parameter #592
Comments
This will include all settings, i.e:
|
Awesume. I vote for this feature! Currently we are coping a blank db with the settings we want to each PC. Ugly! |
@exportgoldman agreed, the workaround that is suggested is far from ideal, we will update this issue once this is ready. |
…tures from command line - Added parsing of command line arguments using same mechanism as Chocolatey itself - Created new custom attribute for adding description to Property value - Extended AppConfiguration class using new attribute - Changed project type to be Console Application rather than WPF Application - The ability to have both console application and WPF came from here: https://blog.rsuter.com/write-application-can-act-console-application-wpf-gui-application/ - The following was consulted for accessing custom attribute: https://stackoverflow.com/a/695737/671491 - This was used for creating localized attribute: https://stackoverflow.com/questions/7398653/how-to-localize-a-property-description-in-c
@exportgoldman I have just pushed a PR that starts to implement this functionality. Would you be in a position to take this for a spin to get some feedback on it? |
(GH-592) Ability to enable/disable Chocolatey GUI features from command line
@exportgoldman The PR has now been merged, and it should now be possible to install the latest version from the MyGet feed in order to take this for a spin. There is still a small amount of work to be done to add Package Parameters to the Chocolatey GUI package so that they can be passed in at installation time, however, for now, once installed, you should be able to run the following commands:
Let me know if you have any questions. |
Okay, I can only find the 0.16 build from the feed.
I try to run
chocolateygui feature list
and I get the chocolatey GUI appear, then a window appear which what looks like the options then half a second later it all quits.
…________________________________
From: Gary Ewan Park <[email protected]>
Sent: Saturday, 14 July 2018 6:49:02 AM
To: chocolatey/ChocolateyGUI
Cc: Tyler Rosolowski; Mention
Subject: Re: [chocolatey/ChocolateyGUI] Allow setting of Chocolatey GUI settings via Chocolatey package parameter (#592)
@exportgoldman<https://github.com/exportgoldman> The PR has now been merged, and it should now be possible to install the latest version from the MyGet feed in order to take this for a spin. There is still a small amount of work to be done to add Package Parameters to the Chocolatey GUI package so that they can be passed in at installation time, however, for now, once installed, you should be able to run the following commands:
chocolateygui feature -h - to get the help documentation for the command
chocolateygui feature list - to get the current status of all the Chocolatey GUI features
chocolateygui feature enable -n=<featureName> - to enable a given feature
chocolateygui feature disable -n=<featureName> to disable a given feature
Let me know if you have any questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#592 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Al3yFaF4X_pWJlnCxZ0AM7EAPzEwoyBhks5uGOuegaJpZM4UOIma>.
|
Okqy ignore the last message. I have the beta version now and can see the options. This is great.
…________________________________
From: Tyler Rosolowski
Sent: Monday, 16 July 2018 9:04:16 AM
To: chocolatey/ChocolateyGUI; chocolatey/ChocolateyGUI
Cc: Mention
Subject: Re: [chocolatey/ChocolateyGUI] Allow setting of Chocolatey GUI settings via Chocolatey package parameter (#592)
Okay, I can only find the 0.16 build from the feed.
I try to run
chocolateygui feature list
and I get the chocolatey GUI appear, then a window appear which what looks like the options then half a second later it all quits.
________________________________
From: Gary Ewan Park <[email protected]>
Sent: Saturday, 14 July 2018 6:49:02 AM
To: chocolatey/ChocolateyGUI
Cc: Tyler Rosolowski; Mention
Subject: Re: [chocolatey/ChocolateyGUI] Allow setting of Chocolatey GUI settings via Chocolatey package parameter (#592)
@exportgoldman<https://github.com/exportgoldman> The PR has now been merged, and it should now be possible to install the latest version from the MyGet feed in order to take this for a spin. There is still a small amount of work to be done to add Package Parameters to the Chocolatey GUI package so that they can be passed in at installation time, however, for now, once installed, you should be able to run the following commands:
chocolateygui feature -h - to get the help documentation for the command
chocolateygui feature list - to get the current status of all the Chocolatey GUI features
chocolateygui feature enable -n=<featureName> - to enable a given feature
chocolateygui feature disable -n=<featureName> to disable a given feature
Let me know if you have any questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#592 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Al3yFaF4X_pWJlnCxZ0AM7EAPzEwoyBhks5uGOuegaJpZM4UOIma>.
|
@exportgoldman sweet! Let me know if you have any questions. |
So that during installation, end user can make a decision about what features are enabled/disabled in Chocolatey GUI, as well as set any configuration of Chocolatey GUI. Chocolatey dependency was changed to ensure Chocolatey version of Get-PackageParameters is used.
The ability to run an installation command similar to the following:
has just been added to the Chocolatey GUI preview, and it will be shipped in the next release of Chocolatey GUI (0.17.0). |
🎉 This issue has been resolved in version 0.17.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
At the minute, it is possible to set a preference for whether Tile View is used or not via the Settings screen within Chocolatey GUI.
However, it should be possible to set this at installation time.
This will be done via a package parameter.
The text was updated successfully, but these errors were encountered: