On 10/06/15 12:58, Brendan O'Dea wrote:
> On 10 June 2015 at 20:54, Ximin Luo <infini...@pwned.gg> wrote:
>> On 10/06/15 12:41, Brendan O'Dea wrote:
>>> On 10 June 2015 at 01:59, Ximin Luo <infini...@pwned.gg> wrote:
>>>> SOURCE_DATE = "$(date -d "$(dpkg-parsechangelog --count 1 -SDate)" 
>>>> --iso-8601=seconds)" # includes the TZ offset
> 
>> The TZ offset is given statically in debian/changelog, and that can also be 
>> part of the "uninterpreted string". It's no less arbitrary than the rest of 
>> the date itself.
> 
> Your example above will emit the local timezone, and not the one from
> the changelog.
> 

You are right, my bad. I *meant* that it should be the same offset as in 
debian/changelog. But yes, annoyingly it is hard to get date(1) to do that, 
because of the same reasons I outlined earlier. But debhelper could do it 
correctly in one place, and then tools could use it.

I guess it's up to me to write a patch for that, and then see if people want 
it. I suppose we can leave this discussion for now.

X

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to