On Sat, Sep 16, 2017 at 8:00 AM, <fossil-users-requ...@lists.fossil-scm.org> wrote:
> Date: Sat, 16 Sep 2017 01:15:25 +0200 > From: Johan Kuuse <jo...@kuu.se> > Subject: Re: [fossil-users] Shameless self-promotion > > > >El 16 sept. 2017 0:39, "Warren Young" <war...@etr-usa.com> escribió: > >>> On Sep 14, 2017, at 11:12 PM, Johan Kuuse <jo...@kuu.se> wrote: > >>> > >>> A commit pre-hook running an automatic indenting would have solved this > >>> problem. > >> > >> Coding style is a social norm. It should be enforced by social means, > not > >> technical means. > > > > Must disagree here, at least when we are talker about bigger communities, > > where some kind of technical control/help is necessary to create some > kind > > of "community standard". > While I work, we include a step to run QAC to perform source code analysis and style checks in the build rule for compiling a source file, so each source is validated before it's even compiled. If we wanted to auto-format the source code, we would add a step before QAC. That way, it would be the (re-) formatted code that is validated and compiled. Then, once the build successfully completes, source changes are automatically committed in Fossil. Sometimes, we will do "manual" commits between builds, but our build process insures that what actually got built is also committed.
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users