Hi all,
this is more an announcement than a question. Although maybe I can spark some response. I've just made some commits to a sh tool I've used for two years to replace version strings in source code, and was going over some todo's. I wonder if there is any tool out there that "does it better". There are issues with keyword expansion. The principle one is that the exact GIT commit ID is not known for the file before making a commit. So there goes the popular SVN use-case. But there is still other use-cases for keeping a version in-line. Iow. iso. expanding it on distribution. And even for post-checkout expansion a little tooling would be nice. I personally also like to give files that end up distributed somewhere on a host system an Id line containing the project, version and path ID. Sometimes I copy these between repo's that have similar files. As a reminder to compare or synchronize changes. Its not a perfect GIT world, I know. Also it is not a very shiny project. But it works and I use it in every single project. The main motivation was semver.org. After reading that I wanted a consistent versioning applied to my code. So it always communicates an exact version. Well, that sort of works, but it has a few issues I've describe elsewhere. So until know I have two use-case to rely on this tool: - update comments containing file 'versions' - update code literals containing versions I'm always looking for better workflows. E.g. I intend to look at git-flow again. But I don't know of any tooling to handle the above scenarios, so I guess they all end up as some ad-hoc script in a git hook, somewhere, in a project. In that case, you can find some (mostly?) Bourne-Shell compatible scripts here: https://github.com/dotmpe/git-versioning regards, Berend -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.