You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Leo Simons <le...@apache.org> on 2003/10/29 15:52:11 UTC

[site] going once, going twice...

Farr, Aaron wrote:
>>DwA is a great reference--so we should probably do a two step approach
>>of convert it (at which point it can go live) and update it to use
>>one of the modern containers.  Any takers on updating it?
> 
> I've been working on converting the existing docs from docbook to anika
> format.  If I don't get it committed tonight, I should definitely get it
> committed tomorrow.

OK!

In that case, I'll have the new site up in about an hour or so.

:D

- Leo



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: [site] going once, going twice...

Posted by Eric Pugh <ep...@upstate.com>.
Mostly my interest was in leveraging the apache infrastructure for doing
things like running cruisecontrol or updating maven built sites..  I find
that when you rely on external resources then you have to deal with those
resources being available.

At any rate, I'm liking the new site!

Eric

> -----Original Message-----
> From: news [mailto:news@sea.gmane.org]On Behalf Of Leo Simons
> Sent: Thursday, October 30, 2003 4:27 PM
> To: dev@avalon.apache.org
> Subject: Re: [site] going once, going twice...
>
>
> Eric Pugh wrote:
> > I see, this explains why you where talking about doing a
> big CVS commit..
> > The site documentation is all in CVS in the Maven generated format.
>
> yep.
>
> > Therefore, when I make a change, and rerun the site docs,
> those changes in
> > the site docs caused by my change are then committed to
> CVS, and then this
> > job just pulls it out...  Correct?
>
> yep.
>
> > I was thinking that you had some sort of Cruisecontrol type
> app where it was
> > pulling stuff out of cvs, running the site, and then uploading it...
>
> we had: forrestbot. Since we're no longer using forrest, that's no
> longer an option.
>
> Such a script would be simple enough as well. I'm sure some
> people have
> maven-based autopublishing set up.
>
> - LSD
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [site] going once, going twice...

Posted by Leo Simons <le...@apache.org>.
Eric Pugh wrote:
> I see, this explains why you where talking about doing a big CVS commit..
> The site documentation is all in CVS in the Maven generated format.

yep.

> Therefore, when I make a change, and rerun the site docs, those changes in
> the site docs caused by my change are then committed to CVS, and then this
> job just pulls it out...  Correct?

yep.

> I was thinking that you had some sort of Cruisecontrol type app where it was
> pulling stuff out of cvs, running the site, and then uploading it...

we had: forrestbot. Since we're no longer using forrest, that's no 
longer an option.

Such a script would be simple enough as well. I'm sure some people have 
maven-based autopublishing set up.

- LSD



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: [site] going once, going twice...

Posted by Eric Pugh <ep...@upstate.com>.
I see, this explains why you where talking about doing a big CVS commit..
The site documentation is all in CVS in the Maven generated format.
Therefore, when I make a change, and rerun the site docs, those changes in
the site docs caused by my change are then committed to CVS, and then this
job just pulls it out...  Correct?

I was thinking that you had some sort of Cruisecontrol type app where it was
pulling stuff out of cvs, running the site, and then uploading it...

Eric

> -----Original Message-----
> From: news [mailto:news@sea.gmane.org]On Behalf Of Leo Simons
> Sent: Wednesday, October 29, 2003 8:09 PM
> To: dev@avalon.apache.org
> Subject: Re: [site] going once, going twice...
>
>
> Eric Pugh wrote:
> > Does this cron job run on an apache server?
>
> yep. It's a very simple script that I run I my personal
> account. Its the
> way most projects keep their site updated; I believe Sam Ruby runs a
> script that updates a dozen sites.
>
> the crontab looks like (line break is Mozilla's):
>
> [leosimons@minotaur ~]$ cat crontab.save
> 12 0-23/4 * * * /usr/local/bin/bash -c
> /home/leosimons/bin/avalon-site-up.sh
>
> and the script is real simple as well:
>
> leosimons@minotaur ~/bin]$ cat avalon-site-up.sh
> # simple script which updates the contents of
> # /www/avalon.apache.org/
>
> export LOG=/www/avalon.apache.org/cvsuplog.txt
>
> umask 002
> cd /www/avalon.apache.org
>
> # empty log
> echo > $LOG
>
> # do update
> echo 'Started:' `date` >> $LOG
> echo 'Updating site from cvs...' >> $LOG
> echo >> $LOG
> echo
> '---------------------------------------------------------' >> $LOG
> nice cvs -z3 up -P -d >> $LOG 2>&1 3>&1
> echo
> '---------------------------------------------------------' >> $LOG
> echo >> $LOG
> echo 'Done updating.' >> $LOG
> echo 'Finished:' `date` >> $LOG
> echo >> $LOG
>
>
> > Or is it something you run
> > locally?  I need a better way of keeping the Fulcrum
> content up to date then
> > doing it by hand...
>
> It should be obvious how to adapt the above to update the
> turbine site;
> if not ask for a little help on the infrastructure@apache.org list :D
>
> - Leo
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [site] going once, going twice...

Posted by Leo Simons <le...@apache.org>.
Eric Pugh wrote:
> Does this cron job run on an apache server?

yep. It's a very simple script that I run I my personal account. Its the 
way most projects keep their site updated; I believe Sam Ruby runs a 
script that updates a dozen sites.

the crontab looks like (line break is Mozilla's):

[leosimons@minotaur ~]$ cat crontab.save
12 0-23/4 * * * /usr/local/bin/bash -c /home/leosimons/bin/avalon-site-up.sh

and the script is real simple as well:

leosimons@minotaur ~/bin]$ cat avalon-site-up.sh
# simple script which updates the contents of
# /www/avalon.apache.org/

export LOG=/www/avalon.apache.org/cvsuplog.txt

umask 002
cd /www/avalon.apache.org

# empty log
echo > $LOG

# do update
echo 'Started:' `date` >> $LOG
echo 'Updating site from cvs...' >> $LOG
echo >> $LOG
echo '---------------------------------------------------------' >> $LOG
nice cvs -z3 up -P -d >> $LOG 2>&1 3>&1
echo '---------------------------------------------------------' >> $LOG
echo >> $LOG
echo 'Done updating.' >> $LOG
echo 'Finished:' `date` >> $LOG
echo >> $LOG


> Or is it something you run
> locally?  I need a better way of keeping the Fulcrum content up to date then
> doing it by hand...

It should be obvious how to adapt the above to update the turbine site; 
if not ask for a little help on the infrastructure@apache.org list :D

- Leo



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [site] going once, going twice...

Posted by Stephen McConnell <mc...@apache.org>.

Leo Simons wrote:

> sold! 


And its looking really good!!

>
>
> Most things seem to be in working order. I've released my edit lock 
> and re-installed the cronjob; I've set it to run once an hour for now 
> (don't worry, its 'nice'd); I'll change it back to something more 
> conservative when we're happy with how things look.


The only problem I found so far was the link to ECM from the main site 
that doesn't reflect the look-and-feel.  I'm currently updating the 
Excalibur general site to include an ECM specific page that we can link 
to and maintain the look-and-feel.  Should have those updates done in a 
few minutes.

Steve.

>
> Remember the results of the cronjob appear at
>
> http://avalon.apache.org/cvsuplog.txt
>
> that might be helpful while debugging.
>
> I've probably got some uncommitted tidbits left. If anything seems out 
> of sync, holler ;)
>
> taking a break now :D
>
> - LSD
>
> Leo Simons wrote:
>
>> In that case, I'll have the new site up in about an hour or so.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org
>
>

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [site] going once, going twice...

Posted by Berin Loritsch <bl...@apache.org>.
Leo Simons wrote:

> sold!
> 
> Most things seem to be in working order. I've released my edit lock and 
> re-installed the cronjob; I've set it to run once an hour for now (don't 
> worry, its 'nice'd); I'll change it back to something more conservative 
> when we're happy with how things look.
> 
> Remember the results of the cronjob appear at
> 
> http://avalon.apache.org/cvsuplog.txt
> 
> that might be helpful while debugging.
> 
> I've probably got some uncommitted tidbits left. If anything seems out 
> of sync, holler ;)
> 
> taking a break now :D

Looks great!!!!

And when the DwA is done with the conversion we can integrate that properly.
(Link is there, but the doc isn't).

I believe this is friendlier than what we had before.  Great job guys.
Kick back and have a refreshing drink--you deserve it.  (I would say
on the house, but it is a virtual community here...)

-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: [site] going once, going twice...

Posted by Eric Pugh <ep...@upstate.com>.
Does this cron job run on an apache server?  Or is it something you run
locally?  I need a better way of keeping the Fulcrum content up to date then
doing it by hand...

Eric

> -----Original Message-----
> From: news [mailto:news@sea.gmane.org]On Behalf Of Leo Simons
> Sent: Wednesday, October 29, 2003 5:36 PM
> To: dev@avalon.apache.org
> Subject: Re: [site] going once, going twice...
>
>
> sold!
>
> Most things seem to be in working order. I've released my
> edit lock and
> re-installed the cronjob; I've set it to run once an hour for
> now (don't
> worry, its 'nice'd); I'll change it back to something more
> conservative
> when we're happy with how things look.
>
> Remember the results of the cronjob appear at
>
> http://avalon.apache.org/cvsuplog.txt
>
> that might be helpful while debugging.
>
> I've probably got some uncommitted tidbits left. If anything
> seems out
> of sync, holler ;)
>
> taking a break now :D
>
> - LSD
>
> Leo Simons wrote:
> > In that case, I'll have the new site up in about an hour or so.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: [site] going once, going twice...

Posted by Leo Simons <le...@apache.org>.
sold!

Most things seem to be in working order. I've released my edit lock and 
re-installed the cronjob; I've set it to run once an hour for now (don't 
worry, its 'nice'd); I'll change it back to something more conservative 
when we're happy with how things look.

Remember the results of the cronjob appear at

http://avalon.apache.org/cvsuplog.txt

that might be helpful while debugging.

I've probably got some uncommitted tidbits left. If anything seems out 
of sync, holler ;)

taking a break now :D

- LSD

Leo Simons wrote:
> In that case, I'll have the new site up in about an hour or so.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org