Skip to content

PRs without forking #19322

Closed
Closed
@qwerty287

Description

@qwerty287

Feature Description

Currently, I need to fork a project to contribute. Unfortunately, forking is not a that nice way in some views:

  1. it takes more disk space
  2. it bloats my own repo lists
  3. it is an extra step to do

What I think would be great is something that's similar to AGit with some differences. AGit is a nice idea, however, it has two main drawbacks:

  1. not working from the web interface
  2. the commands are very complex (sure, I can use git aliases, but I still have to specify push opts directly)

A workflow that would be nice is:

  1. clone (original) repo & make changes on new branch
  2. when pushing, push to a branch that is stored separately in the database to handle permissions and use a unique name (<username>/<original branch name>, issue would be if you use something like feature/cool-feature)
  3. just handle like a normal branch - allow PRs, maybe issue refs and so on

Other things should be considered:

  • add settings for non-repo-admin to allow adding collaborators or managing permissions for branches "owned" by yourself
  • allow "branch transfers" like repo transfers

I know that this is a complete change to the way how Gitea (and most other forges) work, but for me - and probably most other too - it would be really nice.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions