debian-forge-composer/internal/weldr
Tomas Hozza a4e6531565 worker: define job types as constants
Define supported job type names as constants and use them in all places,
instead of string literals.

There are multiple benefits of this approach. Using constants removed
the room for typos in the string literals. One can use autocompletion in
IDE for job types. Using constant makes it easier to find all references
where it is used and thus all places that are handling a specific job
type.
2022-06-10 14:48:18 +01:00
..
api.go Move GetRedHatRelease() and GetHostDistroName() to common package 2022-06-10 14:48:18 +01:00
api_test.go tests: use TestMain() instead of Init() to compile mock-dnf-json 2022-06-01 11:36:52 +01:00
compose.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
compose_test.go worker: define job types as constants 2022-06-10 14:48:18 +01:00
json.go tests: update base tests for weldr-client 2021-08-25 19:16:04 +02:00
responses_test.go Replace all rpmmd.Depsolve() calls with dnfjson 2022-06-01 11:36:52 +01:00
upload.go Support Generic S3 upload in Composer API 2022-06-02 16:12:53 +03:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00