Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make: settings: do not read output_dir from blogcfile | Rafael G. Martins | 2017-04-28 | 2 | -92/+83 |
| | | | | | now it is only possible to override output directory using environment variable. this commit also reduces the number trie lookups. | ||||
* | make: fix tests | Rafael G. Martins | 2017-04-11 | 1 | -12/+3 |
| | |||||
* | make: all builds are "production" by default, enable "dev" on cli. | Rafael G. Martins | 2017-03-11 | 1 | -6/+5 |
| | | | | | | 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" builds | Rafael G. Martins | 2017-03-07 | 1 | -6/+48 |
| | | | | this is used by blogc-github-lambda and blogc-git-receiver. | ||||
* | make: s/env/global/ | Rafael G. Martins | 2017-03-06 | 2 | -28/+28 |
| | |||||
* | runserver: fixed request read. increased buffer | Rafael G. Martins | 2017-03-05 | 1 | -32/+1 |
| | |||||
* | make: added missing test | Rafael G. Martins | 2017-03-03 | 1 | -0/+4 |
| | |||||
* | make: improved tests | Rafael G. Martins | 2017-03-03 | 1 | -3/+3 |
| | |||||
* | make: reworked binary lookups, added them to ctx | Rafael G. Martins | 2017-03-03 | 4 | -60/+56 |
| | |||||
* | make: implement binary lookup in a more portable way | Rafael G. Martins | 2017-03-01 | 4 | -0/+8 |
| | |||||
* | make: keep backward compatibility with [copy_files] | Rafael G. Martins | 2017-02-25 | 1 | -0/+93 |
| | |||||
* | make: renamed [environment] to [global] | Rafael G. Martins | 2017-02-25 | 2 | -3/+120 |
| | |||||
* | *: updated copyright | Rafael G. Martins | 2017-02-25 | 20 | -20/+20 |
| | |||||
* | make: parse runserver arguments from cli, instead of env | Rafael G. Martins | 2017-02-24 | 1 | -0/+104 |
| | | | | this is some over-optimized parser, to celebrate #cloudbleed :D | ||||
* | content-parser: source-parser: rename TITLE to FIRST_HEADER | Rafael G. Martins | 2017-02-15 | 2 | -13/+13 |
| | |||||
* | content-parser: source-parser: extract TITLE from content header | Rafael G. Martins | 2017-02-14 | 2 | -106/+320 |
| | | | | | | | | | | | this patch implements support to using the first header found in source file as the TITLE variable. please note that if the TITLE variable is defined on the source file's variable section it takes precedence. this patch changes the old behaviour and can break some users' websites. if you have some '{% ifdef TITLE %}' blocks in your template, they will evaluate to true if you don't defined TITLE manually, but have a header in your content. | ||||
* | blogc-make: renamed copy_files settings to copy | Rafael G. Martins | 2017-02-14 | 1 | -6/+6 |
| | |||||
* | blogc-make: renamed auto-defined vars to MAKE_* | Rafael G. Martins | 2017-02-13 | 1 | -2/+2 |
| | |||||
* | make: fixed cmd quoting. read runserver settings from env | Rafael G. Martins | 2017-02-07 | 1 | -6/+6 |
| | |||||
* | git-receiver: do not run blogc-make tests if blogc-make is not built | Rafael G. Martins | 2017-01-04 | 1 | -9/+11 |
| | |||||
* | git-receiver: support blogc-make | Rafael G. Martins | 2017-01-04 | 1 | -1/+31 |
| | |||||
* | git-receiver: detect if pre-receive is running from git using env var | Rafael G. Martins | 2017-01-04 | 1 | -4/+4 |
| | |||||
* | blogc-make: fixed clean rule | Rafael G. Martins | 2017-01-03 | 1 | -1/+64 |
| | |||||
* | tests: use absolute path for binaries | Rafael G. Martins | 2017-01-02 | 5 | -24/+26 |
| | |||||
* | make: rename settings.ini to blogcfile | Rafael G. Martins | 2017-01-01 | 1 | -14/+14 |
| | |||||
* | make: added a bunch of tests | Rafael G. Martins | 2017-01-01 | 3 | -0/+1088 |
| | |||||
* | config-parser: only allow double-quoted values | Rafael G. Martins | 2017-01-01 | 1 | -9/+9 |
| | |||||
* | config-parser: allow quoted values | Rafael G. Martins | 2017-01-01 | 1 | -4/+111 |
| | |||||
* | make: implemented runserver rule | Rafael G. Martins | 2016-12-27 | 1 | -1/+4 |
| | |||||
* | make: implemented a build tool for blogc | Rafael G. Martins | 2016-12-27 | 1 | -0/+158 |
| | | | | | | | | | | | | | | | | | 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 ;) | ||||
* | config-parser: bc_config_get_list should return array instead of list | Rafael G. Martins | 2016-12-25 | 1 | -15/+18 |
| | |||||
* | config-parser: added support to parse section as list of lines | Rafael G. Martins | 2016-12-25 | 2 | -18/+151 |
| | |||||
* | blogc: common: git-receiver: improved error handling | Rafael G. Martins | 2016-12-23 | 1 | -3/+8 |
| | |||||
* | git-receiver: moved shell quote function to common | Rafael G. Martins | 2016-12-21 | 2 | -29/+31 |
| | |||||
* | config-parser: improved error reporting, added bc_config_get_with_default | Rafael G. Martins | 2016-12-20 | 1 | -4/+13 |
| | |||||
* | git-receiver: test manual mirror push | Rafael G. Martins | 2016-11-19 | 1 | -0/+30 |
| | |||||
* | git-receiver: when rebuilding, change to repo dir asap | Rafael G. Martins | 2016-11-17 | 1 | -5/+17 |
| | |||||
* | git-receiver: allow users to re-run the last successful build | Rafael G. Martins | 2016-11-17 | 1 | -0/+16 |
| | | | | | running the pre-receive hook manually on the server will re-run the last successful build. | ||||
* | blogc: added some "integration" tests | Rafael G. Martins | 2016-10-15 | 1 | -0/+379 |
| | |||||
* | build: use bash, but get it properly during build time | Rafael G. Martins | 2016-10-12 | 3 | -3/+3 |
| | | | | hardcoding it for travis, as bash is always installed there. | ||||
* | build: man: tests: do not use bash | Rafael G. Martins | 2016-10-12 | 3 | -3/+3 |
| | | | | tested with busybox' ash, that is not exactly posix. | ||||
* | tests: git-receiver: avoid removing directories for safety | Rafael G. Martins | 2016-10-11 | 3 | -20/+15 |
| | |||||
* | git-receiver: added tests for shell, fixed bug | Rafael G. Martins | 2016-10-11 | 1 | -0/+73 |
| | |||||
* | git-receiver: added test for post-receive. fixed leak | Rafael G. Martins | 2016-10-11 | 1 | -0/+148 |
| | |||||
* | Revert "trying to fix tests on travis" | Rafael G. Martins | 2016-10-10 | 1 | -4/+4 |
| | | | | This reverts commit 84dbde7d04a04434721ec9d2965af6d946713e5d. | ||||
* | trying to fix tests on travis | Rafael G. Martins | 2016-10-10 | 1 | -4/+4 |
| | |||||
* | removed uneeded error code. export LC_ALL=C in test script | Rafael G. Martins | 2016-10-10 | 1 | -0/+2 |
| | |||||
* | git-receiver: added support to get mirror url from config file | Rafael G. Martins | 2016-10-10 | 2 | -0/+173 |
| | | | | this commit also includes some "integration test" in shell script | ||||
* | tests: added missing include to fix warning | Rafael G. Martins | 2016-10-07 | 1 | -0/+1 |
| | |||||
* | git-receiver: splitted/reimplemented and tested shell command parser | Rafael G. Martins | 2016-10-07 | 1 | -0/+244 |
| |