Le vendredi 15 avril 2011 à 13:09 +0200, Thierry Vignaud a écrit : > On 15 April 2011 11:53, <[email protected]> wrote:
> > Modified: build_system/iurt/trunk/approve.sh > > =================================================================== > > --- build_system/iurt/trunk/approve.sh 2011-04-15 09:51:56 UTC (rev > > 881) > > +++ build_system/iurt/trunk/approve.sh 2011-04-15 09:53:12 UTC (rev > > 882) > > @@ -1,12 +1,13 @@ > > #!/bin/bash -e > > > > # Do not use trailing slashes here > > -UPLOADSDIR=/home/mandrake/uploads > > +#TODO use a configuration file for that > > +UPLOADSDIR=/var/lib/schedbot/uploads > > SRCBASEDIR=$UPLOADSDIR/queue > > DESTBASEDIR=$UPLOADSDIR/approved > > REJECTEDDIR=$UPLOADSDIR/rejected > > LATERBASEDIR=$UPLOADSDIR/later > > -DISTRO=cooker > > +DISTRO=cauldron > > btw, it would be good if distro name wasn't hardcoded everywhere but > set once in some central config file to be sourced... Yup. But : 1) where ? 2) for what semantic ? In this case, that's the name of some directory that correspond to file to approve and will correspond to the name of the freezed release. So I guess that's pretty specific for our use case. -- Michael Scherer
