~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
6 3

[PATCH] testing/hatop: new aport

Gavin-John Noonan
Details
Message ID
<20200330000515.46364-1-mail@gjnoonan.co.uk>
DKIM signature
missing
Download raw message
Patch: +24 -0
Signed-off-by: Gavin-John Noonan <mail@gjnoonan.co.uk>
---
 testing/hatop/APKBUILD | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 testing/hatop/APKBUILD

diff --git a/testing/hatop/APKBUILD b/testing/hatop/APKBUILD
new file mode 100644
index 000000000000..372f34b28892
--- /dev/null
+++ b/testing/hatop/APKBUILD
@@ -0,0 +1,24 @@
# Contributor: Gavin-John Noonan <mail@gjnoonan.co.uk>
# Maintainer: Gavin-John Noonan <mail@gjnoonan.co.uk>
pkgname="hatop"
pkgver="0.7.7"
pkgrel=0
pkgdesc="Interactive ncurses client for the HAProxy unix socket"
url="https://github.com/jhunt/hatop"
arch="noarch"
license="GPLv3"
depends="python2 haproxy"
options="!check" # No test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jhunt/hatop/archive/v$pkgver.tar.gz"
builddir="$srcdir/"

package() {
	install -Dm755 "$pkgname-$pkgver/bin/hatop" \
		"$pkgdir/usr/bin/hatop"
	install -Dm644 "$pkgname-$pkgver/man/hatop.1" \
		"$pkgdir/usr/share/man/man1/hatop.1"

}

sha512sums="d678caf9f98ff4a800af120c0f06ffb842f55747486050070b2096526fda16e6e009d47e4cd6237ad3de2cf69732ebf5f29eba0dd84098e27ddc90f3a51212d6  hatop-0.7.7.tar.gz"
-- 
2.26.0.rc1.11.g30e9940356dc
Leo
Details
Message ID
<20200329210707.1e7d1e84@enterprise>
In-Reply-To
<20200330000515.46364-1-mail@gjnoonan.co.uk> (view parent)
DKIM signature
missing
Download raw message
On Mon, 30 Mar 2020 01:05:15 +0100
Gavin-John Noonan <mail@gjnoonan.co.uk> wrote:

> Signed-off-by: Gavin-John Noonan <mail@gjnoonan.co.uk>
> ---
>  testing/hatop/APKBUILD | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 testing/hatop/APKBUILD
> 
> diff --git a/testing/hatop/APKBUILD b/testing/hatop/APKBUILD
> new file mode 100644
> index 000000000000..372f34b28892
> --- /dev/null
> +++ b/testing/hatop/APKBUILD
> @@ -0,0 +1,24 @@
> +# Contributor: Gavin-John Noonan <mail@gjnoonan.co.uk>
> +# Maintainer: Gavin-John Noonan <mail@gjnoonan.co.uk>
> +pkgname="hatop"
> +pkgver="0.7.7"
> +pkgrel=0
> +pkgdesc="Interactive ncurses client for the HAProxy unix socket"
> +url="https://github.com/jhunt/hatop"
> +arch="noarch"
> +license="GPLv3"
> +depends="python2 haproxy"
> +options="!check" # No test suite
> +subpackages="$pkgname-doc"
> +source="$pkgname-$pkgver.tar.gz::https://github.com/jhunt/hatop/archive/v$pkgver.tar.gz"
> +builddir="$srcdir/"
> +
> +package() {
> +	install -Dm755 "$pkgname-$pkgver/bin/hatop" \
> +		"$pkgdir/usr/bin/hatop"
> +	install -Dm644 "$pkgname-$pkgver/man/hatop.1" \
> +		"$pkgdir/usr/share/man/man1/hatop.1"
> +
> +}
> +
> +sha512sums="d678caf9f98ff4a800af120c0f06ffb842f55747486050070b2096526fda16e6e009d47e4cd6237ad3de2cf69732ebf5f29eba0dd84098e27ddc90f3a51212d6
>  hatop-0.7.7.tar.gz"

Please make a merge request in gitlab.alpinelinux.org/alpine/aports
Gavin-John Noonan
Details
Message ID
<20200330001701.z5bcwkm2aztnhi4o@ifg-gjn-mbp>
In-Reply-To
<20200329210707.1e7d1e84@enterprise> (view parent)
DKIM signature
missing
Download raw message
> Please make a merge request in gitlab.alpinelinux.org/alpine/aports
I'd prefer to contribute via the Mailing list, is that no longer an
option?

Many thanks
Gavin-John
Details
Message ID
<20200330134924.3c6f3803@ncopa-desktop.copa.dup.pw>
In-Reply-To
<20200330001701.z5bcwkm2aztnhi4o@ifg-gjn-mbp> (view parent)
DKIM signature
missing
Download raw message
On Mon, 30 Mar 2020 01:17:01 +0100
Gavin-John Noonan <mail@gjnoonan.co.uk> wrote:

> > Please make a merge request in gitlab.alpinelinux.org/alpine/aports  
> I'd prefer to contribute via the Mailing list, is that no longer an
> option?

It is an option, just more inconvenient for us.

-nc
Details
Message ID
<20200330135051.15766c2d@ncopa-desktop.copa.dup.pw>
In-Reply-To
<20200330000515.46364-1-mail@gjnoonan.co.uk> (view parent)
DKIM signature
missing
Download raw message
On Mon, 30 Mar 2020 01:05:15 +0100
Gavin-John Noonan <mail@gjnoonan.co.uk> wrote:

> Signed-off-by: Gavin-John Noonan <mail@gjnoonan.co.uk>
> ---
>  testing/hatop/APKBUILD | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 testing/hatop/APKBUILD
> 
> diff --git a/testing/hatop/APKBUILD b/testing/hatop/APKBUILD
> new file mode 100644
> index 000000000000..372f34b28892
> --- /dev/null
> +++ b/testing/hatop/APKBUILD
> @@ -0,0 +1,24 @@
> +# Contributor: Gavin-John Noonan <mail@gjnoonan.co.uk>
> +# Maintainer: Gavin-John Noonan <mail@gjnoonan.co.uk>
> +pkgname="hatop"
> +pkgver="0.7.7"
> +pkgrel=0
> +pkgdesc="Interactive ncurses client for the HAProxy unix socket"
> +url="https://github.com/jhunt/hatop"
> +arch="noarch"
> +license="GPLv3"
> +depends="python2 haproxy"

I don't think we should introduce new packages that uses python2. Can
this use python3? if not, can you please report it upstream?

Thanks!

-nc


> +options="!check" # No test suite
> +subpackages="$pkgname-doc"
> +source="$pkgname-$pkgver.tar.gz::https://github.com/jhunt/hatop/archive/v$pkgver.tar.gz"
> +builddir="$srcdir/"
> +
> +package() {
> +	install -Dm755 "$pkgname-$pkgver/bin/hatop" \
> +		"$pkgdir/usr/bin/hatop"
> +	install -Dm644 "$pkgname-$pkgver/man/hatop.1" \
> +		"$pkgdir/usr/share/man/man1/hatop.1"
> +
> +}
> +
> +sha512sums="d678caf9f98ff4a800af120c0f06ffb842f55747486050070b2096526fda16e6e009d47e4cd6237ad3de2cf69732ebf5f29eba0dd84098e27ddc90f3a51212d6  hatop-0.7.7.tar.gz"
Gavin-John Noonan
Details
Message ID
<20200330230142.l7ybt4vpqv3mxy3h@ifg-gjn-mbp>
In-Reply-To
<20200330135051.15766c2d@ncopa-desktop.copa.dup.pw> (view parent)
DKIM signature
missing
Download raw message
> I don't think we should introduce new packages that uses python2. Can
> this use python3? if not, can you please report it upstream?
Unfortunately the software hasn't had an official release in around 10
years. The original author has abandoned the project and someone has
forked (the fork is who I point to in the URL). Whilst he has added
support for Python3 there has not been a new release as yet.

My plan was to keep it as it is whilst in testing, an then once it has
been updated, update the package to use python3 and move into community.
Leo
Details
Message ID
<20200330211306.77941fa9@enterprise>
In-Reply-To
<20200330230142.l7ybt4vpqv3mxy3h@ifg-gjn-mbp> (view parent)
DKIM signature
missing
Download raw message
On Tue, 31 Mar 2020 00:01:42 +0100
Gavin-John Noonan <mail@gjnoonan.co.uk> wrote:

> > I don't think we should introduce new packages that uses python2.
> > Can this use python3? if not, can you please report it upstream?  
> Unfortunately the software hasn't had an official release in around 10
> years. The original author has abandoned the project and someone has
> forked (the fork is who I point to in the URL). Whilst he has added
> support for Python3 there has not been a new release as yet.
> 
> My plan was to keep it as it is whilst in testing, an then once it has
> been updated, update the package to use python3 and move into
> community.
> 

No getting in until it is python3, please ask the new upstream to tag a
python3 release