X-Original-To: alpine-devel@lists.alpinelinux.org Received: from bonobo.birch.relay.mailchannels.net (bonobo.birch.relay.mailchannels.net [23.83.209.22]) by lists.alpinelinux.org (Postfix) with ESMTP id C1D825C421E for ; Thu, 18 Aug 2016 18:45:51 +0000 (GMT) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B5515E0DEB for ; Thu, 18 Aug 2016 18:45:50 +0000 (UTC) Received: from ocean.mxroute.com (ip-10-120-4-226.us-west-2.compute.internal [10.120.4.226]) by relay.mailchannels.net (Postfix) with ESMTPA id 00C15E0D96 for ; Thu, 18 Aug 2016 18:45:49 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from ocean.mxroute.com (ocean.mxroute.com [10.45.13.172]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.7.6); Thu, 18 Aug 2016 18:45:50 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: mxroute|x-authuser|developer@it-offshore.co.uk X-MailChannels-Auth-Id: mxroute X-MC-Loop-Signature: 1471545950258:3852631480 X-MC-Ingress-Time: 1471545950258 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=it-offshore.co.uk; s=default; h=Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:To:References:Subject:Reply-To:Sender:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ms0TwJxKFAWrxOMaqxveYPTbcVcm5WLzc+IRaVOPIvw=; b=aLlBr+ASA/PztMyZsndNnqfg+ wLYcsmjQATfMaSmAmiOiXj3WMVAqqI0IXcVO45xKWkE0ymFLaDbulVQ+CuG/nK0eMFPs//LVNv8XD hlE8UoJ17wcrG6DRH7I5MPf4KrWfoCFMHYVz2v3K+xR+HoI0o+dOP61sb0M2dagdijHxvvBOdKVsh jOx/08Ok1zNMdvcZW6vwG2cqtOrkxsu23sWWQlqMymQLV/dfz037+HnalltaVg7MJx5rJzN2S6dg1 M6ei6nDVHcC5KaVz2WDhv2mXaj8Hi8PiuZxeEI12JNrJOgQvwdaGvc3rPKqVopPodGwoQ7Zs14WZw rbLKoRW4Q==; Reply-To: developer@it-offshore.co.uk Subject: Re: [alpine-devel] Re: Cleanup of testing repository References: To: alpine-devel@lists.alpinelinux.org From: Stuart Cardall Message-ID: <7353a507-ceb4-f9c6-1a58-3a3e7cfe5c67@it-offshore.co.uk> Date: Thu, 18 Aug 2016 19:45:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------0AD39E372B769E66D6981DF7" X-AuthUser: developer@it-offshore.co.uk This is a multi-part message in MIME format. --------------0AD39E372B769E66D6981DF7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This script may be helpful to other maintainers. Run as: scriptname -------> (dry run by default) scriptname errors ----> (show any errors) scriptname commit --------> actually move stuff (skipping errors) A list of package names is written to $output ------------------------------------------------------------------------ #!/bin/sh searchstr=3D"Your Name " old_repo=3Dtesting new_repo=3Dcommunity output=3D/tmp/pkglist list() { grep "$searchstr" ~/aports/$old_repo/*/APKBUILD | grep "Maintainer" | awk '{print $1}' |tr -d :# | sed 's|/APKBUILD||' } pkg() { rm -f $output 2>/dev/null for pkg in $(list); do basename $pkg >> $output done cat $output } gitmv() { for pkg in $(list); do new_pkg=3D$(echo $pkg | sed "s|$old_repo|$new_repo|") git mv ${TEST} $pkg $new_pkg done echo -e "\nCMD =3D git mv $TEST\n" } case "$1" in pkg) pkg;; errors) TEST=3D"--dry-run"; gitmv | grep ^fatal;; commit) pkg; TEST=3D"-k"; gitmv;; *) pkg; TEST=3D"--dry-run"; gitmv;; esac ------------------------------------------------------------------------ Stuart. On 08/17/2016 10:35 PM, Carlo Landmeter wrote: > > > On 17 August 2016 at 12:47, Carlo Landmeter > wrote: > > Hi, > > I have been rebuilding world for our new aarch64 architecture. > While main and community repositories are in good shape, testing > really is not. > We currently have 1832 aports in testing of which 437 fail to > build: http://tpaste.us/GVV8 > > > I'm sorry to report that the list of failed packages up to > enlightenment/src can be incorrect. this happens because > "abuild sourcecheck" is somehow defective and I have tried to trial > run "abuild checksum" to verify its behavior. > Please also keep in mind this list is generated by our new aarch64 > builder, so the result on any other arch can be different. > > -carlo > --------------0AD39E372B769E66D6981DF7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

This script may be helpful to other maintainers.

Run as: scriptname=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -------> (dry r= un by default)

=C2=A0=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 scriptname errors=C2=A0=C2=A0=C2=A0=C2=A0 ----> (show any errors)

=C2=A0=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 scriptname commit=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 --------> actu= ally move stuff (skipping errors)

A list of package name= s is written to $output


#!/bin/sh

searchstr=3D"Your Name <you@domain.com>"
old_repo=3Dtesting
new_repo=3Dcommunity
output=3D/tmp/pkglist

list() {
=C2=A0=C2=A0=C2=A0 grep "$searchstr" ~/aports/$old_repo/*/APKBUILD = | grep "Maintainer" | awk '{print $1}' |tr -d :# | sed 's|/APKBUILD||'
}

pkg() {
=C2=A0=C2=A0=C2=A0 rm -f $output 2>/dev/null
=C2=A0=C2=A0=C2=A0 for pkg in $(list); do
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 basename $pkg >> $outpu= t
=C2=A0=C2=A0=C2=A0 done
=C2=A0=C2=A0=C2=A0 cat $output
}

gitmv() {
=C2=A0=C2=A0=C2=A0 for pkg in $(list); do
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 new_p= kg=3D$(echo $pkg | sed "s|$old_repo|$new_repo|")
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 git m= v ${TEST} $pkg $new_pkg
=C2=A0=C2=A0=C2=A0 done
=C2=A0=C2=A0=C2=A0 echo -e "\nCMD =3D git mv $TEST\n"
}

case "$1" in
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 =C2=A0 pkg)= pkg;;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 errors) TEST=3D"--= dry-run"; gitmv | grep ^fatal;;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 commit) pkg; TEST=3D"-k"; gitmv;; =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0=C2=A0 *) pkg; TEST=3D"--dry-run"; gitmv;;
esac



Stuart.






On 08/17/2016 10:35 PM, Carlo Landmete= r wrote:


On 17 August 2016 at 12:47, Carlo Landmeter <cl= andmeter@gmail.com> wrote:
Hi,

I have been rebuilding world for our new aarch64 architecture. While main and community repositories are in good shape, testing really is not.
We currently have 1832=C2=A0aports in testing of whi= ch 437 fail to build: http= ://tpaste.us/GVV8

I'm sorry to report that the list of failed packages up to enlightenment/src can be incorrect. this happens because "abuild=C2=A0sourcecheck" is somehow defective and = I have tried to trial run "abuild checksum" to verify its behavior.
Please also keep in mind this list is generated by our new aarch64 builder, so the result on any other arch can be different.

-carlo


--------------0AD39E372B769E66D6981DF7-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---