X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 3CC2BDC1572 for ; Wed, 4 Nov 2015 13:01:31 +0000 (UTC) Received: from newmail.tetrasec.net (unknown [74.117.189.116]) by mail.alpinelinux.org (Postfix) with ESMTP id 00A09DC01B9 for ; Wed, 4 Nov 2015 13:01:30 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by newmail.tetrasec.net (Postfix) with ESMTPSA id 38CD05A01B9; Wed, 4 Nov 2015 12:50:57 +0000 (GMT) Date: Wed, 4 Nov 2015 14:01:27 +0100 From: Natanael Copa To: Christian Kampka Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH 1/2] testing/glock: new aport Message-ID: <20151104140127.1355eb81@ncopa-desktop.alpinelinux.org> In-Reply-To: References: <1445177115-5446-1-git-send-email-christian@kampka.net> <20151104091345.1f8aba66@ncopa-desktop.alpinelinux.org> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Wed, 04 Nov 2015 11:32:16 +0000 Christian Kampka wrote: > > > > On Sun, 18 Oct 2015 16:05:14 +0200 > > Christian Kampka wrote: > > > > > https://github.com/robfig/glock > > > > > > Glock is a command-line tool to lock dependencies to specific revisions, > > > using a version control hook to keep those revisions in sync across a > > team. > > > --- > > > testing/glock/APKBUILD | 67 > > ++++++++++++++++++++++++++++++++++++++++++++++++++ > > > 1 file changed, 67 insertions(+) > > > create mode 100644 testing/glock/APKBUILD > > > > I used the snapshot function and uploaded the tarball. > > > > However, the tarball I get must be different from the one you get. > > > > >>> glock: Checking sha512sums... > > glock-0.0.20151018.tar.gz: FAILED > > sha512sum: WARNING: 1 of 1 computed checksums did NOT match > > Because the remote file above failed the sha512sum check it will be > > deleted. > > Rebuilding will cause it to re-download which in some cases may fix the > > problem. > > Deleting: glock-0.0.20151018.tar.gz > > >>> ERROR: glock: all failed > > > > > > I suspect that go pulls in whatever happens to the latest git at that > > point of some dependency. > > > That is to be expected, actually, since the tarball is gzip, so no two > snapshots, although the may have identical content, will have different > checksums due to the fact that the gzip header contains (amongst other > things) a timestamp. > A simple solution would be to refactor the patch to use uncompressed tar as > the archive format, which will avoid this issue. > > > > Also, they have not made any releases, which indicates that 1) program > > is not ready for packaging, 2) program is not supposed to be packaged. > > > > I am not keen on packaging this program either. It is needed as a build > dependency of the dockerize package. > Since the dockerize package has a snapshot function as well (for dealing > with dependencies), I could easily remove this package by building glock > once in the dockerize snapshot function and apply it to generate the > snapshot. Since glock is not used for anything else, I think this might > also be a feasible solution. I'm ok with this. -nc --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---