Skip to content

Latest commit

 

History

History
135 lines (116 loc) · 6.67 KB

CHANGELOG.md

File metadata and controls

135 lines (116 loc) · 6.67 KB

Chef-Guard CHANGELOG

0.7.4

  • Ignore files under the test/ directory

0.7.3

  • Switch to using Go modules, but still vendor (go mod vendor) for backwards compatibility
  • Fix an issue that prevented to properly exclude foodcritic checks
  • Fix a compatibility problem with Berkshelf > 7.x (GH-127)

0.7.2

  • Add support for Foodcritic > v9.x.x
  • Update dependencies order to fix issues resulting from RFC 85
  • Update go-gitlab dependency to start using the Gitlab V4 API and so stop using the deprecated V3 API
  • Do not search and replace CRLF with LF line endings (GH-125)

0.7.1

  • Make sure the private token is not exposed
  • Fix a Gitlab bug and add additional Gitlab support
  • Extend Ruby stack size while running Foodcritic
  • Add vendoring of dependencies
  • Fix 2 file descriptor leaks
  • Change a bunch of HTTP exception codes from 502 to 400

0.7.0

  • Fixed a logical error which prevented the use of the same Github or Gitlab organization and/or group names. The fix for this contains a backwards incompatible change to the config file (GH-108)
  • Order the files that are changed or missing before returning an error (GH-106)
  • Add a devenvironment config option; no dependency checks will be done for this environment

0.6.2

  • Do not log empty error messages but instead try to capture a more useful message based on the given error
  • Add a shared insecureTransport transport that can be used by all connections, instead of creating seperate ones for each connection
  • Fix a bug that could cause a nil pointer exception when the Git diff was too large to include the patch in the commit details
  • Replaced the multisyncer package with an updated version hosted outside the Chef-Guard repo
  • Fix a bug that could cause a nil pointer exception while handling GitHub and GitLab error responses
  • Update to a new oauth2 package as the old one wasn't supported anymore

0.6.1

  • Fixed a small regression where the metadata.rb and/or metadata.json are not handled correctly

0.6.0

  • Added support for using GitLab as git backend (fixes GH-61)
  • Added support for using Goiardi as "Chef" server (fixes GH-79)
  • Added code to enable graceful shutdowns of Chef-Guard
  • Removed support for Chef-Metrics
  • Removed support for Graphite
  • Updated the Travis conf so it uses Go 1.4
  • Updated godep dependencies
  • Renamed some config parameters needed for adding Gitlab support (changing Github to just Git in parameter names)
  • Renamed the s3key and s3secret parameters to bookshelfkey and bookshelfsecret to better reflect their purpose
  • Changed the enterprisechef parameter to a type parameter allowing the values enterprise, opensource and goiardi
  • Changed the listen config parameter to a listenip and listenport parameter so the port to listen on can be configured (fixes GH-78)
  • Reverted the import rewrites done previously by godep save -r and stopped using godep
  • Fixed a bug in the processChange func where a returned error was not properly handled (fixes GH-65)
  • Tar files uploaded to the supermarket will no longer contain files that are in the .gitignore or chefignore (fixes GH-56)
  • Added checks to verify content has actually changed before committing anything to Git (fixes GH-64)
  • Filtered out the node and client creations so those will be committed if commitchanges = true (fixes GH-67 and GH-70)
  • Fixed a bug were a change was committed even when the change failed (fixes GH-68)
  • Fixed the custom client endpoint so it redirects to the correct path (fixes GH-71)
  • Altered the diffing mechanism so it doesn't trigger on the line endings (windows vs unix style endings) (fixes GH-72)

0.5.0

  • Fixed an issue where file handles where not always released correctly
  • Added a check to verify if cfg.Community.Forks is actually configured before using it
  • Refactored the fix for issue #53 as the current fix wasn't efficient and caused 'too many open files' issues
  • Added a check to make sure all custom Github endpoints end with a single forward slash
  • Added a configuration option to specify a custom sender address used when sending the diffs
  • Added an additional (non-Chef) endpoint to download clients from
  • Added an additional (non-Chef) endpoint to get the server time from
  • Fixed a bug when running the Rubocop tests

0.4.5

  • Added the '.json' extension to cookbook auditing files saved in Github to have uniform names
  • Fixed issue #53 by making sure the config is checked and used to determine if we want to verify SSL
  • Fixed issue #54 by adding a check to verify if a value is actually configured before using it
  • Added code to check if the config file contains values for all required fields

0.4.4

  • When you try to overwrite a frozen cookbook return a HTTP 409 error instead of a HTTP 412 so Berkshelf doesn't crash on it but just reports it

0.4.3

  • Fixed logic error in the getChangeDetails func, where the extension '.json' was sometimes left out and sometimes added twice

0.4.2

  • Fixed issue #35 by making sure all data bag items are removed when the bag itself is removed
  • Fixed issue #39 by ignoring any missing files inside the spec folder
  • Added the first code needed to support saving Chef metrics in a MongoDB backend (Disney feature request)

0.4.1

  • Fixed some issues within the updated validateConstraints logic which in some cases prohibited uploading a community cookbook

0.4.0

  • Changed the ValidateChanges option to have multiple modes instead of only true/false (on/off) (issue #36)
  • Changed the validation of constrains to require more specific constrains (= x.x.x)
  • Deleted the waiting time for Git API calls as this is not needed anymore since Github Enterprise version 11.10.34x

0.3.3

  • Added a configuration option to execute custom foodcritic tests

0.3.2

  • Updated the error output to show files related to the cookbook (issue #25)
  • Changed the dependency check so it now outputs all dependency errors at once (issue #26)
  • Fixed a bug where Chef-Guard would untag manually tagged Github repo's when uploading to the supermarket failed (issue #29)
  • Prevent community cookbooks that are forked from being uploaded to your private Supermarket (issue #30)
  • Updated chef-golang dependency

0.3.1

  • Fixed typo in error message
  • Fixed a regex logic error when parsing cookbook constraints
  • Added decoding call for all marshalled JSON content

0.3.0

  • Fixed bug in the blacklist logic (issue #6)
  • Changed the way the .gitignore and chefignore files are handled (issue #20)
  • Altered output of the compare function to always show the full results (issue #20)