Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Pull request URLs don't work

Open
#135 4 comments 0 reactions 1 assignee View on GitHub

@ajdlinux is already working on this.

Since Nov 27, 2019.

Assessment

This issue has not been assessed yet.

Description

bug

When patchwork detects a pull request it pulls out the request URL and tag/branch and renders it as a URL at the top of the page.

But those URLs don't actually work when you click on them.

An example github pull request:
https://patchwork.ozlabs.org/patch/835976/

Which links to (404):
https://github.com/sukadev/linux%20p9-json-v4

Which should be:
https://github.com/sukadev/linux/tree/p9-json-v4

An example kernel.org request (cgit):
https://patchwork.ozlabs.org/patch/833746/

Which links to (404):
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git%20tags/powerpc-4.14-6

Which should be:
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/tag/?h=powerpc-4.14-6

It would be great if these URLs could actually take you to the right place. Obviously some heuristics would be required, but that seems reasonable.

Dominant language
Python
Stars
317
Forks
91
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getpatchwork/patchwork

All issues in getpatchwork/patchwork

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.