Pull request button does not redirect to correct url in forked repositories
Open
Nobody has claimed this yet.
💻 ui
🔨 enhancement
- Dominant language
- Go
- Stars
- 47.8k
- Forks
- 5.1k
- Avg merge
- 7h 23m
- Merged PRs (30d)
- 5
Description
- Gogs version (or commit ref): 1.7.4
- Can you reproduce the bug at https://try.gogs.io:
Description
If we create a fork from a repository, when we try to create a pull request in forked repository, New Pull Request button redirects to original repository to create pull request.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue at https://try.gogs.io/sasan_org/repo1-fork1/pulls and start from the New Pull Request button and its redirect flow. Trace how the forked repository is identified, then verify that the button opens pull-request creation for the fork rather than the original repository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, go
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100