Changeset 2284 in ProjectBuilder for devel/pb-modules
- Timestamp:
- Sep 4, 2017, 1:21:15 PM (7 years ago)
- Location:
- devel/pb-modules
- Files:
-
- 1 deleted
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/etc/pb.yml.pod
r2283 r2284 633 633 634 634 635 =item B<pb url>636 637 Nature: Optional 638 Key: project (as defined in the -p option or PBPROJ environment variable) 639 Value: B<pb url> giving access to where the project is stored. Normaly provided by the project, but could be overloaded for specific authentication information in the home configuration file or when using a DVCS635 =item B<pbprojurl> 636 637 Nature: Optional 638 Key: project (as defined in the -p option or PBPROJ environment variable) 639 Value: B<pbprojurl> giving access to where the project is stored. Normaly provided by the project, but could be overloaded for specific authentication information in the home configuration file or when using a DVCS 640 640 Conffile: home|project 641 Example: pb url linuxcoe = cvs+ssh://:ext:user@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe, pburl pb = svk:////local/pb641 Example: pbprojurl linuxcoe = cvs+ssh://:ext:user@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe, pbprojurl pb = svk:////local/pb 642 642 643 643 =item B<pbusesshagent> -
devel/pb-modules/lib/ProjectBuilder/Env.pm
r2267 r2284 109 109 # 110 110 # We have commit acces to these 111 # pb url:111 # pbprojurl: 112 112 # example: cvs+ssh://user\@example.cvs.sourceforge.net:/cvsroot/example 113 # pb url:113 # pbprojurl: 114 114 # pb: svn+ssh://svn.project-builder.org/mondo/svn/pb 115 115 # … … 212 212 pb_vcs_conf_update_v0("$p->{$ENV{'PBPROJ'}}/.pbrc","$p->{$ENV{'PBPROJ'}}/.pbrc.yml"); 213 213 pb_conf_add("$p->{$ENV{'PBPROJ'}}/.pbrc.yml"); 214 my ($pb url) = pb_conf_get("pburl");215 my ($scheme, $account, $host, $port, $path) = pb_get_uri($pb url->{$ENV{'PBPROJ'}});214 my ($pbprojurl) = pb_conf_get("pbprojurl"); 215 my ($scheme, $account, $host, $port, $path) = pb_get_uri($pbprojurl->{$ENV{'PBPROJ'}}); 216 216 #pb_vcs_add_if_not_in($scheme,"$p->{$ENV{'PBPROJ'}}/.pbrc.yml"); 217 217 } … … 465 465 # What is the project URL 466 466 # 467 # pb url:467 # pbprojurl: 468 468 # $ENV{'PBPROJ'}: svn://svn.$ENV{'PBPROJ'}.org/$ENV{'PBPROJ'}/devel 469 469 # $ENV{'PBPROJ'}: svn+ssh://user\@svn.$ENV{'PBPROJ'}.org/$ENV{'PBPROJ'}/devel -
devel/pb-modules/lib/ProjectBuilder/VCS.pm
r2268 r2284 757 757 pb_conf_update_v0($orig,$dest); 758 758 # Adding this new file to VCS (not removing the previous one) 759 my ($pb url) = pb_conf_get("pburl");760 my ($scheme, $account, $host, $port, $path) = pb_get_uri($pb url->{$ENV{'PBPROJ'}});759 my ($pbprojurl) = pb_conf_get("pbprojurl"); 760 my ($scheme, $account, $host, $port, $path) = pb_get_uri($pbprojurl->{$ENV{'PBPROJ'}}); 761 761 pb_vcs_add_if_not_in($scheme,$dest); 762 762 }
Note:
See TracChangeset
for help on using the changeset viewer.