Unix version control lore: what, ident
1–10 of 29 posts
Re: Unix version control lore: what, ident
#2As the article says, it's not as easy a fit for Git.
The embedded version etc. strings could also make reproducible builds slightly more tricky than they already are.
Even if they're not worth the trouble for current software, they could be a big timesaver for archaeology/reconstruction of old software.
Re: Unix version control lore: what, ident
#3I used to use these embedded version strings, and occasionally they were very helpful. As the article says, it's not as easy a fit for Git. The embedded version etc. strings could also make reproducible builds slightly more tricky than they already are. Even if they're not worth the trouble for current software, they could be a big timesaver for archaeology/reconstruction of old software.
Re: Unix version control lore: what, ident
#4I used to use these embedded version strings, and occasionally they were very helpful. As the article says, it's not as easy a fit for Git. The embedded version etc. strings could also make reproducible builds slightly more tricky than they already are. Even if they're not worth the trouble for current software, they could be a big timesaver for archaeology/reconstruction of old software.
(My scripts have some cruft for marking builds from dirty source trees, in which case they are not reproducible – but in that case it’s OK.)
Re: Unix version control lore: what, ident
#5I used to use these embedded version strings, and occasionally they were very helpful. As the article says, it's not as easy a fit for Git. The embedded version etc. strings could also make reproducible builds slightly more tricky than they already are. Even if they're not worth the trouble for current software, they could be a big timesaver for archaeology/reconstruction of old software.
:path/in/repo/to/file.ext
to be able to retrieve the exact source file contents used to build something.Re: Unix version control lore: what, ident
#6Re: Unix version control lore: what, ident
#7I used to use these embedded version strings, and occasionally they were very helpful. As the article says, it's not as easy a fit for Git. The embedded version etc. strings could also make reproducible builds slightly more tricky than they already are. Even if they're not worth the trouble for current software, they could be a big timesaver for archaeology/reconstruction of old software.
I also used this mechanism more than one time on embedded project. Define a static variable with some metadata of the firmware and markers, such that tools (e.g. tools to perform an update) can, by simply using a regex on the binary file (that is a couple of kb at most) get metadata on the file, such as the version. This way you don't need to add another file header around the raw binary, something it's not always po…
Re: Unix version control lore: what, ident
#8That's a nice feature for adding "foo -version", or similar, to show the users what their binaries were built from.
Re: Unix version control lore: what, ident
#9Re: Unix version control lore: what, ident
#10I use absolute overkill for this. A `build.rs` file that persists a metadata file into `OUT_DIR`. Something simpler would be nice, for sure.