Received: from mail-yb1-f196.google.com (mail-yb1-f196.google.com [209.85.219.196]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 5AF3D781AEF for <~alpine/aports@lists.alpinelinux.org>; Thu, 28 Nov 2019 10:29:56 +0000 (UTC) Received: by mail-yb1-f196.google.com with SMTP id k17so10207431ybp.1 for <~alpine/aports@lists.alpinelinux.org>; Thu, 28 Nov 2019 02:29:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RdiAJKw2zq2NVecBnktS+ofFrnE+zjHhncWOdQDalFg=; b=Z7Mjh+VDzEM2es3X5+SXQFUgpYGu0S23nm5+ubEVik3X7KdGF+J2TgvG6HYi/EdwoJ 8xK5MgpSq9Kf/+FcjLsOz2u1HwJ6LZhB8rlKtEX3foYx5ARMKrDc8D9eCWn7bDAYYzE2 wR/F7MLj2ilmKjQupSkzxInz1fKgdbUNoAGDvPd6KwHILcpGq9WxaRcwzHt3jIjRf+Wj aqAG7tNK36bVk1OsGtCldzKK+cuAXSjdS6R97qzww0SORY2dL0kMy2SI+pywPWIrQVp8 n2ZsnGBKujGMlc3upS0GYAEIbagWKhDb2nHzz+dHVaGQwMiQQl1kPS/7UaSWfZCXG55A H4pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RdiAJKw2zq2NVecBnktS+ofFrnE+zjHhncWOdQDalFg=; b=q3VSAHQqO0ZIOghtyO3iqrbSADqzjwqNa+YEuI7RNjxkg7MsLjNcOZ4oNK1z/VbSIW mJhc3aAY5yUMIc2+PglDCd9nZJFbVoQWQS1wckBgTvCrvM8Ibf821vel+MVIfwLNinN5 vk1EEf2xcHaekYs17x0cG2sYyCx6ZMG7+TOHdHBYaXhU7rl44s8u0mnROSzbftMrJtKj N/XXd0FGgI7MXFSD9SHSzjm042H1xM5sk7SMjzKC+W2raUe+qBgbAL/xmaYNRXS4NLWB 4KPb2T2wYL1SIg/2dQugafudXoQpqGqkHZ4joZeF8Cst37QjFJRb+vrdnq3df0drL6ti kT5w== X-Gm-Message-State: APjAAAUkXwaWXdy+iikNetdYsEBUG8s1WOyoSp4CUNAm77eW2ZIf1cl9 oG6uyaj1+J7biKW70WY7b7OwJ+ufJ+HOJS6xJaX92Q== X-Google-Smtp-Source: APXvYqyhnHPUN5L4guSfqSCRj0q93HCGpHBQAEFP2QNBfWLLWl8kWADpV3PI2vN33HL2xtEWHkdMT9HEUx4niBdH5VM= X-Received: by 2002:a25:be51:: with SMTP id d17mr34164186ybm.56.1574936994722; Thu, 28 Nov 2019 02:29:54 -0800 (PST) MIME-Version: 1.0 References: <20191127225458.16986-1-sir@cmpwn.com> In-Reply-To: <20191127225458.16986-1-sir@cmpwn.com> From: Konstantin Kulikov Date: Thu, 28 Nov 2019 13:29:43 +0300 Message-ID: Subject: Re: [PATCH] testing/grafana: upgrade to 6.5.0 To: Drew DeVault Cc: ~alpine/aports@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" 1. Grafana ships significant bugs with every minor release, always wait for patch release before updating (6.5.1 was coincidentally released a few minutes ago) 2. you have to run go get github.com/grafana/grafana/pkg/cmd/grafana-server@COMMITHASH && go mod tidy because I packaged it that way. I think it is fine to revert it to simpler go build -mod=vendor for now because x/errors update no longer needed, they have wrong go.mod file and they vendor their deps anyway, but in the long run I'd like every go binary to have proper version information recorded in them (queryable with go version -m /path/to/binary or via https://godoc.org/runtime/debug#ReadBuildInfo) >Upstream will be given tests when they learn how to use them responsibly Can you explain better? Even unit tests are useful as they test assumptions made by devs about target system and grafanas tests worked well enough for me before. On Thu, Nov 28, 2019 at 1:54 AM Drew DeVault wrote: > > --- > I would like to state for the record that grafana is a terrible piece of > software. > > testing/grafana/APKBUILD | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/testing/grafana/APKBUILD b/testing/grafana/APKBUILD > index df42e524eb..abfa4dac21 100644 > --- a/testing/grafana/APKBUILD > +++ b/testing/grafana/APKBUILD > @@ -1,10 +1,10 @@ > # Contributor: Konstantin Kulikov > # Maintainer: Konstantin Kulikov > pkgname=grafana > -pkgver=6.4.4 > +pkgver=6.5.0 > pkgrel=0 > -_commit=092e51408a # git rev-parse --short HEAD > -_stamp=1573041873 # git --no-pager show -s --format=%ct > +_commit=24a5d2fe8b # git rev-parse --short HEAD > +_stamp=1574679696 # git --no-pager show -s --format=%ct > pkgdesc="Open source, feature rich metrics dashboard and graph editor" > url="https://grafana.com" > arch="x86_64" # Builds are slow on arm archs, x86 requires python2. > @@ -16,6 +16,7 @@ subpackages="$pkgname-openrc" > source="$pkgname-$pkgver.tar.gz::https://github.com/grafana/grafana/archive/v$pkgver.tar.gz > go.mod go.sum apk.go $pkgname.initd $pkgname.confd" > builddir=$srcdir > +options="!check" # Upstream will be given tests when they learn how to use them responsibly > > export GOPATH=${GOPATH:-$srcdir/go} > export GOCACHE=${GOCACHE:-$srcdir/go-build} > @@ -58,7 +59,7 @@ package() { > cp -r "$builddir/$pkgname-$pkgver/conf" "$builddir/$pkgname-$pkgver/public" "$pkgdir/usr/share/$pkgname/" > } > > -sha512sums="5499b0491bbdcc056b576f0e680798a8f9aeea3e3538d45d1cfe68bdc283579939e35ec3b8f921333c655c90b985e82a74635e9dcc356ced354b3305ce4efa79 grafana-6.4.4.tar.gz > +sha512sums="ba13149485f6b4a4d1de9740a33d46377c694e321d2a5d26bcbf452cad3a91cda54e9979a9aa112318918ae7c011ce1b47cb797bd01e481c506a9a81d1299f5e grafana-6.5.0.tar.gz > ee3e915c75aad9b80218f98c47eef418a5655a7dd4d7b3f6b1923aaca13a065b0f5b04ad92922d365ce84d1e0b2c700a434c315a18a363c25b8c23959892a449 go.mod > 10caa000cba330bb9e223c3072b492b2c88152f21f49a857ce498f5306a504c9fe6eaa271e971b004fa0adf937cf5e4c584f56dce9318b2aeab36c550396fb0a go.sum > 8fff794134b497c1d272ac69972bb468849007cb32b9255d792b74a58aea7be739d3db348da686a26fb092244c614a300dfffafb74c58a34a7c7505138158b19 apk.go > -- > 2.24.0