[Top][All Lists]

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

Re: Git help, please

From: Graham Percival
Subject: Re: Git help, please
Date: Wed, 4 Apr 2012 16:43:04 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Apr 04, 2012 at 04:37:53PM +0100, Phil Holmes wrote:
> Background: it seems to me the safest way to be sure that all the
> updates I'm going to do to the snippets don't kill the documentation
> build is to test it on a clean build (which my patchy user pretty
> much is).  I believe the easiest way to do that will be to create a
> patch with my normal user, upload that to a new remote branch:
> dev/philh; then log in to patchy, pull master, pull dev/philh and do
> a full make, make test, make doc.

I'm not totally certain I follow that, but I believe you are

Here's what to do:
1) make a new branch (locally).  See CG "git for the impatient"
for this.

2) run and point to the downloaded snippets.

3) do the security check, then commit the results.  Testing comes
later; you can always remove the commit if it's bad.

4) nuke your build dir.  You've got a fast computer.

5) do a full doc build from scratch.  That'll take, what, 8
minutes for you?  :)

6) if it doesn't blow up, then either push directly to staging, or
upload to rietveld.

Don't worry about doing extra checks with patchy.  If it passes a
doc build from scratch on your computer, then it's highly unlikely
to cause a problem at the patchy stage.

- Graham

reply via email to

[Prev in Thread] Current Thread [Next in Thread]