aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2010-05-21 21:32:33 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2010-05-21 21:32:55 +0530
commit025de395dc72b8ec0ec3e7d4255b566bda039efa (patch)
tree8dd5c4fdd19a1b60df709d24b7a9471929b36980
parent*try* to make upgrades resilient to format changes (pkg maintainers please read) (diff)
downloadgitolite-gentoo-025de395dc72b8ec0ec3e7d4255b566bda039efa.tar.gz
gitolite-gentoo-025de395dc72b8ec0ec3e7d4255b566bda039efa.tar.bz2
gitolite-gentoo-025de395dc72b8ec0ec3e7d4255b566bda039efa.zip
(minor)
-rwxr-xr-xsrc/gl-auth-command6
-rwxr-xr-xsrc/gl-compile-conf7
2 files changed, 4 insertions, 9 deletions
diff --git a/src/gl-auth-command b/src/gl-auth-command
index 80fd393..bcd43b4 100755
--- a/src/gl-auth-command
+++ b/src/gl-auth-command
@@ -13,7 +13,6 @@ use warnings;
# input: $1 is GL username, plus $SSH_ORIGINAL_COMMAND
# output:
# security:
-# - currently, we just make some basic checks, copied from gitosis
# robustness:
@@ -168,9 +167,8 @@ if ($ENV{SSH_ORIGINAL_COMMAND} =~ $CUSTOM_COMMANDS) {
# side notes on detecting a normal git command: the pattern we check allows
# old style as well as new style ("git-subcommand arg" or "git subcommand
-# arg"), just like gitosis does, although I'm not sure how necessary that is.
-# Currently, this is how git sends across the command (including the single
-# quotes):
+# arg"). Currently, this is how git sends across the command (including the
+# single quotes):
# git-receive-pack 'reponame.git'
my ($verb, $repo) = ($ENV{SSH_ORIGINAL_COMMAND} =~ /^\s*(git\s+\S+|\S+)\s+'\/?(.*?)(?:\.git)?'/);
diff --git a/src/gl-compile-conf b/src/gl-compile-conf
index 1d910db..f9b5786 100755
--- a/src/gl-compile-conf
+++ b/src/gl-compile-conf
@@ -389,9 +389,7 @@ close $compiled_fh or die "$ABRT close compiled-conf failed: $!\n";
# any new repos to be created?
# ----------------------------------------------------------------------------
-# modern gits allow cloning from an empty repo, so we just create it. Gitosis
-# did not have that luxury, so it was forced to detect the first push and
-# create it then
+# modern gits allow cloning from an empty repo, so we just create it
# but it turns out not everyone has "modern" gits :)
my $git_version = `git --version`;
@@ -469,8 +467,7 @@ for my $repo (keys %repo_config) {
# handle gitweb and daemon
# ----------------------------------------------------------------------------
-# How you specify gitweb and daemon access is quite different from gitosis. I
-# just assume you'll never have any *real* users called "gitweb" or "daemon"
+# I just assume you'll never have any *real* users called "gitweb" or "daemon"
# :-) These are now "pseduo users" -- giving them "R" access to a repo is all
# you have to do