[Buildroot] [PATCH] package/wtfutil: new package

Yann E. MORIN yann.morin.1998 at free.fr
Thu Apr 21 15:39:08 UTC 2022


On 2022-04-21 09:22 +0200, Arnout Vandecappelle spake thusly:
> On 20/04/2022 22:01, Yann E. MORIN wrote:
> >Some of wtfutils modules (i.e. plugins) can call to external tools, so
>  Modules are not optional?

As far as I can see, no. All modules are builtin into the wtfutil
executable, and there is no way to provide out-of-tree modules loaded at
runtime. And indeed, using the word 'plugins' was wrong (well, they can
only be plugged in at build time).

Also this is go, everything is static in that world.

Upstream would however like to go for an actual, real plugin mechanism,
but it seems the go ecosystem is not making that easy:
https://github.com/wtfutil/wtf/issues/1092#issuecomment-892312321

[--SNIP--]
> >+WTFUTIL_VERSION = 0.41.0
> >+WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION))
>  If the upstream repository is called wtf, and the help text says "WTF is
> ...", why do you call it wtfutil?

The website is wtfutil.com. The utility is named wtfutil. It is packaged
as wtfutil in some distro repositories already (Homebrew, macports,
Arch...).

The README.md also states:

    WTF (aka 'wtfutil') is the personal information dashboard for your
    terminal, providing at-a-glance access to your very important but
    infrequently-needed stats and data.

Finally, wtf on its own is a bit on the tendentious side; using the
longer name tones the term down a bit.

Yeah, that is not all entirely convincing, but I believe wtfutil to be a
better name overall...

Regards,
Yann E. MORIN.

>  Regards,
>  Arnout
> 
> >+WTFUTIL_LICENSE = MPL-2.0
> >+WTFUTIL_LICENSE_FILES = LICENSE.md
> >+
> >+$(eval $(golang-package))

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list