go-source comment in code.gitea.io is wrong after transition to gitea.com #3850

Closed
opened 2025-11-02 05:28:19 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @segevfiner on GitHub (Aug 26, 2019).

For example, for code.gitea.io/sdk:

<meta name="go-source" content="code.gitea.io/sdk https://gitea.com/gitea/go-sdk https://gitea.com/gitea/go-sdk/tree/master{/dir} https://gitea.com/gitea/go-sdk/blob/master{/dir}/{file}#L{line}">

Which is the URL pattern for GitHub. I think gitea itself is till on GitHub so both patterns are needed depending on where the repo is.

Originally created by @segevfiner on GitHub (Aug 26, 2019). For example, for `code.gitea.io/sdk`: ```html <meta name="go-source" content="code.gitea.io/sdk https://gitea.com/gitea/go-sdk https://gitea.com/gitea/go-sdk/tree/master{/dir} https://gitea.com/gitea/go-sdk/blob/master{/dir}/{file}#L{line}"> ``` Which is the URL pattern for GitHub. I think gitea itself is till on GitHub so both patterns are needed depending on where the repo is.
GiteaMirror added the type/bug label 2025-11-02 05:28:19 -06:00
Author
Owner

@lunny commented on GitHub (Aug 27, 2019):

https://gitea.com/gitea/redirects/pulls/54 will fix this issue.

@lunny commented on GitHub (Aug 27, 2019): https://gitea.com/gitea/redirects/pulls/54 will fix this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3850