arduino / libraries-repository-engine

Arduino Library Manager index manager

Repository from Github https://github.comarduino/libraries-repository-engineRepository from Github https://github.comarduino/libraries-repository-engine

Add support for repositories in gitlab subgroups. (was: Add rhio-LIS2HH12 library)

JoseMartiRhombio opened this issue · comments

Hello,

rhomb.io have developed a LIS2HH12 library to run this accelerometer
Please, could you add the https://gitlab.com/rhombio/rhio-LIS2HH12 to the Library Manager?

Thanks

Done.

Excuse me @cmaglie , I have needed to change the url, could you update the information with this url; https://gitlab.com/rhombio/rhio-libraries/rhio-LIS2HH12 ? The new version is v0.1.1

The "subgroups" feature of gitlab requires us to implement a special handling on our library indexer. I think this is a quite new feature of gitlab since until now we assumed that the path was always in the form: http://gitlab.com/USERNAME/REPOSITORY

BTW I see that gitlab redirects from the old URL to the new URL transparently so things should just work in your particular case.

About the missing v0.1.1, the problem is not the changed repo URL but the version written in library.properties:

https://gitlab.com/rhombio/rhio-libraries/rhio-LIS2HH12/-/blob/v0.1.1/library.properties

as you can see the file still has version=0.1.0. BTW on master I see 0.1.1 so I guess you pushed the tag before updating the version on master. To fix this just delete the tag 0.1.1 and redo it on master`

I'll keep this issue open until we add support for gitlab's "subgroutp" on the library indexer.