Experimental Physics and Industrial Control System
As discuss this morning, I've added a script 'make-tar.sh' (under .ci/
for lack a better place) which creates a tar file which includes git
submodules. Usage is:
./.ci/make-tar.sh HEAD epics-blah.tar.gz blah/
Where 'HEAD' can be any revision id, branch, or tag name.
'epics-blah.tar.gz' is the output file name.
'blah/' is a directory prefix added to all files.
This script uses git-archive under the hood, so it won't be effected by
uncommitted changes or other debris in your checkout. This also means
it respects .gitattributes (eg. export-ignore, export-subst, filter, etc.).
This script has a set of regexs to detect and exclude undesirable files.
The idea being that export-ignore in .gitattributes is the preferred
mechanism to prevent inclusion in release tars. This script will then
ignore and warn about common files which should be excluded but aren't.
Also, this script uses 'tar -a' so the compression algorithm is
determined by the file name. So '.tar.bz2' or '.tar.xz' works as well.
I mention this as a quick test shows:
> $ ll base.tar*
> -rw-r--r-- 1 mdavidsaver mdavidsaver 105M Nov 14 14:05 base.tar
> -rw-r--r-- 1 mdavidsaver mdavidsaver 13M Nov 14 14:06 base.tar.bz2
> -rw-r--r-- 1 mdavidsaver mdavidsaver 18M Nov 14 14:06 base.tar.gz
> -rw-r--r-- 1 mdavidsaver mdavidsaver 6.4M Nov 14 14:06 base.tar.xz
https://github.com/epics-base/epics-base/commit/a1f633fe27f64e36f916a5bd8a779b6936f14c12
Attachment:
signature.asc
Description: OpenPGP digital signature
- Navigate by Date:
- Prev:
Re: Travis Builds of Base Johnson, Andrew N.
- Next:
Build failed in Jenkins: epics-master-windows » DLL,win32 #4 APS Jenkins
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Travis Builds of Base Johnson, Andrew N.
- Next:
Build failed in Jenkins: epics-master-windows » DLL,win32 #4 APS Jenkins
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024