Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Update default branch of repo #1015

Open
frob opened this issue Aug 9, 2022 · 2 comments
Open

Update default branch of repo #1015

frob opened this issue Aug 9, 2022 · 2 comments
Labels
enhancement New feature or request stale

Comments

@frob
Copy link

frob commented Aug 9, 2022

Describe the feature or problem you'd like to solve
There is currently not update anything about a gitlab project/repo. I would like to update the default branch of a repo. It might also be nice to update other settings for the a repo.

Propose a Solution
Add a glab repo update command and allow for editing some of the settings of the repo. Specifically I would like to be able to update the default branch of a project.

@frob frob added the enhancement New feature or request label Aug 9, 2022
@frob
Copy link
Author

frob commented Aug 9, 2022

Looks like https://github.com/profclems/glab/blob/trunk/api/project.go will need to be edited to implement EditProject from https://github.com/xanzy/go-gitlab/blob/master/projects.go#L880

Once that has been done we would need to update https://github.com/profclems/glab/tree/trunk/commands/project to include the new functionality.

Of course, all appropriate tests will also be needed.

@clemsbot
Copy link
Collaborator

clemsbot commented Sep 8, 2022

This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.

@clemsbot clemsbot added the stale label Sep 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

2 participants