[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add 12 rubygems.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] Add 12 rubygems. |
Date: |
Wed, 30 Dec 2015 18:26:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ben Woodcroft <address@hidden> skribis:
> On 29/12/15 15:46, Ben Woodcroft wrote:
>>
>> Unfortunately none of these builds are reproducible because rubygems
>> in Guix generally aren't. For one, this is because .gem files are
>> archives whose contents are timestamped.
> I should clarify. What I meant was the cache .gem files
>
> /gnu/store/ib83mg5zsyr5x2w0m3i1f84gdvdbp5x9-ruby-ascii85-1.0.2/lib/ruby/gems/2.2.0/cache$
> tar tvf Ascii85-1.0.2.gem |head
> -r--r--r-- wheel/wheel 703 2015-12-27 22:44 metadata.gz
> -r--r--r-- wheel/wheel 7436 2015-12-27 22:44 data.tar.gz
> -r--r--r-- wheel/wheel 268 2015-12-27 22:44 checksums.yaml.gz
We should arrange so that gems are created with a fixed timestamp and
UID/GID, and a well-defined file ordering, as with:
address@hidden --sort=name --owner=root:0 --group=root:0
We also need to make sure gzip is always run with -n/--no-name. That
way, the gz files above will not include an additional timestamp.
>From what I can see in
<git://git.debian.org/git/reproducible/notes.git>, this is not addressed
yet in other distros.
HTH,
Ludo’.
- [PATCH] Add 12 rubygems., Ben Woodcroft, 2015/12/29
- Re: [PATCH] Add 12 rubygems., Ben Woodcroft, 2015/12/29
- Re: [PATCH] Add 12 rubygems.,
Ludovic Courtès <=
- Re: [PATCH] Add 12 rubygems., Ricardo Wurmus, 2015/12/29
- [PATCH] Help Ruby packages be reproducible (was: [PATCH] Add 12 rubygems.), Ben Woodcroft, 2015/12/29
- Re: [PATCH] Help Ruby packages be reproducible, Ben Woodcroft, 2015/12/29
- Re: [PATCH] Help Ruby packages be reproducible, Pjotr Prins, 2015/12/29
- Re: [PATCH] Help Ruby packages be reproducible, Ricardo Wurmus, 2015/12/30
- Re: [PATCH] Help Ruby packages be reproducible, Ben Woodcroft, 2015/12/30
- Re: [PATCH] Help Ruby packages be reproducible, Ricardo Wurmus, 2015/12/31
- Re: [PATCH] Help Ruby packages be reproducible, Ben Woodcroft, 2015/12/31
Re: [PATCH] Add 12 rubygems., Ricardo Wurmus, 2015/12/30