From 828152dc7f3ad421ff1eb50aeb982be664c95039 Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 30 Jul 2020 14:22:34 -0400 Subject: Update ukm for modern perl with perl 5.32.0 trying to use ukm gives: ``` $ ssh gitolite@localhost ukm Enter passphrase for key '/home/kousu/.ssh/id_rsa': FATAL: Can't use global $_ in "my" at /usr/lib/gitolite/commands/ukm line 296, near "($_" Execution of /usr/lib/gitolite/commands/ukm aborted due to compilation errors. ``` This fixes it ``` $ ssh gitolite@localhost ukm list Enter passphrase for key '/home/kousu/.ssh/id_rsa': Hello alice, you manage the following keys: fingerprint userid keyid SHA256:VxHhqhOq5GxpPPUrYMeFMly4Mdc3YlP40qkLX4gr5fI alice alice ``` --- contrib/commands/ukm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/commands/ukm b/contrib/commands/ukm index 3683154..4bb4f3e 100755 --- a/contrib/commands/ukm +++ b/contrib/commands/ukm @@ -293,7 +293,7 @@ sub sanitize_pubkeypath { # This function is only relavant for guest key managers. # It returns true if the pattern is OK and false otherwise. sub required_guest_keyid { - my ($_) = @_; + local ($_) = @_; /$required_guest_pattern/ and ! /$forbidden_guest_pattern/; } -- cgit v1.2.3-65-gdbad From 2bc5e67042ac3fbf4003a4336b42f7405b778f27 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Fri, 27 Aug 2021 21:26:08 +0530 Subject: minor testing fixup --- t/merge-check.t | 2 +- t/partial-copy.t | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/t/merge-check.t b/t/merge-check.t index fdea318..4a50db0 100755 --- a/t/merge-check.t +++ b/t/merge-check.t @@ -43,7 +43,7 @@ try " test-commit bb cc; ok checkout master; ok; /Switched to branch 'master'/ test-commit dd ee; ok - git merge new; ok; /Merge made.*recursive/ + git merge new; ok; /Merge made/ test-commit ff; ok tag end; ok "; diff --git a/t/partial-copy.t b/t/partial-copy.t index 493f0d4..75dfd12 100755 --- a/t/partial-copy.t +++ b/t/partial-copy.t @@ -90,20 +90,20 @@ try " tc u4n1 u4n2 PUSH u4 next; ok /To .*/foo.git/ - /new branch\\] ca3787119b7e8b9914bc22c939cefc443bc308da -> refs/partial/br-\\d+/ + /new reference\\] ca3787119b7e8b9914bc22c939cefc443bc308da -> refs/partial/br-\\d+/ /file:///foo-pc/ /52c7716..ca37871 next -> next/ tag u4/nexttag; glt push u4 --tags /To file:///foo-pc/ /\\[new tag\\] u4/nexttag +-> +u4/nexttag/ - /\\[new branch\\] ca3787119b7e8b9914bc22c939cefc443bc308da -> refs/partial/br-\\d+/ + /\\[new reference\\] ca3787119b7e8b9914bc22c939cefc443bc308da -> refs/partial/br-\\d+/ checkout master checkout -b dev/u4/u4master tc devu4m1 devu4m2 PUSH u4 HEAD; ok /To .*/foo.git/ - /new branch\\] 228353950557ed1eb13679c1fce4d2b4718a2060 -> refs/partial/br-\\d+/ + /new reference\\] 228353950557ed1eb13679c1fce4d2b4718a2060 -> refs/partial/br-\\d+/ /file:///foo-pc/ /new branch.* HEAD -> dev/u4/u4master/ -- cgit v1.2.3-65-gdbad From e1b4faac3246a9be252ba9182dc07e969e1f2ab7 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Sat, 16 Jul 2022 08:39:40 +0530 Subject: minor help text fixup --- src/commands/help | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/commands/help b/src/commands/help index cf54084..47a5a16 100755 --- a/src/commands/help +++ b/src/commands/help @@ -12,7 +12,12 @@ Usage: ssh git@host help # via ssh Prints a list of custom commands available at this gitolite installation. -Each command has its own help, accessed by passing it '-h' again. +Each command has (or should have!) its own help, accessed by passing it the +'-h' option; e.g., "gitolite access -h". + +NOTE: These commands are found in the commands subdirectory (see the page on +"core and non-core gitolite" in the documentation). Gitolite also has some +built-in commands; run just "gitolite", with no arguments, to see those. =cut usage() if @ARGV; -- cgit v1.2.3-65-gdbad