Lorenzo Bolla
0dc49d2a70
Silence unhelpful linter error
...
See #1012
2022-01-27 09:30:14 +01:00
Benj Fassbind
a83dea705f
Build for newer go versions
2022-01-27 09:30:14 +01:00
Benj Fassbind
ed7a960e31
Trigger CI on every push
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
9bf1a44f75
Fix test after merge
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
8ecd01be1f
Temporarily skip test failing on CI
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
4933e3caf4
Try to fix test failing on CI
...
PublishRepo26Test fails to run because something in the CI environment forces
gpg to ask for the user's password. Try to require gpg1 for the test, which
seems to run fine in other environments.
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
4a9a5bc713
Fix some failing system tests
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
7412b84e04
Fix flake8 lint errors
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
3775d69a60
Fix linting errors
2022-01-27 09:30:14 +01:00
Ximon Eighteen
4cf57ae84d
govet: compose literal uses unkeyed fields
2022-01-27 09:30:14 +01:00
Ximon Eighteen
ef2541776b
govet: compose literal uses unkeyed fields
2022-01-27 09:30:14 +01:00
Ximon Eighteen
78082bc10f
Add a comment referring to the original Travis CI config from the new workflow.
2022-01-27 09:30:14 +01:00
Ximon Eighteen
5342e549cd
govet: compose literal uses unkeyed fields
2022-01-27 09:30:14 +01:00
Ximon Eighteen
e2d1e9a7df
govet: compose literal uses unkeyed fields
2022-01-27 09:30:14 +01:00
Ximon Eighteen
9aa9917952
golint: "Json" in func name should be "JSON".
2022-01-27 09:30:14 +01:00
Ximon Eighteen
c1cdb69f56
golint: "Json" in func name should be "JSON".
2022-01-27 09:30:14 +01:00
Ximon Eighteen
5b8c909ac3
Disable testing against Go master for now.
2022-01-27 09:30:14 +01:00
Ximon Eighteen
20b038bfb7
continue-on-error value must be a boolean
2022-01-27 09:30:14 +01:00
Ximon Eighteen
9f9a1a138b
Matrix elements must be arrays.
2022-01-27 09:30:14 +01:00
Ximon Eighteen
4cb9ac5357
Fix syntax error.
2022-01-27 09:30:14 +01:00
Ximon Eighteen
cd76e481fd
Initial attempt at a GitHub Actions workflow to emulate the previously used Travis CI setup.
2022-01-27 09:30:14 +01:00
Ximon Eighteen
8e309b57b3
Workaround differences in the GHA Ubuntu 18.04 environment compared to the Travis CI Ubuntu 16.04 environment.
2022-01-27 09:30:14 +01:00
Ximon Eighteen
beb9d43f4d
Use newer golangci-lint source as the former is abandoned.
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
b281819cba
Make truthy function less surprising
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
6826efc723
Fix pure-go unittests
...
So they can run on e.g. LXC containers as root, or other conceivable setups.
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
370e3cdfea
Fix unittests
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
fb8b05e7fd
Fix rebase
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
8c94973cf9
Fix indentation
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
787cc8e3ee
Fix system tests
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
ff51c46915
More informative return value for task.Process
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
0914cd16af
Use global async flag as fallback on per-request flag
...
This way, if no pre-request flag is specified, the globally configured default
is used.
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
9b28d8984f
Configurable background task execution
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
bd4c3a246d
Add new AUTHORS
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
914ddf4859
Fix syntax error
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
2fa3adee1d
Don't use transactions when direct db access is enough
...
For read-only action transactions are not necessary and they risk to deadlock
if multiple go-routines try to read the database.
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
fd83c1a5bf
Cap delay to sleep to avoid overflow
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
de2be9b8ae
Sleep between retries to download from http
...
Fix #1
2022-01-27 09:30:14 +01:00
André Roth
209b030502
gpg: fix downloading multiple keys
...
each key needs to be provided as separate argument to gpg1 --recv-keys
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
5a65ce6adb
mirror: add more logging
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
79a7cf864e
mirror: interrupt goroutine when done
...
This should avoid deadlocking when context is destroyed.
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
19f7b0fe8d
mirror: increase logging for easier debugging
2022-01-27 09:30:14 +01:00
André Roth
2b7bb24c92
api gpg: show gpg command
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
faf2d588b1
Use verifier from context
2022-01-27 09:30:14 +01:00
André Roth
8e02a03170
fix gpg keys
2022-01-27 09:30:14 +01:00
André Roth
d13de0464e
api: allow renaming repos
2022-01-27 09:30:14 +01:00
André Roth
c0528888f4
log download retries
2022-01-27 09:30:14 +01:00
Oliver Sauder
b4efe6a810
Add db cleanup api
2022-01-27 09:30:14 +01:00
Oliver Sauder
f09a273ad7
Add publish output progress counting remaining number of packages
2022-01-27 09:30:14 +01:00
Oliver Sauder
3cd168c44d
Combine publish list progress into one
2022-01-27 09:30:14 +01:00
Oliver Sauder
b0ab8f417d
Added gpg api so mirror updates are fully functional from api
2022-01-27 09:30:14 +01:00