Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Pull request URLs don't work

Aberta
#135 4 comentários 0 reações 1 responsável Ver no GitHub

@ajdlinux já está trabalhando nisso.

Desde 27/11/2019.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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.

Linguagem predominante
Python
Estrelas
317
Forks
91
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de getpatchwork/patchwork

Todas as issues de getpatchwork/patchwork

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.