Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #246315

Re: packages built with golang

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: packages built with golang
Date 2022-03-15 02:40 +0100
Message-ID <E14kh-1NZP-5@gated-at.bofh.it> (permalink)
References <E0ZkB-1LbP-5@gated-at.bofh.it> <E106Z-1LHc-17@gated-at.bofh.it> <E12Lv-1N1v-1@gated-at.bofh.it> <E134R-1NmP-1@gated-at.bofh.it> <E13Hz-1NyO-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

packages built with golang Cousin Stanley <cousinstanley@gmail.com> - 2022-03-14 21:20 +0100
  Re: packages built with golang Andy Smith <andy@strugglers.net> - 2022-03-14 22:10 +0100
    Re: packages built with golang Cousin Stanley <cousinstanley@gmail.com> - 2022-03-15 01:00 +0100
      Re: packages built with golang David Wright <deblis@lionunicorn.co.uk> - 2022-03-15 01:20 +0100
        Re: packages built with golang Cousin Stanley <cousinstanley@gmail.com> - 2022-03-15 02:00 +0100
          Re: packages built with golang Greg Wooledge <greg@wooledge.org> - 2022-03-15 02:40 +0100
  Re: packages built with golang Dan Ritter <dsr@randomstring.org> - 2022-03-14 22:30 +0100
    Re: packages built with golang Cousin Stanley <cousinstanley@gmail.com> - 2022-03-15 01:50 +0100
      Re: packages built with golang <tomas@tuxteam.de> - 2022-03-15 07:30 +0100
        Re: packages built with golang Cousin Stanley <cousinstanley@gmail.com> - 2022-03-15 15:00 +0100
          Re: packages built with golang Dan Ritter <dsr@randomstring.org> - 2022-03-15 15:20 +0100
            Re: packages built with golang Cousin Stanley <cousinstanley@gmail.com> - 2022-03-15 16:50 +0100
              Re: packages built with golang Greg Wooledge <greg@wooledge.org> - 2022-03-15 17:00 +0100
              Re: packages built with golang Kushal Kumaran <kushal@locationd.net> - 2022-03-15 17:00 +0100
              Re: packages built with golang Curt <curty@free.fr> - 2022-03-15 19:00 +0100
              Re: packages built with golang Dan Ritter <dsr@randomstring.org> - 2022-03-15 19:00 +0100
                Re: packages built with golang Cindy Sue Causey <butterflybytes@gmail.com> - 2022-03-16 03:20 +0100
                Re: packages built with golang Cousin Stanley <cousinstanley@gmail.com> - 2022-03-17 00:50 +0100
          Re: packages built with golang <tomas@tuxteam.de> - 2022-03-15 16:40 +0100
  Re: packages built with golang songbird <songbird@anthive.com> - 2022-03-15 03:30 +0100

csiph-web