[U-Boot-Custodians] git access - move to gitlab?

Wolfgang Denk wd at denx.de
Tue Mar 26 14:14:53 UTC 2019


Dear Tom,

In message <20190326111508.GQ18421 at bill-the-cat> you wrote:
>
> > With sufficient effort this is most probably possible, but then -
> > how complete does such suppot have to be?  There are several
> > parameters ("p=", "a=", "f=", "h=", "hb=", "s=", "sr=", "st="...).
> > If we try to support all parameters with all options this becomes
> > more than some simple address rewriting.
>
> My concern is that we have links in ML archives as well as stack
> overflow and similar pointing to git locations.  While on the one hand,
> I think covering all of those parameters is a single regex, it'll get
> complex and maybe long term unmaintainable.  So, some examples I think
> we really must have still work would be:
> https://git.denx.de/?p=u-boot.git;a=blob;f=board/nokia/rx51/rx51.c;h=76f6ede38c62d8b9811c717b59762b5d584fb49c;hb=HEAD#l71
> https://git.denx.de/?p=u-boot.git;a=tree
> https://git.denx.de/?p=u-boot.git;a=blobdiff;f=include/configs/nokia_rx51.h;h=c9901e52510110ea34bd1ac6bcdc2a90a9bada8d;hp=6312ed737c7104b331c11c8e88808fcc10654718;hb=278b90ce786f73faf29aa522d5d101e1da006378;hpb=7c8f00e484658c673d32d8422c96cb64bb571063

We have already 'p', 'a' (blob|tree|blobdiff), 'h', 'hp' and 'hb" in
this quick list, and I guess more will come.  This exceeds my
capabilities.  I will need help to create such a set of rewrite
rules for nginx - any volunteers around?


> Perhaps if this ends up being too hard to rewrite is it worth looking at
> keeping an r/o copy of gitweb at the state prior to switchover, so old
> links still work but for anything new people would need to use a gitlab
> link instead?

This cannot work.  People would not find the new code if the old
liks are still active, and rewrite rules would be even more
complex.

Either we manage to come up with a set or rewrite rules that are
considered good enough, or we accept that such old links are broken.

I mean, the alternative to moving to gitlab would be to update the
system, but even then I would want to switch to cgit - the resulting
situation would be even worse, I think.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Cleverness and Style have no place in getting a project completed.
                                                  -- Tom Christiansen


More information about the U-Boot-Custodians mailing list