[packman] Packman Build Service API and account

Stefan Seyfried stefan.seyfried at googlemail.com
Sun May 5 09:49:39 CEST 2019


Hi Guo,

Am 04.05.19 um 09:40 schrieb Guo Yunhe:
> Dear Packman maintainers,
> 
> I am Guo Yunhe, an openSUSE contributor. I recently made an OBS search tool: [opi](https://github.com/openSUSE-zh/opi <https://github.com/openSUSE-zh/opi>). It can search all packages from build.opensuse.org . Now I want to extend its functionality. Packman is definitely the most important external repository. I know it also runs a Open Build Service instance. This makes it possible to search Packman packages with the same API.
> 
> I have a few question:
> Does Packman have the API like OBS? https://build.opensuse.org/apidocs/index <https://build.opensuse.org/apidocs/index>

Yes. https://pmbs.links2linux.de/apidocs/index

> Do you allow usage of the API from scripts?
I do not know that. The question is probably "how much load does this
bear on the server". OTOH, I can search packages on PMBS with osc, I
guess your tool is more or less technically doing the same than the osc
commandline tool, so if it is not continually scanning PMBS, then no
harm should be done :-)

> How to get a username and password to access the API?
> Thanks!

Stefan Botter is the "owner" of PMBS.
Usually people just create an account directly on
https://pmbs.links2linux.de/user/register_user, write a short email with
the chosen username to this list and Stefan will enable it.

Extra bonus: this will also allow you to directly contribute to packman
packaging! :-)

Best regards and thanks for your efforts, improving package search is
certainly somehting that openSUSE will benefit from.
-- 
Stefan Seyfried

"For a successful technology, reality must take precedence over
 public relations, for nature cannot be fooled." -- Richard Feynman



More information about the Packman mailing list