-
Notifications
You must be signed in to change notification settings - Fork 654
[WIP] Branch specific configuration #338
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
Conversation
…ration Context assigns branch configuration
@JakeGinnivan the description is kind of outdated. Maybe change it to something like this: The goal of this PR is to remove the whole branch specific code and to enable a better "branch-configuration". To do this we need basically three things:
|
I started offline with this version finders.. Will try to quickly create a PR |
No worries. I have made a start on the variable provider stuff. I think we need to introduce an effective configuration which flattens everything out based on the current branch and apply fallbacks etc. Will give that a spin |
I think breaking changes are a good idea. Mainly:
What do yo think @SimonCropp @andreasohlund |
not sure i like putting in a version number into the file. would prefer to gradually add options and give good errors when we obsolete old ones +1 on removing MSBuild option support |
This should be really easy to implement: Throw an exception in the old properties of |
Am working on another PR which has a legacy config class, reads in everything legacy then provides migration information in a error message. Sent from my Windows Phone From: yannisgumailto:[email protected] This should be really easy to implement: Throw an exception in the old properties of Config and handle them nicely. — |
Added a wiki page so we can write the doco as we go https://github.com/ParticularLabs/GitVersion/wiki/Branch-Specific-Configuration |
Throw error when user is using legacy configuration values
…uration and trying to remove places ignoring configuration
Build warning fixes
Fixing tests
…o builder in GitVersionTask and removed unneeded tests
…ers into branch specific fixtures
More test fixes
@andreasohlund there is one major downside with this approach, it understands merging and reachable versions. Develop no longer tracks master to bump the version of develop. We also do not have any enforcing if you do GitFlow wrong. I think this is a simpler approach and should work fine.
In this case though when release-1.3.0 is merged into master, J used to bump to 1.4.0. This will no longer happen. If you rebase Can you forsee any issues with this? |
I can't see any major drawbacks, +1 for proceeding On Fri, Feb 13, 2015 at 6:09 PM, Jake Ginnivan [email protected]
|
The goal of this PR is to remove the whole branch specific code and to enable a better "branch-configuration". To do this we need basically three things:
Outstanding tasks
useBranchNameAsTag
rather than using "useBranchName" magic string.useBranchNameAsTag
being true should cause thetag
setting to be ignored.