gogs / gogs/gogs

Pull request button does not redirect to correct url in forked repositories

Open
#4,727 1 comment 0 reactions 0 assignees View on GitHub

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

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

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.