Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian-svp patch #7

Closed
jelmer opened this issue Apr 25, 2020 · 0 comments
Closed

debian-svp patch #7

jelmer opened this issue Apr 25, 2020 · 0 comments
Labels

Comments

@jelmer
Copy link
Owner

jelmer commented Apr 25, 2020

From a conversation with Helmut on IRC:

Let's add a 'debian-svp patch' subcommand that takes a patch rather than a fixer.

Various bits of metadata could be prepopulated from the patch:

  • If the patch was a debdiff, then we could probably get the source package name from it (and retrieve the Vcs-Git header)
  • If it was a git-am-style patch, we could look at the subject and body for the merge proposal description
  • In other cases, we could look at the new entries in the changelog to come up with a good body for the merge proposal.
  • The branch name could be derived from the filename

If there is no supported hoster associated with the package, then we could fall back to creating a bug in the BTS (see also #8).

If the patch happens to conflict at some point, then we may want to provide multiple options:

  • Leaving the merge proposal conflicted (and letting the maintainer deal with it)
  • Closing the merge proposal and forwarding the patch to the BTS
  • Letting the submitter resolve it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant