Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | blogc-make: implemented automatic reloader for runserver rule | Rafael G. Martins | 2017-02-12 | 4 | -6/+180 | |
| | | | | | this is not the best implementation possible, but it works for most use cases | |||||
* | make: fixed cmd quoting. read runserver settings from env | Rafael G. Martins | 2017-02-07 | 1 | -11/+41 | |
| | ||||||
* | github-lambda: handle multiple records | Rafael G. Martins | 2017-02-07 | 1 | -2/+10 | |
| | ||||||
* | make-embedded: removed symlink support from blogc binary | Rafael G. Martins | 2017-01-30 | 1 | -8/+3 | |
| | | | | | embedded binary is supposed to be used on lambda, not to replace blogc-make binary on common setups | |||||
* | make: include missing header | Rafael G. Martins | 2017-01-30 | 1 | -0/+1 | |
| | ||||||
* | make: improved clean rule | Rafael G. Martins | 2017-01-30 | 4 | -36/+61 | |
| | ||||||
* | git-receiver: support blogc-make | Rafael G. Martins | 2017-01-04 | 1 | -29/+40 | |
| | ||||||
* | git-receiver: detect if pre-receive is running from git using env var | Rafael G. Martins | 2017-01-04 | 1 | -1/+1 | |
| | ||||||
* | make: fixed includes | Rafael G. Martins | 2017-01-03 | 8 | -10/+7 | |
| | ||||||
* | blogc-make: fixed clean rule | Rafael G. Martins | 2017-01-03 | 4 | -8/+18 | |
| | ||||||
* | github-lambda: always upload files with real file names | Rafael G. Martins | 2017-01-03 | 1 | -14/+27 | |
| | | | | | | | even if we are translating some file names, for example to use a .xml file as directory index, we still need to upload the file to the real filename, to avoid automatically generated atom feeds produced by blogc-make pointing to wrong urls. | |||||
* | make: rename settings.ini to blogcfile | Rafael G. Martins | 2017-01-01 | 2 | -9/+9 | |
| | ||||||
* | make: added a bunch of tests | Rafael G. Martins | 2017-01-01 | 1 | -0/+2 | |
| | ||||||
* | config-parser: only allow double-quoted values | Rafael G. Martins | 2017-01-01 | 1 | -35/+0 | |
| | ||||||
* | config-parser: allow quoted values | Rafael G. Martins | 2017-01-01 | 1 | -14/+138 | |
| | ||||||
* | make: fixed return code | Rafael G. Martins | 2016-12-27 | 1 | -1/+1 | |
| | ||||||
* | make: fixed return code | Rafael G. Martins | 2016-12-27 | 1 | -0/+1 | |
| | ||||||
* | make: provide useful info if blogc-runserver not found | Rafael G. Martins | 2016-12-27 | 1 | -7/+16 | |
| | ||||||
* | make: implemented runserver rule | Rafael G. Martins | 2016-12-27 | 4 | -0/+57 | |
| | ||||||
* | runserver: exit cleanly on ^C | Rafael G. Martins | 2016-12-27 | 1 | -0/+7 | |
| | ||||||
* | runserver: fixed bug when calling with -m | Rafael G. Martins | 2016-12-27 | 1 | -1/+1 | |
| | ||||||
* | make: convert "all" into an actual rule | Rafael G. Martins | 2016-12-27 | 1 | -22/+48 | |
| | ||||||
* | make: validate environment keys | Rafael G. Martins | 2016-12-27 | 1 | -1/+10 | |
| | ||||||
* | github-lambda: blogc-make: integrate | Rafael G. Martins | 2016-12-27 | 3 | -8/+36 | |
| | ||||||
* | github-lambda: drop external dependencies | Rafael G. Martins | 2016-12-27 | 1 | -15/+3 | |
| | ||||||
* | make: implemented a build tool for blogc | Rafael G. Martins | 2016-12-27 | 16 | -4/+1997 | |
| | | | | | | | | | | | | | | | | | so, this is basically what happens when you don't have anything better to do in the christmas weekend. most of this code was written in the last 2 or 3 days. i'd like to thank the chivas brothers, the weather and my psychological problems for this achievement. on a serious note, this tool still needs a man page, more tests, and the aws lambda function should be adapted to use it instead of (or together with) make/busybox. also, while talking about aws lambda, this tool can be nicely embedded into the blogc binary, to produce a single "small" static binary for usage in lambda ;) | |||||
* | *: binaries should always return 3 on errors, for consistency. | Rafael G. Martins | 2016-12-26 | 7 | -55/+55 | |
| | | | | | | 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: bc_config_get_list should return array instead of list | Rafael G. Martins | 2016-12-25 | 2 | -5/+12 | |
| | ||||||
* | config-parser: added support to parse section as list of lines | Rafael G. Martins | 2016-12-25 | 3 | -12/+107 | |
| | ||||||
* | blogc: common: git-receiver: improved error handling | Rafael G. Martins | 2016-12-23 | 2 | -17/+18 | |
| | ||||||
* | git-receiver: moved shell quote function to common | Rafael G. Martins | 2016-12-21 | 5 | -27/+30 | |
| | ||||||
* | config-parser: improved error reporting, added bc_config_get_with_default | Rafael G. Martins | 2016-12-20 | 2 | -6/+19 | |
| | ||||||
* | github-lambda: do not use "file" as variable | Rafael G. Martins | 2016-12-14 | 1 | -22/+23 | |
| | ||||||
* | github-lambda: initialize variable | Rafael G. Martins | 2016-12-14 | 1 | -0/+1 | |
| | ||||||
* | github-lambda: random fixes; allow users to push to any bucket | Rafael G. Martins | 2016-12-14 | 1 | -25/+27 | |
| | | | | | previously it was only possible to push to a bucket name exactly like the GitHub repository. | |||||
* | github-lambda: improve handling of busybox symlinks | Rafael G. Martins | 2016-12-14 | 1 | -4/+14 | |
| | ||||||
* | lambda: add more dependencies | Rafael G. Martins | 2016-12-13 | 1 | -2/+6 | |
| | ||||||
* | github-lambda: removed unused import | Rafael G. Martins | 2016-12-12 | 1 | -1/+0 | |
| | ||||||
* | github-lambda: fix directory index and allow to override content-type | Rafael G. Martins | 2016-12-09 | 1 | -9/+34 | |
| | | | | | | | | this patch allows users to use files like `index.xml` as directory index, by renaming it to `index.html`, because Amazon S3 only allows one file name as directory index. it also allows users to override the automatically guessed content-type with something else, e.g. to force a charset. | |||||
* | github-lambda: initial implementation of AWS Lambda function | Rafael G. Martins | 2016-12-07 | 1 | -0/+127 | |
| | ||||||
* | common/config-parser: minor fix | Rafael G. Martins | 2016-12-03 | 1 | -1/+1 | |
| | ||||||
* | common/error: minor fix | Rafael G. Martins | 2016-12-02 | 1 | -1/+1 | |
| | ||||||
* | post-receive: actually use rv | Rafael G. Martins | 2016-11-29 | 1 | -1/+1 | |
| | ||||||
* | fixed includes | Rafael G. Martins | 2016-11-19 | 4 | -7/+2 | |
| | ||||||
* | git-receiver: allow to push to mirror manually | Rafael G. Martins | 2016-11-19 | 1 | -25/+26 | |
| | ||||||
* | git-receiver: minor optimizations | Rafael G. Martins | 2016-11-19 | 1 | -1/+2 | |
| | ||||||
* | git-receiver: optimize repo dir evaluation | Rafael G. Martins | 2016-11-18 | 1 | -32/+32 | |
| | ||||||
* | git-receiver: avoid static buffer. | Rafael G. Martins | 2016-11-18 | 1 | -18/+14 | |
| | | | | this simplifies code, but makes it less portable | |||||
* | git-receiver: when rebuilding, change to repo dir asap | Rafael G. Martins | 2016-11-17 | 1 | -0/+5 | |
| | ||||||
* | git-receiver: allow users to re-run the last successful build | Rafael G. Martins | 2016-11-17 | 1 | -3/+47 | |
| | | | | | running the pre-receive hook manually on the server will re-run the last successful build. |