Create more, work less
Posted on 2008-07-18 14:06:29 EEST.
Providing easy to install binary packages for users and developers is not funny task, but also it's very important step in software development process.
Recently, I blogged about new binary packages for Midgard. And instead of waiting for feedback I decided to go few steps further. And just today we started to serve Midgard from three different repositories. One is for stable release, second for upcoming 1.9 which contains automatically built packages for developers, and third one is reserved for stable 1.9 release.
Packages are built at opensuse build system ( OBS ), and now we support debian, ubuntu and opensuse distros. Both 32bit and 64bit environments. Soon, we'll add support for CentOS and Fedora Core.
To test packages add to sources.list:
Debian:
http://download.opensuse.org/repositories/home:/midgardproject:/midgard19-dev/Debian_Etch ./
Ubuntu:
http://download.opensuse.org/repositories/home:/midgardproject:/midgard19-dev/xUbuntu_8.04 ./
You can also use OBS search functionality to find package and install it with one click. Just type 'midgard' and select distribution you use.
It's worth mentioning that new build process is fully automated. The script which is invoked periodically on machine acts like automated release manager and looks like this:
Get latest sources:
svn co https://svn.midgard-project.org/midgard/branches/branch-1-9/midgard obsmidgard
Go to sources directory
cd obsmidgard
Create tarballs and set default version to all packages.
./makedist
Login into OBS, remove old tarballs and upload new ones. Trigger rebuild.
php obs_upload.php
Clean all when it's done.
cd -
rm -rf obsmidgard
It's enough to commit changes to svn if anything must be changed. Script will use new functionalities when running next time.
Once we can find this usefull, we're going to create new repositories. For Midgard2.