Re: Automating website publishing

2018-03-09 Thread Neil C Smith
Pending automation, Mr ultra-slow Jenkins here has updated the live site
based on the last two PR's on master.

Incidentally noticed while git diffing the changes that the asciidoc
converter seems to add a  tag around every  tag.
That may be the most blatant example of superfluous markup ever! ;-)

Any idea why?  Unless there's a good reason for it, I'll look into how we
get rid of it.

Best wishes,

Neil
-- 
Neil C Smith
Artist & Technologist
www.neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org


Re: AW: Automating website publishing

2018-03-08 Thread Neil C Smith
On Thu, 8 Mar 2018 at 11:29 Thilina Ranathunga  wrote:

> At this stage, the site is getting updates frequently (say, Multiple
> commits/pull requests per day). So, I assume "c) Each X days" would be good
> in the current situation.
>

Why?  Having run a range of sites for clients and personally off a similar
arrangement, I don't see the issue with having multiple builds happen in a
day.  I'd much rather people can immediately check any applied changes have
built and applied correctly to the live site.

Just as a point of comparison, GitHub pages has a limit of 10 builds per
hour, Netlify of 3 builds per minute - multiple builds in a day doesn't
seem like we're asking a lot from the infrastructure.

Best wishes,

Neil
-- 
Neil C Smith
Artist & Technologist
www.neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org


Re: AW: Automating website publishing

2018-03-08 Thread Thilina Ranathunga
My suggestion is,

At this stage, the site is getting updates frequently (say, Multiple
commits/pull requests per day). So, I assume "c) Each X days" would be good
in the current situation.
Once when the site is more stable and rich enough not to get changed
frequently, we may go for "a) Whenever 'master' is updated."

On Thu, Mar 8, 2018 at 4:17 PM, Antonio  wrote:

> Hi Neil,
>
> Yes, I think that makes most sense. I'll update the issue with that.
>
> Thanks,
> Antonio
>
>
> On 07/03/18 22:17, Neil C Smith wrote:
>
>> Hi,
>>
>> On Wed, 7 Mar 2018, 21:10 Antonio,  wrote:
>>
>> The problem I have with publishing whenever master is updated is that if
>>> somebody solves many typos & makes many commits we'll end up with many
>>> builds. That wastes ASF resources.
>>>
>>>
>> Not if we do this by pull request and not direct commits to upstream
>> master.
>>
>> Best wishes,
>>
>> Neil
>>
>> --
>>>
>> Neil C Smith
>> Artist & Technologist
>> www.neilcsmith.net
>>
>> Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org
>>
>>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


-- 

Best regards,
Thilina Ranathunga.


Re: AW: Automating website publishing

2018-03-08 Thread Antonio

Hi Neil,

Yes, I think that makes most sense. I'll update the issue with that.

Thanks,
Antonio

On 07/03/18 22:17, Neil C Smith wrote:

Hi,

On Wed, 7 Mar 2018, 21:10 Antonio,  wrote:


The problem I have with publishing whenever master is updated is that if
somebody solves many typos & makes many commits we'll end up with many
builds. That wastes ASF resources.



Not if we do this by pull request and not direct commits to upstream
master.

Best wishes,

Neil


--

Neil C Smith
Artist & Technologist
www.neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: AW: Automating website publishing

2018-03-07 Thread Neil C Smith
Hi,

On Wed, 7 Mar 2018, 21:10 Antonio,  wrote:

> The problem I have with publishing whenever master is updated is that if
> somebody solves many typos & makes many commits we'll end up with many
> builds. That wastes ASF resources.
>

Not if we do this by pull request and not direct commits to upstream
master.

Best wishes,

Neil

> --
Neil C Smith
Artist & Technologist
www.neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org


Re: AW: Automating website publishing

2018-03-07 Thread Antonio

Hi,

The problem I have with publishing whenever master is updated is that if 
somebody solves many typos & makes many commits we'll end up with many 
builds. That wastes ASF resources.


A periodic build, on the other hand, wastes ASF resources... well, 
periodically :-)


What I mean is that I don't know which be less wasteful: a build per 
commit or a periodic build. :-?


Thanks
Antonio


On 07/03/18 21:56, Christian Lenz wrote:

For me, it only makes sense when master was updated or a new tag (maybe we 
don’t Need tags).


Cheers

Chris

Von: Antonio
Gesendet: Mittwoch, 7. März 2018 21:43
An: dev@netbeans.incubator.apache.org
Betreff: Automating website publishing

Hi all,

I've just submitted https://issues.apache.org/jira/browse/INFRA-16157 to
INFRA to request a Jenkins job that publishes
https://netbeans.apache.org (copying the resulting website from master
to the asf-site branch)

I don't know how often that should be run. Some possibilities I can
think of:

a) Whenever 'master' is updated.
b) On demand.
c) Each X days.

Ideas? Opinions?

Thanks,
Antonio

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists







-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Automating website publishing

2018-03-07 Thread Geertjan Wielenga
I’d be fine with a daily update at a specific time, e.g., 18.00 CET for
example.

Gj

On Wednesday, March 7, 2018, Christian Lenz <christian.l...@gmx.net> wrote:

> For me, it only makes sense when master was updated or a new tag (maybe we
> don’t Need tags).
>
>
> Cheers
>
> Chris
>
> Von: Antonio
> Gesendet: Mittwoch, 7. März 2018 21:43
> An: dev@netbeans.incubator.apache.org
> Betreff: Automating website publishing
>
> Hi all,
>
> I've just submitted https://issues.apache.org/jira/browse/INFRA-16157 to
> INFRA to request a Jenkins job that publishes
> https://netbeans.apache.org (copying the resulting website from master
> to the asf-site branch)
>
> I don't know how often that should be run. Some possibilities I can
> think of:
>
> a) Whenever 'master' is updated.
> b) On demand.
> c) Each X days.
>
> Ideas? Opinions?
>
> Thanks,
> Antonio
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
>


AW: Automating website publishing

2018-03-07 Thread Christian Lenz
For me, it only makes sense when master was updated or a new tag (maybe we 
don’t Need tags).


Cheers

Chris

Von: Antonio
Gesendet: Mittwoch, 7. März 2018 21:43
An: dev@netbeans.incubator.apache.org
Betreff: Automating website publishing

Hi all,

I've just submitted https://issues.apache.org/jira/browse/INFRA-16157 to 
INFRA to request a Jenkins job that publishes 
https://netbeans.apache.org (copying the resulting website from master 
to the asf-site branch)

I don't know how often that should be run. Some possibilities I can 
think of:

a) Whenever 'master' is updated.
b) On demand.
c) Each X days.

Ideas? Opinions?

Thanks,
Antonio

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists






Automating website publishing

2018-03-07 Thread Antonio

Hi all,

I've just submitted https://issues.apache.org/jira/browse/INFRA-16157 to 
INFRA to request a Jenkins job that publishes 
https://netbeans.apache.org (copying the resulting website from master 
to the asf-site branch)


I don't know how often that should be run. Some possibilities I can 
think of:


a) Whenever 'master' is updated.
b) On demand.
c) Each X days.

Ideas? Opinions?

Thanks,
Antonio

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists