nmh-workers
[Top] [All Lists]

Re: whats the brew nmh ownership?

2021-05-13 03:55:37
Hi Ken,

Well, "brew log nmh" would actually answer this :-)

(‘log’ takes a ‘--patch’ to show the changes which I use below.)

Okay, you'd have to scroll down a bit because there are a bunch of
updates that we weren't involved with in terms of OpenSSL dependencies
and the binary builds.  You'd eventually see it was me that submitted
it.

Your commit added nmh to HomeBrew at 1.6.  Then you updated it to 1.7,
and 1.7.1.

After that, FX Coudert in 3e1427a3 pegged its OpenSSL dependency to 1.1.

And Nanda H Krishna in 9591758f added a ‘livecheck’ which should spot
when it's out of date.

    livecheck do
      url "https://download.savannah.gnu.org/releases/nmh/";
      regex(/href=.*?nmh[._-]v?(\d+(?:\.\d+)+)\.t/i)
    end

If I simulate what I expect it to do using that regexp...

    $ wget -qO- 'https://download.savannah.gnu.org/releases/nmh/' |
    > grep -Pi 'href=.*?nmh[._-]v?(\d+(?:\.\d+)+)\.t' |
    > grep -Po '\d+(?:\.\d+)+' |
    > sort -Vru |
    > sed q
    1.7.1
    $

I wonder if Fedora or Debian offer something similar.  Arch Linux
doesn't, AFAICS from looking at its build script:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=nmh

In my limited experience unless a software package is very popular
(which, sadly, nmh is not)

Six installs in the last month!  https://formulae.brew.sh/formula/nmh

someone in the nmh universe has to turn the crank to get it into a
distribution.

Perhaps, next time, the livecheck will flag it to the general
maintainers who will crank the handle?

BTW, to the list generally, HomeBrew is available for Linux and is one
way to get a 1.7.1 install if that's more modern than your distribution
offers.  Though we'd probably prefer you try building it so we hear of
portability problems.

-- 
Cheers, Ralph.

<Prev in Thread] Current Thread [Next in Thread>