EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Changed source archive of StreamDevice release 2.8.22
From: NICOLE Remi via Tech-talk <tech-talk at aps.anl.gov>
To: "dirk.zimoch at psi.ch" <dirk.zimoch at psi.ch>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 25 Nov 2022 08:33:16 +0000
Hello! Rémi here,

> Of course I never download the tarball from git, so I did not notice.
> The content of the .VERSION file is generated on the git server at
> each download (by .gitattributes).

Thanks for the pointer, it makes sense now.

I think I recall that several build systems download GitHub archive as
a faster way of downloading a specific version of a GitHub repository
(same with GitLab).

The issue I'm having is that the %D substitution may change depending
on what happens at a later date in the repository. Our build system
enforces reproducible builds, so I have to check the hash to make sure
nothing in the build chain changed. It also makes sure that the
repository or the internet connection wasn't compromised.

Would you accept removing the REFS line? I would have liked to propose
something like %(describe:abbrev=12,tags) but I think even then it's
not guaranteed to be reproducible, as you can always add tags in
earlier commits.

If you'd prefer not removing it, I think we can work around it by
cloning the repo at a specific revision instead of fetching the zip
archive. But I think it might bite other people in the future.

Thanks a lot!
-- 
Rémi NICOLE <remi.nicole at cea.fr>
CEA/DRF/IRFU/DIS/LDISC

Replies:
Re: Changed source archive of StreamDevice release 2.8.22 Zimoch Dirk (PSI) via Tech-talk
References:
Changed source archive of StreamDevice release 2.8.22 NICOLE Remi via Tech-talk
Re: Changed source archive of StreamDevice release 2.8.22 Zimoch Dirk (PSI) via Tech-talk

Navigate by Date:
Prev: Re: EPICS nfs mount issues Mark Rivers via Tech-talk
Next: Re: Changed source archive of StreamDevice release 2.8.22 Zimoch Dirk (PSI) via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: Changed source archive of StreamDevice release 2.8.22 Zimoch Dirk (PSI) via Tech-talk
Next: Re: Changed source archive of StreamDevice release 2.8.22 Zimoch Dirk (PSI) via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 25 Nov 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·