Commit Graph

188 Commits (c01d849b9ea689cddc83c351ff5aacf39f7b8e53)

Author SHA1 Message Date
Jef Roosens 5b919ceeae
Switched to cli module; merged cli & vieter into single binary 2022-04-06 16:52:31 +02:00
Jef Roosens fe24774848
Added some docs
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-04-01 21:50:00 +02:00
Jef Roosens 3a6effad80
Ran vfmt
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-04-01 21:34:58 +02:00
Jef Roosens 148ec3ab47
Updated changelog 2022-04-01 21:33:55 +02:00
Jef Roosens e5a630e990
Switched to net.http.Status for status codes
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-03-28 14:44:23 +02:00
Jef Roosens 0a6be87970
Start of web framework revamp
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
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 aa632c7cd9
Switched to correct filenames 2022-03-27 20:26:58 +02:00
Jef Roosens 0dd4534e20
Added extra comments; made linter happy
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-03-27 19:54:49 +02:00
Jef Roosens cb2ba86200
Updated logging for multi-repo setup
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-03-27 18:22:30 +02:00
Jef Roosens 014ade5092
Updated routes for multi-repo setup (untested)
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
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 013ce511d7
Loosed up SRCINFO field requirements (fixes #111) 2022-03-27 15:10:45 +02:00
Jef Roosens 4a4362c138
Fixed linting errors
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-25 21:54:16 +01:00
Jef Roosens 732b53b6ce
Forgot to uncomment line
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
2022-02-25 21:50:07 +01:00
Jef Roosens a7cb08f93d
Containers now check whether package should be rebuilt
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
2022-02-25 21:47:28 +01:00
Jef Roosens 540574b3c3
Split builds into separate containers; made makepkg parallel 2022-02-25 20:52:30 +01:00
Jef Roosens 27f59c6664
Updated CI Dockerfile; fixed formatting & vet
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-22 08:14:20 +01:00
Jef Roosens 6194a3f408
Builder now gets list of repos from server
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-21 22:58:05 +01:00
Jef Roosens fe98112f79
Added repos delete route
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
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
Jef Roosens 1d434db166
Wrote a proper env file system
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-21 20:42:13 +01:00
Jef Roosens 0cdd4e7b4b
Versioned API endpoints (closes #91)
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-21 17:49:10 +01:00
Jef Roosens 96416585bc
Added some error messages; updated changelog 2022-02-21 17:18:14 +01:00
Jef Roosens 9cc88e629f
Added some documentation; ran format
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-20 22:15:10 +01:00
Jef Roosens 138386682d
Repos are now read from a json file 2022-02-20 21:19:31 +01:00
Jef Roosens 941b30e7d2
Fully functional hardcoded build command 2022-02-20 21:09:06 +01:00
Jef Roosens 4f705f5fb5
Working build example!!
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-20 20:26:39 +01:00
Jef Roosens 5515e2dca5
Formatting & some cleanup
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-20 13:10:48 +01:00
Jef Roosens fbba66caa5
Docker wrapper now waits for chunked responses
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-20 13:03:00 +01:00
Jef Roosens 275227400f
Wait for chunked stream WIP [CI SKIP] 2022-02-20 12:35:10 +01:00
Jef Roosens e6a1d32f0e
Some experimenting with docker api
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-19 22:25:52 +01:00
Jef Roosens 57c4af0aaf
Fix for segfault
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-19 21:41:26 +01:00
Jef Roosens 6c435c2a1e
Merge branch 'dev' into basic-builds
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
2022-02-19 15:55:45 +01:00
Jef Roosens 34ccd9a6ef
Merge branch 'dev' into better-v-integration
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-19 15:38:36 +01:00
Jef Roosens 3b3a2f4fc1
Fixed linting errors
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline failed Details
2022-02-19 15:36:30 +01:00
Jef Roosens 99f6dc69fd
Fixed tiny linting error
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-18 22:08:58 +01:00
Jef Roosens 18edb0ea8d
Merge branch 'dev' into single-version-per-pkg
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-18 22:01:04 +01:00
Jef Roosens 79b47a76e2
Remove packages from db before adding new version
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/lint Pipeline was successful Details
2022-02-18 21:59:33 +01:00
Jef Roosens 6f86033cd9
Currently broken start of docker wrapper [CI SKIP] 2022-02-17 22:00:46 +01:00
Jef Roosens 022f8c4fbe
Updated to weekly.2022.07
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/builder Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline was successful Details
2022-02-14 22:28:18 +01:00
Jef Roosens eb57febdd3
We must please make vet
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-02 13:34:28 +01:00
Jef Roosens a29592ef36
Logs now show names of added packages
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2022-02-02 13:25:05 +01:00
Jef Roosens 3ad960fd59
Filter healthcheck out of logs 2022-02-02 13:10:55 +01:00
Jef Roosens eb91e73510
Some slight log improvements 2022-02-02 13:09:03 +01:00
Jef Roosens 33e695bdf3
Filenames now use the correct compression scheme (closes #56) 2022-01-31 23:01:17 +01:00
Jef Roosens 8a0beffbe2
Bumped v release; files are now served properly
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/release unknown status Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/image Pipeline was successful Details
ci/woodpecker/push/builder Pipeline was successful Details
ci/woodpecker/push/publish Pipeline was successful Details
2022-01-31 21:14:43 +01:00
Jef Roosens 3c0b7156c1
Sha256sum gets calculated as well now (closes #44)
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/release unknown status Details
ci/woodpecker/push/builder Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/image Pipeline was successful Details
ci/woodpecker/push/publish Pipeline was successful Details
2022-01-31 14:43:57 +01:00
Jef Roosens 21c8e28e64
Added healthcheck route; upgraded Docker image
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/release unknown status Details
ci/woodpecker/push/builder Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/image Pipeline was successful Details
ci/woodpecker/push/publish Pipeline was successful Details
2022-01-31 11:11:45 +01:00
Jef Roosens e26e2746de
Added creation of files archive
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/release unknown status Details
ci/woodpecker/push/builder Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/image Pipeline was successful Details
ci/woodpecker/push/publish Pipeline was successful Details
2022-01-30 23:54:05 +01:00
Jef Roosens b0212b8162
Fixed the memory bug! thanks spy 2022-01-30 21:03:32 +01:00
Jef Roosens 766e097be8
Overcomplicated the test script because of course [CI SKIP] 2022-01-30 18:13:12 +01:00
Jef Roosens 4c56351132
Started stress testing script [CI SKIP] 2022-01-30 14:13:37 +01:00
Jef Roosens 8e6b1e233f
Let's test this new builder
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/release unknown status Details
ci/woodpecker/push/builder Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/image Pipeline was successful Details
ci/woodpecker/push/publish Pipeline was successful Details
2022-01-27 21:04:23 +01:00
Jef Roosens 78e343fae2
Switched to patch-based builder, based on weekly
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/release unknown status Details
ci/woodpecker/push/builder Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/image unknown status Details
ci/woodpecker/push/publish unknown status Details
2022-01-27 19:18:11 +01:00
Jef Roosens e817535e86
Removed some commented-out code
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/publish unknown status Details
ci/woodpecker/pr/build unknown status Details
ci/woodpecker/pr/image unknown status Details
ci/woodpecker/pr/lint unknown status Details
ci/woodpecker/pr/builder Pipeline was successful Details
ci/woodpecker/pr/publish Pipeline was successful Details
ci/woodpecker/push/image Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline failed Details
2022-01-20 20:42:18 +01:00
Jef Roosens f1a17cab22
Failed attempt at fixing memory bug
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/publish unknown status Details
ci/woodpecker/push/image Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-01-20 19:39:38 +01:00
Jef Roosens 01d961f68e
File stats are now correctly copied over to archive
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/publish unknown status Details
ci/woodpecker/push/image Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-01-20 17:45:04 +01:00
Jef Roosens b6e9fa5b02
First working version of creating archive 2022-01-20 17:11:03 +01:00
Jef Roosens a37d40d278
Added start of libarchive bindings for writing
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/publish unknown status Details
ci/woodpecker/push/image Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-01-20 00:08:26 +01:00
Jef Roosens 944bc41275
Split libarchive bindings into separate file 2022-01-19 23:45:12 +01:00
Jef Roosens 735492dcbd
Be nice, CI
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/publish Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-01-19 21:30:56 +01:00
Jef Roosens d04ba06ad3
Finally enabled web server again
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/publish Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline failed Details
2022-01-19 21:24:46 +01:00
Jef Roosens 57fe767a70
Working add to repo functionality
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/publish Pipeline was successful Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
2022-01-19 18:54:33 +01:00
Jef Roosens 4bc3bfb8cf
Moved checksum calculation to desc function 2022-01-19 17:22:36 +01:00
Jef Roosens df3310944e
Working md5 checksum 2022-01-19 17:15:37 +01:00
Jef Roosens 9bd14b4cbf
Yeah this doesn't work [CI SKIP] 2022-01-18 22:52:14 +01:00
Jef Roosens cb16091f65
Non-working hashing code [CI SKIP] 2022-01-18 21:41:09 +01:00
Jef Roosens 3dc355f786
Wrote PkgInfo to desc generator
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/publish unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-01-18 20:27:00 +01:00
Jef Roosens b86c6b5e16
Code now passes vet
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/publish unknown status Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build_arm64 Pipeline was successful Details
2022-01-14 22:46:04 +01:00
Jef Roosens 1f8f16fe8d
Moved archive read code into pkg.v 2022-01-14 22:20:58 +01:00
Jef Roosens d538e25da3
CI? You awake?
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/publish unknown status Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build_arm64 Pipeline was successful Details
2022-01-14 21:52:40 +01:00
Jef Roosens e13081a4aa
Only support zstd-compressed tarballs 2022-01-14 21:50:43 +01:00
Jef Roosens 0ed2c9f854
Ignore certain files from archive
ci/woodpecker/push/publish unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-01-13 23:36:29 +01:00
Jef Roosens d4b7a25c06
Lots of restructuring for repo backend
ci/woodpecker/push/publish unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2022-01-13 21:47:14 +01:00
Jef Roosens 5616e7a4e2
Added function to read .PKGINFO into struct
ci/woodpecker/push/publish unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
2022-01-13 19:20:14 +01:00
Jef Roosens 6fb893ff41
Added development & release image publishing
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/publish Pipeline was successful Details
2022-01-13 13:51:02 +01:00
Jef Roosens 44ddd57f55
Moved archive C bindings into separate file
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-01-13 12:46:36 +01:00
Jef Roosens f49992d452
Working .PKGINFO read function!
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-01-13 12:35:05 +01:00
Jef Roosens fd334d93a2
We're done for today
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-01-12 23:15:11 +01:00
Jef Roosens 6dbac5918b
Start of .PKGINFO function
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-01-12 23:06:03 +01:00
Jef Roosens 74c8bfa158
First actual working libarchive function! 2022-01-12 22:08:27 +01:00
Jef Roosens 476588274f
Geniet ervan Maxim
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-01-12 21:50:17 +01:00
Jef Roosens d6e686a8dc
This print killed it, my lord
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-01-12 21:22:23 +01:00
Jef Roosens 05e725eb4e
Still trying to just link some stuff bro
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-01-12 20:54:54 +01:00