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: file format enforcing?
From: Ben Franksen via Core-talk <core-talk at aps.anl.gov>
To: "EPICS core-talk (core-talk at aps.anl.gov)" <core-talk at aps.anl.gov>
Date: Mon, 19 Apr 2021 18:59:30 +0200
Am 19.04.21 um 04:45 schrieb Hugo Slepicka via Core-talk:
> For the client-side Git configuration this tool may be of help:
> https://pre-commit.com/
> 
> You can define the rules to be applied as well as develop your own rules.
> 
> After a very small and simple procedure,  clients will have all commit
> attempts before they can really commit.

If built into base, pre-commit hooks would make it difficult to quickly
commit unclean changes on a working branch with the idea of postponing
cleanup for later amends/rebases. IMO the right place for such a check
is before merging a PR, i.e. as part of the CI.

Cheers
Ben
-- 
I would rather have questions that cannot be answered, than answers that
cannot be questioned.  -- Richard Feynman


Attachment: signature.asc
Description: OpenPGP digital signature


Replies:
Re: file format enforcing? Michael Davidsaver via Core-talk
References:
file format enforcing? Zimoch Dirk (PSI) via Core-talk
Re: file format enforcing? Michael Davidsaver via Core-talk
RE: file format enforcing? Freddie Akeroyd - STFC UKRI via Core-talk
Re: file format enforcing? Michael Davidsaver via Core-talk
Re: file format enforcing? Hugo Slepicka via Core-talk

Navigate by Date:
Prev: Build failed in Jenkins: epics-example-win64 #666 APS Jenkins via Core-talk
Next: Re: file format enforcing? 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: file format enforcing? Hugo Slepicka via Core-talk
Next: Re: file format enforcing? 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 
ANJ, 19 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·