[pkg-perl-tools] 01/01: alioth-repo: Add "I:" and "E:" prefixes to STDERR messages
Axel Beckert
abe at deuxchevaux.org
Tue Jul 21 21:57:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository pkg-perl-tools.
commit dc9c0b7c057d83616a26d52ba47212fd4e759110
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Tue Jul 21 23:57:04 2015 +0200
alioth-repo: Add "I:" and "E:" prefixes to STDERR messages
---
scripts/alioth-repo | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/scripts/alioth-repo b/scripts/alioth-repo
index b7a506c..e1b5850 100755
--- a/scripts/alioth-repo
+++ b/scripts/alioth-repo
@@ -43,13 +43,13 @@ fi
set -u
if [ -z "$DIST" ]; then
- echo "Couldn't determine distribution name. You can pass it manually as parameter." 1>&2
+ echo "E: Couldn't determine distribution name. You can pass it manually as parameter." 1>&2
exit 1
fi
# Setup the repository on alioth if it doesn't exist yet.
if ssh git.debian.org test -e "/git/pkg-perl/packages/$PKG.git"; then
- echo "/git/pkg-perl/packages/$PKG.git already exists on git.debian.org, skipping setup-repository" 1>&2
+ echo "I: /git/pkg-perl/packages/$PKG.git already exists on git.debian.org, skipping setup-repository" 1>&2
else
ssh git.debian.org /git/pkg-perl/setup-repository $PKG \"Debian packaging of $DIST CPAN distribution\"
fi
@@ -57,11 +57,11 @@ fi
# Check if there is already a remote called "origin" before proceeding
if git remote | egrep -q '^origin$'; then
if git remote -v | egrep "^origin[[:space:]].*git\.debian.org.*/git/pkg-perl/packages/$PKG\.git\b.*\(push\)$"; then
- echo 'A remote called "origin" already exists and looks like the right one.' 1>&2
- echo 'Skipping the addition of a remote repository named "origin".' 1>&2
+ echo 'I: A remote called "origin" already exists and looks like the right one.' 1>&2
+ echo 'I: Skipping the addition of a remote repository named "origin".' 1>&2
else
- echo "A remote called \"origin\" already exists and doesn't look right. Aborting." 1>&2
- echo 'You may want to rename it with "git remote rename origin origin-old".' 1>&2
+ echo "E: A remote called \"origin\" already exists and doesn't look right. Aborting." 1>&2
+ echo 'E: You may want to rename it with "git remote rename origin origin-old".' 1>&2
exit 1;
fi
else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git
More information about the Pkg-perl-cvs-commits
mailing list