mirror of
https://github.com/git/git
synced 2024-07-05 00:58:49 +00:00
Add Meta information.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
321d0e8fe9
commit
1ad3ae4c17
26
Distrib
Executable file
26
Distrib
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This is not for general consumption but just a simple script
|
||||||
|
# I use on my private development environment and on kernel.org
|
||||||
|
# machine to cut binary distribution material.
|
||||||
|
|
||||||
|
V=${1?'version'}
|
||||||
|
M=master.kernel.org
|
||||||
|
case `hostname` in
|
||||||
|
siamese)
|
||||||
|
scp $0 ${M}:./Distrib
|
||||||
|
cd /chroot/sarge/build/git &&
|
||||||
|
scp git-*_$V-*.deb git-core-$V.tar.gz ${M}:debian/.
|
||||||
|
exit
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
G=/pub/software/scm/git
|
||||||
|
D=$G/debian
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
ln $HOME/debian/git-*_$V-* $D/.
|
||||||
|
ln $HOME/debian/git-core-$V.tar.gz $G/.
|
||||||
|
ln $HOME/rpms/RPMS/i386/git-*-$V-* $G/.
|
||||||
|
ln $HOME/rpms/SRPMS/git-*-$V-* $G/.
|
15
KO
Executable file
15
KO
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Not for general consumption; a script I used to make sure
|
||||||
|
# I do not accidentally push a rewound master to public.
|
||||||
|
|
||||||
|
git fetch ko
|
||||||
|
mb=$(git-merge-base ko-master master)
|
||||||
|
h=$(git-rev-parse $mb ko-master | sort -u | wc -l)
|
||||||
|
if test "$h" != 1
|
||||||
|
then
|
||||||
|
echo "OOOOOPPPPPPPPPPPPPPSSS! master is not ko-master fast forward."
|
||||||
|
fi
|
||||||
|
git show-branch ko-master master
|
||||||
|
git show-branch ko-maint maint
|
||||||
|
git show-branch ko-pu pu
|
16
Make
Executable file
16
Make
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# DDD=' -DUSE_SYMLINK_HEAD=0'
|
||||||
|
|
||||||
|
PATH=/usr/bin:/bin
|
||||||
|
LANG=C
|
||||||
|
LC_CTYPE=C
|
||||||
|
export PATH LANG LC_CTYPE
|
||||||
|
|
||||||
|
#make prefix=/usr/local \
|
||||||
|
make bindir=$HOME/bin/Linux \
|
||||||
|
PYTHON_PATH=/usr/bin/python2.4 \
|
||||||
|
CFLAGS='-O1 -Wall -g'"$DDD" \
|
||||||
|
WITH_SEND_EMAIL=YesPlease \
|
||||||
|
WITH_SVNIMPORT=YesPlease \
|
||||||
|
"$@"
|
22
PU
Executable file
22
PU
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Rebuild "pu" from topic branches.
|
||||||
|
#
|
||||||
|
|
||||||
|
. git-sh-setup
|
||||||
|
|
||||||
|
git-status && exit
|
||||||
|
git-checkout pu &&
|
||||||
|
git-reset --hard master &&
|
||||||
|
ORIG_HEAD=`git-rev-parse ORIG_HEAD` || exit
|
||||||
|
|
||||||
|
for H
|
||||||
|
do
|
||||||
|
(IFS=",$IFS"; git-pull -n . $H) || exit
|
||||||
|
done
|
||||||
|
|
||||||
|
(IFS=",$IFS"; git-show-branch master pu $* $ORIG_HEAD)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
20
info/main/doit
Executable file
20
info/main/doit
Executable file
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
HERE=`dirname "$0"`
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
compare | '')
|
||||||
|
diff -u "$HERE/mailmap" .mailmap
|
||||||
|
diff -ru "$HERE/remotes" .git/remotes
|
||||||
|
;;
|
||||||
|
save)
|
||||||
|
cp .mailmap "$HERE/mailmap"
|
||||||
|
cp -a .git/remotes "$HERE"
|
||||||
|
;;
|
||||||
|
restore)
|
||||||
|
cp "$HERE/mailmap" .mailmap
|
||||||
|
cp -a "$HERE/remotes" .git/.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo >&2 "usage: $0 [compare|save|restore]"
|
||||||
|
esac
|
10
info/main/mailmap
Normal file
10
info/main/mailmap
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
H. Peter Anvin <hpa@trantor.hos.anvin.org>
|
||||||
|
H. Peter Anvin <hpa@bonde.sc.orionmulti.com>
|
||||||
|
H. Peter Anvin <hpa@tazenda.sc.orionmulti.com>
|
||||||
|
David_Kågedal <davidk@lysator.liu.se>
|
||||||
|
Daniel Barkalow <barkalow@iabervon.org>
|
||||||
|
Martin Langhoff <martin@catalyst.net.nz>
|
||||||
|
Jon Loeliger <jdl@freescale.org>
|
||||||
|
Jon Loeliger <jdl@freescale.com>
|
||||||
|
Robert Fitzsimons <robfitz@273k.net>
|
||||||
|
|
7
info/main/remotes/ko
Normal file
7
info/main/remotes/ko
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
URL: master.kernel.org:/pub/scm/git/git.git/
|
||||||
|
Pull: master:refs/tags/ko-master
|
||||||
|
Pull: +pu:refs/tags/ko-pu
|
||||||
|
Pull: maint:refs/tags/ko-maint
|
||||||
|
Push: master
|
||||||
|
Push: +pu
|
||||||
|
Push: maint
|
5
info/main/remotes/ko-private
Normal file
5
info/main/remotes/ko-private
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
URL: master.kernel.org:git/.git/
|
||||||
|
Push: master:origin
|
||||||
|
Push: maint:maint
|
||||||
|
Push: +pu:pu
|
||||||
|
|
2
info/main/remotes/paulus
Normal file
2
info/main/remotes/paulus
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
URL: http://www.kernel.org/pub/scm/gitk/gitk.git
|
||||||
|
Pull: :refs/tags/paulus
|
4
info/main/remotes/sarge
Normal file
4
info/main/remotes/sarge
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
URL: /chroot/sarge/build/git/.git
|
||||||
|
Push: master:origin
|
||||||
|
Push: +pu
|
||||||
|
Push: maint
|
18
info/meta/doit
Executable file
18
info/meta/doit
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
HERE=`dirname "$0"`
|
||||||
|
REPO=`expr "$HERE" : '\(.*/\)info/meta'`
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
compare | '')
|
||||||
|
diff -ru "$HERE/remotes" "$REPO.git/remotes"
|
||||||
|
;;
|
||||||
|
save)
|
||||||
|
cp -a "$REPO.git/remotes" "$HERE"
|
||||||
|
;;
|
||||||
|
restore)
|
||||||
|
cp -a "$HERE/remotes" "$REPO.git/."
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo >&2 "usage: $0 [compare|save|restore]"
|
||||||
|
esac
|
3
info/meta/remotes/ko
Normal file
3
info/meta/remotes/ko
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
URL: master.kernel.org:/pub/scm/git/git.git/
|
||||||
|
Pull: todo:ko-master
|
||||||
|
Push: master:refs/heads/todo
|
Loading…
Reference in New Issue
Block a user