allow a Repository to be created or configured with PullRequest settings #98

Open
opened 2018-12-17 14:22:45 +00:00 by JonasFranz · 0 comments
Owner

Author: @jstrachan Posted at: 28.03.2018 10:46

The UI lets you configure a Repository to Allow Pull Request merge commits and so forth:
repo-config

when creating a Repository via the go API all these are false. This means if you create a Pull Request there's no UI in gitea that lets you merge the PR.

I don't see any way to specify or default these values in the go-gitea REST API - so it'd be nice to add these flags so we can pass them into the CreateRepo method

Author: @jstrachan Posted at: 28.03.2018 10:46 The UI lets you configure a Repository to Allow Pull Request merge commits and so forth: <img width="485" alt="repo-config" src="https://user-images.githubusercontent.com/30140/38024621-7fe90278-327d-11e8-85b3-6f59a272aeba.png"> when creating a Repository via the go API all these are false. This means if you create a Pull Request there's no UI in gitea that lets you merge the PR. I don't see any way to specify or default these values in the go-gitea REST API - so it'd be nice to add these flags so we can pass them into the CreateRepo method
JonasFranz added the
kind/proposal
label 2018-12-17 14:22:45 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JonasFranz/go-sdk#98
No description provided.