[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Autobuild script ?



Op wo 29-01-2003, om 01:11 schreef Thomas Graham:
> Does anyone know where can I get the debian package
> autobuild script ? Thanks...

You mean the stuff that autobuilds packages for our different
architectures? the source is available through CVS, more information at
http://m68k.debian.org

... which won't be that clear if you don't have a basic grasp of how buildd 
et al work. So:

- A central database contains per-architecture information on what packages are
available, what packages need to be built, failure logs, and more. This database
is interfaced through 'wanna-build'.
- Multiple systems run 'buildd', a daemon that periodically logs in through ssh
on auric to run wanna-build there, marks unbuilt packages as building, and invokes
sbuild with the names and version numbers of those packages as arguments.
- sbuild downloads the source for the wanted packages, installs the build-dependencies
in a chroot environment, and starts the build. The output of that build is mailed to
the buildd admin.
- The admin checks the logs and replies with a cryptographically signed .changes file
for successful builds, and instructions on what to do with failed builds.
- buildd-mailer parses those mails, moving successful builds to the upload/ directory,
and operating on the wanna-build database for less successful builds.
- buildd-uploader is intended to be run from cron, and uploads files in the upload/
directory to the right incoming queue.

-- 
wouter at grep dot be
"An expert can usually spot the difference between a fake charge and a
full one, but there are plenty of dead experts." 
  -- National Geographic Channel, in a documentary about large African beasts.



Reply to: