From 6c85f8cc823f2a52533925103b4e07e9ecf5b846 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Tue, 26 Oct 2010 20:54:07 +0200 Subject: Initial commit. --- .topdeps | 1 + .topmsg | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .topdeps create mode 100644 .topmsg diff --git a/.topdeps b/.topdeps new file mode 100644 index 0000000..abe55ba --- /dev/null +++ b/.topdeps @@ -0,0 +1 @@ +idl0r-working diff --git a/.topmsg b/.topmsg new file mode 100644 index 0000000..defc8c1 --- /dev/null +++ b/.topmsg @@ -0,0 +1,6 @@ +From: Christian Ruppert +Subject: [PATCH] t/minor + +Minor gitolite fixes. + +Signed-off-by: Christian Ruppert -- cgit v1.2.3-65-gdbad From 3d8a6b1dbe89088535d8f05e63a722d547fd507f Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Tue, 26 Oct 2010 21:10:45 +0200 Subject: Improve some warnings. --- src/gitolite.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gitolite.pm b/src/gitolite.pm index d689f88..df2a1bf 100644 --- a/src/gitolite.pm +++ b/src/gitolite.pm @@ -833,7 +833,9 @@ sub setup_authkeys if (@not_in_config > 10) { print STDERR "$WARN You have " . scalar(@not_in_config) . " pubkeys that do not appear to be used in the config\n"; } elsif (@not_in_config) { - print STDERR "$WARN the following users (pubkey files in parens) do not appear in the config file:\n", join(",", sort @not_in_config), "\n"; + my $nic = join(", ", sort @not_in_config); + $nic =~ s/\Q$GL_KEYDIR\E\/?//g; + print STDERR "$WARN the following users (pubkey files in parens) do not appear in the config file:\n", $nic, "\n"; } # lint check 3; a little more severe than the first two I guess... @@ -845,7 +847,7 @@ sub setup_authkeys if (@no_pubkey > 10) { print STDERR "$WARN You have " . scalar(@no_pubkey) . " users WITHOUT pubkeys...!\n"; } elsif (@no_pubkey) { - print STDERR "$WARN the following users have no pubkeys:\n", join(",", sort @no_pubkey), "\n"; + print STDERR "$WARN the following users have no pubkeys:\n", join(", ", sort @no_pubkey), "\n"; } } -- cgit v1.2.3-65-gdbad