debian-forge-composer/internal/kojiapi
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.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
server.go dnfjson: cache cleanup 2022-06-01 11:36:52 +01:00
server_internal_test.go koji: use nvra as the filename for images 2020-10-27 19:01:30 +00:00
server_test.go worker: define job types as constants 2022-06-10 14:48:18 +01:00