Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Conan-Kudo opened this issue May 27, 2017 · 1 comment
Open
Labels
Feature Frontend Things related to the OBS RoR app

Comments

@Conan-Kudo
Copy link
Member

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/dnf-plugins-extras#64).

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.

@Conan-Kudo
Copy link
Member Author

I'd also greatly appreciate it if this was also made available in OBS 2.8 as a backport, so that relatively new private instances can leverage the plugin, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Frontend Things related to the OBS RoR app
Projects
None yet
Development

No branches or pull requests

3 participants