X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by lists.alpinelinux.org (Postfix) with ESMTP id 810915C382C for ; Fri, 30 Jun 2017 06:21:42 +0000 (GMT) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 447BA9E22D1; Fri, 30 Jun 2017 06:21:42 +0000 (GMT) Received: from ncopa-desktop.copa.dup.pw (15.63.200.37.customer.cdi.no [37.200.63.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 3B3079E20AC; Fri, 30 Jun 2017 06:21:40 +0000 (GMT) Date: Fri, 30 Jun 2017 08:21:36 +0200 From: Natanael Copa To: Jakub Jirutka Cc: Tmp File , alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Script to parse APKBUILDS and output table of arch support Message-ID: <20170630082136.4399de3a@ncopa-desktop.copa.dup.pw> In-Reply-To: <20170630081454.019fa6e4@ncopa-desktop.copa.dup.pw> References: <315008DD-D5EB-4369-8A80-F46F10DC528A@jirutka.cz> <20170630081454.019fa6e4@ncopa-desktop.copa.dup.pw> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel 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 On Fri, 30 Jun 2017 08:14:54 +0200 Natanael Copa wrote: > > We already have library for sort of programmatic reading of > > APKBUILDs: https://github.com/alpinelinux/lua-aports > > . It basically just > > evaluates every APKBUILD, prints and parsers the selected variables. > > This is used e.g. in pkgs.a.o. > > I started on a aports-cache project while on the plane. Its a small C > program (soon library) that parses all the APKBUILDs and writes a yaml > output file. It compares the timepstams on the APKBUILDs and update the > cache if needed. https://git.alpinelinux.org/cgit/user/ncopa/aports-cache/ -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---