3 ms·
I setup a process at my last job that added the git hash as part of building dll’s and executables. It’s not that hard. We didn’t do branches or use the typical
by scarface74 9y ago
I setup a process at my last job that added the git hash as part of building dll’s and executables. It’s not that hard. We didn’t do branches or use the typical git flow workflow. If you needed to do a hot fix to code in production, you simply looked at the file version that’s part of the Windows metadata, created a branch, released it and merged it back into master.
EDIT:
Wow, looking at the downvotes, the SVN fans are coming out in force.
- raarts 9y agoWell, you didn't address the 'monotonically increasing version numbers' part at all, while still proclaiming: 'it's not that hard'.
- dang 9y ago> Wow, looking at the downvotes, the SVN fans are coming out in force. Please (re-)read and follow the site guidelines: https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- olliej 9y agoThe problem isn’t “what branch was this built from” - it’s a whole raft of other issues in tooling and workflow that are built around svn and/or incrementing revision numbers. Clearly simple incrementing revision identifiers are an important tool given large projects like blink are apparently investigating having commit hooks add revision numbers. The other thing (probably the bit that is causing downvotes) is that you appear to be simply ignoring that the advantages (if they’re even relevant to a given project) of git are simply not sufficient to justify the work involved in migrating from svn.