Skip to content

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 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

3 participants