Commit graph

568 commits

Author SHA1 Message Date
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