Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Allow creating pull requests using git-send-mail #1423

Open

Description

@CosmicToast

The PR workflow can be useful in case one wants to have their own copy of a repository for working with it.
However, I find this is rarely the case me (as an example, see my aports repository).
Further, especially when maintaining packages, I find myself sending in multiple, unrelated (and thus not belonging in the same PR) packages.

This kind of workflow is significantly less efficient with PRs, and much easier to handle with git-send-email(1).
Not only that, but in multiple-commit PRs, maintainers often ask contributors to squash their commits (which effectively translates to git push --force - a known evil).

As such, please add a send-email-like functionality (for an example, see https://github.com/getpatchwork/patchwork ), or allow sending emails a specific way to create/update PRs.

An example of the latter functionality could be something along the lines of To: [email protected], similar to how github.io works), where github can reuse the existing patch parsing functionality to determine whether it's an updated patch or a new one (hint: git-send-email actually formats multiple patches with numbers).

Activity

  1. CosmicToast commented on Dec 2, 2018

    @CosmicToast
    Author

    Looking into it a bit further, this functionality appears to exist in GitLab, though only for EE / hosted instances, so it's definitely doable.

  2. CosmicToast commented on Dec 7, 2018

    @CosmicToast
    Author

    I received a response from GitHub:

    Hey Chloe,

    Thanks for writing in with your suggestion!

    I can see how this would be useful. I've added a +1 for you to this on our feature request list—though I can't say if/when it might be added to GitHub.

    Let us know if we can help with anything else.

    Thanks,
    Alex

    If anyone else is interested in this feature, please 👍 this issue and send a similar request email to [email protected], as per the contribution guidelines, since they have this in an internal feature request list (as per the response email).

  3. jolting commented on Feb 6, 2019

    @jolting

    I wouldn't call it a "Pull request". Instead the ability to aggregate patches and integrate those patches into a branch.

    For example, take a look at this:
    https://patchwork.kernel.org/project/linux-usb/list/

    If I could click on a patch series and click an integrate button to integrate into a dev branch from the webpage would be awesome.

  4. jolting commented on Feb 6, 2019

    @jolting

    I think this should replace the rebase merge option in GitHub. It leads to weird problems with people destroying git history. This seems kludgy. Rebase merges are in conflict with the concept of not messing with published git history, so generally, I avoid them except in some simple cases like applying one commit to a branch. Since rebase merging one commit is effectively applying a patch anyway, patch series makes way more sense to me.

  5. added
    parity
    on Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    paritypull-requests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions