summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* yarns: Sketch out create testsRichard Maw2016-09-241-0/+18
|
* yarns: Test that repository existence is not leakedRichard Maw2016-09-241-0/+6
|
* yarns: Test that you can't trample a repository with copyRichard Maw2016-09-242-1/+20
|
* yarns: Test being denied copyRichard Maw2016-09-241-0/+14
|
* copy: Don't leak the existence of repositoriesRichard Maw2016-09-241-8/+10
| | | | | | | | | | | | | | | Previously copy would report that the target existed before running ACLs. While saving a bunch of effort by reporting this early, this means you can see if a repository exists by copying to it even if you haven't got read access to the repository. This is now changed to only report that after the writability check. This has been moved to before the creation check since for the sake of error reporting we should check in order of ascending privilege, and post-write-check is the earliest we can reveal the repository's existence.
* Ensure we use the pid when preparing new versions of files to prevent race ↵Daniel Silverstone2016-09-241-6/+6
| | | | condition
* REPO: Add check_signature method and export to suppleDaniel Silverstone2016-09-242-0/+48
|
* Fix typoDaniel Silverstone2016-09-241-1/+1
|
* More keyring yarnsDaniel Silverstone2016-09-241-11/+34
|
* Add support for GPG and stdin for running thingsDaniel Silverstone2016-09-246-1/+18
|
* KEYRING: Support the rest of the keyring subcommandsDaniel Silverstone2016-09-241-3/+283
|
* UTIL: Add temporary file supportDaniel Silverstone2016-09-241-0/+17
|
* Fix inconsistent indentation for recent commitsRichard Maw2016-09-243-13/+13
| | | | | We're inconsistent in general for indentation with tabs, but that's a much wider change.
* KEYRING: Add keyring command and associated gubbinsDaniel Silverstone2016-09-245-1/+176
| | | | | | This adds lace interfaces for the keyring command, a basic keyring command with list, create, destroy, and a yarn for it, along with some defines in the skel ready for user rules.
* CONFIG: Ensure keyrings aren't unexpectedly copiedDaniel Silverstone2016-09-241-2/+3
|
* Allow specifying 'SCENARIO=blah' when make testDaniel Silverstone2016-09-241-0/+3
|
* LACE: Provide new/old object data (incl. type and sign state) to laceDaniel Silverstone2016-09-242-0/+6
|
* CONFIG: Add basic support for keyrings into configDaniel Silverstone2016-09-241-0/+24
|
* Performed i18n on all bin/*.inDaniel Silverstone2016-08-286-58/+101
|
* Initial i18n/l10n of gitano-setupDaniel Silverstone2016-08-277-72/+272
|
* Basic i18n moduleDaniel Silverstone2016-08-2712-1/+53
|
* Remove set-head and set-description since config has been able to set these ↵Daniel Silverstone2016-08-201-86/+0
| | | | for ages
* Remove mention of set-ownerDaniel Silverstone2016-08-201-1/+2
|
* Remove set-owner and ensure setting project.owner gets validatedDaniel Silverstone2016-08-202-63/+13
|
* Ensure that supple works during gitano-setup to early-warn if something's oddDaniel Silverstone2016-05-301-0/+34
|
* Allow --force as token textDaniel Silverstone2016-05-302-9/+18
|
* Ensure curl operations are pcall'dDaniel Silverstone2016-05-301-1/+8
|
* Support tags pointing at tags in the update hookDaniel Silverstone2016-05-301-2/+2
|
* Ensure user add and group add validate their inputs. Fixes ↵Daniel Silverstone2016-05-303-0/+24
| | | | https://trello.com/c/mLGNXKdo/165-group-add-allows-slashes-which-are-not-valid
* Add CoCDaniel Silverstone2016-05-301-0/+20
|
* Merge remote-tracking branch 'rmaw/config'Daniel Silverstone2016-02-029-31/+83
|\ | | | | | | Reviewed-By: Daniel Silverstone <dsilvers@digital-scurf.org>
| * testing: Add yarn for shallow pushesRichard Maw2016-01-132-1/+21
| |
| * testing: Support checking for the existence of files in repos server-sideRichard Maw2016-01-131-0/+4
| | | | | | | | | | Technically checking whether a file contains "." will work, but this is more readable.
| * testing: extend gtt to support pushingRichard Maw2016-01-132-0/+10
| |
| * testing: Extend cloneviassh to accept depthRichard Maw2016-01-132-4/+4
| |
| * gitano.repository.git_command: Handle shallowUpdate configRichard Maw2016-01-131-0/+17
| | | | | | | | | | | | | | If the repository is configured with git.receive.shallowUpdate (as set by `gitanocmd config set git.receive.shallowUpdate true`) then git will be run with receive.shallowUpdate set, which allows shallow commits to be pushed.
| * Call git commands through repo:git_command()Richard Maw2016-01-134-26/+20
| |
| * gitano.repository: Add git_command() methodRichard Maw2016-01-111-0/+7
| | | | | | | | | | | | | | This takes a git command to run, minus the "git" argument. The intention is that if it needs to insert config options, then they can all be done in one place.
* | Merge remote-tracking branch 'rmaw/yarns'Daniel Silverstone2016-02-023-21/+51
|\ \ | |/ |/| | | Reviewed-By: Daniel Silverstone <dsilvers@digital-scurf.org>
| * yarns: Test basic server side copy behaviourRichard Maw2016-01-052-2/+32
| |
| * util.copy_dir: Make more tolerant to DT_UNKNOWNRichard Maw2016-01-051-19/+19
|/
* Merge remote-tracking branch 'rmaw/yarns'Daniel Silverstone2016-01-049-9/+65
|\ | | | | | | Reviewed and ok.
| * testing: Add tests for rsync pluginRichard Maw2015-12-044-1/+43
| | | | | | | | | | | | | | | | | | | | | | It's an interesting plugin, that may not hang around since its intended user disappeared. It has some value as an example of gitano extensibility, but not sufficient to rewrite it if it becomes broken. However we won't know when it becomes broken and a candidate for removal unless we test it regularly.
| * testing: One weird tip discovered by test engineer to extend coverage, LOC ↵Richard Maw2015-12-041-1/+1
| | | | | | | | | | | | | | metrics hate him This changes the default rules to make it request variables from clod directly, so that we're definitely testing config from clod.
| * testing: Test that project.owner can be setRichard Maw2015-12-041-0/+18
| | | | | | | | | | | | | | | | | | This is a smoke test that gitano doesn't choke in being told the owner must change. Gitano doesn't currently validate that the new owner must exist, and it probably should, but I don't want to add more steps to the test runtime, so I've made a note of what would need to be added.
| * testing: Remove yarn files for deprecated commandsRichard Maw2015-12-044-8/+4
|/ | | | | There's commands for setting the config directly now, which are better.
* Of course, we might rename the orig user tooDaniel Silverstone2015-11-061-0/+3
|
* Try and make detection of lack of repository somewhat automaticDaniel Silverstone2015-11-052-1/+4
|
* Warn about dangling HEAD following a successful pushDaniel Silverstone2015-11-051-1/+8
|
* Ensure you can write before copy is permitted to proceedDaniel Silverstone2015-11-051-1/+8
|