Changeset 2284 in ProjectBuilder for devel/pb/bin/pb
- Timestamp:
- Sep 4, 2017, 1:21:15 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r2279 r2284 503 503 # Url of the project 504 504 # 505 pb url:505 pbprojurl: 506 506 linuxcoe : cvs+ssh://:ext:bcornec@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe 507 507 … … 538 538 mondorescue: $ENV{'HOME'}/mondo/svn/pbconf 539 539 540 # pbdir points to the directory where the CMS content of the pb url is checked out540 # pbdir points to the directory where the CMS content of the pbprojurl is checked out 541 541 # If not defined, pbdir is under pbdefdir/pbproj 542 542 # Only defined if we have access to the dev of the project … … 575 575 =item Update your $project.yml configuration file. 576 576 577 You need to set the pb url, pbrepo, pbwf, pbpackager, projver, projtag, testver, delivery, and defpkgdir lines as described in the configuration file. The pburl entry is used to find the source for your package. The pbrepo entry is used to build the .repo or .sources.list files for use by downloaders of the package. The pbwf entry indicates that the source tar file is named by I<package-name>-I<version>. The pbpackager entry will be stored in the packages and should be you or your team. The projver/projtag entries indicate the version of the software and the version of the packaging scripts. The testver entry when true indicates that the package is in a test version, so no log file is computed (can be long), and version is made up using a timstamp. The delivery entry gives the subdirectory under which the packages will be delivered on the repository, and the defpkgdir entry corresponds to the local subdirectory hosting the package content.577 You need to set the pbprojurl, pbrepo, pbwf, pbpackager, projver, projtag, testver, delivery, and defpkgdir lines as described in the configuration file. The pbprojurl entry is used to find the source for your package. The pbrepo entry is used to build the .repo or .sources.list files for use by downloaders of the package. The pbwf entry indicates that the source tar file is named by I<package-name>-I<version>. The pbpackager entry will be stored in the packages and should be you or your team. The projver/projtag entries indicate the version of the software and the version of the packaging scripts. The testver entry when true indicates that the package is in a test version, so no log file is computed (can be long), and version is made up using a timstamp. The delivery entry gives the subdirectory under which the packages will be delivered on the repository, and the defpkgdir entry corresponds to the local subdirectory hosting the package content. 578 578 579 579 For example: 580 580 581 pb url Lintel = file:///home/anderse/projects/Lintel-0.2012.02.28.tar.gz581 pbprojurl Lintel = file:///home/anderse/projects/Lintel-0.2012.02.28.tar.gz 582 582 pbrepo Lintel = http://tesla.hpl.hp.com/opensource 583 583 pbwf Lintel = 1 … … 3542 3542 my ($scheme2,$uri) = pb_cms_init($pbinit); 3543 3543 3544 my ($pbconf,$pb url) = pb_conf_get("pbconfurl","pburl");3544 my ($pbconf,$pbprojurl) = pb_conf_get("pbconfurl","pbprojurl"); 3545 3545 $uri = $pbconf->{$ENV{'PBPROJ'}}; 3546 3546 my ($scheme, $account, $host, $port, $path) = pb_get_uri($uri); 3547 3547 3548 3548 # Checking CMS repositories status 3549 ($scheme2, $account, $host, $port, $path) = pb_get_uri($pb url->{$ENV{'PBPROJ'}});3549 ($scheme2, $account, $host, $port, $path) = pb_get_uri($pbprojurl->{$ENV{'PBPROJ'}}); 3550 3550 3551 3551 if ($scheme !~ /^svn/) { … … 3579 3579 3580 3580 # Duplicate and extract project 3581 my $newurl2 = "$pb url->{$ENV{'PBPROJ'}}/$newver";3582 3583 pb_log(2,"Copying $pb url->{$ENV{'PBPROJ'}}/$oldver to $newurl2\n");3584 pb_vcs_copy($scheme2,"$pb url->{$ENV{'PBPROJ'}}/$oldver",$newurl2);3581 my $newurl2 = "$pbprojurl->{$ENV{'PBPROJ'}}/$newver"; 3582 3583 pb_log(2,"Copying $pbprojurl->{$ENV{'PBPROJ'}}/$oldver to $newurl2\n"); 3584 pb_vcs_copy($scheme2,"$pbprojurl->{$ENV{'PBPROJ'}}/$oldver",$newurl2); 3585 3585 3586 3586 my $tmp = $ENV{'PBDIR'};
Note:
See TracChangeset
for help on using the changeset viewer.