public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
  2011-02-15 16:42 [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
@ 2011-02-15 16:42 ` Christian Ruppert
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-02-15 16:42 UTC (permalink / raw
  To: gentoo-commits

commit:     56315f2ed48b5dfabcdf774d87f9eb3905fa146f
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 15 16:29:16 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 16:29:16 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=56315f2e

Merge branch 't/find_pubkeys-function' into refs/top-bases/t/ssh-key-options


 .topdeps                                          |    2 +-
 conf/example.conf                                 |    3 -
 conf/example.gitolite.rc                          |  329 +++-----------------
 contrib/adc/get-rights-and-owner.in-perl          |   41 +++
 contrib/ldap/README.mkd                           |   18 ++
 contrib/ldap/ldap-query-example.pl                |   80 +++++
 contrib/ldap/ldap-query-example.sh                |   68 +++++
 contrib/ldap/passwd                               |  112 +++++++
 doc/CHANGELOG                                     |   22 ++
 doc/big-config.mkd                                |  229 ++++++++++----
 doc/delegation.mkd                                |    2 +-
 doc/gitolite.rc.mkd                               |  332 +++++++++++++++++++++
 doc/install-transcript.mkd                        |    2 +-
 doc/overkill.mkd                                  |    8 +-
 doc/progit-article.mkd                            |    2 +-
 doc/ssh-troubleshooting.mkd                       |    2 +-
 doc/who-uses-it.mkd                               |    5 +
 src/gitolite.pm                                   |  124 +++++----
 src/gl-auth-command                               |   14 +-
 src/gl-compile-conf                               |  164 +++++++----
 t/out/t01-repo-groups.1                           |    2 +-
 t/out/t01-repo-groups.1b                          |    2 +-
 t/out/{t01-repo-groups.1b => t01-repo-groups.1bs} |   33 ++-
 t/out/t01-repo-groups.2                           |   28 ++-
 t/out/t02-user-groups.1                           |    2 +-
 t/out/t02-user-groups.1b                          |    2 +-
 t/out/{t02-user-groups.1b => t02-user-groups.1bs} |   35 +--
 t/out/t02-user-groups.2                           |    2 +-
 t/out/{t02-user-groups.2 => t02-user-groups.2bs}  |   49 ++--
 t/t01-repo-groups                                 |    6 +-
 t/t02-user-groups                                 |    8 +-
 t/t59-repo-not-on-disk                            |   12 +-
 t/test-driver.sh                                  |    7 +
 33 files changed, 1196 insertions(+), 551 deletions(-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
  2011-02-15 16:42 [gentoo-commits] proj/gitolite-gentoo:t/find_pubkeys-function " Christian Ruppert
@ 2011-02-15 16:42 ` Christian Ruppert
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-02-15 16:42 UTC (permalink / raw
  To: gentoo-commits

commit:     1f0bc3731de5cd240186656817cf54a7ce81cacb
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 15 16:25:53 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 16:25:53 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=1f0bc373

Merge commit 'refs/top-bases/t/find_pubkeys-function' into t/find_pubkeys-function


 conf/example.conf                                 |    3 -
 conf/example.gitolite.rc                          |  329 +++-----------------
 contrib/adc/get-rights-and-owner.in-perl          |   41 +++
 contrib/ldap/README.mkd                           |   18 ++
 contrib/ldap/ldap-query-example.pl                |   80 +++++
 contrib/ldap/ldap-query-example.sh                |   68 +++++
 contrib/ldap/passwd                               |  112 +++++++
 doc/CHANGELOG                                     |   22 ++
 doc/big-config.mkd                                |  229 ++++++++++----
 doc/delegation.mkd                                |    2 +-
 doc/gitolite.rc.mkd                               |  332 +++++++++++++++++++++
 doc/install-transcript.mkd                        |    2 +-
 doc/overkill.mkd                                  |    8 +-
 doc/progit-article.mkd                            |    2 +-
 doc/ssh-troubleshooting.mkd                       |    2 +-
 doc/who-uses-it.mkd                               |    5 +
 src/gitolite.pm                                   |  124 +++++----
 src/gl-auth-command                               |   14 +-
 src/gl-compile-conf                               |  164 +++++++----
 t/out/t01-repo-groups.1                           |    2 +-
 t/out/t01-repo-groups.1b                          |    2 +-
 t/out/{t01-repo-groups.1b => t01-repo-groups.1bs} |   33 ++-
 t/out/t01-repo-groups.2                           |   28 ++-
 t/out/t02-user-groups.1                           |    2 +-
 t/out/t02-user-groups.1b                          |    2 +-
 t/out/{t02-user-groups.1b => t02-user-groups.1bs} |   35 +--
 t/out/t02-user-groups.2                           |    2 +-
 t/out/{t02-user-groups.2 => t02-user-groups.2bs}  |   49 ++--
 t/t01-repo-groups                                 |    6 +-
 t/t02-user-groups                                 |    8 +-
 t/t59-repo-not-on-disk                            |   12 +-
 t/test-driver.sh                                  |    7 +
 32 files changed, 1195 insertions(+), 550 deletions(-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
  2011-02-15 16:42 [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
@ 2011-02-15 16:42 ` Christian Ruppert
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-02-15 16:42 UTC (permalink / raw
  To: gentoo-commits

commit:     473c02d9cf850c2afca1a741ce1588d45571d82b
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 15 16:29:16 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 16:29:16 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=473c02d9

Merge commit 'refs/top-bases/t/ssh-key-options' into t/ssh-key-options


 conf/example.conf                                 |    3 -
 conf/example.gitolite.rc                          |  329 +++-----------------
 contrib/adc/get-rights-and-owner.in-perl          |   41 +++
 contrib/ldap/README.mkd                           |   18 ++
 contrib/ldap/ldap-query-example.pl                |   80 +++++
 contrib/ldap/ldap-query-example.sh                |   68 +++++
 contrib/ldap/passwd                               |  112 +++++++
 doc/CHANGELOG                                     |   22 ++
 doc/big-config.mkd                                |  229 ++++++++++----
 doc/delegation.mkd                                |    2 +-
 doc/gitolite.rc.mkd                               |  332 +++++++++++++++++++++
 doc/install-transcript.mkd                        |    2 +-
 doc/overkill.mkd                                  |    8 +-
 doc/progit-article.mkd                            |    2 +-
 doc/ssh-troubleshooting.mkd                       |    2 +-
 doc/who-uses-it.mkd                               |    5 +
 src/gitolite.pm                                   |  124 +++++----
 src/gl-auth-command                               |   14 +-
 src/gl-compile-conf                               |  164 +++++++----
 t/out/t01-repo-groups.1                           |    2 +-
 t/out/t01-repo-groups.1b                          |    2 +-
 t/out/{t01-repo-groups.1b => t01-repo-groups.1bs} |   33 ++-
 t/out/t01-repo-groups.2                           |   28 ++-
 t/out/t02-user-groups.1                           |    2 +-
 t/out/t02-user-groups.1b                          |    2 +-
 t/out/{t02-user-groups.1b => t02-user-groups.1bs} |   35 +--
 t/out/t02-user-groups.2                           |    2 +-
 t/out/{t02-user-groups.2 => t02-user-groups.2bs}  |   49 ++--
 t/t01-repo-groups                                 |    6 +-
 t/t02-user-groups                                 |    8 +-
 t/t59-repo-not-on-disk                            |   12 +-
 t/test-driver.sh                                  |    7 +
 32 files changed, 1195 insertions(+), 550 deletions(-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
  2011-02-16 16:07 [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
@ 2011-02-16 16:07 ` Christian Ruppert
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-02-16 16:07 UTC (permalink / raw
  To: gentoo-commits

commit:     706abcc91bc0867e75e270f205720d7a4d2a424a
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 16 16:06:01 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Wed Feb 16 16:06:01 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=706abcc9

Merge commit 'refs/top-bases/t/ssh-key-options' into t/ssh-key-options


 src/gl-auth-command |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
  2011-02-16 16:07 [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
@ 2011-02-16 16:07 ` Christian Ruppert
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-02-16 16:07 UTC (permalink / raw
  To: gentoo-commits

commit:     a13ed1454bfd839ea26c1af3b8a35061f9b70f2f
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 16 16:06:01 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Wed Feb 16 16:06:01 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=a13ed145

Merge branch 't/find_pubkeys-function' into refs/top-bases/t/ssh-key-options


 .topdeps            |    2 +-
 src/gl-auth-command |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
  2011-02-16 16:07 [gentoo-commits] proj/gitolite-gentoo:t/find_pubkeys-function " Christian Ruppert
@ 2011-02-16 16:07 ` Christian Ruppert
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-02-16 16:07 UTC (permalink / raw
  To: gentoo-commits

commit:     955f5e67a58b4f6e91a2a6b7e1dd73b7bfb67f03
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 16 16:05:43 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Wed Feb 16 16:05:43 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=955f5e67

Merge commit 'refs/top-bases/t/find_pubkeys-function' into t/find_pubkeys-function


 src/gl-auth-command |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:master commit in: /
@ 2011-03-25 19:59 Christian Ruppert
  2011-03-25 20:00 ` [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
  2011-03-25 20:00 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert
  0 siblings, 2 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-03-25 19:59 UTC (permalink / raw
  To: gentoo-commits

commit:     b1ab3f43f2f26dda61b51b76a3e7ecbdc729cc89
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 19:41:33 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 19:41:33 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=b1ab3f43

Merge commit 'refs/top-bases/t/ssh-key-options' into t/ssh-key-options


 README.mkd                               |   30 +-
 conf/example.conf                        |  243 +---------
 conf/example.gitolite.rc                 |   26 +-
 contrib/adc/able                         |   20 +-
 contrib/adc/adc.common-functions         |    5 +
 contrib/adc/fork                         |    9 +-
 contrib/adc/get-rights-and-owner.in-perl |   15 +-
 contrib/adc/git                          |  123 +++++
 contrib/adc/gl-reflog                    |    8 +-
 contrib/adc/hub                          |  443 +++++++++++++++++
 contrib/adc/hub.mkd                      |  202 ++++++++
 contrib/adc/perms                        |  115 +++++
 contrib/adc/pygitolite.py                |   77 +++
 contrib/adc/rm                           |    4 +-
 contrib/adc/set-head                     |   17 +
 contrib/adc/who-pushed                   |    2 +-
 contrib/autotoc                          |   35 --
 contrib/gerrit.mkd                       |    2 +-
 contrib/gitolite-tools.mkd               |    2 +-
 contrib/gitweb/gitweb.conf               |   44 ++-
 contrib/ldap/README.mkd                  |    6 +-
 contrib/vim/README.mkd                   |    2 +-
 doc/1-INSTALL.mkd                        |   53 ++-
 doc/2-admin.mkd                          |   56 ++-
 doc/3-faq-tips-etc.mkd                   |  285 ++----------
 doc/CHANGELOG                            |   22 +
 doc/admin-defined-commands.mkd           |   14 +-
 doc/big-config.mkd                       |   14 +-
 doc/delegation.mkd                       |   10 +-
 doc/developer-notes.mkd                  |  213 ++++++++
 doc/gitolite.conf.mkd                    |  469 ++++++++++++++++++
 doc/gitolite.rc.mkd                      |   62 ++-
 doc/hook-propagation.mkd                 |    4 +-
 doc/http-backend.mkd                     |  142 +++++--
 doc/migrate.mkd                          |   10 +-
 doc/mirroring.mkd                        |   21 +-
 doc/mob-branches.mkd                     |    2 +-
 doc/monkeysphere.mkd                     |    2 +
 doc/overkill.mkd                         |    2 +-
 doc/packaging.mkd                        |    2 +-
 doc/progit-article.mkd                   |   14 +-
 doc/report-output.mkd                    |   19 +
 doc/shell-games.mkd                      |   25 +-
 doc/ssh-troubleshooting.mkd              |   42 ++-
 doc/uninstall.mkd                        |    2 +-
 doc/who-uses-it.mkd                      |    4 +-
 doc/wildcard-repositories.mkd            |   17 +-
 hooks/common/gl-pre-git.hub-sample       |   10 +
 hooks/common/update                      |   62 +--
 hooks/gitolite-admin/post-update         |    8 +-
 src/gitolite.pm                          |  776 +++++++++++++++---------------
 src/gitolite_env.pm                      |  157 ++++++
 src/gitolite_rc.pm                       |   70 +++
 src/gl-auth-command                      |  235 +++------
 src/gl-compile-conf                      |  141 ++----
 src/gl-dont-panic                        |   17 +-
 src/gl-easy-install                      |   16 +-
 src/gl-install                           |   33 +-
 src/gl-mirror-shell                      |   13 +-
 src/gl-mirror-sync                       |    4 +-
 src/gl-query-rc                          |   23 +
 src/gl-setup                             |   47 ++-
 src/gl-setup-authkeys                    |   64 ++--
 src/gl-time                              |   30 +-
 src/gl-tool                              |    9 +-
 src/sshkeys-lint                         |    6 +-
 t/README.mkd                             |   11 +-
 t/t53-check-info-expand-output           |   16 +
 t/t64-write-able                         |   11 +-
 t/t65-rsync                              |   83 ++++
 t/t67-hub                                |  174 +++++++
 t/test-driver.sh                         |   73 ++--
 72 files changed, 3483 insertions(+), 1542 deletions(-)

diff --cc src/gitolite.pm
index 7b4bb31,a880037..5f594d2
--- a/src/gitolite.pm
+++ b/src/gitolite.pm
@@@ -6,44 -41,22 +41,24 @@@ use Data::Dumper
  $Data::Dumper::Deepcopy = 1;
  $|++;
  
- # this file is commonly used using "require".  It is not required to use "use"
- # (because it doesn't live in a different package)
++use Net::SSH::AuthorizedKeysFile; # To parse the pubkeyfile with options etc.
 +
- # warning: preceding para requires 4th attribute of a programmer after
- # laziness, impatience, and hubris: sense of humour :-)
+ # ----------------------------------------------------------------------------
+ #       find the rc file, then pull the libraries
+ # ----------------------------------------------------------------------------
  
- # WARNING
- # -------
- # the name of this file will change as soon as its function/feature set
- # stabilises enough ;-)
+ BEGIN {
+     die "ENV GL_RC not set\n" unless $ENV{GL_RC};
+     die "ENV GL_BINDIR not set\n" unless $ENV{GL_BINDIR};
+ }
  
- # right now all it does is
- # - define a function that tells you where to find the rc file
- # - define a function that creates a new repo and give it our update hook
+ use lib $ENV{GL_BINDIR};
+ use gitolite_rc;
  
  # ----------------------------------------------------------------------------
- #       common definitions
+ #       the big data structures we care about
  # ----------------------------------------------------------------------------
  
- our $ABRT = "\n\t\t***** ABORTING *****\n       ";
- our $WARN = "\n\t\t***** WARNING *****\n       ";
- 
- # commands we're expecting
- our $R_COMMANDS=qr/^(git[ -]upload-pack|git[ -]upload-archive)$/;
- our $W_COMMANDS=qr/^git[ -]receive-pack$/;
- 
- # note that REPONAME_PATT allows "/", while USERNAME_PATT does not
- # also, the reason REPONAME_PATT is a superset of USERNAME_PATT is (duh!)
- # because in this version, a repo can have "CREATOR" in the name (see docs)
- our $REPONAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._\@/+-]*$); # very simple pattern
- our $USERNAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._\@+-]*$);  # very simple pattern
- # same as REPONAME, but used for wildcard repos, allows some common regex metas
- our $REPOPATT_PATT=qr(^\@?[0-9a-zA-Z[][\\^.$|()[\]*+?{}0-9a-zA-Z._\@/-]*$);
- # ADC commands and arguments must match this pattern
- our $ADC_CMD_ARGS_PATT=qr(^[0-9a-zA-Z._\@/+:-]*$);
- 
- # these come from the RC file
- our ($REPO_UMASK, $GL_WILDREPOS, $GL_PACKAGE_CONF, $GL_PACKAGE_HOOKS, $REPO_BASE, $GL_CONF_COMPILED, $GL_BIG_CONFIG, $GL_PERFLOGT, $PROJECTS_LIST, $GL_ALL_INCLUDES_SPECIAL, $GL_SITE_INFO, $GL_GET_MEMBERSHIPS_PGM, $GL_WILDREPOS_PERM_CATS);
  our %repos;
  our %groups;
  our %git_configs;
@@@ -828,18 -875,12 +877,18 @@@ sub setup_authkey
      # may not be passed; so make sure it's a valid hashref, even if empty
      $user_list_p = {} unless $user_list_p;
  
-     # CONSTANTS
+     # LOCAL CONSTANTS
  
      # command and options for authorized_keys
 +    my @AUTH_OPTIONS_PRESERVE = ( "from" );
 +    my %AUTH_OPTIONS = (
 +        "no-port-forwarding" => 1,
 +        "no-X11-forwarding" => 1,
 +        "no-agent-forwarding" => 1,
 +        "no-pty" => 1,
 +    );
-     my $AUTH_COMMAND="$bindir/gl-auth-command";
-     $AUTH_COMMAND="$bindir/gl-time $bindir/gl-auth-command" if $GL_PERFLOGT;
+     my $AUTH_COMMAND="$ENV{GL_BINDIR}/gl-auth-command";
+     $AUTH_COMMAND="$ENV{GL_BINDIR}/gl-time $ENV{GL_BINDIR}/gl-auth-command" if $GL_PERFLOGT;
 -    my $AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
  
      # START
  



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata commit in: /
  2011-03-25 19:59 [gentoo-commits] proj/gitolite-gentoo:master commit in: / Christian Ruppert
@ 2011-03-25 20:00 ` Christian Ruppert
  2011-03-25 20:00 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert
  1 sibling, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-03-25 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     b1ab3f43f2f26dda61b51b76a3e7ecbdc729cc89
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 19:41:33 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 19:41:33 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=b1ab3f43

Merge commit 'refs/top-bases/t/ssh-key-options' into t/ssh-key-options


 README.mkd                               |   30 +-
 conf/example.conf                        |  243 +---------
 conf/example.gitolite.rc                 |   26 +-
 contrib/adc/able                         |   20 +-
 contrib/adc/adc.common-functions         |    5 +
 contrib/adc/fork                         |    9 +-
 contrib/adc/get-rights-and-owner.in-perl |   15 +-
 contrib/adc/git                          |  123 +++++
 contrib/adc/gl-reflog                    |    8 +-
 contrib/adc/hub                          |  443 +++++++++++++++++
 contrib/adc/hub.mkd                      |  202 ++++++++
 contrib/adc/perms                        |  115 +++++
 contrib/adc/pygitolite.py                |   77 +++
 contrib/adc/rm                           |    4 +-
 contrib/adc/set-head                     |   17 +
 contrib/adc/who-pushed                   |    2 +-
 contrib/autotoc                          |   35 --
 contrib/gerrit.mkd                       |    2 +-
 contrib/gitolite-tools.mkd               |    2 +-
 contrib/gitweb/gitweb.conf               |   44 ++-
 contrib/ldap/README.mkd                  |    6 +-
 contrib/vim/README.mkd                   |    2 +-
 doc/1-INSTALL.mkd                        |   53 ++-
 doc/2-admin.mkd                          |   56 ++-
 doc/3-faq-tips-etc.mkd                   |  285 ++----------
 doc/CHANGELOG                            |   22 +
 doc/admin-defined-commands.mkd           |   14 +-
 doc/big-config.mkd                       |   14 +-
 doc/delegation.mkd                       |   10 +-
 doc/developer-notes.mkd                  |  213 ++++++++
 doc/gitolite.conf.mkd                    |  469 ++++++++++++++++++
 doc/gitolite.rc.mkd                      |   62 ++-
 doc/hook-propagation.mkd                 |    4 +-
 doc/http-backend.mkd                     |  142 +++++--
 doc/migrate.mkd                          |   10 +-
 doc/mirroring.mkd                        |   21 +-
 doc/mob-branches.mkd                     |    2 +-
 doc/monkeysphere.mkd                     |    2 +
 doc/overkill.mkd                         |    2 +-
 doc/packaging.mkd                        |    2 +-
 doc/progit-article.mkd                   |   14 +-
 doc/report-output.mkd                    |   19 +
 doc/shell-games.mkd                      |   25 +-
 doc/ssh-troubleshooting.mkd              |   42 ++-
 doc/uninstall.mkd                        |    2 +-
 doc/who-uses-it.mkd                      |    4 +-
 doc/wildcard-repositories.mkd            |   17 +-
 hooks/common/gl-pre-git.hub-sample       |   10 +
 hooks/common/update                      |   62 +--
 hooks/gitolite-admin/post-update         |    8 +-
 src/gitolite.pm                          |  776 +++++++++++++++---------------
 src/gitolite_env.pm                      |  157 ++++++
 src/gitolite_rc.pm                       |   70 +++
 src/gl-auth-command                      |  235 +++------
 src/gl-compile-conf                      |  141 ++----
 src/gl-dont-panic                        |   17 +-
 src/gl-easy-install                      |   16 +-
 src/gl-install                           |   33 +-
 src/gl-mirror-shell                      |   13 +-
 src/gl-mirror-sync                       |    4 +-
 src/gl-query-rc                          |   23 +
 src/gl-setup                             |   47 ++-
 src/gl-setup-authkeys                    |   64 ++--
 src/gl-time                              |   30 +-
 src/gl-tool                              |    9 +-
 src/sshkeys-lint                         |    6 +-
 t/README.mkd                             |   11 +-
 t/t53-check-info-expand-output           |   16 +
 t/t64-write-able                         |   11 +-
 t/t65-rsync                              |   83 ++++
 t/t67-hub                                |  174 +++++++
 t/test-driver.sh                         |   73 ++--
 72 files changed, 3483 insertions(+), 1542 deletions(-)

diff --cc src/gitolite.pm
index 7b4bb31,a880037..5f594d2
--- a/src/gitolite.pm
+++ b/src/gitolite.pm
@@@ -6,44 -41,22 +41,24 @@@ use Data::Dumper
  $Data::Dumper::Deepcopy = 1;
  $|++;
  
- # this file is commonly used using "require".  It is not required to use "use"
- # (because it doesn't live in a different package)
++use Net::SSH::AuthorizedKeysFile; # To parse the pubkeyfile with options etc.
 +
- # warning: preceding para requires 4th attribute of a programmer after
- # laziness, impatience, and hubris: sense of humour :-)
+ # ----------------------------------------------------------------------------
+ #       find the rc file, then pull the libraries
+ # ----------------------------------------------------------------------------
  
- # WARNING
- # -------
- # the name of this file will change as soon as its function/feature set
- # stabilises enough ;-)
+ BEGIN {
+     die "ENV GL_RC not set\n" unless $ENV{GL_RC};
+     die "ENV GL_BINDIR not set\n" unless $ENV{GL_BINDIR};
+ }
  
- # right now all it does is
- # - define a function that tells you where to find the rc file
- # - define a function that creates a new repo and give it our update hook
+ use lib $ENV{GL_BINDIR};
+ use gitolite_rc;
  
  # ----------------------------------------------------------------------------
- #       common definitions
+ #       the big data structures we care about
  # ----------------------------------------------------------------------------
  
- our $ABRT = "\n\t\t***** ABORTING *****\n       ";
- our $WARN = "\n\t\t***** WARNING *****\n       ";
- 
- # commands we're expecting
- our $R_COMMANDS=qr/^(git[ -]upload-pack|git[ -]upload-archive)$/;
- our $W_COMMANDS=qr/^git[ -]receive-pack$/;
- 
- # note that REPONAME_PATT allows "/", while USERNAME_PATT does not
- # also, the reason REPONAME_PATT is a superset of USERNAME_PATT is (duh!)
- # because in this version, a repo can have "CREATOR" in the name (see docs)
- our $REPONAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._\@/+-]*$); # very simple pattern
- our $USERNAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._\@+-]*$);  # very simple pattern
- # same as REPONAME, but used for wildcard repos, allows some common regex metas
- our $REPOPATT_PATT=qr(^\@?[0-9a-zA-Z[][\\^.$|()[\]*+?{}0-9a-zA-Z._\@/-]*$);
- # ADC commands and arguments must match this pattern
- our $ADC_CMD_ARGS_PATT=qr(^[0-9a-zA-Z._\@/+:-]*$);
- 
- # these come from the RC file
- our ($REPO_UMASK, $GL_WILDREPOS, $GL_PACKAGE_CONF, $GL_PACKAGE_HOOKS, $REPO_BASE, $GL_CONF_COMPILED, $GL_BIG_CONFIG, $GL_PERFLOGT, $PROJECTS_LIST, $GL_ALL_INCLUDES_SPECIAL, $GL_SITE_INFO, $GL_GET_MEMBERSHIPS_PGM, $GL_WILDREPOS_PERM_CATS);
  our %repos;
  our %groups;
  our %git_configs;
@@@ -828,18 -875,12 +877,18 @@@ sub setup_authkey
      # may not be passed; so make sure it's a valid hashref, even if empty
      $user_list_p = {} unless $user_list_p;
  
-     # CONSTANTS
+     # LOCAL CONSTANTS
  
      # command and options for authorized_keys
 +    my @AUTH_OPTIONS_PRESERVE = ( "from" );
 +    my %AUTH_OPTIONS = (
 +        "no-port-forwarding" => 1,
 +        "no-X11-forwarding" => 1,
 +        "no-agent-forwarding" => 1,
 +        "no-pty" => 1,
 +    );
-     my $AUTH_COMMAND="$bindir/gl-auth-command";
-     $AUTH_COMMAND="$bindir/gl-time $bindir/gl-auth-command" if $GL_PERFLOGT;
+     my $AUTH_COMMAND="$ENV{GL_BINDIR}/gl-auth-command";
+     $AUTH_COMMAND="$ENV{GL_BINDIR}/gl-time $ENV{GL_BINDIR}/gl-auth-command" if $GL_PERFLOGT;
 -    my $AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
  
      # START
  



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
@ 2011-03-25 20:00 Christian Ruppert
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-03-25 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     80d28e6fb02556d600cd48a92b6486c514f8c722
Author:     Sitaram Chamarty <sitaram <AT> atc <DOT> tcs <DOT> com>
AuthorDate: Sat Mar  5 11:59:20 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 11:59:20 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=80d28e6f

Merge branch 'dmitrijsledkovs/pu' into pu


 doc/gitolite.conf.mkd |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
  2011-03-25 19:59 [gentoo-commits] proj/gitolite-gentoo:master " Christian Ruppert
@ 2011-03-25 20:00 ` Christian Ruppert
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-03-25 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     d8dd968616a825bf8958a5d7e6cd245305225fb1
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 19:20:58 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 19:20:58 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=d8dd9686

Merge commit 'refs/top-bases/t/find_pubkeys-function' into t/find_pubkeys-function


 README.mkd                               |   30 +-
 conf/example.conf                        |  243 +---------
 conf/example.gitolite.rc                 |   26 +-
 contrib/adc/able                         |   20 +-
 contrib/adc/adc.common-functions         |    5 +
 contrib/adc/fork                         |    9 +-
 contrib/adc/get-rights-and-owner.in-perl |   15 +-
 contrib/adc/git                          |  123 +++++
 contrib/adc/gl-reflog                    |    8 +-
 contrib/adc/hub                          |  443 +++++++++++++++++
 contrib/adc/hub.mkd                      |  202 ++++++++
 contrib/adc/perms                        |  115 +++++
 contrib/adc/pygitolite.py                |   77 +++
 contrib/adc/rm                           |    4 +-
 contrib/adc/set-head                     |   17 +
 contrib/adc/who-pushed                   |    2 +-
 contrib/autotoc                          |   35 --
 contrib/gerrit.mkd                       |    2 +-
 contrib/gitolite-tools.mkd               |    2 +-
 contrib/gitweb/gitweb.conf               |   44 ++-
 contrib/ldap/README.mkd                  |    6 +-
 contrib/vim/README.mkd                   |    2 +-
 doc/1-INSTALL.mkd                        |   53 ++-
 doc/2-admin.mkd                          |   56 ++-
 doc/3-faq-tips-etc.mkd                   |  285 ++----------
 doc/CHANGELOG                            |   22 +
 doc/admin-defined-commands.mkd           |   14 +-
 doc/big-config.mkd                       |   14 +-
 doc/delegation.mkd                       |   10 +-
 doc/developer-notes.mkd                  |  213 ++++++++
 doc/gitolite.conf.mkd                    |  469 ++++++++++++++++++
 doc/gitolite.rc.mkd                      |   62 ++-
 doc/hook-propagation.mkd                 |    4 +-
 doc/http-backend.mkd                     |  142 +++++--
 doc/migrate.mkd                          |   10 +-
 doc/mirroring.mkd                        |   21 +-
 doc/mob-branches.mkd                     |    2 +-
 doc/monkeysphere.mkd                     |    2 +
 doc/overkill.mkd                         |    2 +-
 doc/packaging.mkd                        |    2 +-
 doc/progit-article.mkd                   |   14 +-
 doc/report-output.mkd                    |   19 +
 doc/shell-games.mkd                      |   25 +-
 doc/ssh-troubleshooting.mkd              |   42 ++-
 doc/uninstall.mkd                        |    2 +-
 doc/who-uses-it.mkd                      |    4 +-
 doc/wildcard-repositories.mkd            |   17 +-
 hooks/common/gl-pre-git.hub-sample       |   10 +
 hooks/common/update                      |   62 +--
 hooks/gitolite-admin/post-update         |    8 +-
 src/gitolite.pm                          |  775 +++++++++++++++---------------
 src/gitolite_env.pm                      |  157 ++++++
 src/gitolite_rc.pm                       |   70 +++
 src/gl-auth-command                      |  235 +++------
 src/gl-compile-conf                      |  141 ++----
 src/gl-dont-panic                        |   17 +-
 src/gl-easy-install                      |   16 +-
 src/gl-install                           |   33 +-
 src/gl-mirror-shell                      |   13 +-
 src/gl-mirror-sync                       |    4 +-
 src/gl-query-rc                          |   23 +
 src/gl-setup                             |   47 ++-
 src/gl-setup-authkeys                    |   64 ++--
 src/gl-time                              |   30 +-
 src/gl-tool                              |    9 +-
 src/sshkeys-lint                         |    6 +-
 t/README.mkd                             |   11 +-
 t/t53-check-info-expand-output           |   16 +
 t/t64-write-able                         |   11 +-
 t/t65-rsync                              |   83 ++++
 t/t67-hub                                |  174 +++++++
 t/test-driver.sh                         |   73 ++--
 72 files changed, 3483 insertions(+), 1541 deletions(-)

diff --cc src/gitolite.pm
index 7c240dc,c0581c8..a880037
--- a/src/gitolite.pm
+++ b/src/gitolite.pm
@@@ -1162,47 -1143,6 +1143,49 @@@ sub ext_cmd_svnserv
      die "svnserve exec failed\n";
  }
  
 +# ----------------------------------------------------------------------------
 +#       Gentoo specific stuff
 +# ----------------------------------------------------------------------------
 +
 +# Find pubkeys recursive
 +sub find_pubkeys {
 +    my $dir = shift;
 +    my $name = shift;
 +    my @files = ();
 +    my @tmp = ();
 +
 +    opendir(my $dir_fh, $dir) or do { print STDERR "Error opendir(): $! '$dir'\n"; return @files; };
 +    foreach my $entry (readdir($dir_fh)) {
 +        next if $entry =~ /^\.\.?$/; # Skip . and .. entries.
 +        $entry = join("/", $dir, $entry);
 +
 +        if(-f $entry and $entry =~ /\.pub$/) {
 +            if(defined($name) && length($name) > 0) {
 +                my $cmp = $entry;
 +                $cmp =~ s(.*/)();
 +                $cmp =~ s/\.pub$//;
 +                if($cmp eq $name) {
 +                    push(@files, $entry);
 +                    next;
 +                }
 +            }
 +            else {
 +                push(@files, $entry);
 +                next;
 +            }
 +        }
 +        if(-d $entry) {
 +            @tmp = find_pubkeys($entry, $name);
 +            @files = (@files, @tmp);
 +            next;
 +        }
 +    }
 +
 +    closedir($dir_fh);
 +
 +    return sort(@files);
 +}
 +
+ # ------------------------------------------------------------------------------
+ # per perl rules, this should be the last line in such a file:
  1;



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
  2011-03-25 19:59 [gentoo-commits] proj/gitolite-gentoo:master " Christian Ruppert
@ 2011-03-25 20:00 ` Christian Ruppert
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-03-25 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     b97115f85bf0380824e1abbc933d5bed40a31a01
Author:     Sitaram Chamarty <sitaram <AT> atc <DOT> tcs <DOT> com>
AuthorDate: Tue Feb 15 09:40:14 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 09:40:14 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=b97115f8

Merge branch 'master' into pu




^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
  2011-03-25 19:59 [gentoo-commits] proj/gitolite-gentoo:master commit in: / Christian Ruppert
  2011-03-25 20:00 ` [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
@ 2011-03-25 20:00 ` Christian Ruppert
  1 sibling, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-03-25 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     b1ab3f43f2f26dda61b51b76a3e7ecbdc729cc89
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 19:41:33 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 19:41:33 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=b1ab3f43

Merge commit 'refs/top-bases/t/ssh-key-options' into t/ssh-key-options


 README.mkd                               |   30 +-
 conf/example.conf                        |  243 +---------
 conf/example.gitolite.rc                 |   26 +-
 contrib/adc/able                         |   20 +-
 contrib/adc/adc.common-functions         |    5 +
 contrib/adc/fork                         |    9 +-
 contrib/adc/get-rights-and-owner.in-perl |   15 +-
 contrib/adc/git                          |  123 +++++
 contrib/adc/gl-reflog                    |    8 +-
 contrib/adc/hub                          |  443 +++++++++++++++++
 contrib/adc/hub.mkd                      |  202 ++++++++
 contrib/adc/perms                        |  115 +++++
 contrib/adc/pygitolite.py                |   77 +++
 contrib/adc/rm                           |    4 +-
 contrib/adc/set-head                     |   17 +
 contrib/adc/who-pushed                   |    2 +-
 contrib/autotoc                          |   35 --
 contrib/gerrit.mkd                       |    2 +-
 contrib/gitolite-tools.mkd               |    2 +-
 contrib/gitweb/gitweb.conf               |   44 ++-
 contrib/ldap/README.mkd                  |    6 +-
 contrib/vim/README.mkd                   |    2 +-
 doc/1-INSTALL.mkd                        |   53 ++-
 doc/2-admin.mkd                          |   56 ++-
 doc/3-faq-tips-etc.mkd                   |  285 ++----------
 doc/CHANGELOG                            |   22 +
 doc/admin-defined-commands.mkd           |   14 +-
 doc/big-config.mkd                       |   14 +-
 doc/delegation.mkd                       |   10 +-
 doc/developer-notes.mkd                  |  213 ++++++++
 doc/gitolite.conf.mkd                    |  469 ++++++++++++++++++
 doc/gitolite.rc.mkd                      |   62 ++-
 doc/hook-propagation.mkd                 |    4 +-
 doc/http-backend.mkd                     |  142 +++++--
 doc/migrate.mkd                          |   10 +-
 doc/mirroring.mkd                        |   21 +-
 doc/mob-branches.mkd                     |    2 +-
 doc/monkeysphere.mkd                     |    2 +
 doc/overkill.mkd                         |    2 +-
 doc/packaging.mkd                        |    2 +-
 doc/progit-article.mkd                   |   14 +-
 doc/report-output.mkd                    |   19 +
 doc/shell-games.mkd                      |   25 +-
 doc/ssh-troubleshooting.mkd              |   42 ++-
 doc/uninstall.mkd                        |    2 +-
 doc/who-uses-it.mkd                      |    4 +-
 doc/wildcard-repositories.mkd            |   17 +-
 hooks/common/gl-pre-git.hub-sample       |   10 +
 hooks/common/update                      |   62 +--
 hooks/gitolite-admin/post-update         |    8 +-
 src/gitolite.pm                          |  776 +++++++++++++++---------------
 src/gitolite_env.pm                      |  157 ++++++
 src/gitolite_rc.pm                       |   70 +++
 src/gl-auth-command                      |  235 +++------
 src/gl-compile-conf                      |  141 ++----
 src/gl-dont-panic                        |   17 +-
 src/gl-easy-install                      |   16 +-
 src/gl-install                           |   33 +-
 src/gl-mirror-shell                      |   13 +-
 src/gl-mirror-sync                       |    4 +-
 src/gl-query-rc                          |   23 +
 src/gl-setup                             |   47 ++-
 src/gl-setup-authkeys                    |   64 ++--
 src/gl-time                              |   30 +-
 src/gl-tool                              |    9 +-
 src/sshkeys-lint                         |    6 +-
 t/README.mkd                             |   11 +-
 t/t53-check-info-expand-output           |   16 +
 t/t64-write-able                         |   11 +-
 t/t65-rsync                              |   83 ++++
 t/t67-hub                                |  174 +++++++
 t/test-driver.sh                         |   73 ++--
 72 files changed, 3483 insertions(+), 1542 deletions(-)

diff --cc src/gitolite.pm
index 7b4bb31,a880037..5f594d2
--- a/src/gitolite.pm
+++ b/src/gitolite.pm
@@@ -6,44 -41,22 +41,24 @@@ use Data::Dumper
  $Data::Dumper::Deepcopy = 1;
  $|++;
  
- # this file is commonly used using "require".  It is not required to use "use"
- # (because it doesn't live in a different package)
++use Net::SSH::AuthorizedKeysFile; # To parse the pubkeyfile with options etc.
 +
- # warning: preceding para requires 4th attribute of a programmer after
- # laziness, impatience, and hubris: sense of humour :-)
+ # ----------------------------------------------------------------------------
+ #       find the rc file, then pull the libraries
+ # ----------------------------------------------------------------------------
  
- # WARNING
- # -------
- # the name of this file will change as soon as its function/feature set
- # stabilises enough ;-)
+ BEGIN {
+     die "ENV GL_RC not set\n" unless $ENV{GL_RC};
+     die "ENV GL_BINDIR not set\n" unless $ENV{GL_BINDIR};
+ }
  
- # right now all it does is
- # - define a function that tells you where to find the rc file
- # - define a function that creates a new repo and give it our update hook
+ use lib $ENV{GL_BINDIR};
+ use gitolite_rc;
  
  # ----------------------------------------------------------------------------
- #       common definitions
+ #       the big data structures we care about
  # ----------------------------------------------------------------------------
  
- our $ABRT = "\n\t\t***** ABORTING *****\n       ";
- our $WARN = "\n\t\t***** WARNING *****\n       ";
- 
- # commands we're expecting
- our $R_COMMANDS=qr/^(git[ -]upload-pack|git[ -]upload-archive)$/;
- our $W_COMMANDS=qr/^git[ -]receive-pack$/;
- 
- # note that REPONAME_PATT allows "/", while USERNAME_PATT does not
- # also, the reason REPONAME_PATT is a superset of USERNAME_PATT is (duh!)
- # because in this version, a repo can have "CREATOR" in the name (see docs)
- our $REPONAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._\@/+-]*$); # very simple pattern
- our $USERNAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._\@+-]*$);  # very simple pattern
- # same as REPONAME, but used for wildcard repos, allows some common regex metas
- our $REPOPATT_PATT=qr(^\@?[0-9a-zA-Z[][\\^.$|()[\]*+?{}0-9a-zA-Z._\@/-]*$);
- # ADC commands and arguments must match this pattern
- our $ADC_CMD_ARGS_PATT=qr(^[0-9a-zA-Z._\@/+:-]*$);
- 
- # these come from the RC file
- our ($REPO_UMASK, $GL_WILDREPOS, $GL_PACKAGE_CONF, $GL_PACKAGE_HOOKS, $REPO_BASE, $GL_CONF_COMPILED, $GL_BIG_CONFIG, $GL_PERFLOGT, $PROJECTS_LIST, $GL_ALL_INCLUDES_SPECIAL, $GL_SITE_INFO, $GL_GET_MEMBERSHIPS_PGM, $GL_WILDREPOS_PERM_CATS);
  our %repos;
  our %groups;
  our %git_configs;
@@@ -828,18 -875,12 +877,18 @@@ sub setup_authkey
      # may not be passed; so make sure it's a valid hashref, even if empty
      $user_list_p = {} unless $user_list_p;
  
-     # CONSTANTS
+     # LOCAL CONSTANTS
  
      # command and options for authorized_keys
 +    my @AUTH_OPTIONS_PRESERVE = ( "from" );
 +    my %AUTH_OPTIONS = (
 +        "no-port-forwarding" => 1,
 +        "no-X11-forwarding" => 1,
 +        "no-agent-forwarding" => 1,
 +        "no-pty" => 1,
 +    );
-     my $AUTH_COMMAND="$bindir/gl-auth-command";
-     $AUTH_COMMAND="$bindir/gl-time $bindir/gl-auth-command" if $GL_PERFLOGT;
+     my $AUTH_COMMAND="$ENV{GL_BINDIR}/gl-auth-command";
+     $AUTH_COMMAND="$ENV{GL_BINDIR}/gl-time $ENV{GL_BINDIR}/gl-auth-command" if $GL_PERFLOGT;
 -    my $AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
  
      # START
  



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options commit in: /
@ 2011-03-25 20:00 Christian Ruppert
  0 siblings, 0 replies; 13+ messages in thread
From: Christian Ruppert @ 2011-03-25 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     4a8b062276349bf54e4b4235ddd201b1f59bf820
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 19:33:24 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 19:33:24 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=commit;h=4a8b0622

Merge branch 't/find_pubkeys-function' into refs/top-bases/t/ssh-key-options


 README.mkd                               |   30 +-
 conf/example.conf                        |  243 +---------
 conf/example.gitolite.rc                 |   26 +-
 contrib/adc/able                         |   20 +-
 contrib/adc/adc.common-functions         |    5 +
 contrib/adc/fork                         |    9 +-
 contrib/adc/get-rights-and-owner.in-perl |   15 +-
 contrib/adc/git                          |  123 +++++
 contrib/adc/gl-reflog                    |    8 +-
 contrib/adc/hub                          |  443 +++++++++++++++++
 contrib/adc/hub.mkd                      |  202 ++++++++
 contrib/adc/perms                        |  115 +++++
 contrib/adc/pygitolite.py                |   77 +++
 contrib/adc/rm                           |    4 +-
 contrib/adc/set-head                     |   17 +
 contrib/adc/who-pushed                   |    2 +-
 contrib/autotoc                          |   35 --
 contrib/gerrit.mkd                       |    2 +-
 contrib/gitolite-tools.mkd               |    2 +-
 contrib/gitweb/gitweb.conf               |   44 ++-
 contrib/ldap/README.mkd                  |    6 +-
 contrib/vim/README.mkd                   |    2 +-
 doc/1-INSTALL.mkd                        |   53 ++-
 doc/2-admin.mkd                          |   56 ++-
 doc/3-faq-tips-etc.mkd                   |  285 ++----------
 doc/CHANGELOG                            |   22 +
 doc/admin-defined-commands.mkd           |   14 +-
 doc/big-config.mkd                       |   14 +-
 doc/delegation.mkd                       |   10 +-
 doc/developer-notes.mkd                  |  213 ++++++++
 doc/gitolite.conf.mkd                    |  469 ++++++++++++++++++
 doc/gitolite.rc.mkd                      |   62 ++-
 doc/hook-propagation.mkd                 |    4 +-
 doc/http-backend.mkd                     |  142 +++++--
 doc/migrate.mkd                          |   10 +-
 doc/mirroring.mkd                        |   21 +-
 doc/mob-branches.mkd                     |    2 +-
 doc/monkeysphere.mkd                     |    2 +
 doc/overkill.mkd                         |    2 +-
 doc/packaging.mkd                        |    2 +-
 doc/progit-article.mkd                   |   14 +-
 doc/report-output.mkd                    |   19 +
 doc/shell-games.mkd                      |   25 +-
 doc/ssh-troubleshooting.mkd              |   42 ++-
 doc/uninstall.mkd                        |    2 +-
 doc/who-uses-it.mkd                      |    4 +-
 doc/wildcard-repositories.mkd            |   17 +-
 hooks/common/gl-pre-git.hub-sample       |   10 +
 hooks/common/update                      |   62 +--
 hooks/gitolite-admin/post-update         |    8 +-
 src/gitolite.pm                          |  775 +++++++++++++++---------------
 src/gitolite_env.pm                      |  157 ++++++
 src/gitolite_rc.pm                       |   70 +++
 src/gl-auth-command                      |  235 +++------
 src/gl-compile-conf                      |  141 ++----
 src/gl-dont-panic                        |   17 +-
 src/gl-easy-install                      |   16 +-
 src/gl-install                           |   33 +-
 src/gl-mirror-shell                      |   13 +-
 src/gl-mirror-sync                       |    4 +-
 src/gl-query-rc                          |   23 +
 src/gl-setup                             |   47 ++-
 src/gl-setup-authkeys                    |   64 ++--
 src/gl-time                              |   30 +-
 src/gl-tool                              |    9 +-
 src/sshkeys-lint                         |    6 +-
 t/README.mkd                             |   11 +-
 t/t53-check-info-expand-output           |   16 +
 t/t64-write-able                         |   11 +-
 t/t65-rsync                              |   83 ++++
 t/t67-hub                                |  174 +++++++
 t/test-driver.sh                         |   73 ++--
 72 files changed, 3483 insertions(+), 1541 deletions(-)



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-03-25 20:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-25 19:59 [gentoo-commits] proj/gitolite-gentoo:master commit in: / Christian Ruppert
2011-03-25 20:00 ` [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
2011-03-25 20:00 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert
  -- strict thread matches above, loose matches on Subject: below --
2011-03-25 20:00 Christian Ruppert
2011-03-25 20:00 Christian Ruppert
2011-03-25 19:59 [gentoo-commits] proj/gitolite-gentoo:master " Christian Ruppert
2011-03-25 20:00 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert
2011-03-25 19:59 [gentoo-commits] proj/gitolite-gentoo:master " Christian Ruppert
2011-03-25 20:00 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert
2011-02-16 16:07 [gentoo-commits] proj/gitolite-gentoo:t/find_pubkeys-function " Christian Ruppert
2011-02-16 16:07 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert
2011-02-16 16:07 [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
2011-02-16 16:07 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert
2011-02-16 16:07 [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
2011-02-16 16:07 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert
2011-02-15 16:42 [gentoo-commits] proj/gitolite-gentoo:t/find_pubkeys-function " Christian Ruppert
2011-02-15 16:42 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert
2011-02-15 16:42 [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
2011-02-15 16:42 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert
2011-02-15 16:42 [gentoo-commits] proj/gitolite-gentoo:t/export-key-metadata " Christian Ruppert
2011-02-15 16:42 ` [gentoo-commits] proj/gitolite-gentoo:t/ssh-key-options " Christian Ruppert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox