Quantcast

Reproducible build for generate_html ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Reproducible build for generate_html ?

Julien Bect-2
[following-up on a discussion started on release ticket #297]

Hi Olaf,

Could you please try my modified Makefile?

https://sourceforge.net/p/octave/generate_html/ci/0eb78a3f08adb9058df041d496e69b8aa7451903/

Here is what I get now:

$ hg id
0eb78a3f08ad tip

$ make release
Creating package version 0.2.0 release ...
rm -f -r "target/generate_html-0.2.0"
hg archive --exclude ".hg*" --exclude "Makefile" --type files "target/generate_html-0.2.0"
chmod -R a+rX,u+w,go-w,ug-s "target/generate_html-0.2.0"
Installing package locally ...
octave --no-window-system --silent --eval 'pkg ("install", "target/generate_html-0.2.0.tar.gz")'
For information about changes from previous versions of the generate_html package, run 'news generate_html'.
Generating HTML documentation. This may take a while ...
rm -f -r "target/generate_html-html"
octave --no-window-system --silent --no-window-system --silent \
  --eval "pkg load generate_html; " \
  --eval "pkg load generate_html;" \
  --eval 'generate_package_html ("generate_html", "target/generate_html-html", "octave-forge");'
chmod -R a+rX,u+w,go-w,ug-s target/generate_html-html
md5sum target/generate_html-0.2.0.tar.gz target/generate_html-html.tar.gz
6e5161cd46d7263de647d67f1134b0a8  target/generate_html-0.2.0.tar.gz
f5f626767213f9f1adc8a26fb9fdde10  target/generate_html-html.tar.gz
Upload @ https://sourceforge.net/p/octave/package-releases/new/
Execute: hg tag "release-0.2.0"

@++
Julien

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Reproducible build for generate_html ?

Olaf Till-2
On Sun, Feb 26, 2017 at 09:30:54PM +0100, Julien Bect wrote:
> Could you please try my modified Makefile?
>
> $ hg id
> *0eb78a3f08ad tip**

is the same

> $ make release
> md5sum target/generate_html-0.2.0.tar.gz target/generate_html-html.tar.gz
> *6e5161cd46d7263de647d67f1134b0a8 target/generate_html-0.2.0.tar.gz**
> **f5f626767213f9f1adc8a26fb9fdde10 target/generate_html-html.tar.gz**

md5sum target/generate_html-0.2.0.tar.gz target/generate_html-html.tar.gz
f6244b5ef6c1251fe4f5fed8f3bea1c0  target/generate_html-0.2.0.tar.gz
2d511c466bbadfbd7b305947317b0d05  target/generate_html-html.tar.gz

Why do you want checksum identity?

Olaf

--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Reproducible build for generate_html ?

Olaf Till-2
On Sun, Feb 26, 2017 at 10:37:33PM +0100, Olaf Till wrote:

> On Sun, Feb 26, 2017 at 09:30:54PM +0100, Julien Bect wrote:
> > Could you please try my modified Makefile?
> >
> > $ hg id
> > *0eb78a3f08ad tip**
>
> is the same
>
> > $ make release
> > md5sum target/generate_html-0.2.0.tar.gz target/generate_html-html.tar.gz
> > *6e5161cd46d7263de647d67f1134b0a8 target/generate_html-0.2.0.tar.gz**
> > **f5f626767213f9f1adc8a26fb9fdde10 target/generate_html-html.tar.gz**
>
> md5sum target/generate_html-0.2.0.tar.gz target/generate_html-html.tar.gz
> f6244b5ef6c1251fe4f5fed8f3bea1c0  target/generate_html-0.2.0.tar.gz
> 2d511c466bbadfbd7b305947317b0d05  target/generate_html-html.tar.gz
Sorry, was wrong. Correct is:

md5sum target/generate_html-0.2.0.tar.gz target/generate_html-html.tar.gz
6e5161cd46d7263de647d67f1134b0a8  target/generate_html-0.2.0.tar.gz
0906ac2d6fd7b1425e5be9b0473bfb43  target/generate_html-html.tar.gz

Still, why do you want it to be the same?

Olaf

--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Reproducible build for generate_html ?

Julien Bect-2
Le 26/02/2017 à 22:52, Olaf Till a écrit :
On Sun, Feb 26, 2017 at 10:37:33PM +0100, Olaf Till wrote:
On Sun, Feb 26, 2017 at 09:30:54PM +0100, Julien Bect wrote:
Could you please try my modified Makefile?

$ hg id
*0eb78a3f08ad tip**
is the same

$ make release
md5sum target/generate_html-0.2.0.tar.gz target/generate_html-html.tar.gz
*6e5161cd46d7263de647d67f1134b0a8 target/generate_html-0.2.0.tar.gz**
**f5f626767213f9f1adc8a26fb9fdde10 target/generate_html-html.tar.gz**
md5sum target/generate_html-0.2.0.tar.gz target/generate_html-html.tar.gz
f6244b5ef6c1251fe4f5fed8f3bea1c0  target/generate_html-0.2.0.tar.gz
2d511c466bbadfbd7b305947317b0d05  target/generate_html-html.tar.gz
Sorry, was wrong. Correct is:

md5sum target/generate_html-0.2.0.tar.gz target/generate_html-html.tar.gz
6e5161cd46d7263de647d67f1134b0a8  target/generate_html-0.2.0.tar.gz
0906ac2d6fd7b1425e5be9b0473bfb43  target/generate_html-html.tar.gz

Still, why do you want it to be the same?


Because it is, in my opinion, the easiest and cleanest way of checking that the build is reproducible.

And I'm happy to see that we get now the same release tarball for generate_html ;-)

Loading...