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

Migrate branches configuration feature to use python-gitlab library #625

Open
amimas opened this issue Oct 29, 2023 · 1 comment
Open

Migrate branches configuration feature to use python-gitlab library #625

amimas opened this issue Oct 29, 2023 · 1 comment
Labels
good first issue Good issue for first-time contributors help wanted

Comments

@amimas
Copy link
Collaborator

amimas commented Oct 29, 2023

Goal of this issue is to migrate the branches configuration feature to use python-gitlab library instead of using homegrown API in this project.

Todo:

  • The gitlabform/gitlab/branches.py probably can be deleted because most likely it won't be needed.
  • Update gitlabform/processors/util/branch_protector.py to use python-gitlab library for API calls to GitLab
@amimas amimas added good first issue Good issue for first-time contributors help wanted labels Oct 29, 2023
@TigreModerata
Copy link
Contributor

I've tried this too, I'll make a pull request shortly.
Files processor also had to be adjusted (contained some branches methods).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good issue for first-time contributors help wanted
Development

No branches or pull requests

2 participants