Open AdamMajer opened 1 month ago
Not sure what this has to do with OBS...
So you are talking about the link in the packages box
BTW what keeps you from sending a patch? :)
With Gitea and OBS, this is a cosmetic bug.
For a patch, what would be optimal way of doing this? Add a helper function to https://github.com/openSUSE/open-build-service/blob/master/src/api/app/helpers/webui/webui_helper.rb to remove OBS query parameters?
For a patch, what would be optimal way of doing this?
I would say, write a getter on Project
/ Package
that removes the query parameters. There are several other places we link to the scmsync
URL. Like app/views/webui/package/side_links/_show_scmsync.html.haml
For example,
https://build.opensuse.org/project/show/home:autogits_obs_staging_bot:autogits:XObsPrj:PR:3
Includes the scmsync link verbose. The query parts meant as parameters for OBS should probably be stripped.