... | ... |
@@ -37,4 +37,3 @@ xt/import_rep.db |
37 | 37 |
xt/import_rep_user |
38 | 38 |
xt/smart_http.db |
39 | 39 |
xt/smart_http |
40 |
-xt/smart_http_work |
... | ... |
@@ -194,8 +194,6 @@ sub startup { |
194 | 194 |
my $r = $r->under(sub { |
195 | 195 |
my $self = shift; |
196 | 196 |
|
197 |
- my $paths = $self->url_for->path->parts; |
|
198 |
- |
|
199 | 197 |
# Basic auth when push request |
200 | 198 |
my $service = $self->param('service') || ''; |
201 | 199 |
if ($service eq 'git-receive-pack') { |
... | ... |
@@ -1,3 +1,5 @@ |
1 | 1 |
#!/bin/sh |
2 |
+CUR_DIR_ABS=$(cd $(dirname $0); pwd) |
|
3 |
+export PERL_CPANM_HOME=$CUR_DIR_ABS/setup |
|
2 | 4 |
perl cpanm -n -l extlib Module::CoreList |
3 | 5 |
perl -Iextlib/lib/perl5 cpanm -n -L extlib --installdeps . |
... | ... |
@@ -9,8 +9,6 @@ |
9 | 9 |
my $git = app->git; |
10 | 10 |
my $sh = app->smart_http; |
11 | 11 |
|
12 |
- warn $service; |
|
13 |
- |
|
14 | 12 |
# Smart HTTP |
15 | 13 |
if ($service eq 'git-upload-pack' || $service eq 'git-receive-pack') { |
16 | 14 |
|