Commit graph

31 commits

Author SHA1 Message Date
2cd2f75257
chore: cleanup: won't use stdin i hope 2024-02-15 04:50:59 +01:00
f93e4ec43c
fix: post-update receives refs from argv 2024-02-15 04:45:19 +01:00
950c0aff74
fix: oops fix branch name
TIL branches can't start with a dot or end in .lock
2024-02-15 04:21:22 +01:00
6f6e9e24b4
chore: format 2024-02-15 04:19:35 +01:00
e59a5a34ff
docs: say that it runs only on .tci branch 2024-02-15 04:18:11 +01:00
7e1fd5fe3e
feat: made it way simpler
no .tci dir! no .tci.toml! just one tci script, keep your scripts in
your repo and start them from .tci with bash tasks, instead of
reinventing the wheel with configs and conditions i should pre-parse as
many info as possible and provide to the underlying .tci script
2024-02-15 04:12:41 +01:00
a2e0a10ded
docs: update config key 2024-02-15 03:15:23 +01:00
003d535c97
fix: ref, also more cleanup and lints 2024-02-15 03:12:00 +01:00
00c4e848e1
chore: big refactor 2024-02-15 03:04:53 +01:00
80fce1d909
chore: split it into files 2024-02-14 20:06:49 +01:00
d37477d936
docs: documented that tci uses custom hook
because i'm definitely forgetting about this...
2024-02-14 12:36:43 +01:00
f39c60367a
fix: remove slashes from repo name for tmp dir 2024-02-14 00:01:30 +01:00
8f50fcc1eb
feat: pass error messages up
more of a fix but TIL more about thiserror
2024-02-13 23:52:27 +01:00
1f2999914b
feat: allow running setup even if not allowed
code is pretty ugly for this and i just need it to run update-agefile
for every repo to have it display on cgit
2024-02-13 23:14:18 +01:00
97dc8a0aee
feat: scripts in dir run in order 2024-02-13 23:10:40 +01:00
2f19906f0c
docs: note about marking it executable 2024-02-13 23:10:29 +01:00
84cefa4b8e
feat: allow executing multiple from dir 2024-02-13 22:55:35 +01:00
1d677a0330
ci: no it can't :( 2024-02-13 22:39:28 +01:00
01ec9c5c5a
chore: removed imports 2024-02-13 22:34:56 +01:00
c07f4ed1e7
feat: better shelling out 2024-02-13 22:32:25 +01:00
dcc4dda7c9
ci: can tci update itself? 2024-02-13 22:03:36 +01:00
d2801410c3
fix: also show script stderr 2024-02-13 21:47:08 +01:00
f6d570fccd
fix: cannot call non const from const... 2024-02-13 21:40:45 +01:00
83d4b3cbbc
fix: small refactor, show full repo path 2024-02-13 21:21:17 +01:00
4a1fef20fd
feat: refactor, accept multiple setup/cleanup ...
run setup and cleanup inside git directory but tci script in tempdir,
better handle errors, no longer receive config from argv, also very much
refactor
2024-02-13 20:59:38 +01:00
57683aab78
fix: call it config 2024-02-13 19:43:18 +01:00
183e659839
feat: parse config file, run setup and cleanup 2024-02-13 19:42:03 +01:00
60e7edc765
fix: don't crash if tci script fails 2024-02-13 17:17:07 +01:00
7f9ec06586
docs: added readme 2024-02-13 17:16:57 +01:00
3f95b8b733
feat: proof of concept implementation 2024-02-13 16:58:04 +01:00
7e3386242e
chore: initial commit from template 2024-02-13 15:57:58 +01:00