This release fixes:
- Bug that caused .gitignore file handle to be left open - #131.
- Fixed switch_branch to use current_branch instead of master - #130.
- Fixed bug where failed runs wouldn't return correct exit code - #125.
- Fix typo in README link to Voxpupuli modulesync_config #123.
This release fixes a nasty bug with CLI vs configuration file option handling: Before #117 it was not possible to override options set in modulesync.yml
on the command line, which could cause confusion in many cases. Now the configuration file is only used to populate the default values of the options specified in the README, and setting them on the command line will properly use those new values.
This release now prefers .erb
suffixes on template files. To convert your moduleroot directory, run this command in your configs repo:
find moduleroot/ -type f -exec git mv {} {}.erb \;
Note that any .erb
-suffixed configuration keys in config_defaults.yml
, and .sync.yml
need to be removed by hand. (This was unreleased functionality, will not affect most users.)
- Prefer
.erb
suffixes on template files, issue deprecation warning for templates without the extension - Require Ruby 2.0 or higher
- Fix dependency on
git
gem for diff functionality - Fix error from
git
gem when diff contained line ending changes
Fixes an issue releasing 0.7.1, no functional changes.
Fixes an issue releasing 0.7.0, no functional changes.
This is the first release from Vox Pupuli, which has taken over maintenance of modulesync.
- New
msync update
arguments:--git-base
to overridegit_base
, e.g. for read-only git clones-s
to skip the current module and continue on error-x
for a negative filter (blacklist) of modules not to update
- Add
-a
argument tomsync hook
to pass additional arguments - Add
:git_base
and:namespace
data to@configs
hash - Allow
managed_modules.yml
to list modules with a different namespace - Entire directories can be listed with
unmanaged: true
- Replace CLI optionparser with thor
- Fix git 1.8.0 compatibility, detecting when no files are changed
- Fix
delete: true
feature, now deletes files correctly - Fix handling of
:global
config entries, not interpreted as a path - Fix push without force to remote branch when no files have changed (#102)
- Output template name when ERB rendering fails
- Remove extraneous whitespace in
--noop
output
This is a bugfix release to fix an issue caused by the --project-root flag.
- Fix bug in git pull function (#55)
##2015-08-11 - 0.6.0
This release adds two new flags to help modulesync better integrate with CI tools.
- Add --project-root flag
- Create --offline flag to disable git functionality
- Fix :remote option for repo
- Added tests
This release adds the ability to sync a non-bare local git repo.
- Allow one to sync non-bare local git repository
This release adds a --remote-branch flag and adds a global key for template config.
- Expose --remote-branch
- Add a global config key
- Fix markdown syntax in README
This release contains a breaking change to some parameters exposed in modulesync.yml. In particular, it abandons the user of git_user and git_provider in favor of the parameter git_base to specify the base part of a git URL to pull from. It also adds support for gerrit by adding a remote_branch parameter for modulesync.yml that can differ from the local branch, plus a number of new flags for updating modules.
- Remove git_user and git_provider_address as parameters in favor of using git_base as a whole
- Expose the puppet module name in the ERB templates
- Add support for gerrit by:
- Adding a --amend flag
- Adding a remote_branch parameter for modulesync.yml config file that can differ from the local branch
- Adding a script to handle the pre-commit hook for adding a commit id
- Using git_base to specify an arbitrary git URL instead of an SCP-style one
- Add a --force flag (usually needed with the --amend flag if not using gerrit)
- Add --bump, --tag, --tag-pattern, and --changelog flags
- Stop requiring .gitignore to exist
- Fix non-master branch functionality
- Add workarounds for older git versions
This release adds the --filter flag to filter what modules to sync. Also fixes the README to document the very important -m flag.
This release adds support for other SSH-based git servers, which means gitlab is now supported.