-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Requested feature
git format-patch turns a commit into a patch ready to email. These patches can be applied by the recipient with git am. It would be nice if Gitea could allow uploading a formatted patch to create a PR
Rationale
1. Convenience
Creating a PR with formatted patches simplifies the contribution process.
The existing flow:
- Fork the repo
- Clone the fork
- (optional, recommended) check out a new branch
- Make commits
- Push commits
- Click a link to open an online form for a new PR
- Fill out the PR form
- Submit the PR
The flow that this change will allow:
- Clone the upstream repo (often already done)
- (optional, recommended) check out a new branch
- Make commits
git format-patch- Drag and drop those patch files onto the repo
- Confirm and submit.
2. Allows contribution without a Gitea account
The best part is that a Gitea admin and repo owner could allow patch files to be submitted without an account, significantly lowering the barrier to entry.
This can also be a big step towards the overall goal of federated PRs by taking the email approach. See #13442 (comment)
mheden, GilOliveira and SamWhitedwULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf, slavus and GilOliveira
Metadata
Metadata
Assignees
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.