Moved Git-repositories to Alioth

Michael Prokop mika at debian.org
Wed Sep 23 07:51:02 UTC 2009


Hi,

as discussed and planned I've transferred the git repositories from
Daniel's git.debian.net over to the forensics project on Debian's
Alioth -> http://git.debian.org/

Please don't put your stuff to git.debian.net any longer, but
instead push it over to the repositories at git.debian.org.

You should be able to access the repository using:

  git clone ssh://${USERNAME}@git.debian.org/git/forensics/${REPOSNAME}.git

Please check whether everything works for you as expected and all
data is there. If you miss any repositories, branches, data,... or
have any problems/questions please don't hestitate to contact me.

If you're interested in how I moved the stuff:

,---- [ move-git-repos.sh on alioth ]
| umask 002
|
| for i in aesfix aeskeyfind afflib bios-memimage chaosreader dc3dd ext3grep \
|   fatback ftimes galleta gpart grokevt guymager homepage libewf libguytools \
|   md5deep memdump missidentify myrescue pasco pipebench recoverdm reglookup \
|   rifiuti rifiuti2 rsakeyfind safecopy scrounge-ntfs shed sleuthkit \
|   ssdeep tableau-parm tct unhide wipe
| do
|
|   cd /git/forensics
|
|   if [ -d "${i}.git" ] ; then
|      echo "repository $i exists already"
|   else
|      mkdir "${i}.git" && cd "${i}.git" || exit 1
|      git --bare init --shared
|      chmod a+x hooks/post-update
|
|      cat >hooks/post-receive <<END
| #!/bin/sh
| exec /usr/local/bin/git-commit-notice
| END
|
|      chmod 755 hooks/post-receive
|
|      echo "debian-forensics/$i" > description
|      git config --add hooks.cia-project debian-forensics
|      git config --add hooks.mailinglist forensics-changes at lists.alioth.debian.org
|   fi
| done
`----

,---- [ move-to-alioth.sh on my client ]
| for i in aesfix aeskeyfind afflib bios-memimage chaosreader dc3dd ext3grep \
|   fatback ftimes galleta gpart grokevt guymager homepage libewf libguytools \
|   md5deep memdump missidentify myrescue pasco pipebench recoverdm reglookup \
|   rifiuti rifiuti2 rsakeyfind safecopy scrounge-ntfs shed sleuthkit \
|   ssdeep tableau-parm tct unhide wipe
| do
|
|   cd /grml/git-forensic/${i}
|
|   git remote add alioth ssh://mika@git.debian.org/git/forensics/${i}.git
|
|   if git branch -a | grep -q debian ; then
|      git checkout -b debian origin/debian
|      git checkout -b upstream origin/upstream
|      git checkout -b pristine-tar origin/pristine-tar
|      git push alioth debian
|      git push alioth upstream
|      git push alioth pristine-tar
|      echo "finished $i"
|   else
|      echo "no debian branch on $i - pushing master instead"
|      git push alioth master
|   fi
|
|   git push alioth --tags
|
| done
`----

,---- [ make-debian-the-default-branch.sh on alioth ]
| for i in aesfix aeskeyfind afflib bios-memimage chaosreader dc3dd ext3grep \
|   fatback ftimes galleta gpart grokevt guymager homepage libewf libguytools \
|   md5deep memdump missidentify myrescue pasco pipebench recoverdm reglookup \
|   rifiuti rifiuti2 rsakeyfind safecopy scrounge-ntfs shed sleuthkit \
|   ssdeep tableau-parm tct unhide wipe
| do
|   cd /git/forensics/${i}.git
|   # make sure that HEAD is pointing to debian branch if that one exists
|   if [ -f refs/heads/debian ] ; then
|      git symbolic-ref HEAD refs/heads/debian
|      echo "marking debian as default branch in $i"
|   fi
| done
`----

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20090923/577f1199/attachment.pgp>


More information about the forensics-devel mailing list