Show a link to your fork under the host repository #1568

Closed
opened 2025-11-02 04:05:12 -06:00 by GiteaMirror · 12 comments
Owner

Originally created by @iddm on GitHub (Feb 26, 2018).

When you have a repository of someone else and you forked it, show a link to your fork under the host repository title as shown:

example

Like that image above, but vice versa - show your fork's link in upstream page. This would be very useful because it will require only one click to get to your fork, now you have to go to the forks page and then only choose yourself.

Originally created by @iddm on GitHub (Feb 26, 2018). When you have a repository of someone else and you forked it, show a link to your fork under the host repository title as shown: [![example](https://i.imgur.com/5HbLItU.png)](https://i.imgur.com/5HbLItU.png) Like that image above, but vice versa - show *your fork's* link in upstream page. This would be very useful because it will require only one click to get to your fork, now you have to go to the forks page and then only choose yourself.
GiteaMirror added the type/proposaltype/enhancement labels 2025-11-02 04:05:12 -06:00
Author
Owner

@thehowl commented on GitHub (Feb 26, 2018):

What's the use case for this? Especially since one source repository may have many different forks, whereas one fork may have only one source.

@thehowl commented on GitHub (Feb 26, 2018): What's the use case for this? Especially since one source repository may have many different forks, whereas one fork may have only one source.
Author
Owner

@Pofilo commented on GitHub (Feb 26, 2018):

Well, for me, Github is really nice with this feature.
You look at the repo of someone, you know directly it is a fork and you have the link if needed.

For example on your profile @thehowl, we know directly that gitea is a fork.

@Pofilo commented on GitHub (Feb 26, 2018): Well, for me, Github is really nice with this feature. You look at the repo of someone, you know directly it is a fork and you have the link if needed. For example on your profile @thehowl, we know directly that gitea is a fork.
Author
Owner

@thehowl commented on GitHub (Feb 26, 2018):

Yes, but OP is requesting the opposite if you pay attention. Linking the fork in the upstream repo.

@thehowl commented on GitHub (Feb 26, 2018): Yes, but OP is requesting the opposite if you pay attention. Linking the **fork** in the **upstream repo**.
Author
Owner

@iddm commented on GitHub (Feb 26, 2018):

@thehowl you can't have more than one your fork of source repository. But if you have organizations, you may fork into them. Then, I'd simply link the fork if it your forks count is 1.

The story here is that as a user I want to perform less different actions to go to my fork from source repository page.

@iddm commented on GitHub (Feb 26, 2018): @thehowl you can't have more than one your fork of source repository. But if you have organizations, you may fork into them. Then, I'd simply link the fork if it your forks count is 1. The story here is that as a user I want to perform less different actions to go to my fork from source repository page.
Author
Owner

@thehowl commented on GitHub (Feb 26, 2018):

Ah, touché, I guess this time I didn't pay enough attention! 😅 In that case, I guess I can see the point :) sorry about the confusion

@thehowl commented on GitHub (Feb 26, 2018): Ah, touché, I guess this time I didn't pay enough attention! :sweat_smile: In that case, I guess I can see the point :) sorry about the confusion
Author
Owner

@lunny commented on GitHub (Feb 27, 2018):

@vityafx but in fact, you maybe have serval forks. One is on your personal name, others will be some of your organizations.

@lunny commented on GitHub (Feb 27, 2018): @vityafx but in fact, you maybe have serval forks. One is on your personal name, others will be some of your organizations.
Author
Owner

@iddm commented on GitHub (Feb 27, 2018):

@lunny yes, I know that. It could be quite simple: if you have one fork in your visibility area (your personal account and organizations you are in) - this fork is shown. Otherwise, nothing.

@iddm commented on GitHub (Feb 27, 2018): @lunny yes, I know that. It could be quite simple: if you have one fork in your visibility area (your personal account and organizations you are in) - this fork is shown. Otherwise, nothing.
Author
Owner

@iddm commented on GitHub (Feb 27, 2018):

Also, It could be even better: modify the fork button so that if you have no forks in your visibility area - the popup window offers you making a fork in some place of your visibility area. Otherwise, if you have any forks, this popup also shows links to them. The same does github, for example. I have not checked whether the gitea has such behavior on the fork button yet or not. Is it so now?

@iddm commented on GitHub (Feb 27, 2018): Also, It could be even better: modify the `fork` button so that if you have no forks in your visibility area - the popup window offers you making a fork in some place of your visibility area. Otherwise, if you have any forks, this popup also shows links to them. The same does github, for example. I have not checked whether the gitea has such behavior on the `fork` button yet or not. Is it so now?
Author
Owner

@lunny commented on GitHub (Feb 27, 2018):

@vityafx just need pull request.

@lunny commented on GitHub (Feb 27, 2018): @vityafx just need pull request.
Author
Owner

@iddm commented on GitHub (Mar 2, 2018):

@lunny I don't know go lang.. And I don't like it :) I'd do PRs of course if I could :)

@iddm commented on GitHub (Mar 2, 2018): @lunny I don't know `go` lang.. And I don't like it :) I'd do PRs of course if I could :)
Author
Owner

@lunny commented on GitHub (Mar 3, 2018):

@vityafx Maybe someone who likes Golang will do that. 😄

@lunny commented on GitHub (Mar 3, 2018): @vityafx Maybe someone who likes `Golang` will do that. 😄
Author
Owner

@6543 commented on GitHub (Sep 7, 2020):

there now exist a fork list on upstream (link next to fork button)
and fork has link to upstream

@6543 commented on GitHub (Sep 7, 2020): there now exist a fork list on upstream (link next to fork button) and fork has link to upstream
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1568