Skip to content

Latest commit

 

History

History
455 lines (274 loc) · 19 KB

CHANGELOG.md

File metadata and controls

455 lines (274 loc) · 19 KB

Unreleased

1.7.3 (28th February 2020)

Features:

- Added `--fail-if-frozen` flag to `knife spork check` to only fail when local version matches a frozen version (Thanks to shoekstra https://github.com/jonlives/knife-spork/pull/228)
- Allow git plugin to push to current branch (Thanks to zmaupin https://github.com/jonlives/knife-spork/pull/229)

1.7.2 (3rd August 2018)

Bugfixes:

- Fix issues handling an array of environment paths. (Thanks to miroswan https://github.com/jonlives/knife-spork/pull/223)

1.7.1 (17th November 2017)

Bugfixes:

- Fixes to gemspec fields

1.7.0 (12th October 2017)

Features:

- Rubocop plugin now supports cookstyle (thanks to timurb https://github.com/jonlives/knife-spork/pull/211)
- Spork info will now dump config as yml (Thanks to jeunito https://github.com/jonlives/knife-spork/pull/215)
- Spork promote will now prefer the environment path passed in on the command line (Thanks to shoekstra https://github.com/jonlives/knife-spork/pull/216)
- Add knife spork version command (Thanks to jeunito https://github.com/jonlives/knife-spork/pull/217)

Bugfixes:

- Fix error with Chef server when uploading cookbook with no deps (Thanks to timurb https://github.com/jonlives/knife-spork/pull/210)
- Fix unclear error when trying to promote a non-existant cookbook (Thanks to timurb https://github.com/jonlives/knife-spork/pull/213)

1.6.3(12th December, 2016)

Features:

- Added commands to delete cookbooks (Thanks to kdaniels https://github.com/jonlives/knife-spork/pull/205)

1.6.2(13th June, 2016)

Features:

- Search for spork config file in .chef directory under current working dir (Thanks to jgoulah https://github.com/jonlives/knife-spork/pull/203)

Bugfixes:

- Typo fix in documentation (Thanks to @gregkare https://github.com/jonlives/knife-spork/pull/199)

1.6.1(18th August, 2015)

Bugfixes:

- Fix bug in automatic bump command when cookbook name is single quoted in metadata.rb

1.6.0(18th August, 2015)

Features:

- Optionally print a link to a gist of change diffs on the command line in addition to in plugin notifications (https://github.com/jonlives/knife-spork/issues/183
- Display a warning when deleting a role currently in use by nodes on the Chef server (https://github.com/jonlives/knife-spork/issues/184)
- Spork bump will now bump in the current directory if no cookbook name is specified and metadata.rb is found (https://github.com/jonlives/knife-spork/issues/186)
- Spork promote now prompts for confirmation if a newer version of a cookbook exists on the server than the one being promoted (Thanks to @chazzle https://github.com/jonlives/knife-spork/pull/188)
- Significantly refactored git plugin, now supporting optional automatic commit & push (Thanks to @jeunito https://github.com/jonlives/knife-spork/pull/187)

Bugfixes:

- Correct parameter errors in Slack plugin README.md (Thanks to BarthV https://github.com/jonlives/knife-spork/pull/185)
- Spork data bag from file now shows an error if data bag name is missed off (Thanks to @kdaniels https://github.com/jonlives/knife-spork/pull/190)

1.5.1(26th February, 2015)

Bugfixes:

- Fix 'undefined local variable' error in Hipchat plugin (Thanks to @danieleva https://github.com/jonlives/knife-spork/pull/177)

1.5.0(30th January, 2015)

Features:

- InfluxDB Plugin added (Thanks to @vic3lord https://github.com/jonlives/knife-spork/pull/167)
- Add gist & diff behavior to the Hipchat plugin (Thanks to @danieleva https://github.com/jonlives/knife-spork/pull/153)
- Optional config flag to enforce that role files share the same name as the role they contain (Thanks to @nishansubedi https://github.com/jonlives/knife-spork/pull/152)
- Add optional --cookbook-path flag to Spork Promote (Thanks to @bcandrea https://github.com/jonlives/knife-spork/pull/169)
- Add --cookbook-path option to spork promote command (Thanks to @bcandrea https://github.com/jonlives/knife-spork/pull/169)
- Add verification check to environment create commadn when environment already exists (https://github.com/jonlives/knife-spork/issues/171)
- Add save_environment_locally_on_create option to have environment create command save a local copy of the environment file (https://github.com/jonlives/knife-spork/issues/172)
- Lazily load Berkshelf to improve overall knife performance (Thanks to @lamont-granquist https://github.com/jonlives/knife-spork/pull/158)

Bugfixes:

- Add cookbook name metadata field to test cookbook (Thanks to @jdmundrawala https://github.com/jonlives/knife-spork/pull/162)
- Add missing require statements to fix specs running against Chef 12 (Thanks to @jdmunrawala https://github.com/jonlives/knife-spork/pull/163)
- Fix issues with the slack plugin (Thanks to @therobot https://github.com/jonlives/knife-spork/pull/160)
- Fix issue with knife spork omni and skip_berkshelf option when Berkshelf not installed (Thanks to @ctrlok https://github.com/jonlives/knife-spork/pull/168)
- Fix yajl error on missing environment files (Thanks to @oker1 https://github.com/jonlives/knife-spork/pull/165)
- Fix for changed constant name from Yaj to FFI_Yajl in Chef 12 (Thanks to @jeunito https://github.com/jonlives/knife-spork/pull/154)
- Fix Spork DataBag Create to handle specifying a data bag item name too (https://github.com/jonlives/knife-spork/issues/156)

1.4.2(3rd November, 2014)

Features:

- Improve error messages when uploading invalid JSON (Thanks to @jeunito https://github.com/jonlives/knife-spork/pull/151)
- Allow an optional comma delimited set of environments to be passed to spork promote (Thanks to @jeunito https://github.com/jonlives/knife-spork/pull/148)
- Add support for rubocop >= 0.23.0 in RuboCop plugin (Thanks to @dwradcliffe https://github.com/jonlives/knife-spork/pull/147)
- Relax foodcritic version requirement from ~> 3.0.0 to >= 3.0.0 (Thanks to @dwradcliffe https://github.com/jonlives/knife-spork/pull/146)
- Slack plugin now supports adding images in messages (Thanks to @ctrlok https://github.com/jonlives/knife-spork/pull/144)
- Git plugin can now optionally commit and push on changes (Thanks to @jeunito https://github.com/jonlives/knife-spork/pull/124)

Bugfixes:

- Fix custom plugin loading on Window (Thanks to @carpnick https://github.com/jonlives/knife-spork/pull/150)
- Fix config loading in CookbookUploader under Chef 12 (Thanks to @jordane https://github.com/jonlives/knife-spork/pull/149)
- Do not attempt to load Berksfile if not present (Thanks to @redondos https://github.com/jonlives/knife-spork/pull/142)

1.4.1 (21st August, 2014)

Bugfixes:

- Fix bug with preserving constraint operators on new cookbooks (https://github.com/jonlives/knife-spork/issues/139)

1.4.0 (21st August, 2014)

Bugfixes:

- Fix bug with preserve_constraint_operators functionality (https://github.com/jonlives/knife-spork/issues/131)
- Fix incorrect data bag banner message (Thanks to @jperry https://github.com/jonlives/knife-spork/pull/119)
- Fix error when calculating environment path when "cookbooks" occurs in cookbook_path outside of the last position (https://github.com/jonlives/knife-spork/issues/137)
- Fix spelling error in README (Thanks to @jrwesolo https://github.com/jonlives/knife-spork/pull/136)

Features:

- Hipchat plugin now supports custom server URL and API version (Thanks to @hrak https://github.com/jonlives/knife-spork/pull/135)
- Slack plugin (Thanks to @chrisferry https://github.com/jonlives/knife-spork/pull/134)
- Rubocop plugin (Thanks to @chazzly https://github.com/jonlives/knife-spork/pull/120)
- Add skip_berkshelf flag to allow Berkshelf operations to be skipped even when Berkshelf is loaded (https://github.com/jonlives/knife-spork/issues/138)

1.3.4 (2nd June, 2014)

Bugfixes:

- Fix incorrect endpoint in spork environment check (Thanks to @jperry https://github.com/jonlives/knife-spork/pull/128)

1.3.3 (23rd May, 2014)

Features:

- Added new preserve_constraint_operators config flag to make spork promote preserve existing version constraint operators (https://github.com/jonlives/knife-spork/issues/101)
- Have runner check Chef::Config for environment_path (Thanks to @cstewart87 https://github.com/jonlives/knife-spork/pull/114)
- Have spork check autobump when -y option given (Thanks to @slingcode https://github.com/jonlives/knife-spork/pull/108)
- Add ability to pass options to JSON.pretty_generate (Thanks to @halcyonCorsair https://github.com/jonlives/knife-spork/pull/105)
- Spork check environment command to validate constraints specified in environments (Thanks to @jperry https://github.com/jonlives/knife-spork/pull/115)

Bugfixes:

- Fix exception when trying to load non existent role or env from file (Thanks to @jperry https://github.com/jonlives/knife-spork/pull/116)
- Fix incorrect error message when uploading frozen cookbook (https://github.com/jonlives/knife-spork/issues/117)
- Fix invalid API endpoint in cookbook upload check when environment specified in knife.rb (https://github.com/jonlives/knife-spork/issues/106)

1.3.2 (5th Feb, 2014)

Features:

- Add spork environment commands (Thanks to @jperry https://github.com/jonlives/knife-spork/pull/102)
- Berkshelf support for bump and check commands (Thanks to @poliva83 https://github.com/jonlives/knife-spork/pull/104)

1.3.1 (31st Dec, 2013)

Features:

- Add a cookbook_path option to spork bump (https://github.com/jonlives/knife-spork/issues/92)
- Add config option to promote --remote by default (https://github.com/jonlives/knife-spork/issues/95)

Bugfixes:

- Fix issue with gist generation in the irccat plugin breaking when json diffs were incorrectly escaped ((https://github.com/jonlives/knife-spork/issues/97)
- Fix issue with data bag upload when file path is specified (https://github.com/jonlives/knife-spork/issues/98)

1.3.0 (23rd October, 2013)

Features:

- Allow a custom plugin path to be specified in config to load additional plugins from (https://github.com/jonlives/knife-spork/issues/59)
- Spork check will prompt for a bump if one is needed (https://github.com/jonlives/knife-spork/issues/82)
- Spork omni command added to perform bump, upload and promote in a single step (https://github.com/jonlives/knife-spork/issues/49)
- Spork role, data bag and node commands added (https://github.com/jonlives/knife-spork/issues/81)

Bugfixes:

- Remove legacy code referring to "promote all cookbooks" (https://github.com/jonlives/knife-spork/issues/76)
- Fix incorrect cookbook version numbers in plugin output when -v used with promote (https://github.com/jonlives/knife-spork/issues/64)
- Replaced monkeypatched Hash#diff with an hash_diff method to fix clashes with ActiveSupport deprecation warnings. (Thanks to @RSO: https://github.com/jonlives/knife-spork/pull/84)
- Various fixes for Berkshelf issues (Thanks to @RSO and @sethvargo: https://github.com/jonlives/knife-spork/issues/73)
- Fix load_from_berkshelf method to return a CookbookVersion object (Thanks to @hanskrueger https://github.com/jonlives/knife-spork/pull/90)
- Fix foodcritic plugin to work properly with foodcritic > 3.0.0 (Thanks to @juliandunn https://github.com/jonlives/knife-spork/pull/94)

1.2.2 (10th Sept, 2013)

Bugfixes:

- Fix bug with promoting when environment groups are present (thanks to Jimmy Chao & Nik Keating - https://github.com/CaseCommonsDevOps)

1.2.1 (28th June, 2013)

Bugfixes:

- Fix potential error with environment_groups (thanks to Greg Karékinian - https://github.com/gkarekinian)

1.2.0 (28th June, 2013)

Features:

- StatusNet plugin (Thanks to Tomasz Napierala - https://github.com/zen)
- GroveIO plugin (Thanks to Greg Karékinian - https://github.com/gkarekinian)
- Configurable irccat message templates (Thanks to Tobias Schmidt - https://github.com/grobie)
- Environment Groups - Spork Promote can update multitiple environments at once by specifying the environment group name. (Thanks to Pivotal Casebook - https://github.com/pivotal-casebook)

Bugfixes:

- Fix spork bump to not change quote style or whitespace (Thanks to Tobias Schmidt - https://github.com/grobie)
- Correct Markdown formatting error (Thanks to Jeff Blaine - https://github.com/jblaine)
- Fix pretty printing of environments (Thanks to Peter Schultz - https://github.com/pschultz)

1.0.17 (15th February, 2013)

Bugfixes:

- Fix git plugin to work nicely with Cygwin and its unpredictable exit codes

1.0.16 (13th February, 2013)

Bugfixes:

- Reverted broken foodcritic plugin to that in 1.0.14

1.0.15 (12th February, 2013)

Bugfixes:

- Fixed git plugin so that when working on a submodule, submodules will be git pulled from the parent repo instead
- Fixed foodcritic plugin bug where certain tag formats weren't being passed through

1.0.14 (15th January, 2013)

Features:

-  Campfire plugin changed to use campy gem (thanks to Seth Vargo)
-  Organization name now added to messages when present (thanks to Seth Vargo)
-  Berkshelf support now added (thanks to Seth Vargo)

Bugfixes:

- Promote won't try to create a version diff if there is no existing remote version (thanks to Seth Vargo)

1.0.13 (9th January, 2013)

Features:

-  Made spork promote Use environment_path from spork config if it's set( thanks to Greg Karékinian - https://github.com/gkarekinian)

1.0.12 (22nd November, 2012)

Bugfixes:

- Fix bug where cookbook dependancy loading broke in older chef client versions as a result of a fix in 1.0.10

1.0.11 (22nd November, 2012)

Yanked

1.0.10 (22nd November, 2012)

Bugfixes:

- Load all cookbook versions from remote server when checking dependencies (thanks to gmcmillan)
- Fix case where git plugin would update a previously loaded cookbook, resulting in out of data metadata being used. (thanks to zsol)

1.0.9 (28th October, 2012)

Features:

-  Jabber Plugin (thanks to Graham McMillan - https://github.com/gmcmillan)

Bugfixes:

- Fix exception when spork promote called with no arguments (thanks to Julian Dunn - https://github.com/juliandunn)

1.0.8 (25th September, 2012)

Bugfixes:

- Fix whitespace warnings which occur in the git plugin under Ruby 1.8

1.0.7 (25th September, 2012)

Bugfixes:

- Fix invalid syntax in Hipchat plugin

1.0.6 (25th September, 2012)

Bugfixes:

- Fix for disabling plugins when override config files are present

1.0.5 (24th September, 2012)

Bugfixes:

- Fixes for hipchat plugin

1.0.4 (14th September, 2012)

Features:

- Spork can now run command from any directory, not just the root of your chef repository.

Bugfixes:

- Fixed spork uploader to work more cleanly with 10.14.0 and greater
- Spork bump will no longer throw errors when no cookbook name is specified

1.0.3 (10th September, 2012)

Bugfixes:

- Fix spork upload when using Chef 10.14.0
- Optional config override for chef environment location (not documented in README until 1.0.4)

1.0.2 (28th August, 2012)

Bugfixes:

- Fix bug which caused plugin errors when no spork config file could be found

1.0.1 (27th August, 2012)

Bugfixes:

- Fix require error which broke spork on CentOS 5.6

1.0.0 (27th August, 2012)

Features:

- Major refactor (initial refactor: Seth Vargo)
- Plugin API (Seth Vargo)
- Added "spork info" command to show config hash and plugins status
- Missing local / remote cookbook now handled nicely in spork check
- Add "--fail" option to spork check to "exit 1" if check fails
- Git plugin now uses git gem instead of shelling out
- Confirmation check on promote if version jumps more than version_change_threshold
- Thanks also to jperry, bethanybenzur and nickmarden for contributions submitted pre-refactor which have been included in one form or another.

0.1.11 (5th June, 2012)

Features:

- Hipchat Support (courtesy of Chris Ferry: @cdferry)

Bugfixes:

- Tweaks to spork bump to play nicely with x.x versions as well as x.x.x (courtesy of Russ Garrett: @russss)

0.1.10 (12th April, 2012)

Features:

- All spork plugins now support multiple cookbook paths

Bugfixes:

- Fixes to work with app_conf 0.4.0

0.1.9 (3rd April, 2012)

Features:

- Spork Promote will now git add updated environment files if git is enabled
- Spork Promote will optionally revert local changes to environment files if multiple changes were detected.
- Spork Bump will now perform a git pull and pull from submodules if git is enabled
- Optional Foodcritic integration added for Spork Upload
- ickymettle's Eventinator service now optionally supported

Bugfixes:

- Correct irccat alerts to not fire if cookbook upload fails
- Code cleanup to remove unused Opscode code from Spork Upload

0.1.8 (21st February, 2012)

Features:

- Make promote --remote check if the correct version of the cookbook has been uploaded before updating the remote environment

0.1.7 (21st February, 2012)

Bugfixes:

- Make promote --remote work nicely when not run from chef repo root

0.1.6 (21st February, 2012)

Features:

- Spork Bump now defaults to "patch" if bump level not specified
- Spork Promote will prompt for confirmation if you're about to promote --remote changes to any cookbooks *other* than the one you specified on the command line. This should help avoid accidentally over-writing someone elses changes.
- Irccat messages now support multiple channels
- During promote, if git pull fails, ie a merge conflict has arisen, the error will be shown and promote will exit.
- Spork Promote will now also update git submodules before promoting. Specifically, it will run "git submodule foreach git pull"
- Failures during "git add" on spork bumps have a more helpful error message
- Irccat messages are now more nicely formatted and have pretty colours.

Bugfixes:

- Spork Promote will now work from anywhere in your chef repo, not just the repo root

0.1.5 (21st February, 2012)

Yanked

0.1.4 (3rd February, 2012)

Features:

- Spork Check only show the last 5 remote versions, include the --all option if you want to see them all
- Spork will no longer work with Ruby 1.8. If you're on that version, the plugin will bail immediately.
- Spork now support updating a graphite metric when promote --remote is run
- Spork now supports alerting using irccat when a cookbook upload or promote --remote happens
- It will also optionally post a gist of version constraint changes in the above message when a promote --remote happens
- Added support for default environments to promote to
- knife-spork gemification thanks to Daniel Schauenberg

Bugfixes:

- Various bugfixes and tweaks to formatting and log messages

0.1.4 (3rd February, 2012)

Yanked

0.1.3 (3rd February, 2012)

Yanked

0.1.2 (3rd February, 2012)

Yanked

0.1.1 (3rd February, 2012)

Yanked

0.1.0 (January 28, 2012)

Initial version.