Re: packages built with golang
On Mon, Mar 14, 2022 at 05:37:30PM -0700, Cousin Stanley wrote:
> David Wright wrote:
>
> > How about:
> >
> > $ apt-cache show hugo | grep -v '^Built-Using:'
> >
> > which you could wrap into a function.
> >
>
> I don't mind the Built-Using list at all
> for reasonable sized lists and I wouldn't
> care to remove it altogether.
Here's one example of a thing you could do:
apt-cache() {
command apt-cache "$@" |
awk '/^Built-Using:/ {if (length > 80) print "Built-Using: MANY THINGS";
else print; next}
1'
return "${PIPESTATUS[0]}"
}
And I found some packages to test it with:
grub-efi-amd64-signed
libguice-java
libsisu-guice-java
hugo
That was almost as tricky as writing the wrapper function.
Reply to: