git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Making bit-by-bit reproducible Git Bundles?
@ 2025-03-12 11:40 Simon Josefsson
  2025-03-12 16:02 ` Junio C Hamano
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Simon Josefsson @ 2025-03-12 11:40 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 959 bytes --]

Hi.

Thank you for the "git-archive" and "git-bundle" features, making it
easier to do source-based builds in a no-Internet environment.

I have published a Git bundle of Gnulib:

https://www.gnu.org/software/gnulib/manual/html_node/Gnulib-Git-Bundle.html

As you can see at the end, I struggle to come up with a recipe to allow
others to reproduce the git bundle that I created.

If I run the recipe above twice (including the clone), I get different
checksums.  This even if nothing was committed in the remote repository
meanwhile.

Is it possible to create a bit-by-bit reproducible git bundle using some
other set of commands?  If so, how?  I'm using git 2.48.1 from Guix.

Can anyone explain what is causing the irreproducibility?  Running
diffoscope is not helpful, since the bundle is compressed and diffoscope
doesn't seem to know how to untangle it.

If this is not possible today, what do you think about changes to make
this work?

Thanks,
/Simon

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1251 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-03-14 22:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12 11:40 Making bit-by-bit reproducible Git Bundles? Simon Josefsson
2025-03-12 16:02 ` Junio C Hamano
2025-03-13  3:09 ` Kyle Lippincott
2025-03-13  7:59   ` Simon Josefsson
2025-03-13  5:15 ` Jeff King
2025-03-13 13:36   ` Junio C Hamano
2025-03-13 20:16   ` Simon Josefsson
2025-03-13 21:07     ` Kyle Lippincott
2025-03-13 22:09       ` Junio C Hamano
2025-03-14  2:42     ` Jeff King
2025-03-14 22:24       ` rsbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).