debian-forge-composer/.github
Tomas Hozza 4c5d4de387 rpmmd: separate loading of repo definitions from file and add tests
Separate the loading of repo definitions from JSON file from
`LoadRepositories()` to a standalone function
`loadRepositoriesFromFile()`, to make it easy to reuse it in the future.

Add unit tests for `LoadRepositories()` function.

Exclude github.com/osbuild/osbuild-composer/internal/rpmmd/test package
from test coverage. Package with just tests and no other code makes `go
test` to fail. This should be fixed in go 1.17.
See https://github.com/golang/go/issues/27333

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-05-14 15:43:00 +02:00
..
workflows rpmmd: separate loading of repo definitions from file and add tests 2021-05-14 15:43:00 +02:00
PULL_REQUEST_TEMPLATE.md github: mention the guides in the pull request template 2021-04-02 14:13:40 +02:00