Demo of project-builder.org
===========================

# First demonstrate the way of working for pb itself
cd ~/local/pb|~/pb
# Show the various versions available in this SVK exported dir
ls
# get the current tag of the SVK repository
svk info|svn info

# get the current version of project-builder
rpm -q project-builder
pb --help

# Decide to build a package for project-builder based on that devel version
# to replace the one currently installed
pb -p pb -r devel cms2build

# Show the upstream part
tar tvfz /home/bruno/local/pb/delivery/project-builder-devel.tar.gz

# Show the pb specific part
tar tvfz /home/bruno/local/pb/delivery/project-builder-devel.pbconf.tar.gz

# Now make the packages
pb -p pb build2pkg

# Look at the latest pckges created
ls -altrg /home/bruno/local/pb/build/RPMS/noarch

# Install the generated packages
sudo urpmi /home/bruno/local/pb/build/RPMS/noarch/*.rpm

# Check that it's the right one
rpm -q project-builder
pb --help

# Now  show how easy it's to build for another distro in a VM
ls /home/qemu
pb -p pb -m ubuntu-9.04-i386 build2vm
# Now  show how easy it's to build for another distro in a VE
ls /home/rinse
pb -p pb -m centos-5-i386 build2ve

# Now  show how easy it's to build for another project for which I'm upstream
pb -p mondorescue -m centos-5-i386 cms2ve
# Now  show how easy it's to build for another project for which I'm not upstream with patches
pb -p afio -r 2.5 -m centos-5-i386 cms2ve

# Look at conf files
cat ~/.pbrc
cat /home/rinse/.pbrc
cat ~/pb/projects/afio/pbconf/2.5/afio.pb
ls -R ~/pb/projects/afio/pbconf/2.5/
