summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'baserock/pedroalvarez/trove-ansible3' into baserock/morphbaserock/morphPedro Alvarez2014-07-1418-165/+272
|\ | | | | | | | | Updated to the latest version of gitano, which now allows the user to change the skeleton path.
| * Support paths.skel in gitano-setup to change skeleton pathbaserock/pedroalvarez/trove-ansible3Daniel Silverstone2014-05-211-1/+4
| |
| * Add support for cached ssh keys for testing. Shaves 20% off test runtimeDaniel Silverstone2014-05-177-6/+106
| |
| * Add tests for configDaniel Silverstone2014-05-171-0/+91
| |
| * Add support for server-side repo checkingDaniel Silverstone2014-05-172-0/+14
| |
| * Short-circuiting hooks if repository is accessed directlyGavin Lee2014-05-164-0/+19
| | | | | | | | Signed-off-by: Vanush "Misha" Paturyan <misha@cs.nuim.ie>
| * Merge remote-tracking branch 'ri/richardipsum/refactor'Daniel Silverstone2014-05-165-158/+38
| |\
| | * Make runcmd output "Unable to continue"Richard Ipsum2014-05-041-0/+1
| | | | | | | | | | | | | | | At the moment the test suite requires that certain errors produce "Unable to continue" on stderr
| | * Make gitano-command cgi use runcmdRichard Ipsum2014-05-041-21/+1
| | |
| | * Make gitano-auth use is_authorized and runcmdRichard Ipsum2014-05-041-133/+9
| | |
| | * Make gitano-smart-http pass repo_root to is_authorizedRichard Ipsum2014-05-041-1/+2
| | |
| | * Make gitano-command pass repo_root to is_authorizedRichard Ipsum2014-05-041-1/+1
| | |
| | * Add repo_root parameter to is_authorizedRichard Ipsum2014-05-041-2/+1
| | |
| | * Move runcmd into utilRichard Ipsum2014-05-041-0/+23
| |/
* | Merge branch 'master' into baserock/morphLars Wirzenius2014-04-166-8/+33
|\ \ | |/ | | | | | | | | | | This merges in a gitano-command.cgi command parsing fix that we'll need for the new Lorry Controller. I've tested this in my system branch.
| * Ensure we pass the repo through otherwise HTTP commands might not workDaniel Silverstone2014-04-092-4/+5
| |
| * UPDATE-HOOK: Extra audit message informationDaniel Silverstone2014-04-041-1/+8
| | | | | | | | | | | | | | Increase the audit log message data to include the update action type, and the old and new SHA. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
| * Support rsync directly to subdirectoriesDaniel Silverstone2014-04-041-2/+3
| |
| * Cache expansionsDaniel Silverstone2014-03-221-0/+8
| |
| * Allow tests to run even when not inside gitano-allDaniel Silverstone2014-03-141-1/+9
| |
* | Merge in rsync support from upstream.Daniel Silverstone2014-03-1217-39/+288
|\ \ | |/ | | | | Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| * RSYNC: Update rsync plugin to fix hiccoughsDaniel Silverstone2014-03-121-5/+2
| | | | | | | | | | | | | | | | This removes the rsync path reporting since I'm now confident it works, also we fix a bug in the lace running so that it tests against the right repo and we hide the rsync command since it's not a normal user command. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
| * Merge in rsync work from CodethinkDaniel Silverstone2014-03-1117-39/+291
| |\ | | | | | | | | | | | | | | | | | | This adds support for Codethink's Trove server's rsync command and also adds a generic plugin interface and repository detection support. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
| | * Support for rsync in Trovesbaserock/danielsilverstone/S10634-rsync-supportDaniel Silverstone2014-03-112-1/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to support ingesting of binary artifacts, we are proposing the use of `git-fat` which is a content filter which uses rsync to store the binary artifacts. That requires an access controlled binary artifact repository, so we take advantage of Gitano's ACLs and associate an optional rsync repository with every git repository on the server. By placing it inside the git repository, all of gitano's destroy and graveyard behaviour automatically works with the new rsync content. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| | * Use new configurable repository detectionbaserock/danielsilverstone/S10633-repo-detectionDaniel Silverstone2014-03-113-31/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Each of these callsites independently detected repositories before. Now they use the configurable repository detection which means (a) they are unified in their behaviour and (b) they can take advantage of new commands which might not have repositories represented in the same way. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| | * Configurable repository detection for commandsDaniel Silverstone2014-03-111-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Up until now, all commands have been restricted to expecting the repository as the second argument *ONLY*. In order to better support other styles of command, this routine combines the behaviour of all places which currently look for the repository into one place. In addition, this means we can simplify several call sites. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| | * Demonstration Pluginbaserock/danielsilverstone/S10632-plugin-supportDaniel Silverstone2014-03-111-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | The demo plugin shows how to hook into every **supported** interface for plugins. Use of any API beyond that which is shown in the demo plugin is not guaranteed at this point. Later a full plugin compatibility API definition will need to be written. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| | * Install plugins during `make install`Daniel Silverstone2014-03-111-1/+8
| | | | | | | | | | | | | | | | | | | | | Gitano *may* ship with plugins which need to be installed during the running of `make install` -- as such, support this in the Makefile. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| | * Add plugin support to all `.in` filesDaniel Silverstone2014-03-118-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each `.in` file needs to load plugins in order to ensure that all requisite functionality is available at all points during the lifetime of a Gitano operation. This is a largely mechanical delta. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| | * Add support for a GITANO_PLUGIN_PATH in install-lua-binDaniel Silverstone2014-03-112-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | The binary installer `install-lua-bin` needs to update all of the files ending in `.in` to be ready for installation. This patch ensures that we support a tag for loading plugins which the various `.in` files can then use to ensure they load plugins at an appropriate point. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| | * Plugin support in GitanoDaniel Silverstone2014-03-113-2/+67
| |/ | | | | | | | | | | | | | | | | This patch adds support for Gitano to load plugins from a colon separated set of paths. While colon separation is not the best mechanism, it is in common use. We explicitly do not add any escaping rules such as :: -> : in order to remain compatible with things like PATH processing. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
* | Merge remote-tracking branch 'origin/master' into baserock/morphDaniel Silverstone2014-03-103-7/+10
|\ \ | |/
| * use passwd.method and passwd.hash insteadDaniel Silverstone2014-03-061-6/+6
| |
| * Ignore generated CGIsDaniel Silverstone2014-03-061-0/+2
| |
| * Mention lua-scrypt which will be mentioned on the websiteDaniel Silverstone2014-03-061-1/+2
| |
| * Merge branch 'richardipsum/http' which contains the HTTP work from RichardDaniel Silverstone2014-03-0614-103/+756
| |\ | | | | | | | | | Ipsum done for Baserock but rebased to remove Baserock-specific content.
| | * Fatal should write contents of LogBuf to stderrRichard Ipsum2014-03-061-1/+3
| | |
| | * Make gitano-setup ask whether we will use htpasswdRichard Ipsum2014-03-061-0/+2
| | |
| | * Can't close if we haven't a handleRichard Ipsum2014-03-061-2/+7
| | |
| | * Update rulesetRichard Ipsum2014-03-062-1/+4
| | | | | | | | | | | | Allow users to change their own password
* | | Merge branch 'baserock/richardipsum/http_v3' into baserock/morphRichard Ipsum2014-02-2016-125/+802
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gitano.morph Reviewed by: Daniel Silverstone Richard Maw
| * | | Fatal should write contents of LogBuf to stderrbaserock/richardipsum/http_v3Richard Ipsum2014-02-181-1/+3
| | | |
| * | | Make gitano-setup ask whether we will use htpasswdRichard Ipsum2014-02-181-0/+2
| | | |
| * | | Can't close if we haven't a handleRichard Ipsum2014-02-181-2/+7
| | | |
| * | | Update rulesetRichard Ipsum2014-02-182-1/+4
| | | | | | | | | | | | | | | | Allow users to change their own password
| * | | Update gitano.morphRichard Ipsum2014-02-181-0/+6
| | |/ | |/| | | | | | | | | | Converts gitano.morph to YAML and copies htpasswd onto system
| * | Make Makefile install our new cgisRichard Ipsum2014-02-181-1/+2
| | |
| * | Add gitano-smart-http cgiRichard Ipsum2014-02-181-0/+76
| | |
| * | Add gitano-command cgiRichard Ipsum2014-02-181-0/+91
| | |
| * | Make Makefile install auth.luaRichard Ipsum2014-02-181-1/+1
| | |