debian-forge-composer/internal
Tom Gundersen bb85acf36f dnf-json: set metadata_expire
We were using dnf's default of 48h, but that does not work for
updates repositories, as they depend on an expiration time of 6h.

Allow the metadata_expire value to be configured per repository.
If the value is unset, then never expire the metadata. Set the
value to 6h for all the fedora testing repos.

This fixes issue #476.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2020-04-11 19:14:02 +02:00
..
blueprint tests: add coverage for internal/blueprint/customizations.go 2020-03-31 16:47:00 +02:00
client tests: verify system-wide sources can't be deleted. Closes #315 2020-04-06 19:49:23 +02:00
common common: drop unused image types 2020-04-03 08:46:50 +02:00
compose compose/ImageBuild: drop the distro field 2020-03-24 14:13:03 +01:00
crypt crypt_test: don't run on macOS 2020-04-09 13:21:30 +02:00
distro distro: don't include grub2 stage in ext4 images 2020-04-11 13:10:13 +02:00
jobqueue jobqueue/api: return errors as JSON 2020-04-06 19:51:36 +02:00
jsondb jsondb: don't use error wrapping (%w) 2020-04-09 15:18:58 +02:00
mocks internal: pass architecture from the APIs to dnf-json 2020-03-24 20:45:30 +01:00
osbuild Add unit test for systemd stage 2020-04-01 09:52:10 +02:00
rcm store: create compose id from PushCompose 2020-04-01 00:29:13 +02:00
rpmmd dnf-json: set metadata_expire 2020-04-11 19:14:02 +02:00
store store: Set JobStarted time when PopJob is called 2020-04-11 12:42:50 +02:00
target target: pass the image filename in each target 2020-03-22 22:26:09 +01:00
test test: Move temporary repo setup into test/helpers.go 2020-03-23 21:08:01 +01:00
upload upload/aws: delete the s3 object after the snapshot is imported 2020-04-04 02:49:00 +02:00
weldr weldr: Adding sources with empty name should return an error 2020-04-06 19:34:37 +02:00