summaryrefslogtreecommitdiff
path: root/bin/gitano-post-receive-hook.in
Commit message (Collapse)AuthorAgeFilesLines
* Move post-push dangling-HEAD check to post-receive hookRichard Maw2017-08-011-0/+11
| | | | | | | | | | | The smart-http interface starts http-backend which calls receive-pack. Unfortunately we were performing the dangling-HEAD check after calling receive-pack ourselves, so when using smart-http we weren't performing the check. By moving this into the post-receive hook the check can be performed in smart-http too.
* Merge branch 'dsilvers/hooks'Daniel Silverstone2017-07-081-59/+71
|\
| * Add post-receive hook supportDaniel Silverstone2017-07-021-59/+71
| | | | | | | | | | | | This adds POST_RECEIVE properly as a hook. We move the current behaviour into hook functions, separating out core updates from the Supple hook run, to permit plugins to interpose behaviour.
* | Export patterns as API and consume them in executablesRichard Maw2017-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | Gitano's executables, in addition to being required for operation, are intended to be examples of how to use the gitano library, so rather than importing with require "gitano.patterns", gitano should be imported and use gitano.patterns. No changes to imports are made inside lib/gitano/ because this would cause an import loop.
* | Centralise patterns into a single moduleRichard Maw2017-06-171-1/+2
|/ | | | | | | 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.
* Copyright cleanupsDaniel Silverstone2017-01-151-1/+26
|
* cleanups: Whitespace and indentation and untabifyDaniel Silverstone2017-01-021-6/+5
| | | | | | 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.
* Performed i18n on all bin/*.inDaniel Silverstone2016-08-281-18/+18
|
* Basic i18n moduleDaniel Silverstone2016-08-271-0/+1
|
* Short-circuiting hooks if repository is accessed directlyGavin Lee2014-05-161-0/+6
| | | | Signed-off-by: Vanush "Misha" Paturyan <misha@cs.nuim.ie>
* Add plugin support to all `.in` filesDaniel Silverstone2014-03-111-0/+1
| | | | | | | | | | 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 syslogging to gitano-post-receive-hookbaserock/richardipsum/syslogRichard Ipsum2013-10-021-8/+29
|
* BIN: gitano-post-receive-hook fix for newlines in oldshaDaniel Silverstone2013-05-161-1/+1
| | | | | | Previously, oldsha could end up with a leading newline for all but the first ref altered during a push. This fix corrects that so that oldsha doesn't get newlines in it.
* POST-RECEIVE: Cause the info/web/last-modified to be updatedDaniel Silverstone2013-04-241-0/+9
|
* GITANO: Migrate from gitano.git to gallDaniel Silverstone2012-09-081-1/+2
|
* SUPPLE: Supply an actor table in the global namespace of each hook, ↵Daniel Silverstone2012-09-011-1/+8
| | | | containing info about the user
* SUPPLE: Reorder run_hook() args for neatnessDaniel Silverstone2012-09-011-1/+1
|
* BIN: downgrade http message from chat to infoDaniel Silverstone2012-08-301-1/+1
|
* GITANO: Update to remove repository_root from gitano-adminDaniel Silverstone2012-08-301-2/+2
|
* INSTALLER: make install and gitano-setup should work (mostly)Daniel Silverstone2012-08-301-1/+2
|
* BUILD: More work towards an installerDaniel Silverstone2012-08-301-0/+2
|
* BUILD: Start of a build system and thus installerDaniel Silverstone2012-08-301-0/+138