This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository pkg-java-svn2git.
commit 27b79945f9af91b2868187b18bb51f838c050700 Author: Emmanuel Bourg <[email protected]> Date: Tue Jun 10 12:36:42 2014 +0200 Disabled the post-receive hook for the initial push --- TODO.txt | 1 - migrate-svn-repo-to-git | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/TODO.txt b/TODO.txt index d85b585..8e47635 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,7 +1,6 @@ TODO - Connect to alioth and check if the repository has already been converted before starting the migration -- Disable the post-receive hook to avoid spamming the pkg-java-commits list - Add a command line parameter to push the converted repository without prompting the user - Turn the script into a proper package - Import the lastest upstream tarball into the upstream branch and tag the release diff --git a/migrate-svn-repo-to-git b/migrate-svn-repo-to-git index 9e52bfc..e30ba91 100755 --- a/migrate-svn-repo-to-git +++ b/migrate-svn-repo-to-git @@ -76,13 +76,16 @@ done # Create the Git repository on alioth echo "Creating the Git repository on alioth..." -ssh alioth.debian.org "cd /srv/git.debian.org/git/$TEAM && ./setup-repository $PACKAGE" +ssh alioth.debian.org "cd /srv/git.debian.org/git/$TEAM && ./setup-repository $PACKAGE && mv $PACKAGE.git/hooks/post-receive $PACKAGE.git/hooks/post-receive.disabled" # Push the new repository echo "Pushing the new repository..." git push --all git push --tags +# Re-enable the post receive hook +ssh alioth.debian.org "cd /srv/git.debian.org/git/$TEAM && mv $PACKAGE.git/hooks/post-receive.disabled $PACKAGE.git/hooks/post-receive" + # Add a file in the SVN repository documenting the migration echo "Marking the SVN repository as obsolete..." svn checkout svn+ssh://svn.debian.org/svn/$TEAM/trunk/$PACKAGE . --depth empty -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/pkg-java-svn2git.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

