Re: site-lua buildbot job added

2018-04-28 Thread sebb
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 UniversityT +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 \_/


Re: site-lua buildbot job added

2018-04-28 Thread Henk P. Penning

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 ?
  Any other differences ?

  Is it a problem if the 'make' would "svn add stuff" to the repo ?

  Thanks ; regards,

  HPP

   _
Henk P. Penning, ICT-beta R Uithof MG-403_/ \_
Faculty of Science, Utrecht UniversityT +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 \_/


Re: site-lua buildbot job added

2018-04-28 Thread sebb
On 28 April 2018 at 14:34, Henk P. Penning <penn...@uu.nl> wrote:
> On Sat, 28 Apr 2018, sebb wrote:
>
>> Date: Sat, 28 Apr 2018 14:46:09 +0200
>> From: sebb <seb...@gmail.com>
>> To: general@attic.apache.org
>> Subject: site-lua buildbot job added
>>
>>
>> I added a site-lua buildbot job.
>>
>> It's on demand only (like the jekyll one).
>>
>> It assumes there is a build.sh script to do the build.
>> This makes it easier to update the build without needing to change the
>> Buildbot job.
>
>
>   ... just for my information ...
>
>   -- 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.

c.f. build.sh in site-jekyll

>   My concern is this : /if/ the 'make' generates new files,
>   how are they added to a repo, so SvnPubSub/GitPubSub
>   can publish them on the webservers.

That is for buildbot to do; see the existing builder for attic-site as
per my earlier mail.

>   Groeten,
>
>   HPP
>
>    _
> Henk P. Penning, ICT-beta R Uithof MG-403_/ \_
> Faculty of Science, Utrecht UniversityT +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 \_/


Re: site-lua buildbot job added

2018-04-28 Thread Henk P. Penning

On Sat, 28 Apr 2018, sebb wrote:


Date: Sat, 28 Apr 2018 14:46:09 +0200
From: sebb <seb...@gmail.com>
To: general@attic.apache.org
Subject: site-lua buildbot job added

I added a site-lua buildbot job.

It's on demand only (like the jekyll one).

It assumes there is a build.sh script to do the build.
This makes it easier to update the build without needing to change the
Buildbot job.


  ... just for my information ...

  -- The site-lua/docs dir is built from scratch

  Would this work as 'build.sh' :

svn rm docs
make
svn add docs

  My concern is this : /if/ the 'make' generates new files,
  how are they added to a repo, so SvnPubSub/GitPubSub
  can publish them on the webservers.

  Groeten,

  HPP

   _
Henk P. Penning, ICT-beta R Uithof MG-403_/ \_
Faculty of Science, Utrecht UniversityT +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 \_/