This is a similar issue to https://pagure.io/golist/issue/3 this time for packagers that try to package several import paths in a single spec (I’m told the practice is common RHEL-side).
For this use pattern to work reliably, you need to compute the codebase requirements in a single pass. Otherwise golist will forget to filter out imports of code, already available on-system under another import path. And that will break the BuildRequires computation being worked on for https://github.com/rpm-software-management/rpm/pull/593 or https://pagure.io/fesco/issue/2004 are done.
golist
So we need something like
$ golist --imported --skip-self --with-tests --package-path %{goipath0} --package-path %{goipath1} --package-path %{goipath2}
Metadata Update from @nim: - Issue tagged with: RFE
Metadata Update from @nim: - Issue tagged with: core
I think most of the code is already written to handle this; it just needs to fix the CLI flags to work correctly.
Metadata Update from @qulogic: - Issue assigned to qulogic
Metadata Update from @qulogic: - Issue set to the milestone: 1.0.0
Metadata Update from @qulogic: - Issue set to the milestone: 0.5.0 (was: 1.0.0)
Fixed by #22.
Metadata Update from @qulogic: - Issue status updated to: Closed (was: Open)
Metadata Update from @qulogic: - Issue set to the milestone: 0.10.0 (was: 0.5.0)
Login to comment on this ticket.