EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: getVersionHelper.pl ignore -V option
From: Michael Davidsaver via Core-talk <core-talk at aps.anl.gov>
To: Jeong Han Lee <citadel.lee at gmail.com>
Cc: EPICS Core Talk <core-talk at aps.anl.gov>
Date: Tue, 18 Aug 2020 08:07:36 -0700
On 8/18/20 2:17 AM, Jeong Han Lee via Core-talk wrote:
> Hi,
> 
>    I don't know if this feature is intentionally designed.  From my
> naive perspective, there is a logic to check whether option -V is
> defined or not. This is a quick-and-dirty P0 patch.

As I recall, '-V <ver>' was intended as a fallback if/when no VCS info
is available.  So it should be overridden if any of the conditions
are matched.

If you always want to use a version string stored in a Make variable,
then you might be better off using expandVars.pl (or just 'cat' if you're
in a hurry).

> $ ./bin/linux-x86_64/genVersionHeader.pl -h
> Usage:
...
>         -V version - Version if no VCS (e.g. '2020-08-18T08:01-0700')


Replies:
Re: getVersionHelper.pl ignore -V option Jeong Han Lee via Core-talk
References:
getVersionHelper.pl ignore -V option Jeong Han Lee via Core-talk

Navigate by Date:
Prev: getVersionHelper.pl ignore -V option Jeong Han Lee via Core-talk
Next: Re: Possible bug in convertRelease.pl Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: getVersionHelper.pl ignore -V option Jeong Han Lee via Core-talk
Next: Re: getVersionHelper.pl ignore -V option Jeong Han Lee via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 18 Aug 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·