Commit Graph

10 Commits

Author SHA1 Message Date
Miguel Flores Silverio
fb65b02dcf Set LINUX_GIT in .bashrc for generate-git-snapshot.sh
The script requires  LINUX_GIT to be set, preferably, in your
local .bashrc. I added a quick check to see if .bashrc exists
and check it first to see if LINUX_GIT is set there.

[labbott: Tweaked commit text]
Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
2016-06-22 17:53:33 -07:00
Josh Boyer
eb17d7ebff Save the full sha1sum of the commit we generate patch-4.y-*-gitN from
We save off the top commit into a new file called 'gitrev'.  This will help
us automate exploded tree creation by providing a simple file to read to
get the exact upstream commit to use as the base.
2015-09-28 10:14:34 -04:00
Josh Boyer
3c964af1eb Make the git snapshot generator work for -git1 patches
Before it would just error out because it was only looking at the patch-
listings in the sources file.  So now we let it do that, and if the VER
variable is null after we just assume it's the first git snapshot of the
merge window and figure out the version from the linux- tarball.

Why I didn't fix this sooner, I have no idea.  Probably because it only
happens 4 times a year and laziness wins the day.
2015-09-01 10:14:49 -04:00
Josh Boyer
2e4a6e0c85 Revert "Use git format-patch for git snapshots"
This reverts commit 6c66953153.

Turns out this is a bad idea.  It doesn't accomplish what I wanted
and it seems to confuse git-am.
2015-07-24 08:26:40 -04:00
Josh Boyer
6c66953153 Use git format-patch for git snapshots
There are two reasons for this.  The first is that there is much more
context around the changes.  The second is that this will make automating
an exploded git tree much easier to manage.
2015-07-23 11:11:21 -04:00
Kyle McMartin
5fda1eb42c generate-git-snapshot.sh: warn if $LINUX_GIT dir is unset 2013-07-18 20:14:24 -04:00
Josh Boyer
79b876cd70 Make generate-git-snapshot.sh work for merge window trees
Use sed to drop anything ending in -git.*.  That allows us to grab the version
information for the main tree while -rc* will still work later.
2012-07-31 16:18:04 -04:00
Dave Jones
80fb791180 auto-generate the gitN rev 2012-02-28 11:51:25 -05:00
Dave Jones
ac1a857eb1 some tweaks to make the changelog version more correct 2012-02-28 11:26:27 -05:00
Dave Jones
c325fa4fd0 add a script to generate the git snapshot. 2012-02-28 11:18:09 -05:00