cavil icon indicating copy to clipboard operation
cavil copied to clipboard

RFE: Speeding up license correction

Open lkocman opened this issue 2 years ago • 2 comments

Hello team!

from a position of person fast-tracking Leap legal reviews in my spare time. As part of my reviews if I see a package where list of licenses doesn't match the spec file, which is every second review of community packages basically.

I typically want to submit the correct license right away. You typically want to send SR to the development project, where the package is developed. Then get a change to Factory and finally Leap.

I typically start with osc bco $some:Devel:project $package ... followed by commit && sr once the license in spec is tweaked.

For that, I typically click on the SR (in my case Leap SR), which takes me to the OBS Leap submission. Then I click from there on the source (typically openSUSE:Factory) from where I can see developed in particular devel project.

It would help me to speed up such corrections if I'd see "developed in (link)$project(/link)" right in the WebUI of cavil. The ideal would be "To checkout package osc bco $some:Devel:project $package". But perhaps that's too much detail for applications outside of OBS (not our case), but that would be quite nice.

It might sound like not a big deal, but we have a queue of 100 plus packages, and a good 50 will have incorrect/partial license tags in the spec file. And that is a lot of clicking.

lkocman avatar Sep 19 '23 10:09 lkocman

We actually already have a deduplication feature in the OBS checkout code that tries to resolve to the devel project. So in many cases this information will already be in the database and should be pretty easy to expose with a link in the UI.

kraih avatar Sep 19 '23 11:09 kraih

Alternatively osc bco osc develproject openSUSE:Factory $pkg ... but direct copy would be even lazier :)

lkocman avatar Sep 19 '23 21:09 lkocman