On Wed, Feb 10, 2021 at 5:04 PM Pierre-Yves Chibon <pingou@pingoured.fr> wrote:
On Wed, Feb 10, 2021 at 09:59:24AM -0500, Matthew Miller wrote:
> On Wed, Feb 10, 2021 at 03:50:06PM +0100, Fabio Valentini wrote:
> > This is something we explicitly did not want on the git level, which
> > is why there is a main → rawhide link, but no master → rawhide link.
> > But it could possibly be done on the HTTP level in pagure, with a redirect?
>
> Yeah, if not too much work this would be really beneficial. Lots of existing
> links out there.

We've added redirects to links pointing to files in the 'master' branch to the
new default branch.
For example:
https://src.fedoraproject.org/rpms/klickety/blob/master/f/klickety.spec#_68
will redirect you to
https://src.fedoraproject.org/rpms/klickety//blob/rawhide/f/klickety.spec#_68

This should help with some of the links.


Pierre
 
Thanks! This is exactly what I was hoping we could implement. (and it is just slightly scary that the example link you show is actually the link I had followed from an upstream bug report that led me to finding the lack of redirect last night ;) ).

-Ian