Mail archive
alpine-devel

Re: [alpine-devel] Re: Cleanup of testing repository

From: Stuart Cardall <developer_at_it-offshore.co.uk>
Date: Thu, 18 Aug 2016 19:45:42 +0100

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="Your Name <you_at_domain.com>"
old_repo=testing
new_repo=community
output=/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=$(echo $pkg | sed "s|$old_repo|$new_repo|")
            git mv ${TEST} $pkg $new_pkg
    done
    echo -e "\nCMD = git mv $TEST\n"
}

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

------------------------------------------------------------------------

Stuart.






On 08/17/2016 10:35 PM, Carlo Landmeter wrote:
>
>
> On 17 August 2016 at 12:47, Carlo Landmeter <clandmeter_at_gmail.com
> <mailto:clandmeter_at_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 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
>




---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu Aug 18 2016 - 19:45:42 GMT