GitHubFlow vs GitFlow
Have you guys seen. https://github.com/JakeGinnivan/GitHubFlowVersion
Do we agree that this is also possible with your extension? So why is this fork needed? OK, GitHubFlow doesn't have a develop branch. Why not simply make that step optional here?
Paging @JakeGinnivan do you think it is worth merging these projects?
Possibly is, I think they needed to start off separate to make sure we could play with different ideas.
GitFlow is a fair bit more complex, and we also have taken quite different approaches to solving the problem. It is a bit silly having two projects which are so closely aligned to be completely separate.
@danielmarbach I talked to Simon when I started GitHubFlowVersion, the workflows are fundamentally different and at the time it was easier starting again.
We could posibly detect GitFlow if there is a develop branch, if there isn't drop to GitHubFlow?
I think this would be a great place to start. When no develop branch is available then switch to GitHubFlow strategy
Perhaps with an option to set it explicitly in order to enforce a given branch strategy
On Thu, Dec 12, 2013 at 1:03 PM, danielmarbach [email protected]:
I think this would be a great place to start. When no develop branch is available then switch to GitHubFlow strategy
From: Jake Ginnivan [mailto:[email protected]] Sent: Donnerstag, 12. Dezember 2013 10:38 To: Particular/GitFlowVersion Cc: danielmarbach Subject: Re: [GitFlowVersion] GitHubFlow vs GitFlow (#53)
Possibly is, I think they needed to start off separate to make sure we could play with different ideas.
GitFlow is a fair bit more complex, and we also have taken quite different approaches to solving the problem. It is a bit silly having two projects which are so closely aligned to be completely separate.
@danielmarbach https://github.com/danielmarbach I talked to Simon when I started GitHubFlowVersion, the workflows are fundamentally different and at the time it was easier starting again.
We could posibly detect GitFlow if there is a develop branch, if there isn't drop to GitHubFlow?
— Reply to this email directly or view it on GitHub < https://github.com/Particular/GitFlowVersion/issues/53#issuecomment-30401706> . < https://github.com/notifications/beacon/TUqL6p7Xz6SF-_dIEJ1YBFB7gjrlXZldd6aqAMBThYvxYpX2XoBIK3ddog1JUAEq.gif>
— Reply to this email directly or view it on GitHubhttps://github.com/Particular/GitFlowVersion/issues/53#issuecomment-30413758 .
What are we going to name this joined project, and gathering we will just create it under the Particular org.
FlowVersion :D
GitVersioner GitSemVer
It will be less about the flow, and more about semantically versioning projects which use Git. Personally I don't like GitHubFlowVersion as a name, so I am all for us joining.
Also, which direction should we go?
GitVersion
Sent from my iPhone
On 12 dec 2013, at 18:17, danielmarbach [email protected] wrote:
FlowVersion :D
From: Jake Ginnivan [mailto:[email protected]] Sent: Donnerstag, 12. Dezember 2013 18:16 To: Particular/GitFlowVersion Cc: danielmarbach Subject: Re: [GitFlowVersion] GitHubFlow vs GitFlow (#53)
What are we going to name this joined project, and gathering we will just create it under the Particular org.
— Reply to this email directly or view it on GitHub https://github.com/Particular/GitFlowVersion/issues/53#issuecomment-30442022 . https://github.com/notifications/beacon/TUqL6p7Xz6SF-_dIEJ1YBFB7gjrlXZldd6aqAMBThYvxYpX2XoBIK3ddog1JUAEq.gif — Reply to this email directly or view it on GitHub.
I'm not very good at naming things, sorry :blush:
However, if you need a (coding) hand, I'd be glad to help!
Ok, so I have just migrated @nulltoken's awesome PR detection stuff into GitHubFlow (had started before this came up).
I am very tempted to migrate your stuff into GitHubFlowVersion, rename it to GitVersion then either before or after move it into the Particular org (or another org?).
The reason for that is our integration tests are pretty cool, we create Git repos on the fly and validate at an integration test level. Also, personally I prefer the .exe approach, because I can execute ant scripts or anything else really to support all platforms locally (not just in teamcity) rather than using an MSBuild task.
Thoughts? Happy with that approach?
Also can do it the other way, I can start submitting PR's which add support for GitHubFlow and move integration tests across?
You support a lot more scenarios now than you did when I first looked
I believe that githubflow can be supported with just a way to plugin custom impls of our master + feature version finders. How about we spike that and if it works we pull in your finders + integration tests?
In short:
If no develop branch is found then Register GitHubFlowFinders
Thoughts?
Sent from my iPhone
On 14 dec 2013, at 13:42, Jake Ginnivan [email protected] wrote:
Also can do it the other way, I can start submitting PR's which add support for GitHubFlow and move integration tests across?
You support a lot more scenarios now than you did when I first looked
— Reply to this email directly or view it on GitHub.
I am having a go at bringing your finders into GitHubFlow, I am happy to look at both. After importing it I have a lot better idea of the issues and how your codebase works.
Maybe have a go at bringing my stuff in, and then we can compare and see which way we want to go. Have a look at:
https://github.com/JakeGinnivan/GitHubFlowVersion/pull/39
Things actually fitted together quite well, either way we go it looks like we will have to make changes to the bootstrapping and ways that you actually use each of them. I went down the exe road so I can run my builds locally as well as teamcity and things still work properly.
There are some things I like about your implementation and also some I like about mine, it would be good to try and end up with something which is the best of both (rather than just an additional strategy on calculating the semver)
Here is a breakdown of the things I like and what I think could be improved in each.
GitFlowVersion
What I like
- The installation options, chocolatey, NuGet (for use as a library) and MSBuild task
- Many nice extension methods make the code around dealing with repositories nicer
- Heaps more unit tests around different parts
- The way assemblyinfo patching/updating is done in the MSBuild task
What I would like to be improved/changed
- Proper SemVer support, things like stability and sha's do not belong in the SemVer IMO, and if they are it should all be after the + in the semver. ie {major}.{minor}.{patch}-{tag}+{build metadata}
- AssemblyInfo patching only available in the MSBuild task
- I find the code a bit hard to follow, when I started I switched it over to use DI as an experiment to make things easier for me. I think it turned out well, but would also like your opinions.
GitHubFlowVersion
What I like
- AssemblyInfo patching is just a command line switch on the exe
- Acceptance tests which create a temp git repo, then run the exe to make sure it all works properly
- Can run the build, making environmental variables available to the build process (means it works with any build system, and also works locally)
What I want to improve/change
- Args parser
- Not ILMerged
- Only installation/usage option is by running the .exe
Should we just keep this thread going with the discussion? If we would like to keep this Repo going (which makes more sense as it has more followers etc), should I raise issues if things which I think could be improved and we discuss each issue individually?
Reading #13 and all the associated stuff around it, we have a clash in the way we use SemVer.
GitHubFlowVersion is way more simplistic and tries to embrace continuous delivery. I can build a NuGet package in my CI, then simply publish it to NuGet and tag that commit with the version which GitHubFlowVersion generated.
CI builds on develop are NOT semantically versioned which is a source of complexity in GitFlowVersion. You make the semantic versioning decisions when you branch to a release branch, not before. I will go into this more on issue #13. But it is something we need to solve before we can complete this merge
Proper semver doesnt work with nuget :( MsbuildTask is for me crucial. Tired of generating asminfo from buildfiles
Am 15.12.2013 um 13:58 schrieb Jake Ginnivan [email protected]:
Here is a breakdown of the things I like and what I think could be improved in each.
GitFlowVersion
What I like
The installation options, chocolatey, NuGet (for use as a library) and MSBuild task Many nice extension methods make the code around dealing with repositories nicer Heaps more unit tests around different parts The way assemblyinfo patching/updating is done in the MSBuild task What I would like to be improved/changed
Proper SemVer support, things like stability and sha's do not belong in the SemVer IMO, and if they are it should all be after the + in the semver. ie {major}.{minor}.{patch}-{tag}+{build metadata} AssemblyInfo patching only available in the MSBuild task I find the code a bit hard to follow, when I started I switched it over to use DI as an experiment to make things easier for me. I think it turned out well, but would also like your opinions. GitHubFlowVersion
What I like
AssemblyInfo patching is just a command line switch on the exe Acceptance tests which create a temp git repo, then run the exe to make sure it all works properly Can run the build, making environmental variables available to the build process (means it works with any build system, and also works locally) What I want to improve/change
Args parser Not ILMerged Only installation/usage option is by running the .exe Should we just keep this thread going with the discussion? If we would like to keep this Repo going (which makes more sense as it has more followers etc), should I raise issues if things which I think could be improved and we discuss each issue individually?
— Reply to this email directly or view it on GitHub.
@danielmarbach in GitHubFlowVersion, if you are in teamcity you just run GitHubFlowVersion.exe /UpdateAssemblyInfo, if you want it to run locally or in teamcity you can do GitHubFlowVersion.exe /ProjectFile MyMSBuildProject.proj or GitHubFlowVersion.exe /ProjectFile MyProject.sln
MsbuildTask is for me crucial
i'm with @danielmarbach. I think it's great I can ref gitflowversiontask and it all just works. No faffing around with separate build steps - what happens locally is exactly what will happen on TC. I'm really liking the way GFV just does the assemblyinfo patching for me without any extra ceremony - would be a real shame to lose this.
guys shall we try to schedule a skype/google hangouts issue for this?
Yeah sounds good :)
Might be easier as there is a heap to discuss. We have all learnt a heap since starting these projects so would be good to quickly run through how we can bring these two projects together and really solve this problem for everyone!