bugGNU Astronomy Utilities - Bugs: bug #59074, Tarball contains creation date,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #59074: Tarball contains creation date, making it non-reproducible

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Mon 07 Sep 2020 03:01:34 AM UTC  
 
Category:  Installation Severity:  3 - Normal
Item Group:  Output not reasonable Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Mon 07 Sep 2020 03:01:34 AM UTC, original submission:  

After the release of Gnuastro 0.13, it was reported that the checksums don't match (while the GPG signature was valid!).

After looking into the difference (in P.S.), I just noticed what happened: First I made the tarballs, gpg-signed them and uploaded them to gnu.org. Then something came up and I had to go do other things. In the process, I (unintentionally!) deleted the old tarballs (they were in a temporary directory!). Also, in this period, the hour passed midnight in my timezone!

So in the newly created tarball, the date in the automatically generated file ('doc/version.texi') was changed, causing this problem!

Having the date hard-coded in the tarball thus makes it non-reproducible, which is not good! We should remove this and just get the date at run-time, not hard-code it in the source.

P.S.

diff -bur incomputer/gnuastro-0.13/ uploaded/gnuastro-0.13
diff -bur incomputer/gnuastro-0.13/doc/stamp-vti uploaded/gnuastro-0.13/doc/stamp-vti
--- incomputer/gnuastro-0.13/doc/stamp-vti        2020-09-07 01:25:27.000000000 +0100
+++ uploaded/gnuastro-0.13/doc/stamp-vti        2020-09-07 01:01:02.000000000 +0100
@@ -1,4 +1,4 @@
-@set UPDATED 7 September 2020
+@set UPDATED 6 September 2020
@set UPDATED-MONTH September 2020
@set EDITION 0.13
@set VERSION 0.13
diff -bur incomputer/gnuastro-0.13/doc/version.texi uploaded/gnuastro-0.13/doc/version.texi
--- incomputer/gnuastro-0.13/doc/version.texi        2020-09-07 01:21:37.000000000 +0100
+++ uploaded/gnuastro-0.13/doc/version.texi        2020-09-07 01:01:02.000000000 +0100
@@ -1,4 +1,4 @@
-@set UPDATED 7 September 2020
+@set UPDATED 6 September 2020
@set UPDATED-MONTH September 2020
@set EDITION 0.13
@set VERSION 0.13

Mohammad Akhlaghi <makhlaghi>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  • -email is unavailable- added by makhlaghi
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-07 makhlaghi Carbon-Copy- => Added danfe@freebsd.org

    Back to the top


    Powered by Savane 3.7