[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Change freeze request: Enforce website freeze in syncStatic.sh



On Wed, Apr 16, 2008 at 06:30:54PM -0500, Mike McGrath wrote:
> On Wed, 16 Apr 2008, Ricky Zhou wrote:
> 
> > I'd like to update syncStatic.sh to enforce the website change freeze
> > (in case I accidentally run make push).  Here is the patch for the
> > change:
> >
> > Index: syncStatic.sh
> > ===================================================================
> > RCS file: /cvs/puppet/configs/system/syncStatic.sh,v
> > retrieving revision 1.20
> > diff -u -r1.20 syncStatic.sh
> > --- syncStatic.sh       12 Dec 2007 23:11:07 -0000      1.20
> > +++ syncStatic.sh       16 Apr 2008 20:06:34 -0000
> > @@ -22,7 +22,8 @@
> >  cd $TEMP
> >  /usr/bin/git clone git://git.fedorahosted.org/git/fedora-web.git >
> > /dev/null 2>&1
> >  cd fedora-web
> > -/usr/bin/git checkout origin/live > /dev/null 2>&1
> > +# Checkout last F8 commit
> > +/usr/bin/git checkout 091d53ea83b78e7a5ea2933be9100e74359802ee >
> > /dev/null 2>&1
> >
> >  cd fedoraproject.org
> >  /bin/rm -rf /var/lib/puppet/application/fedoraproject.org/*
> >
> > What do you think?
> > Ricky
> 
> 
> I think this is fine.  Actually if you get a moment can you add this to
> our SOP under tickets to be filed so we do it automatically as part of the
> next release?

How about making a tag on that commit so the script is readable? :-)

git tag -a fedora-8 091d53ea83b78e7a5ea2933be9100e74359802ee
git checkout fedora-8


-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]