glab icon indicating copy to clipboard operation
glab copied to clipboard

Update default branch of repo

Open frob opened this issue 3 years ago • 2 comments

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 avatar Aug 09 '22 00:08 frob

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.

frob avatar Aug 09 '22 01:08 frob

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 avatar Sep 08 '22 03:09 clemsbot