debian-forge-composer/internal/weldr
Achilleas Koutsou baa2339de4 weldr: remove the (host) architecture member from the API struct
The `API.arch` member was (mostly) used to read the name of the
architecture.
The only non-name use was for the purposes of reading RPM repositories
from the configuration, in `reporegistry.ReposByArch()`, a thin wrapper
around `reporegistry.ReposByArchName()`.
Removing the `arch` member from the API and using the new `archName`
that is set up in the API constructor lets us control the arch name that
is set without relying on a valid `distro.Arch` object being available
(which would depend on having a valid `distro.Distro` object).

Replaced all calls to `ReposByArch()` with `ReposByArchName()` which
depends on the arch and distro name strings instead of a full
`distro.Arch`.
2022-03-09 23:22:06 +00:00
..
api.go weldr: remove the (host) architecture member from the API struct 2022-03-09 23:22:06 +00:00
api_test.go ostree: move test server to separate package 2022-02-23 11:08:24 +01:00
compose.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
compose_test.go jobqueue: introduce the concept of channels 2022-03-08 12:07:00 +01:00
json.go tests: update base tests for weldr-client 2021-08-25 19:16:04 +02:00
upload.go Add support for OCI upload provider 2022-01-28 15:16:47 +01:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00