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  2020  <20212022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CaSe-IndepeDent Menu SEARches?
From: Ralph Lange via Core-talk <core-talk at aps.anl.gov>
To: EPICS Core Talk <core-talk at aps.anl.gov>
Date: Thu, 4 Feb 2021 19:20:07 +0100
On Thu, 4 Feb 2021 at 19:03, Johnson, Andrew N. <anj at anl.gov> wrote:
On Feb 4, 2021, at 10:58 AM, Ralph Lange via Core-talk <core-talk at aps.anl.gov> wrote
We should provide linting service on the EPICS web page. Would generate nice data of what EPICS features people are using. (And their most common errors.)

Not convinced; a web-page wouldn’t know about external record types, device support or locally added scan rates or breakpoint tables, amongst other things. That’s why I think it has to be local functionality. A linter would also need to know which DBD file to use for each DB file it’s checking. We’d have to put something into the build system to specifically request running dbLint against each DB file at build time, and it would have to ignore unexpanded macros in the file so there will still be errors that only the IOC would see.

Jajaja.
I wasn't *that* serious... only for Base records, of course. More of educational use than for production. As a linter advertisement.
 
And of course a dbLint program would be of lesser use to sites like PSI or ESS that don’t generate an IOC-specific DBD file anyway, only their IOCs know the complete collection of DBD fragments that are being loaded there. A linter could be taught to ignore unknown record types (or even to ignore just the fields in one that are not found in dbCommon) but the DTYP, SCAN and LINR fields would still generate false positives.

Sites that deliberately choose to do fundamental things completely different (in a somewhat incompatible way) will always have my full moral support.

Cheers,
~Ralph


Replies:
Re: CaSe-IndepeDent Menu SEARches? Timo Korhonen via Core-talk
References:
CaSe-IndepeDent Menu SEARches? Johnson, Andrew N. via Core-talk
Re: CaSe-IndepeDent Menu SEARches? Torsten Bögershausen via Core-talk
Re: CaSe-IndepeDent Menu SEARches? Ralph Lange via Core-talk
Re: CaSe-IndepeDent Menu SEARches? Johnson, Andrew N. via Core-talk
Re: CaSe-IndepeDent Menu SEARches? Ralph Lange via Core-talk
Re: CaSe-IndepeDent Menu SEARches? Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: Re: CaSe-IndepeDent Menu SEARches? Ben Franksen via Core-talk
Next: Re: CaSe-IndepeDent Menu SEARches? Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: CaSe-IndepeDent Menu SEARches? Johnson, Andrew N. via Core-talk
Next: Re: CaSe-IndepeDent Menu SEARches? Timo Korhonen via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 04 Feb 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·