wiki:WikiStart

Version 5 (modified by Bruno Cornec, 17 years ago) ( diff )

dscription of .pbrc for LinuxCOE

Welcome to Project-Builder Wiki

Design Ideas around the project-builder.org project

Since 2005 that I took over the maintenance of the MondoRescue project, I have passed time developing code on the periphery of the project to allow me to easily build packages from Subversion, deliver them, manage them, ...

I met a lot of Open Source project which are suffering from the same barrier for their adoption as mondo suffered in the past: without native packaging for your distribution you have much less people testing your software, trying it, less chance to be integrated in distributions, ...

Then I wanted to also work on another project called dploy.org which uses the great LinuxCOE. However that LinuxCOE project had exactly the same issue as previously mentioned, no packaging, on install from CVS, so smaller community. And in order for me to put something on a prouction server, I want it packaged :-)

So I decided it could be a good idea to reuse the scripts made for mondo to package LinuxCOE. However, they were too specific, even if the ideas could be reused (that was my 3rd generation of build scripts, so ideas were more advanced than the code).

Technical ideas around the project-builder.org (aka pb) project

  • use perl. It makes coding so more efficient, powerful and also fun
  • use AppConfig. A lot of information is managed under a configuration file format and AppConfig makes it tivial to handle them.

Example of use on LinuxCOE

When the project was mature enough to package correctly mondorescue and itself, I then decided it was time to try it on another unrelated project to see how difficult it could be and document that experience so that others could also begin to use pb for their own project.

You first have to create a .pbrc configuration file in your home directory, which will setup things globally.

Here are my .pbrc LinuxCOE relative entries:

#
# Root of the temp file used to store info on the project
# Is also used to determine the root directory of the project
# No default option allowed here as they need to be all different
#
pbrc linuxcoe = /users/bruno/LinuxCOE/cvs/pbrc
#
# Which CMS system is used
#
cms linuxcoe = cvs
cms default = svn
#
# Packager label
#
packager linuxcoe = "Bruno Cornec <bruno@project-builder.org>"
#
# For CVS managed projects
# (Optional)
#
cvsroot linuxcoe = ":pserver:anonymous@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe"

Concerning trac

For a complete list of local wiki pages, see TitleIndex.

Trac is brought to you by Edgewall Software, providing professional Linux and software development services to clients worldwide. Visit http://www.edgewall.com/ for more information.

Note: See TracWiki for help on using the wiki.