summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* yarns: Add test for git-upload-archive commandgit-upload-archive-pluginRichard Maw2015-10-282-5/+18
| | | | This is used by git-archive to get the server to generate a tarball.
* tests: add gitarchive subcommand to GTT and yarn implementationRichard Maw2015-10-282-0/+11
|
* plugins: Don't check for the file typeRichard Maw2015-10-281-1/+1
| | | | | | | dirp:iterate()'s fileinfo may not have d_type initialised, do the check could fail even if it was a valid plugin file. I think the filename check is sufficient.
* git-archive command as pluginGavin Lee2015-10-281-0/+33
|
* Set hide=1 in cgitrc when project.archivedDaniel Silverstone2015-10-271-0/+4
|
* Merge archiverepo workDaniel Silverstone2015-10-133-10/+45
|
* Change gfind to gmatch so script works with both 5.1 and 5.2Daniel Silverstone2015-02-031-1/+1
|
* Correct false assumption, require luxio explicitlyDaniel Silverstone2015-02-032-0/+2
|
* Support indicating the object type (and tagged object and type) on updateDaniel Silverstone2014-08-251-1/+26
|
* Clean up copy routines a little to improve repository copy functionalityDaniel Silverstone2014-08-241-7/+33
|
* Update gitano-test-tool because git fsck doesn't always accept a pathDaniel Silverstone2014-08-231-1/+1
|
* Support paths.skel in gitano-setup to change skeleton pathDaniel 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
|/
* 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
|
* 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 TrovesDaniel 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 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 PluginDaniel 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>
* 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
| * 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
| |