summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * repository: use path_join in some placesRichard Maw2013-05-231-4/+4
| | | | | | | | | | It's longer in these cases, but it's more explicitly creating a path when using a function for it.
| * util: add path_join functionRichard Maw2013-05-231-0/+5
| | | | | | | | | | | | | | | | This is like python's os.path.join. It is shorter to write `util.path_join("foo", "bar", "baz")` than `table.concat({"foo", "bar", "baz"}, "/")`, and I think it looks nicer. If any special path handling is later required, then it can go there.
| * command: fix a typo in rename's error handlerRichard Maw2013-05-231-1/+1
| |
* | COMMAND: Add readme set subcommandDaniel Silverstone2013-05-271-14/+41
| | | | | | | | Add to the readme command the ability to alter the README of a repository.
* | REPOSITORY: Add set_readme method.Daniel Silverstone2013-05-271-0/+20
| | | | | | | | | | Add a set_readme method to gitano.repository so that we can programmatically change the README.
* | COMMANDS: Add reasons to generate_confirmation callsDaniel Silverstone2013-05-272-4/+5
| | | | | | | | | | This adds reasons to all generate_confirmation calls which were still lacking them.
* | ADMINCOMMAND: Fix group del to remove subgroup membershipDaniel Silverstone2013-05-271-0/+8
| | | | | | | | | | | | Before this patch, if you used 'group del' to remove a group which was a subgroup member of another group, the resulting config would not parse. This fixes that.
* | ADMINCOMMAND: Add group renameDaniel Silverstone2013-05-271-5/+42
| | | | | | | | | | This adds a group rename command to allow the administrator to easily rename a group including all subgroup memberships.
* | ADMINCOMMAND: Fix user delete for group membershipDaniel Silverstone2013-05-271-0/+1
| | | | | | | | | | Prior to this patch, if you did 'user delete' on a user in a group then the group membership change was not committed.
* | ADMINCOMMAND: Add user rename commandDaniel Silverstone2013-05-271-7/+50
| | | | | | | | Add a rename command for users.
* | REPOSITORY: Allow tokens to be customised with notesDaniel Silverstone2013-05-271-2/+2
| | | | | | | | | | | | Given we now use repository tokens in multiple places, this ensures that the tokens can be customised with notes. This might be to ensure that a delete user token doesn't match a rename user token for example.
* | REPOCOMMAND: Add fsck commandDaniel Silverstone2013-05-271-1/+20
| | | | | | | | | | This adds an fsck command to the repocommand module. This allows git-fsck to be invoked on repositories in a Gitano instance.
* | REPOCOMMAND: Shunt gc and count-objects to gitano.repocommandDaniel Silverstone2013-05-272-52/+72
| | | | | | | | | | | | | | | | Move the gc and count-objects commands to a separate repocommand module so that we can group fsck in with them neatly. This new module is for commands which operate neatly on a repository with little to no extra dependencies.
* | LACE: Add PCRE support to simple matcherdsilvers/revamp-patternsDaniel Silverstone2013-05-231-1/+6
| | | | | | | | | | This adds PCRE support to the simple matcher. In order for this to work, lrexlib is required (lua-rex-pcre in Debian/Ubuntu).
* | LACE: Add prefix and suffix simple matchesDaniel Silverstone2013-05-231-0/+6
| | | | | | | | | | | | This adds prefix and suffix simple matches and updates the default ruleset to use them as appropriate. This actually eliminates almost all pattern matches from the default ruleset.
* | LACE: Update simple match with generic matchersDaniel Silverstone2013-05-231-22/+27
| | | | | | | | | | | | This updates the simple match routine to have a table of match functions. Initially this only supports the exact and pattern matches, but we can add more.
* | LACE: Alter simple match compiler ready for moreDaniel Silverstone2013-05-231-11/+27
|/ | | | | | | | | This alters the simple match compiler to support a definition format along the lines of: define some_name ref pattern ^refs/heads/ The accepted middle entries being exact, pattern, !exact and !pattern
* REPOSITORY: Cope better with various cases of branch deletionDaniel Silverstone2013-05-011-8/+13
|
* ADMINCOMMAND: Fix 'as' to check if users existDaniel Silverstone2013-04-301-1/+8
|
* REPO: Add a mechanism to update the info/web/last-modified fileDaniel Silverstone2013-04-241-0/+49
|
* USERCOMMAND: In sshkey, ensure we refuse to continue if tag format is badDaniel Silverstone2013-04-241-0/+1
|
* USERCOMMAND: Fix up whoami output a littleDaniel Silverstone2013-04-241-6/+6
|
* COMMAND: Rearrange destroy success message to prevent tl;dr situationsDaniel Silverstone2013-04-241-2/+2
|
* AS: Fix up some logging so as foouser cmd <repo> doesn't crashDaniel Silverstone2013-04-241-4/+4
|
* ACTIONS: Ensure that if we fail to read cleanly we don't assert, in HTTP clientDaniel Silverstone2012-11-101-1/+6
|
* ACTIONS: Remove assert()s from the HTTP client to increase resilienceDaniel Silverstone2012-11-101-3/+11
|
* ADMINCOMMAND: Lowercase user and group namesDaniel Silverstone2012-11-101-1/+10
|
* Upgrade purge message from info to stateDaniel Silverstone2012-11-101-1/+1
|
* ADMINCOMMAND: Add a graveyard commandDaniel Silverstone2012-11-101-0/+165
|
* UTIL: Add rm_rf function to gitano.utilDaniel Silverstone2012-11-101-0/+32
|
* Remove dead codeDaniel Silverstone2012-11-101-173/+0
|
* Add --verbose support to the ls commandDaniel Silverstone2012-10-091-4/+16
|
* Ensure spaces and nulls cannot form part of a repository nameDaniel Silverstone2012-10-091-0/+2
|
* USERCOMMAND: Ensure sshkey is validating tag namesDaniel Silverstone2012-09-221-0/+6
|
* COMMANDS: nascent repositories should not be pushed or pulledDaniel Silverstone2012-09-221-0/+6
|
* GITANO: Move the force_empty_tree() call from always, to update-hook and ↵Daniel Silverstone2012-09-101-4/+0
| | | | only if needed
* UTIL: Fix up deep_copy for memoisationDaniel Silverstone2012-09-091-2/+2
|
* GITANO: Migrate from gitano.git to gallDaniel Silverstone2012-09-0812-979/+23
|
* SUPPLE: Quick fix for global hook supportDaniel Silverstone2012-09-061-2/+3
|
* ACTIONS: Transform connect errors into '500' errors insteadDaniel Silverstone2012-09-061-1/+4
|
* ACTIONS: Support hostname:port in the host argument to the HTTP methodsDaniel Silverstone2012-09-061-1/+5
|
* GITANO: Rationalise splittable stuff and split groups on dashes and repos on ↵Daniel Silverstone2012-09-054-13/+37
| | | | slashes
* LACE: Add targetgroup and member to laceDaniel Silverstone2012-09-041-1/+1
|
* REPOSITORY: Add repository/{base,dir}name and repository/N to the context, ↵Daniel Silverstone2012-09-031-0/+10
| | | | where {base,dir}name are obvious and /N is the Nth element
* REPOSITORY: Change reponame cleaning rules to be more pleasant and usefulDaniel Silverstone2012-09-011-5/+10
|
* COMMAND: destroy: Also mention the token in the confirmationDaniel Silverstone2012-09-011-0/+2
|
* COMMAND: destroy: Fix broken time format so hour is now zero-paddedDaniel Silverstone2012-09-011-1/+1
|
* SUPPLE: Supply an actor table in the global namespace of each hook, ↵Daniel Silverstone2012-09-011-3/+8
| | | | containing info about the user
* SUPPLE: Reorder run_hook() args for neatnessDaniel Silverstone2012-09-011-1/+1
|
* SUPPLE: Tidy _repo -> repoDaniel Silverstone2012-09-011-3/+2
|