Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | blogc: added more parenthesis to make gcc happy. trying to fix travis | Rafael G. Martins | 2016-10-15 | 1 | -1/+1 | |
| | ||||||
* | blogc: we still need to strip newlines from end of line | Rafael G. Martins | 2016-10-15 | 1 | -1/+8 | |
| | ||||||
* | blogc: do not strip spaces, they are valid in file names | Rafael G. Martins | 2016-10-15 | 1 | -4/+3 | |
| | ||||||
* | blogc: add cli option to read list of source files from stdin | Rafael G. Martins | 2016-10-15 | 1 | -2/+27 | |
| | | | | | | | | | | this patch adds `-i` option to command line. it will instruct blogc to read stdin and parse it as a file where each source file is a line and empty lines and lines starting with `#` are ignored. this patch makes it possible to use blogc to build big blogs with lots of pages, that would hit the operating system max command line length when calling blogc to build pages. | |||||
* | runserver: blogc/loader: improve strto*l handling | Rafael G. Martins | 2016-10-14 | 3 | -7/+34 | |
| | ||||||
* | renderer: fixed strtol error detection bug in freebsd | Rafael G. Martins | 2016-10-13 | 1 | -6/+5 | |
| | | | | | it seems that error detection for strtol using errno is a glibc extension. | |||||
* | git-receiver: added tests for shell, fixed bug | Rafael G. Martins | 2016-10-11 | 1 | -48/+38 | |
| | ||||||
* | git-receiver: fix previous patch, again | Rafael G. Martins | 2016-10-11 | 1 | -2/+2 | |
| | ||||||
* | git-receiver: fix previous patch | Rafael G. Martins | 2016-10-11 | 1 | -2/+3 | |
| | ||||||
* | git-receiver: actually use detected make/gmake implementation | Rafael G. Martins | 2016-10-11 | 1 | -1/+1 | |
| | ||||||
* | git-receiver: detect if make/gmake is available | Rafael G. Martins | 2016-10-11 | 1 | -0/+15 | |
| | ||||||
* | git-receiver: added test for post-receive. fixed leak | Rafael G. Martins | 2016-10-11 | 1 | -0/+1 | |
| | ||||||
* | trying to fix tests on travis again | Rafael G. Martins | 2016-10-10 | 1 | -2/+2 | |
| | ||||||
* | Revert "trying to fix tests on travis" | Rafael G. Martins | 2016-10-10 | 1 | -2/+2 | |
| | | | | This reverts commit 84dbde7d04a04434721ec9d2965af6d946713e5d. | |||||
* | trying to fix tests on travis | Rafael G. Martins | 2016-10-10 | 1 | -2/+2 | |
| | ||||||
* | removed uneeded error code. export LC_ALL=C in test script | Rafael G. Martins | 2016-10-10 | 1 | -3/+0 | |
| |