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

Tracking Issue for Unimplemented Gitea APIs #17

Open
4 of 19 tasks
shrik450 opened this issue Jun 9, 2023 · 1 comment
Open
4 of 19 tasks

Tracking Issue for Unimplemented Gitea APIs #17

shrik450 opened this issue Jun 9, 2023 · 1 comment
Labels
Epic Epic or thread upstream The issue is relevant in upstream repo

Comments

@shrik450
Copy link
Collaborator

shrik450 commented Jun 9, 2023

I went through the swagger definition for AllSpice hub 1.19 and checked which of those are present in py-gitea and which aren't. After some pre-filtering etc. here's a list of APIs I think are reasonably important. Not all of these are the same priority, and we might not end up implementing some of these.

Since most of these are base gitea endpoints and not unique to AllSpice Hub, we'll also try to get them upstreamed into py-gitea.

List of APIs in AllSpice not present in py-allspice

Admin

  • Cron
  • Hooks (Admin-level hooks)
  • Unadopted Repostiories
  • Add/Remove public keys from user

Organisations

  • Get & Create orgs

    Note: These technically are implemented - but with the admin routes. It
    might be better to support the bare /orgs route instead of the admin
    routes.

  • Org Hooks

  • Org Level Labels

  • Publicisize/Depublicize org memebership

  • Add/remove a repo to a team

Packages

None of these are present. For reference, the Gitea package API allows getting
and deleting packages, but not creating a new one.

Issues

Repositories

  • Repo Migrations: There is an open PR on py-gitea for this.
  • Branch Protections
  • Pull Request APIs - [ ] all of them
  • Mirrors
  • Releases
  • Wiki APIs
  • Secrets - These aren't on the swagger defs yet.

Categories not considered for this

  • Misc
  • Notifications
  • Settings
  • User
@shrik450 shrik450 added the Epic Epic or thread label Jun 9, 2023
@shrik450
Copy link
Collaborator Author

shrik450 commented Jun 9, 2023

My current thoughts on prioritisation:

  1. Issue APIs for automation with CI
  2. PR APIs, ditto
  3. The rest when the need comes up for them

@shrik450 shrik450 added the upstream The issue is relevant in upstream repo label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic Epic or thread upstream The issue is relevant in upstream repo
Projects
None yet
Development

No branches or pull requests

1 participant