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

Neil Armstrong narmstrong at baylibre.com
Tue Mar 26 13:53:06 UTC 2019


On 26/03/2019 12:15, Tom Rini wrote:
> On Tue, Mar 26, 2019 at 11:52:30AM +0100, Wolfgang Denk wrote:
>> Dear Tom,
>>
>> In message <20190325154727.GJ18421 at bill-the-cat> you wrote:
>>>
>>>> Yes, I'm aware of this.  I know that redirecting the URL for cloning
>>>> works, so you will still be able to do - say - 
>>>>
>>>> 	git clone git://git.denx.de/u-boot-ti.git
>>>>  
>>>> but I don't think your example will work out of the box.
>>>>
>>>> But then, even if we upgrade the git server and switch from the old
>>>> gitweg to cgit (for example) this would break.
>>>>
>>>> I'm not even sure we should try to invest the efforts for such a
>>>> (basically undocumented ?) API.
>>>
>>> We're getting out of my general area of expertise but shouldn't you be
>>> able to tell ngix or similar to rewrite requests for ?p=REPO;... into
>>> whatever the form the gitlab view is?
>>
>> 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
> 
> 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?

Freedesktop kept the cgit interface to keep the links working, but they mirror
the gitlab repo with the cgit repos, look at the mesa git :
https://cgit.freedesktop.org/mesa/mesa/

With this you would be able to keep the https://git.denx.de valid.

Here is their migration blog post : https://www.fooishbar.org/blog/gitlab-fdo-introduction/

Neil

> 
> 
> _______________________________________________
> U-Boot-Custodians mailing list
> U-Boot-Custodians at lists.denx.de
> https://lists.denx.de/listinfo/u-boot-custodians
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot-custodians/attachments/20190326/195d5dc5/attachment.sig>


More information about the U-Boot-Custodians mailing list