[arch-dev-public] abs tree checker

Aaron Griffin aaronmgriffin at gmail.com
Tue May 27 14:37:14 EDT 2008

On Mon, May 26, 2008 at 6:00 PM, Xavier <shiningxc at gmail.com> wrote:
> Hello,
> stonecrest wrote a very useful script in my opinion a while ago :
> http://www.archlinux.org/pipermail/arch/2007-November/016238.html
> However, it hasn't been updated since the svn move and the new abs.
> It had a feature to fetch the abs tree itself, using csup directly. But
> anyway it is not required, abs can be used manually instead, so I just
> removed that part.
> The second problem is the directory structure, which is now different for
> core/extra/etc, where the package dir are on the first level, compared to
> community which still has the old layout with an additional level of
> category. This breaks the following function :
> def repo_from_path(path):
>        return path.split("/")[-4]
> It should be -4 for community and -3 for the rest.
> Instead I just used 3, but it will only work on /var/abs/ tree (or any other
> structure with just 2 directory levels).
> Anyway, this was just two quick hacks to get the script working again and
> see what were its results now. And it is still far from perfect :)
> I think this script is something that packagers (of the official repos)
> should check regularly to ensure the quality of arch pkgbuilds and packages.

I think I might add this in to this set of "repo maintenance" cron
jobs so that it will email the dev list once a day. It's definitely
worth it.

I just checked it in in the dbscripts repo.
(Thanks Scott)

Travis, would you mind taking a look at this and patching it to work
over the /home/abs tree on gerolde?

More information about the arch-dev-public mailing list