aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver/pre-receive.c
Commit message (Collapse)AuthorAgeFilesLines
* git-receiver: allow deploying from "main" branchRafael G. Martins2022-02-101-8/+17
| | | | | 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-311-1/+1
| | | | 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-301-1/+1
|
* include `unistd.h` after `sys/stat.h`Rafael G. Martins2020-04-221-1/+1
|
* git-receiver: exit 1 on errorRafael G. Martins2019-03-281-14/+14
|
* *: update copyrightRafael G. Martins2019-01-151-1/+1
|
* git-receiver: make: runserver: improved realpath(3) usageRafael G. Martins2018-12-171-2/+3
|
* *: update copyrightRafael G. Martins2018-10-141-1/+1
|
* 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: allow users to define builds dirRafael G. Martins2018-05-311-4/+5
|
* 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-301-7/+5
|
* git-receiver: allow users to change the base directoryRafael G. Martins2018-05-301-1/+4
| | | | | this is useful mostly for shared environments that just provide one shell user.
* 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-251-1/+1
|
* 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-261-14/+14
| | | | | | 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.
* fixed includesRafael G. Martins2016-11-191-2/+0
|
* 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: 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
|
* *: fixed includesRafael G. Martins2016-10-071-3/+0
|
* git-receiver: splitted and tested pre-receive input parserRafael G. Martins2016-10-041-81/+10
|
* git-receiver: splitted codeRafael G. Martins2016-09-291-0/+281