aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver
Commit message (Collapse)AuthorAgeFilesLines
* git-receiver: pre-receive: validate ref prefixRafael G. Martins2022-02-101-1/+3
|
* git-receiver: allow deploying from "main" branchRafael G. Martins2022-02-103-17/+32
| | | | | if a "main" branch is available and no "master" branch is available, use it. "master" still takes precedence to avoid breaking old setups.
* *: update copyrightRafael G. Martins2020-05-314-4/+4
| | | | this time I'm only updating the files I touched this year.
* common: bc_stdin_read() should set read lengthRafael G. Martins2020-05-301-2/+3
|
* git-receiver: pre-receive parser should accept lenRafael G. Martins2020-05-303-4/+6
|
* include `unistd.h` after `sys/stat.h`Rafael G. Martins2020-04-222-2/+2
|
* git-receiver: exit 1 on errorRafael G. Martins2019-03-284-33/+33
|
* *: update copyrightRafael G. Martins2019-01-1513-13/+13
|
* git-receiver: make: runserver: improved realpath(3) usageRafael G. Martins2018-12-172-3/+7
|
* *: update copyrightRafael G. Martins2018-10-1413-13/+13
|
* git-receiver: git shell should reinstall hooks if symlinks are brokenRafael G. Martins2018-06-121-2/+13
|
* git-receiver: fixed memory leakRafael G. Martins2018-06-101-0/+1
|
* git-receiver: fixed segfault on pre-receive hookRafael G. Martins2018-06-101-0/+5
| | | | | if a [repo:*] section was defined in blogc-git-receiver.ini, but was not providing a symlink value, that would result in a segfault.
* git-receiver: remover unused includesRafael G. Martins2018-05-311-4/+0
|
* git-receiver: allow users to define builds dirRafael G. Martins2018-05-314-10/+23
|
* git-receiver: allow users to define the htdocs symlink pathRafael G. Martins2018-05-311-19/+33
| | | | documentation pending
* git-receiver: centralize settings to reuse laterRafael G. Martins2018-05-306-89/+138
|
* git-receiver: allow users to change the base directoryRafael G. Martins2018-05-303-3/+12
| | | | | this is useful mostly for shared environments that just provide one shell user.
* git-receiver: added support to use as an authorized_keys commmandRafael G. Martins2018-05-261-1/+13
|
* make: git-receiver: fixed conversion from wait status to status codeRafael G. Martins2018-05-131-3/+4
|
* blogc: common: replace unsigned int with size_tRafael G. Martins2018-03-201-2/+2
|
* make: all builds are "production" by default, enable "dev" on cli.Rafael G. Martins2017-03-111-1/+1
| | | | | | this is more consistent with other similar tools, and enables us to add something like a [copy:dev] section later, that will avoid copying dev files to production builds.
* make: add support to "production" buildsRafael G. Martins2017-03-071-1/+1
| | | | this is used by blogc-github-lambda and blogc-git-receiver.
* *: updated copyrightRafael G. Martins2017-02-2511-11/+11
|
* make: git-receiver: fixes to build on OS X. patch by @blackgearRafael G. Martins2017-02-181-4/+9
|
* git-receiver: support blogc-makeRafael G. Martins2017-01-041-29/+40
|
* git-receiver: detect if pre-receive is running from git using env varRafael G. Martins2017-01-041-1/+1
|
* *: binaries should always return 3 on errors, for consistency.Rafael G. Martins2016-12-264-32/+32
| | | | | | We used to return 1 or 2 in case of errors, with no special meaning, other than "something is wrong", but these codes are reserved. Now we always return 3.
* config-parser: added support to parse section as list of linesRafael G. Martins2016-12-251-1/+1
|
* git-receiver: moved shell quote function to commonRafael G. Martins2016-12-213-27/+1
|
* post-receive: actually use rvRafael G. Martins2016-11-291-1/+1
|
* fixed includesRafael G. Martins2016-11-192-4/+2
|
* git-receiver: allow to push to mirror manuallyRafael G. Martins2016-11-191-25/+26
|
* git-receiver: minor optimizationsRafael G. Martins2016-11-191-1/+2
|
* git-receiver: optimize repo dir evaluationRafael G. Martins2016-11-181-32/+32
|
* git-receiver: avoid static buffer.Rafael G. Martins2016-11-181-18/+14
| | | | this simplifies code, but makes it less portable
* git-receiver: when rebuilding, change to repo dir asapRafael G. Martins2016-11-171-0/+5
|
* git-receiver: allow users to re-run the last successful buildRafael G. Martins2016-11-171-3/+47
| | | | | running the pre-receive hook manually on the server will re-run the last successful build.
* git-receiver: added tests for shell, fixed bugRafael G. Martins2016-10-111-48/+38
|
* git-receiver: fix previous patch, againRafael G. Martins2016-10-111-2/+2
|
* git-receiver: fix previous patchRafael G. Martins2016-10-111-2/+3
|
* git-receiver: actually use detected make/gmake implementationRafael G. Martins2016-10-111-1/+1
|
* git-receiver: detect if make/gmake is availableRafael G. Martins2016-10-111-0/+15
|
* git-receiver: added test for post-receive. fixed leakRafael G. Martins2016-10-111-0/+1
|
* trying to fix tests on travis againRafael G. Martins2016-10-101-2/+2
|
* Revert "trying to fix tests on travis"Rafael G. Martins2016-10-101-2/+2
| | | | This reverts commit 84dbde7d04a04434721ec9d2965af6d946713e5d.
* trying to fix tests on travisRafael G. Martins2016-10-101-2/+2
|
* git-receiver: added support to get mirror url from config fileRafael G. Martins2016-10-102-9/+131
| | | | this commit also includes some "integration test" in shell script
* *: fixed includesRafael G. Martins2016-10-073-5/+1
|
* git-receiver: splitted/reimplemented and tested shell command parserRafael G. Martins2016-10-074-56/+182
|