#4 golist needs to be able to process multiple import paths in one pass
Closed 4 years ago by qulogic. Opened 5 years ago by nim.

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.

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

5 years ago

Metadata Update from @nim:
- Issue tagged with: core

5 years ago

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

5 years ago

Metadata Update from @qulogic:
- Issue set to the milestone: 1.0.0

5 years ago

Metadata Update from @qulogic:
- Issue set to the milestone: 0.5.0 (was: 1.0.0)

4 years ago

Metadata Update from @qulogic:
- Issue status updated to: Closed (was: Open)

4 years ago

Metadata Update from @qulogic:
- Issue set to the milestone: 0.10.0 (was: 0.5.0)

4 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #22 Merged 4 years ago