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: Jeong Han Lee via Core-talk <core-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: EPICS Core Talk <core-talk at aps.anl.gov>
Date: Tue, 18 Aug 2020 11:03:40 -0700
Hi Michael,

Thank you for clarifying this.  Without it, so far I cannot override
the -dirty git describe within the ioc console.

Do you know how to remove -dirty description? It is dirty according to
the git, but this is not dirty, because I didn't change anything on
source code, but changed CONFIG_SITE_ENV only.

Best,
Han

On Tue, Aug 18, 2020 at 8:07 AM Michael Davidsaver
<mdavidsaver at gmail.com> wrote:
>
> 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 Michael Davidsaver via Core-talk
References:
getVersionHelper.pl ignore -V option Jeong Han Lee via Core-talk
Re: getVersionHelper.pl ignore -V option Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Re: Possible bug in convertRelease.pl Johnson, Andrew N. via Core-talk
Next: Re: getVersionHelper.pl ignore -V option Michael Davidsaver 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: Re: getVersionHelper.pl ignore -V option Michael Davidsaver via Core-talk
Next: Re: getVersionHelper.pl ignore -V option Michael Davidsaver 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 ·