We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
syncing multiple git sources with the same branch does not work anymore probably since strip_components was added:
sources: hiera: remote: 'gitb' basedir: '/opt/puppetlabs/code/g10kstaging/hiera' filestore: remote: 'gita' basedir: '/opt/puppetlabs/code/g10kstaging/filestore/'
gita and gitb contain the same branches and no puppetfile.
This then fails despite no renaming happening at all:
g10k -config config.yaml -info Renamed environment naming conflict detected with renamed environment master
this used to work fine in version 0.8.9
The text was updated successfully, but these errors were encountered:
add TestMultipleSourcesWithSameBrancheName and use absolute path for …
8a970ca
…purgeUnmanagedContent, fixes #220
use absolute path including basedir for helper struct allEnvironments, …
9279c75
…fixes #220
use absolute path for purgeUnmanagedContent, fixes #220
f395d2e
Yeah, the implementation to save all Puppet environments in a helper struct was pretty naive:
if _, ok := allEnvironments[prefix+renamedBranch]; !ok { allEnvironments[prefix+renamedBranch] = true } else { Fatalf("Renamed environment naming conflict detected with renamed environment " + prefix + renamedBranch) }
This does not work with same branch names when someone isn't using a prefix for their environments, but different basedir settings
basedir
I've adjusted this to the absolute filepath of the environment:
if _, ok := allEnvironments[filepath.Join(sa.Basedir, prefix+renamedBranch)]; !ok { allEnvironments[filepath.Join(sa.Basedir, prefix+renamedBranch)] = true } else { Fatalf("Renamed environment naming conflict detected with renamed environment " + prefix + renamedBranch) }
Should be fixed with #222 I'm in the process of releasing a new version.
Sorry, something went wrong.
fc83c96
xorpaul
No branches or pull requests
syncing multiple git sources with the same branch does not work anymore probably since strip_components was added:
gita and gitb contain the same branches and no puppetfile.
This then fails despite no renaming happening at all:
this used to work fine in version 0.8.9
The text was updated successfully, but these errors were encountered: