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

add api to for distro packages maintainer #42

Open
glensc opened this issue Nov 25, 2014 · 3 comments
Open

add api to for distro packages maintainer #42

glensc opened this issue Nov 25, 2014 · 3 comments
Labels
medium Will need some work type.api API related change type.feature New feature

Comments

@glensc
Copy link
Contributor

glensc commented Nov 25, 2014

as distribution maintainer, i would like to do over api:

  • create project<>distribution package mapping (project_id (numeric), distribution name, distribution package name)
  • add project (name, homepage, backend, backend specific options)
  • rename package mapping for distribution (project_id, distribution name, old name(?), new name)
@ralphbean
Copy link
Contributor

Agreed. This could be expanded. We would want all of those new API endpoints to require authentication.

Noting here that here's an example of using parts of the existing anitya API (unauthenticated): https://github.com/ralphbean/lightsaber/blob/develop/roles/development/files/bin/check-anitya.py

@ralphbean
Copy link
Contributor

And here's an example of doing some things authenticated: https://github.com/fedora-infra/the-new-hotness/blob/develop/hotness/anitya.py

@jeremycline
Copy link
Member

With the v2 API, the only feature not yet supported is

  • rename package mapping for distribution (project_id, distribution name, old name(?), new name).

We need to add PUT request support to the packages endpoint

@Zlopez Zlopez added this to Nice to have in Maintenance mode Apr 10, 2019
@Zlopez Zlopez added the type.api API related change label May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium Will need some work type.api API related change type.feature New feature
Projects
Maintenance mode
  
Nice to have
Development

No branches or pull requests

4 participants