Commit Graph

46 Commits (f42d3fd8b0f2005f96b94e39c66e94f300b2649e)

Author SHA1 Message Date
Jef Roosens f42d3fd8b0
fix(server): prevent adding logs to non-existent repo 2022-05-07 15:44:59 +02:00
Jef Roosens 139142fcec
feat(server): added endpoint for content of build log 2022-05-07 15:41:49 +02:00
Jef Roosens 393e641a76
feat(server): allow filtering of builds per repo 2022-05-07 15:31:01 +02:00
Jef Roosens 7e01dbafec
feat(server): added endpoints for listing & uploading build logs 2022-05-07 15:10:07 +02:00
Jef Roosens 8c5652c230
ci: made build upload failable; updated ci for use with PRs 2022-05-05 23:11:18 +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 0a2488a4df
feat(server): migrated repo patch to sqlite 2022-05-03 19:50:14 +02:00
Jef Roosens 891a206116
feat(server): partially migrated repos API to sqlite 2022-05-03 19:50:14 +02:00
Jef Roosens b1ac39e234
feat: made arch param optional when adding Git repo 2022-05-01 12:44:54 +02:00
Jef Roosens f9f440500e
docs: added comment string to each function 2022-04-30 20:22:03 +02:00
Jef Roosens 78b477fb92
Removed deprecated err.msg & err.code 2022-04-13 22:20:05 +02:00
Jef Roosens 3b15066329
Removed unnecessary log output 2022-04-11 09:36:40 +02:00
Jef Roosens a65207f961
Solved the "removing old packages" problem (I think) 2022-04-09 21:08:54 +02:00
Jef Roosens cec5ecce7f
Each repo now has its own subdir in pkg_dir 2022-04-09 17:41:41 +02:00
Jef Roosens ebe01c2d44
Added route to request desc file; updated builder for new route (fixes #118) 2022-04-09 12:23:54 +02:00
Jef Roosens 97f3532204
Ran vfmt 2022-04-07 16:11:05 +02:00
Jef Roosens 3b555efa91
Renamed data_dir to repos_dir 2022-04-07 15:21:27 +02:00
Jef Roosens 9d8491a77a
Changed behavior for default_arch variable 2022-04-07 13:47:06 +02:00
Jef Roosens 6479071fd7
Merge branch 'dev' into multi-arch-repos-v2 2022-04-07 13:06:37 +02:00
Jef Roosens b31b4cbd7a
Pleased vfmt & vet 2022-04-07 11:58:05 +02:00
Jef Roosens a893577ade
Merge branch 'dev' into multi-arch-repos-v2 2022-04-06 23:11:41 +02:00
Jef Roosens f44ce1c17f
Started work on better repos cli 2022-04-06 22:41:19 +02:00
Jef Roosens 6b495b4e6e
Merge branch 'dev' into restful-api 2022-04-06 21:03:52 +02:00
Jef Roosens dff531d866
Some final adjustments before merge 2022-04-06 19:51:54 +02:00
Jef Roosens c656e672e2
Moved config structs to more logical location 2022-04-06 18:20:14 +02:00
Jef Roosens 75dfc5267b
Made vet happy 2022-04-06 17:57:05 +02:00
Jef Roosens e9d7858380
env module now properly supports config file 2022-04-06 17:51:06 +02:00
Jef Roosens b90e6cf6b4
Updatd config files; ran formatter 2022-04-06 16:57:27 +02:00
Jef Roosens 5b919ceeae
Switched to cli module; merged cli & vieter into single binary 2022-04-06 16:52:31 +02:00
Jef Roosens 3a6effad80
Ran vfmt 2022-04-01 21:34:58 +02:00
Jef Roosens e5a630e990
Switched to net.http.Status for status codes 2022-03-28 14:44:23 +02:00
Jef Roosens 0a6be87970
Start of web framework revamp 2022-03-28 14:24:26 +02:00
Jef Roosens 08821725f9
Added proper constraint for creating repo 2022-03-28 13:34:22 +02:00
Jef Roosens a4a71a2797
First part of RESTful API (not correct yet) [CI SKIP] 2022-03-28 10:19:57 +02:00
Jef Roosens 0dd4534e20
Added extra comments; made linter happy 2022-03-27 19:54:49 +02:00
Jef Roosens cb2ba86200
Updated logging for multi-repo setup 2022-03-27 18:22:30 +02:00
Jef Roosens 014ade5092
Updated routes for multi-repo setup (untested) 2022-03-27 17:00:11 +02:00
Jef Roosens a47cace296
Very alpha support for multiple & multi-arch repos 2022-03-27 16:33:06 +02:00
Jef Roosens a7cb08f93d
Containers now check whether package should be rebuilt 2022-02-25 21:47:28 +01:00
Jef Roosens 27f59c6664
Updated CI Dockerfile; fixed formatting & vet 2022-02-22 08:14:20 +01:00
Jef Roosens fe98112f79
Added repos delete route 2022-02-21 22:40:59 +01:00
Jef Roosens 398758a727
Fixed segfault
All together now: thank you spytheman
2022-02-21 22:32:54 +01:00
Jef Roosens e13252d368
Initial part of repos API (SEGFAULTS) [CI SKIP] 2022-02-21 22:22:36 +01:00
Jef Roosens 92ad0c51eb
Split off server into own module 2022-02-21 20:51:41 +01:00