[arch-dev-public] abs tree checker
travis at archlinux.org
Tue May 27 14:40:15 EDT 2008
On Tue, May 27, 2008 at 2:37 PM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> On Mon, May 26, 2008 at 6:00 PM, Xavier <shiningxc at gmail.com> wrote:
>> stonecrest wrote a very useful script in my opinion a while ago :
>> 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?
Sure - I probably won't get to it tonight though. I've starred this
in gmail, so hopefully I'll remember. ;)
Feel free to poke me relentlessly about it if I don't produce anything
before the end of the week.
More information about the arch-dev-public