Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Centralise patterns into a single module | Richard Maw | 2017-06-17 | 1 | -27/+27 |
| | | | | | | | This has moved every pattern that wasn't obviously just for string manipulation and has in the process of doing so reworked some logic so that fewer distinct patterns are used, and the repository path normalisation has been unified. | ||||
* | ensures server-info files exist on new reposdsilvers/update-on-create | Daniel Silverstone | 2017-04-08 | 1 | -0/+5 |
| | | | | | This change ensures that the server-info files are created at the point that a repository is realised. | ||||
* | Copyright cleanups | Daniel Silverstone | 2017-01-15 | 1 | -1/+27 |
| | |||||
* | testing: Disable variable dump by default | Richard Maw | 2017-01-08 | 1 | -0/+2 |
| | | | | | | | | | It's a security risk to allow gitano to write to an arbitrary path based on the value of an environment variable. It's low risk since by default gitano is run directly by the http or ssh server, which do not set variables by default, but it's trivial enough to leave it commented out. | ||||
* | testing: Add a way to extract variables from the test suite | Richard Maw | 2017-01-08 | 1 | -0/+23 |
| | |||||
* | cleanups: Whitespace and indentation and untabify | Daniel Silverstone | 2017-01-02 | 1 | -142/+142 |
| | | | | | | This is a massive unpleasant commit which does whitespace cleanup and fixes indentation (including untabifying). Hopefully we won't need to do this ever again, if we keep an eye on commits. | ||||
* | Ensure that if there is no : then readme gets one, for safety | Daniel Silverstone | 2017-01-02 | 1 | -0/+3 |
| | |||||
* | Remove markdown.lua | Daniel Silverstone | 2017-01-02 | 1 | -1/+0 |
| | |||||
* | Remove README support from repository | Daniel Silverstone | 2017-01-02 | 1 | -53/+0 |
| | |||||
* | Remove legacy repo:set_owner() and repo:set_description() calls | Daniel Silverstone | 2016-12-03 | 1 | -19/+6 |
| | |||||
* | Internationalisation of repository module | Daniel Silverstone | 2016-11-05 | 1 | -51/+57 |
| | |||||
* | Remove owner fromthe lace context | Daniel Silverstone | 2016-10-25 | 1 | -5/+0 |
| | |||||
* | Ensure we use the pid when preparing new versions of files to prevent race ↵ | Daniel Silverstone | 2016-09-24 | 1 | -6/+6 |
| | | | | condition | ||||
* | REPO: Add check_signature method and export to supple | Daniel Silverstone | 2016-09-24 | 1 | -0/+43 |
| | |||||
* | gitano.repository.git_command: Handle shallowUpdate config | Richard Maw | 2016-01-13 | 1 | -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. | ||||
* | gitano.repository: Add git_command() method | Richard Maw | 2016-01-11 | 1 | -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. | ||||
* | Ensure uses of repo:save_admin() propagate author and committer | Daniel Silverstone | 2015-11-05 | 1 | -8/+12 |
| | |||||
* | Support committing to adminrefs with author/committer different | Daniel Silverstone | 2015-11-05 | 1 | -7/+11 |
| | |||||
* | Set hide=1 in cgitrc when project.archived | Daniel Silverstone | 2015-10-27 | 1 | -0/+4 |
| | |||||
* | Can't close if we haven't a handle | Richard Ipsum | 2014-03-06 | 1 | -2/+7 |
| | |||||
* | Expose project clod in the lace context | Daniel Silverstone | 2013-11-15 | 1 | -0/+18 |
| | |||||
* | Merge remote-tracking branch 'richardmaw/add-copy-command-rebase3' | Daniel Silverstone | 2013-05-27 | 1 | -4/+65 |
|\ | | | | | | | Reviewed-By: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
| * | repository: don't break a copy in progress | Richard Maw | 2013-05-27 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | This attempts to create the target repository outside the call to util.copy_dir(), since internally it uses mkdir_p, which doesn't distinguish between a repository that already exists. If this check is not made, then it will fail to create a file inside the repository since it already exists, then attempt to clean up after itself, possibly silently breaking the in progress copy. | ||||
| * | repository: add a copy_to method | Richard Maw | 2013-05-27 | 1 | -0/+51 |
| | | | | | | | | | | This will create a repository in a different path, so it does not appear until the copy is complete. | ||||
| * | repository: use path_join in some places | Richard Maw | 2013-05-23 | 1 | -4/+4 |
| | | | | | | | | | | It's longer in these cases, but it's more explicitly creating a path when using a function for it. | ||||
* | | REPOSITORY: Add set_readme method. | Daniel Silverstone | 2013-05-27 | 1 | -0/+20 |
| | | | | | | | | | | Add a set_readme method to gitano.repository so that we can programmatically change the README. | ||||
* | | REPOSITORY: Allow tokens to be customised with notes | Daniel Silverstone | 2013-05-27 | 1 | -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. | ||||
* | REPOSITORY: Cope better with various cases of branch deletion | Daniel Silverstone | 2013-05-01 | 1 | -8/+13 |
| | |||||
* | REPO: Add a mechanism to update the info/web/last-modified file | Daniel Silverstone | 2013-04-24 | 1 | -0/+49 |
| | |||||
* | Ensure spaces and nulls cannot form part of a repository name | Daniel Silverstone | 2012-10-09 | 1 | -0/+2 |
| | |||||
* | GITANO: Move the force_empty_tree() call from always, to update-hook and ↵ | Daniel Silverstone | 2012-09-10 | 1 | -4/+0 |
| | | | | only if needed | ||||
* | GITANO: Migrate from gitano.git to gall | Daniel Silverstone | 2012-09-08 | 1 | -14/+14 |
| | |||||
* | GITANO: Rationalise splittable stuff and split groups on dashes and repos on ↵ | Daniel Silverstone | 2012-09-05 | 1 | -11/+2 |
| | | | | slashes | ||||
* | REPOSITORY: Add repository/{base,dir}name and repository/N to the context, ↵ | Daniel Silverstone | 2012-09-03 | 1 | -0/+10 |
| | | | | where {base,dir}name are obvious and /N is the Nth element | ||||
* | REPOSITORY: Change reponame cleaning rules to be more pleasant and useful | Daniel Silverstone | 2012-09-01 | 1 | -5/+10 |
| | |||||
* | Merge pre-receive hook support | Daniel Silverstone | 2012-09-01 | 1 | -1/+1 |
|\ | |||||
| * | HOOKS: Add support for pre-receive hooks | Daniel Silverstone | 2012-08-22 | 1 | -1/+1 |
| | | |||||
* | | REPOSITORY: Fix spello in mkdir_p() name | Daniel Silverstone | 2012-08-31 | 1 | -1/+1 |
| | | |||||
* | | REPOSITORY: Allow lace to run against nascent repositories | Daniel Silverstone | 2012-08-31 | 1 | -1/+5 |
| | | |||||
* | | GITANO: Update to remove repository_root from gitano-admin | Daniel Silverstone | 2012-08-30 | 1 | -6/+6 |
| | | |||||
* | | GITANO: Remove need for graveyard_root | Daniel Silverstone | 2012-08-30 | 1 | -1/+2 |
| | | |||||
* | | REPOSITORY: Add filter function to foreach | Daniel Silverstone | 2012-08-30 | 1 | -3/+9 |
| | | |||||
* | | REPOSITORY: Tweaks and tidying for base config and admin messages | Daniel Silverstone | 2012-08-30 | 1 | -5/+5 |
| | | |||||
* | | REPOSITORY: Fix check_and_upgrade_hooks to use symlinks | Daniel Silverstone | 2012-08-30 | 1 | -42/+15 |
| | | |||||
* | | INSTALLER: make install and gitano-setup should work (mostly) | Daniel Silverstone | 2012-08-30 | 1 | -1/+1 |
| | | |||||
* | | REPOSITORY: Apparently repo-specific cgitrc files lack the repo. | Daniel Silverstone | 2012-08-28 | 1 | -1/+1 |
| | | |||||
* | | REPOSITORY: Use = not : for cgitrc | Daniel Silverstone | 2012-08-28 | 1 | -1/+1 |
| | | |||||
* | | REPOSITORY: Allow save_admin to be more clear about what happened | Daniel Silverstone | 2012-08-28 | 1 | -4/+8 |
| | | |||||
* | | REPOSITORY: Ensure we do not save broken admin refs | Daniel Silverstone | 2012-08-28 | 1 | -0/+5 |
| | | |||||
* | | REPOSITORY: Generate cgitrc | Daniel Silverstone | 2012-08-28 | 1 | -0/+37 |
| | |