On 28 April 2018 at 14:57, Henk P. Penning <penn...@uu.nl> wrote: > On Sat, 28 Apr 2018, sebb wrote: > >> Date: Sat, 28 Apr 2018 15:43:51 +0200 >> From: sebb <seb...@gmail.com> >> To: general@attic.apache.org >> Subject: Re: site-lua buildbot job added >> >> On 28 April 2018 at 14:34, Henk P. Penning <penn...@uu.nl> wrote: >>> >>> On Sat, 28 Apr 2018, sebb wrote: > > >>> -- The site-lua/docs dir is built from scratch >>> >>> Would this work as 'build.sh' : >>> >>> svn rm docs >>> make >>> svn add docs >> >> >> No need for the SVN commands. > > > So, a local "make ; commit" does something else than > the buildbot's "make" ; in that the buildbot's "make" > magically adds stuff to the repo. > > Correct ?
The build.sh script is only intended to build the site. It should not interact with SVN/Git > Any other differences ? > > Is it a problem if the 'make' would "svn add stuff" to the repo ? Yes, because it is up to the Buildbot job how it interacts with SVN/Git - if at all. I added the build.sh script to ensure that there is a standard command to build the site. The current site uses Ant, Jekyll uses Jekyll, and lua uses make. Having a common shell script simplifies changeover. It's also easier for local testing; only one command to remember. > Thanks ; regards, > > > HPP > > ------------------------------------------------------------ _ > Henk P. Penning, ICT-beta R Uithof MG-403 _/ \_ > Faculty of Science, Utrecht University T +31 30 253 4106 / \_/ \ > Leuvenlaan 4, 3584CE Utrecht, NL F +31 30 253 4553 \_/ \_/ > http://www.staff.science.uu.nl/~penni101/ M penn...@uu.nl \_/