Changeset 1156 in ProjectBuilder for devel/pb/lib/ProjectBuilder


Ignore:
Timestamp:
Jan 13, 2011, 1:18:37 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Adds a global variable REVISION for version management
  • Do not return in pb_send2target if pb file not available in order to shutdown VM in all cases
  • Code and test sbx2setupvm
  • setup_v now needs a fake pb_version_init fct added at the end of the script
  • Fix pbdistrocheck install comand printing
  • Fix mandralinux old distro build in pb.conf (Note only non symlink release files are important)
Location:
devel/pb/lib/ProjectBuilder
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/CMS.pm

    r1153 r1156  
    2525# Inherit from the "Exporter" module which handles exporting functions.
    2626 
    27 use vars qw($VERSION @ISA @EXPORT);
     27use vars qw($VERSION $REVISION @ISA @EXPORT);
    2828use Exporter;
    2929 
     
    3333our @ISA = qw(Exporter);
    3434our @EXPORT = qw(pb_cms_init pb_cms_export pb_cms_get_uri pb_cms_copy pb_cms_checkout pb_cms_up pb_cms_checkin pb_cms_isdiff pb_cms_get_pkg pb_cms_get_real_pkg pb_cms_compliant pb_cms_log pb_cms_add);
    35 $VERSION = "$ProjectBuilder::Version::VERSION";
     35($VERSION,$REVISION) = pb_version_init();
    3636
    3737=pod
  • devel/pb/lib/ProjectBuilder/Changelog.pm

    r1148 r1156  
    2323# Inherit from the "Exporter" module which handles exporting functions.
    2424 
    25 use vars qw($VERSION @ISA @EXPORT);
     25use vars qw($VERSION $REVISION @ISA @EXPORT);
    2626use Exporter;
    2727 
     
    3131our @ISA = qw(Exporter);
    3232our @EXPORT = qw(pb_changelog);
    33 $VERSION = "$ProjectBuilder::Version::VERSION";
     33($VERSION,$REVISION) = pb_version_init();
    3434
    3535=pod
  • devel/pb/lib/ProjectBuilder/Env.pm

    r1148 r1156  
    2626# Inherit from the "Exporter" module which handles exporting functions.
    2727 
    28 use vars qw($VERSION @ISA @EXPORT);
     28use vars qw($VERSION $REVISION @ISA @EXPORT);
    2929use Exporter;
    3030 
     
    3434our @ISA = qw(Exporter);
    3535our @EXPORT = qw(pb_env_init pb_env_init_pbrc);
    36 $VERSION = "$ProjectBuilder::Version::VERSION";
     36($VERSION,$REVISION) = pb_version_init();
    3737
    3838=pod
  • devel/pb/lib/ProjectBuilder/Filter.pm

    r1148 r1156  
    2424# Inherit from the "Exporter" module which handles exporting functions.
    2525 
    26 use vars qw($VERSION @ISA @EXPORT);
     26use vars qw($VERSION $REVISION @ISA @EXPORT);
    2727use Exporter;
    2828 
     
    3232our @ISA = qw(Exporter);
    3333our @EXPORT = qw(pb_get_filters pb_filter_file_pb pb_filter_file_inplace pb_filter_file);
    34 $VERSION = "$ProjectBuilder::Version::VERSION";
     34($VERSION,$REVISION) = pb_version_init();
    3535
    3636=pod
Note: See TracChangeset for help on using the changeset viewer.