Commit Graph

80 Commits (4f093c08a7fa9a5cbc3dcf4b66902f477c0f56a8)

Author SHA1 Message Date
Jef Roosens 4f093c08a7
fix(cron): caught some more bugs 2023-01-15 19:03:33 +01:00
Jef Roosens 6d1b4aadb6
chore: add C code linting & formatting 2023-01-15 18:01:26 +01:00
Jef Roosens 7ec0c96f5f fix(cron): missed a goto statement 2023-01-15 17:21:21 +01:00
Jef Roosens 4ca4afddeb
fix(cron): prevent some illegal expressions; add some tests 2023-01-15 08:48:32 +01:00
Jef Roosens 933d25a65c
fix(cron): wrong * parse 2023-01-14 22:37:10 +01:00
Jef Roosens 58b58806f3 fix: should now compile with gcc 2023-01-14 21:19:29 +01:00
Jef Roosens 433184877c chore: remove outdated tests 2023-01-14 21:00:41 +01:00
Jef Roosens 4fb6f629ac chore: please the formatter 2023-01-14 21:00:41 +01:00
Jef Roosens 2e6ac5cda6 fix(cron): fix some bugs 2023-01-14 21:00:41 +01:00
Jef Roosens d6b7ce98c1 feat(cron): proper parse error handling 2023-01-14 21:00:41 +01:00
Jef Roosens 86e519a185 refactor(cron): make next function infallible 2023-01-14 21:00:41 +01:00
Jef Roosens 801a2cd495 fix(cron): ensure valid day values; some other stuff 2023-01-14 21:00:41 +01:00
Jef Roosens 3f1aea13e2 refactor: make cron.expression into cron module 2023-01-14 21:00:41 +01:00
Jef Roosens dce00bfab6 feat(cron): some bug fixes & formatting 2023-01-14 21:00:41 +01:00
Jef Roosens c2e6d168e5 feat(cron): pass original expression tests 2023-01-14 21:00:41 +01:00
Jef Roosens fec8118ff5 feat(cron): first step of replacing cron with C implementation 2023-01-14 21:00:41 +01:00
Jef Roosens 84e7e14a19 chore: remove old cron daemon code 2023-01-14 21:00:39 +01:00
Jef Roosens 2d50889e8e feat(cron): next function in C 2023-01-14 20:59:19 +01:00
Jef Roosens aba1ff4de7 feat(cron): rest of parser in C 2023-01-14 20:59:19 +01:00
Jef Roosens d0b5314619 feat(cron): mostly written C expression parser 2023-01-14 20:59:19 +01:00
GreekStapler 8432f5915d Fix for configured log level being ignored. 2023-01-07 21:09:55 +00:00
Jef Roosens 5176266ca1
refactor: work with new docker lib 2023-01-05 17:05:57 +01:00
Jef Roosens f6c5e7c246
feat: add option to force-build package 2022-12-13 19:59:18 +01:00
Jef Roosens 71c77e90bc
refactor(cron): expression parser now uses bitfields (closes #148) 2022-11-19 17:03:45 +01:00
Jef Roosens 96a9798d3f
refactor: updated tests to new syntax 2022-11-01 22:30:48 +01:00
Jef Roosens 23632be7a4
refactor: use relocated module names 2022-11-01 21:43:25 +01:00
Jef Roosens 22fd6e395b
refactor: compile on V 0.3.2 2022-11-01 21:11:31 +01:00
Jef Roosens 461f227169
refactor: use new module names 2022-06-22 09:31:08 +02:00
Jef Roosens d060366dcb
refactor: move docker code to external vdocker module 2022-06-22 09:31:08 +02:00
Jef Roosens 5e11a91f3d
refactor: renamed cron & build code to use "target" naming 2022-06-17 16:24:12 +02:00
Jef Roosens 102a7f8899
refactor: renamed codebase to "targets" 2022-06-16 16:56:58 +02:00
Jef Roosens 4d581da7bf
refactor: renamed api routes & client code to 'targets' 2022-06-16 16:56:58 +02:00
Jef Roosens 339267e6b2
fix: added VIETER_ prefix to vconf.load calls 2022-06-15 22:54:27 +02:00
Jef Roosens 44696fc11b
refactor: migrated env code to own external module 2022-06-15 13:20:29 +02:00
Jef Roosens 768da5b790
refactor: added CronExpression.next_n function 2022-05-26 13:41:28 +02:00
Jef Roosens 7f6e9e636c
fix(cron): retrieve all GitRepo's instead of first 25 2022-05-25 09:24:01 +02:00
Jef Roosens 0233b8559d
doc: added some missing docstrings 2022-05-19 22:14:41 +02:00
Jef Roosens 6bd5b7cb48
refactor: separated GitRepo types into own module
feat: added more query params for GitRepo API
2022-05-19 22:11:48 +02:00
Jef Roosens ce67208fbd
refactor(docker): remove old code 2022-05-15 10:01:12 +02:00
Jef Roosens 5f21e256ee
refactor: apply new vfmt defaults 2022-05-14 20:06:08 +02:00
Jef Roosens ea4c4fce16
feat(cron): upload logs after build 2022-05-09 08:51:10 +02:00
Jef Roosens fa6603bd45
feat(client): added client code for logs API 2022-05-07 19:38:28 +02:00
Jef Roosens 407b226955
refactor: moved client code into own module 2022-05-07 16:10:27 +02:00
Jef Roosens a3b6680153
cron: filter out repos with wrong architecture 2022-05-06 08:31:59 +02:00
Jef Roosens 5781796e99
doc: added docstrings to all db/git functions 2022-05-03 20:02:05 +02:00
Jef Roosens 204144cee8
refactor: removed commented code & ran formatter 2022-05-03 19:50:14 +02:00
Jef Roosens c818273790
feat: simplified config down to pkg_dir & data_dir
BREAKING: downloads are now stored inside the root of pkg_dir, the log
file is always stored in the root of data_dir
2022-05-03 19:50:14 +02:00
Jef Roosens 7419144f97
feat: removed git.GitRepo type
feat(cli): updated to new GitRepo format
2022-05-03 19:50:14 +02:00
Jef Roosens 03318586ed
feat(cron): added debug log on build_repo failure 2022-05-02 07:50:44 +02:00
Jef Roosens 325dcc27de
fix(cron): made Daemon.run infallible 2022-05-01 09:15:17 +02:00