News for hackers. Stuff that matters.
Re:Git archive checksums may change by bentley on Monday January 30, 2023 @06:55PM (#34588553)
I would also appreciate stronger advertising of the ability to turn a Git tag into a GitHub release and upload stable source code files to it. Maybe even a button in the GitHub releases interface to “generate source tarball and attach as stable tarball to this release.”
Re:Git archive checksums may change by misnome on Monday January 30, 2023 @07:23PM (#34588918)
But this isn’t a great solution, because afterwards there is now three, or four source download links, some of which are stable.

Not to mention, forcing people to use GitHub releases instead of just tags (which excludes every mirror of somewhere else)

Re:Git archive checksums may change by xwolfi on Monday January 30, 2023 @07:01PM (#34588626)
Interesting, now pay $9
Re:Git archive checksums may change by mathstuf on Monday January 30, 2023 @10:37PM (#34590577)
I agree this would be great. However, it should also stop you from providing useless tarballs (as `/archive/` does today) if:

- you use autoconf (or any other tool(s) that require generating code into the source archive; or - you have submodules (to which `git archive` is completely blind).

Note that `git-archive-all`[1] can help as long as your submodules don't do things like `[attr]custom-attr` in their `.gitattributes` as it is only allowed in the top-level `.gitattributes` file and cannot be added to the tree otherwise.

[1]https://github.com/roehling/git-archive-all

Re:Git archive checksums may change by account42 on Tuesday January 31, 2023 @05:36AM (#34593532)
Yeah, it would be nice if you could disable the generated archive links for releases or at least de-emphasize them.