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
bolt module add
should list what has changed in the puppetfile
#2230
Labels
Feature
New features and improvements.
Comments
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Oct 9, 2020
This adds a new message to the outputter that describes changes made to a Puppetfile when using the `bolt module add` / `Add-BoltModule` command. The message will display which modules have been added, removed, upgraded, and downgraded. Upgraded and downgraded modules will have their old version and new version displayed, while added and removed modules display the version of the module that was added or removed. !feature * **Print changes made to Puppetfile when adding modules** ([puppetlabs#2230](puppetlabs#2230)) The `bolt module add` command and `Add-BoltModule` cmdlet now display a message describing changes made to the Puppetfile, including modules that have been added, removed, upgraded, or downgraded.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Oct 9, 2020
This adds a new message to the outputter that describes changes made to a Puppetfile when using the `bolt module add` / `Add-BoltModule` command. The message will display which modules have been added, removed, upgraded, and downgraded. Upgraded and downgraded modules will have their old version and new version displayed, while added and removed modules display the version of the module that was added or removed. !feature * **Print changes made to Puppetfile when adding modules** ([puppetlabs#2230](puppetlabs#2230)) The `bolt module add` command and `Add-BoltModule` cmdlet now display a message describing changes made to the Puppetfile, including modules that have been added, removed, upgraded, or downgraded.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Oct 9, 2020
This adds a new message to the outputter that describes changes made to a Puppetfile when using the `bolt module add` / `Add-BoltModule` command. The message will display which modules have been added, removed, upgraded, and downgraded. Upgraded and downgraded modules will have their old version and new version displayed, while added and removed modules display the version of the module that was added or removed. !feature * **Print changes made to Puppetfile when adding modules** ([puppetlabs#2230](puppetlabs#2230)) The `bolt module add` command and `Add-BoltModule` cmdlet now display a message describing changes made to the Puppetfile, including modules that have been added, removed, upgraded, or downgraded.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Oct 9, 2020
This adds a new message to the outputter that describes changes made to a Puppetfile when using the `bolt module add` / `Add-BoltModule` command. The message will display which modules have been added, removed, upgraded, and downgraded. Upgraded and downgraded modules will have their old version and new version displayed, while added and removed modules display the version of the module that was added or removed. !feature * **Print changes made to Puppetfile when adding modules** ([puppetlabs#2230](puppetlabs#2230)) The `bolt module add` command and `Add-BoltModule` cmdlet now display a message describing changes made to the Puppetfile, including modules that have been added, removed, upgraded, or downgraded.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Oct 9, 2020
This adds a new message to the outputter that describes changes made to a Puppetfile when using the `bolt module add` / `Add-BoltModule` command. The message will display which modules have been added, removed, upgraded, and downgraded. Upgraded and downgraded modules will have their old version and new version displayed, while added and removed modules display the version of the module that was added or removed. !feature * **Print changes made to Puppetfile when adding modules** ([puppetlabs#2230](puppetlabs#2230)) The `bolt module add` command and `Add-BoltModule` cmdlet now display a message describing changes made to the Puppetfile, including modules that have been added, removed, upgraded, or downgraded.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Oct 15, 2020
This adds a new message to the outputter that describes changes made to a Puppetfile when using the `bolt module add` / `Add-BoltModule` command. The message will display which modules have been added, removed, upgraded, and downgraded. Upgraded and downgraded modules will have their old version and new version displayed, while added and removed modules display the version of the module that was added or removed. !feature * **Print changes made to Puppetfile when adding modules** ([puppetlabs#2230](puppetlabs#2230)) The `bolt module add` command and `Add-BoltModule` cmdlet now display a message describing changes made to the Puppetfile, including modules that have been added, removed, upgraded, or downgraded.
beechtom
added a commit
that referenced
this issue
Oct 16, 2020
(GH-2230) Print Puppetfile diff when using 'module add'
dontlaugh
pushed a commit
to dontlaugh/bolt
that referenced
this issue
Nov 22, 2020
This adds a new message to the outputter that describes changes made to a Puppetfile when using the `bolt module add` / `Add-BoltModule` command. The message will display which modules have been added, removed, upgraded, and downgraded. Upgraded and downgraded modules will have their old version and new version displayed, while added and removed modules display the version of the module that was added or removed. !feature * **Print changes made to Puppetfile when adding modules** ([puppetlabs#2230](puppetlabs#2230)) The `bolt module add` command and `Add-BoltModule` cmdlet now display a message describing changes made to the Puppetfile, including modules that have been added, removed, upgraded, or downgraded.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use Case
It's good to know what's changed in case something breaks after the addition. Printing this out for the user is the minimum we can do to help with this.
Should we have a confirmation step? Not for now.
Should this be a diff, or show what the new Puppetfile content is? More of a diff of just changes, not the entire contents (upgrading and downgrading versions, adding and removing modules). Refer to package managers to see what they do.
a good json format is out of scope
The text was updated successfully, but these errors were encountered: