golist only implements a single output format, which means this output needs to be reprocessed in shell before being fed to other software, like rpm¹.
golist
This shell reprocessing is brittle and adds noise to Go package build logs.
Mature utilities allow specifying an output format template, which simplifies their integration with other software. This can be done:
time -f
fcquery --format '%{=pkgkit}'
golist should implement something similar.
¹ Typically to add golang() around dependencies, would need more processing if it ever evolves to list version constrains
golang()
Do you need format string for file lists (or just the provided/installed)?
Metadata Update from @qulogic: - Issue assigned to qulogic
There's no need to format file lists, as long as the installation is left to something else.
If golist was to take over installation (as is done by modist install) it would need to output directories with %dir in rpm mode.
%dir
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)
I'm going to say this is done well enough for now by #23.
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.