Skip to content

Named branch configuration #1029

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

Merged
merged 5 commits into from
Sep 4, 2016

Conversation

JakeGinnivan
Copy link
Contributor

@JakeGinnivan JakeGinnivan commented Aug 30, 2016

// @asbjornu @gep13

No implementation yet, but happy with the docs/test changes before I implement

Fixes #995

@JakeGinnivan JakeGinnivan changed the title Update tests and docs for #995 Named branch configuration Sep 3, 2016
@JakeGinnivan
Copy link
Contributor Author

@GitTools/developers would love a review on this, it's a decent change. Anything you can see which can be improved?

";
SetupConfigFileContent(text);
var error = Should.Throw<OldConfigurationException>(() => ConfigurationProvider.Provide(repoPath, fileSystem));
error.Message.ShouldContainWithoutWhitespace(@"GitVersion configuration file contains old configuration, please fix the following errors:
GitVersion branch configs no longer are keyed by regexes, update:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put a bit of effort into the error messages to give a good upgrade experience.

@pascalberger
Copy link
Member

What about https://github.com/GitTools/GitVersion/blob/master/BREAKING%20CHANGES.md? IMHO it would be nice to have this updated too with all the breaking changes like this and others introduced in 4.0

@JakeGinnivan
Copy link
Contributor Author

@pascalberger nice idea, done.

@JakeGinnivan JakeGinnivan merged commit 067d3c4 into GitTools:master Sep 4, 2016
@JakeGinnivan JakeGinnivan deleted the namedBranchConfigs branch September 4, 2016 01:13
@asbjornu
Copy link
Member

asbjornu commented Sep 5, 2016

@JakeGinnivan Excellent change! 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants