Skip to content

RFE: Public (non-authenticated) API call for getting .repo file contents #3153

@Conan-Kudo

Description

@Conan-Kudo

Feature description

I am working on implementing a plugin for the DNF package manager (the successor to Yum) for managing OBS repos (see rpm-software-management/dnf5#2540).

However, I need a public API call (that works regardless of build service instance) that returns the generated contents of a .repo file. My understanding is that the backend is able to create this and write it out, as it does on the openSUSE Build Service, but there's no instance-agnostic way to just get the contents of said file to curl and write to disk.

Since there is a high degree of variation of where the repo content actually could be (either on port 82 of the same address, as private instances are by default, or on a separate system like openSUSE's is, or whatnot), an API means that the plugin won't be brittle and will be able to work with public and private OBS instances alike.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions