[buildd-tools-devel] [GIT] sbuild branch, master, updated. debian/sbuild-0.60.5-1-66-gc54783e
Roger Leigh
rleigh at alioth.debian.org
Sun Dec 5 12:02:32 UTC 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "sbuild".
The branch, master has been updated
via c54783ee80cd23d6788cffe8e96762a6ef5649a4 (commit)
via 92387d628eff77060a3e1760d200725a8adf7306 (commit)
via 7ca3c48a12b75e418637b039e6187cc3d19b2f6f (commit)
via 1f98891e8265301f473a177ea08f76b016574543 (commit)
via fbbb757e2f3fdb3ed9a09348034e3c3e24463464 (commit)
via f35040b9ed97070de9864ce9f5d6d73a4fe6585e (commit)
from 881c53590bbb9af2f366e8ab6d53e3019849c9d9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c54783ee80cd23d6788cffe8e96762a6ef5649a4
Author: Roger Leigh <rleigh at debian.org>
Date: Sun Dec 5 11:52:19 2010 +0000
Sbuild::ConfBase: Don't use as a base class
Currently, different configuration classes derive from Sbuild::ConfBase
and implement virtual functions to register their configuration
defaults (allowed keys) and read any configuration files. This is
rather inflexible, because it means that it's hard to use a single
configuration object to read multiple configuration files. Currently,
there are nasty hacks to support e.g. wanna-build configuration from
Sbuild::DB::ClientConf in both Sbuild::Conf and Buildd::Conf. This
also make it difficult to read in alternative configuration files,
for example for regression testing, where the system and user
configuration should not be read.
This change turns all the derived classes into simple library
functions. Each one implements a setup() function to register allowed
keys, and one or more read/read_hash functions to read configuration
from a file or hash into the Sbuild::ConfBase object. This means
that multiple setup() functions may be called to register multiple
sets of configuration keys, and multiple files may be read.
commit 92387d628eff77060a3e1760d200725a8adf7306
Author: Roger Leigh <rleigh at debian.org>
Date: Sun Dec 5 11:34:52 2010 +0000
bin: sbuild-* wrappers don't need absolute paths
commit 7ca3c48a12b75e418637b039e6187cc3d19b2f6f
Author: Roger Leigh <rleigh at debian.org>
Date: Sun Dec 5 11:25:54 2010 +0000
Sbuild::Build: update() uses the dependency resolver
commit 1f98891e8265301f473a177ea08f76b016574543
Author: Roger Leigh <rleigh at debian.org>
Date: Sun Dec 5 11:25:23 2010 +0000
Sbuild::Build: Initialise install start and end times
commit fbbb757e2f3fdb3ed9a09348034e3c3e24463464
Author: Roger Leigh <rleigh at debian.org>
Date: Sun Dec 5 11:24:11 2010 +0000
test: Add additional sbuild helper tests
Add tests for sbuild-hold/unhold, sbuild-stats, sbuild-update,
sbuild-distupgrade, sbuild-clean and sbuild.
Update sbuild-upgrade.
commit f35040b9ed97070de9864ce9f5d6d73a4fe6585e
Author: Roger Leigh <rleigh at debian.org>
Date: Fri Dec 3 11:40:13 2010 +0000
Sbuild: Move check_group_membership here
This check does not depend upon configuration at all, and is
no longer done when reading the configuration file.
-----------------------------------------------------------------------
Summary of changes:
bin/buildd | 4 +-
bin/buildd-mail | 4 +-
bin/buildd-uploader | 4 +-
bin/buildd-vlog | 4 +-
bin/buildd-watcher | 4 +-
bin/sbuild | 7 +-
bin/sbuild-abort | 8 +-
bin/sbuild-adduser | 4 +-
bin/sbuild-apt | 8 +-
bin/sbuild-checkpackages | 12 +-
bin/sbuild-clean | 2 +-
bin/sbuild-createchroot | 23 +-
bin/sbuild-debuild | 26 +-
bin/sbuild-distupgrade | 2 +-
bin/sbuild-hold | 8 +-
bin/sbuild-shell | 8 +-
bin/sbuild-stats | 28 +-
bin/sbuild-unhold | 8 +-
bin/sbuild-update | 28 +-
bin/sbuild-upgrade | 2 +-
bin/wanna-build | 2 +-
bin/wanna-build-mail | 2 +-
configure.ac | 33 ++
lib/Buildd/Conf.pm | 136 ++++----
lib/Buildd/Daemon.pm | 2 +-
lib/Buildd/DistConf.pm | 49 ++--
lib/Buildd/Mail.pm | 2 +-
lib/Buildd/UploadQueueConf.pm | 47 ++--
lib/Buildd/Uploader.pm | 2 +-
lib/Buildd/Watcher.pm | 2 +-
lib/Sbuild.pm | 33 ++-
lib/Sbuild/Build.pm | 5 +-
lib/Sbuild/Chroot.pm | 1 -
lib/Sbuild/ChrootInfo.pm | 1 -
lib/Sbuild/ChrootPlain.pm | 1 -
lib/Sbuild/ChrootRoot.pm | 1 -
lib/Sbuild/Conf.pm | 374 +++++++++----------
lib/Sbuild/ConfBase.pm | 8 +-
lib/Sbuild/DB/ClientConf.pm | 34 +-
lib/Sbuild/Options.pm | 1 -
lib/Sbuild/OptionsBase.pm | 1 -
lib/Sbuild/Utility.pm | 2 -
lib/WannaBuild/Conf.pm | 90 +++--
lib/WannaBuild/Database.pm | 2 +-
test/Makefile.am | 30 ++-
test/{sbuild-update.in => sbuild-checkpackages.in} | 6 +-
test/{sbuild-update.in => sbuild-clean.in} | 6 +-
test/{sbuild-update.in => sbuild-distupgrade.in} | 6 +-
test/{sbuild-update.in => sbuild-hold.in} | 6 +-
test/{perl-syntax.in => sbuild-stats.in} | 10 +-
test/sbuild-update.in | 4 +-
test/{sbuild-update.in => sbuild-upgrade.in} | 6 +-
test/{sbuild-update.in => sbuild.in} | 7 +-
53 files changed, 567 insertions(+), 539 deletions(-)
copy test/{sbuild-update.in => sbuild-checkpackages.in} (78%)
mode change 100644 => 100755
copy test/{sbuild-update.in => sbuild-clean.in} (77%)
copy test/{sbuild-update.in => sbuild-distupgrade.in} (77%)
copy test/{sbuild-update.in => sbuild-hold.in} (78%)
mode change 100644 => 100755
copy test/{perl-syntax.in => sbuild-stats.in} (75%)
mode change 100644 => 100755 test/sbuild-update.in
copy test/{sbuild-update.in => sbuild-upgrade.in} (77%)
mode change 100644 => 100755
copy test/{sbuild-update.in => sbuild.in} (71%)
mode change 100644 => 100755
hooks/post-receive
--
sbuild
More information about the Buildd-tools-devel
mailing list