Changes between Version 4 and Version 5 of WikiStart


Ignore:
Timestamp:
Sep 4, 2007, 8:09:11 PM (17 years ago)
Author:
Bruno Cornec
Comment:

dscription of .pbrc for LinuxCOE

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v4 v5  
    77I 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, ...
    88
    9 Then I wanted to also work on another project called [ http://trac.dploy.org dploy.org] which uses the great [http://www.LinuxCOE.org 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 :-)
     9Then I wanted to also work on another project called [http://trac.dploy.org dploy.org] which uses the great [http://www.LinuxCOE.org 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 :-)
    1010
    1111So 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).
     
    1515 * use perl. It makes coding so more efficient, powerful and also fun
    1616 * use AppConfig. A lot of information is managed under a configuration file format and AppConfig makes it tivial to handle them.
     17
     18= Example of use on LinuxCOE =
     19
     20When 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.
     21
     22You first have to create a .pbrc configuration file in your home directory, which will setup things globally.
     23
     24Here are my .pbrc LinuxCOE relative entries:
     25{{{
     26#
     27# Root of the temp file used to store info on the project
     28# Is also used to determine the root directory of the project
     29# No default option allowed here as they need to be all different
     30#
     31pbrc linuxcoe = /users/bruno/LinuxCOE/cvs/pbrc
     32#
     33# Which CMS system is used
     34#
     35cms linuxcoe = cvs
     36cms default = svn
     37#
     38# Packager label
     39#
     40packager linuxcoe = "Bruno Cornec <bruno@project-builder.org>"
     41#
     42# For CVS managed projects
     43# (Optional)
     44#
     45cvsroot linuxcoe = ":pserver:anonymous@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe"
     46}}}
     47
     48
    1749
    1850== Concerning trac ==