Sitaram Chamarty
0a32d46f59
use-warnings
2009-08-26 10:33:00 +05:30
Sitaram Chamarty
dc4f32b14e
backward compat for marker lines in authkeys
2009-08-26 07:05:04 +05:30
Sitaram Chamarty
09aeb31198
project renamed to gitolite
2009-08-26 06:54:43 +05:30
Sitaram Chamarty
cb5a802d3e
DAMN DAMN DAMN those lexical filehandles
...
print FH unless () # was working fine
but
print $fh unless () # doesn't
instead of printing $_ to $fh, it prints $fh to STDOUT. DAMN DAMN DAMN
2009-08-25 21:47:12 +05:30
Sitaram Chamarty
7a9bf9c296
conf-convert: quick and dirty hack, works fine :)
2009-08-25 20:17:04 +05:30
Sitaram Chamarty
33963391a5
INSTALL: pre-requisites, and lots of stuff on ssh
...
the duplicate pubkey problem and the need to document it was highlighted by
Ilari
...damn I spend more time on ssh than on git it seems to me :(
2009-08-25 20:15:49 +05:30
Sitaram Chamarty
d1664e826f
Merge branch 'jnareb-review'
2009-08-25 11:07:11 +05:30
Sitaram Chamarty
66bf4a20f9
all: lexical file handles instead of bare
2009-08-25 11:06:03 +05:30
Sitaram Chamarty
0b0d95a1ff
auth: tighten up 2 regexes; one minor code clarity fix
2009-08-25 11:05:26 +05:30
Sitaram Chamarty
ebf6300d01
all: some "our"s changed to "my"
2009-08-25 11:02:24 +05:30
Sitaram Chamarty
1f1b95f4c6
compile: move umask up to cover other outputs also
2009-08-25 07:06:36 +05:30
Sitaram Chamarty
92cf77d9c2
update hook: squelch message for branch deletion
...
Ilari pointed out that in case of branch deletion the *new* SHA could be 0,
which causes an ugly
fatal: Not a valid commit name 0000000000000000000000000000000000000000
Since we consider deletion an extreme form of rewind, the end result does not
change ($merge_base will be unequal to $oldsha anyway), but we do need to
squelch the ugly message.
2009-08-25 06:38:05 +05:30
Sitaram Chamarty
0f726bea9a
added license info
2009-08-24 20:30:26 +05:30
Sitaram Chamarty
cd01bb5297
compile: fail/error checks:
...
- don't update authkeys if parse fails
(done by moving that code so it runs *after* the parse)
- check group/usernames for sanity
2009-08-24 17:40:44 +05:30
Sitaram Chamarty
d33c408dc3
INSTALL and README pretty much done
2009-08-24 17:40:42 +05:30
Sitaram Chamarty
3cddc4ca35
compile/update-hook: preserve the order of refs
...
...by turning the last piece (list of allowed refs) into an array rather than a hash
2009-08-24 15:06:39 +05:30
Sitaram Chamarty
6feffc9b16
example.conf got lots more comments (aka documentation!)
2009-08-24 15:06:39 +05:30
Sitaram Chamarty
14f82ffc46
INSTALL started (w-i-p for now); minor changes to
...
README, TODO, and the rc file
2009-08-24 15:06:39 +05:30
Sitaram Chamarty
e8e7bda41c
added README and TODO
2009-08-24 15:06:39 +05:30
Sitaram Chamarty
2e38867b59
add hook, the last piece
2009-08-24 15:06:36 +05:30
Sitaram Chamarty
4a4b6e9d97
auth: finally!
2009-08-24 15:05:54 +05:30
Sitaram Chamarty
7d016908bd
gl-compile-conf changed (see below) and "rc" file added
...
- factored out all the pathnames etc to an rc
- taught it to create repos that dont exist but are mentioned
- promoted user up one level (moving ref down) because gl-auth needs it
- REPO_BASE no longer contains $HOME so that has to be added in manually
- little bugs here and there, like in @refs
2009-08-24 15:05:47 +05:30
Sitaram Chamarty
dc4193e633
gl-compile-conf now has "compilation" of the conf file also
2009-08-24 06:11:27 +05:30
Sitaram Chamarty
930fbafed7
example conf expanded a bit
2009-08-24 06:11:23 +05:30
Sitaram Chamarty
d45a4e3972
added example.conf
2009-08-23 11:29:07 +05:30
Sitaram Chamarty
40dbada486
shell? perl? schizophrenia? fix it NOW dammit :)
2009-08-23 11:05:24 +05:30
Sitaram Chamarty
901a5f7220
gl-add-auth-keys; first version, pretty much done
2009-08-23 07:09:59 +05:30