yoannfleurydev / gitweb

🌲 Open the current remote repository in your browser
Apache License 2.0
26 stars 4 forks source link

Support gitea #18

Open mborejdo opened 4 years ago

mborejdo commented 4 years ago

Is your feature request related to a problem? Please describe. Currently gitweb seems incompatible with gitea.

Describe the solution you'd like I'd love to be able to use gitweb with gitea. Gitea-urls seem more inline with the gitwebs "BITBUCKET_HOSTNAME"-way of handling urls. Maybe gitweb could provide some commandline-flag to open urls like http://git.server/orga/repo/src/branch/1.1.0

Also currently gitweb assumes https-urls which also would be great to be able to configure/override

yoannfleurydev commented 4 years ago

Hi.

Gitea looks cool and well known, it could be great for gitweb to be compatible with it. Thanks a lot for the idea! :bulb:

eric-j-ason commented 3 years ago

A kind of workaround would be to have a way to skip the branch details, and just go to the main page of the repository (http://git.server/orga/repo), since that tends to have the same URL on multiple platforms (GitHub, GItea, …).