[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Move to git is imminent - awaiting Stefan's approval
From: |
Angelo Graziosi |
Subject: |
Re: Move to git is imminent - awaiting Stefan's approval |
Date: |
Thu, 09 Jan 2014 13:18:17 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Il 07/01/2014 15.24, Andreas Schwab ha scritto:
Angelo Graziosi <address@hidden> writes:
I see that I can download the trunk source with
$ wget
http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-trunk.tar.gz
but how I can identify it?
Normally git get-tar-commit-id should do it, but the archive wasn't
produced by git archive, or it was created from a tree ID instead of a
commit ID. That looks like a bug in cgit.
I have downloaded
1)
http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-e42fcf1482e2c9e9d93f459985d13dbbabc61956.tar.gz
2) http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-trunk.tar.gz
which correspond to the same trunk but I cannot identify the trunk: the
command "git get-tar-commit-id" hangs.
If I have understood, with GIT the trunk is identified with the SHA1
string like "e42fcf1482e2c9e9d93f459985d13dbbabc61956", so that in the
first case I know the trunk "revision". Anyway, I would prefer that that
string is stored inside the tree given by those tar-balls. For example
in a text file, LAST-COMMIT-ID, so that one can know it with
$ cat emacs-e42fcf1482e2c9e9d93f459985d13dbbabc61956/LAST-COMMIT-ID
or
$ cat emacs-trunk/LAST-COMMIT-ID
In this way, I can create a build script with this skeleton:
...
wget http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-trunk.tar.gz
tar -xf emacs-trunk.tar.gz
rev=`cat emacs-trunk/LAST-COMMIT-ID`
autogen.sh
configure...
make bootstrap
make install DESTDIR=...
tar -cf emacs-$rev-bin.tar.xz $INSTDIR
Ciao,
Angelo.
- Re: Move to git is imminent - awaiting Stefan's approval, (continued)
- Re: Move to git is imminent - awaiting Stefan's approval, Angelo Graziosi, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Eli Zaretskii, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Antonio Nikishaev, 2014/01/10
- Re: Move to git is imminent - awaiting Stefan's approval, David Kastrup, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Eli Zaretskii, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Angelo Graziosi, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Andreas Schwab, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval,
Angelo Graziosi <=
- Re: Move to git is imminent - awaiting Stefan's approval, Eli Zaretskii, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, RĂ¼diger Sonderfeld, 2014/01/07