I don't have a perfectly safe testing server available right now so here's 
what I guess should be done (pls correct me if I'm wrong, I don't want to 
mess up my live installation):

1: Install yamp with the install script in /usr/local/bin (or is it enough to 
install the two scripts?)

2: use the following as repligard_staging_to_live.sh

#!/bin/sh
repligard -c my_repligard_staging.conf -e my_dump.xml.gz
gunzip my_dump.xml.gz
remove_unapproved.pl my_dump.xml
delete_expired.pl my_dump.xml
repligard -c my_repligard_live.conf -i my_dump.xml
rm my_dump.xml

At least that's what I found in an old mail to this list. I can't really 
imagine it works, because delete_expired.pl wants to have two parameters (the 
first being a config file of some kind and I don't know where to get it or 
how it looks), but can anyone tell me if I'm at least heading into the right 
direction and where I can find further info?

Bye,

Andreas

Am Freitag, 16. April 2004 13:07 schrieb Sonic:
> I'd volunteer if someone could tell me what modifications I'd have to make
> :-)
>
> Bye,
>
> Andreas
>
> Am Freitag, 16. April 2004 12:43 schrieb Henri Bergius:
> > Sonic wrote:
> > > Hi!
> >
> > Greetings!
> >
> > > I'm using the staging/live setup for some time now but somehow, it
> > > doesn't work as expected. I always thought stuff that wasn't approved
> > > wouldn't be copied to the live site at all, but in reality everything
> > > seems to be published as soon as I hit the "Publish" button in Aegir.
> >
> > Unfortunately the old staging/live scripts shipping with Aegir have
> > been buggy in this regard.
> >
> > There are fixed scripts shipping with the yamp system:
> > remove_unapproved.pl and delete_expired.pl
> >
> > http://midgard.tigris.org/source/browse/midgard/src/tools/yamp/
> >
> > However, these require some modifications to your staging/live setup.
> >
> > BTW, the staging/live docs should be updated to use these new
> > scripts. Any volunteers?
> > http://de.midgard-project.org/documentation/installation/staging
> >
> > > Andreas
> >
> > /Bergie
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to