Project Info Ideas

bauerbill

An extension of Powerpill which brings download acceleration, ABS, AUR, CPAN and Hackage support to Pacman, among other things.

Package Information

Latest version:2010.02.17.1
Source files:bauerbill-2010.02.17.1.tar.gz
Man page:http://xyne.archlinux.ca/manpages/bauerbill
Binary package:bauerbill-2010.02.17.1-2-any.pkg.tar.gz [xyne-any]
Repos:[xyne-any]
PKGBUILD etc:http://xyne.archlinux.ca/pkgbuilds/bauerbill
TAURball:bauerbill.tar.gz
AUR page:http://aur.archlinux.org/packages.php?ID=33511
Arch forum thread:http://bbs.archlinux.org/viewtopic.php?id=88247

About

Bauerbill is an extension of Powerpill that supports downloading and building packages from ABS, the AUR. and CPAN. As an extension of Powerpill it supports download acceleration via parallel and segmented downloads, including for source files when building packages. It also includes internal support for Reflector, Rebase and PkgD. Read the bauerbill and powerpill man pages for a more information.

Quick Feature Overview

Caveat for CPAN Users

Some of the official Arch Linux Perl packages do not specify their full provides array. This breaks dependency checking for Pacman for several packages and it must be fixed by the packager. To get around this, you can use pacpan to patch the local database while waiting for the packagers to update their packages. You must do this if you wish to avoid problems while using CPAN support in Bauerbill.

In particular, look at pacpan's "--check-local" and "--fix-provides" options to check the correctness and fix the provides arrays of installed packages, respectively.

Various Command Examples

Upgrade the entire system as root, syncing the database with Rebase and building all target packages from source as user "me":

bauerbill -Syu --rebase --abs --build-as me

Same as above, but including AUR packages and without inspecting ABS package or packages from Xyne on the AUR:

bauerbill -Syu --rebase --abs --build-as me --aur --trust-abs --trusted-user xyne

Same as above, but including AUR packages and without inspecting ABS package or packages from Xyne on the AUR:

bauerbill -Syu --rebase --abs --build-as me --aur --trust-abs --trusted-user xyne

Download all upgradable packages to /tmp/cache without installing them, using the 45 most up-to-date mirrors:

bauerbill -Suw --reflect "-l 45" --cachedir /tmp/cache

List all available upgrades, including AUR packages:

bauerbill -Qu --aur

Search for the CPAN package which contains the "Crypt::Util" modules (example 1):

bauerbill -Ss --cpan Crypt::Util

(example 2):

bauerbill -Ss --cpan perl-crypt-util

Search for information on perl-config-general in the AUR and on CPAN:

bauerbill -Si perl-config-general --aur --cpan

Example output:

Repository     : CPAN
Name           : perl-config-general
Version        : 2.44
Description    : CPAN package (no description found)
URL            : http://search.cpan.org/dist/Config-General/
Licenses       : unknown
Architecture   : i686 x86_64
Packager       : Xyne::Arch::CPAN
Groups         : None
Provides       : perl-config-general-extended=2.03 perl-config-general-interpolated=2.11
Depends On     : perl-file-glob perl-file-spec-functions perl-filehandle perl-io-file
Build Deps     : None
Optional Deps  : None
Conflicts With : None
Replaces       : None

Repository     : AUR
ID             : 10433
Name           : perl-config-general
Version        : 2.44-1
Description    : Generic config file parser
URL            : http://search.cpan.org/dist/Config-General/
AURPage        : http://aur.archlinux.org/packages.php?ID=10433
URLPath        : http://aur.archlinux.org/packages/perl-config-general/perl-config-general.tar.gz
License        : GPL PerlArtistic
CategoryID     : 10
LocationID     : 2
NumVotes       : 62
OutOfDate      : 0

Again, check the man page above for the full list of options. Also note that most of these can be set in the configuration file to avoid typing them on the command line each time. Remember that Bauerbill, like Powerpill, is a Pacman wrapper. All pacman operations and options should work normally.

The Name

As this is an extension of Powerpill, I wanted a name that was reminiscent of Powerpill. I toyed with the idea of "Paurpill", the pronunciation of which can be pulled towards "powerpill" (or "purple"), but when I tried to get "abs" in the name, Bauerbill jumped right up at me. "Bauen" means "build" in German (including the abstract senses) and literally a "bauer" is a builder, although it mostly means "farmer" in modern German. Still, "Bauerbill" can be taken to mean "Builder Bill", which made me think of Bob the Builder (Bob der Baumeister in German). It can also be read negatively as Bill the Boor too, but hey. Let's hope it does more building than booring.

Terminology

Taurball

A tarball containing a PKGBUILD and local source files required by makepkg to build the package. The name comes from t-AUR-ball, as one uploads these archives to the AUR.

TODO

With varying levels of motivation:

FAQ

Can you change the output to match (pacman-color|yaourt|something else)'s output?

This is somewhat problematic because not everyone uses the same wrappers/binaries. If I hardcode the output to match one, then others will notice that it jars with their normal output. Detecting the expected output on each system would just add unnecessary complexity to the code and require updates whenever a new wrapper/binary appears or an existing one changes. I'm still (lazily) considering ways to enable customization of the output so that each user can decide for him-/herself how to format the output.

Why doesn't pacman-color seem to work?

It does. The problem is that some output which mixes the results of repo and AUR results is generated by bauerbill itself, i.e. not by pacman-color. This output emulates default pacman output (i.e. no colors) so it seems like pacman-color is completely ignored. This is related to the issue above with customization of the output.

Valid XHTML 1.0 Strict
Unicode Encoded Badge