- Timestamp:
- Sep 4, 2017, 1:21:22 PM (7 years ago)
- Location:
- devel/pb-modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/etc/pb.yml.pod
r2290 r2292 1148 1148 =item B<pb Directories> 1149 1149 1150 In order to use project-builder.org to build packages for a project, you need to declare certain directories in your configurationfile, and two URLS, as defined in the previous paragraph, linked to them. 1150 In order to use project-builder.org to build packages for a project, you need to declare certain directories in your configuration file, and two URLS, as defined in the previous paragraph, linked to them. 1151 1152 Tree will look like this: 1153 1154 maint pbdefdir PBDEFDIR dev dir (optional) 1155 | | 1156 ------------------------ -------------------- 1157 | | | | 1158 pbproj1 pbproj2 PBPROJ pbproj1 pbproj2 PBPROJDIR 1159 | | 1160 --------------------------------------------- ---------- 1161 * * * | | | * * 1162 tag dev pbconf ... pbbuild pbdelivery PBCONFDIR dev tag 1163 | | | PBDESTDIR | 1164 --- ------ pbrc.yml PBBUILDDIR ------- 1165 | | | | | 1166 1.1 dev tag 1.0 1.1 PBDIR 1167 | 1168 ------- 1169 | | 1170 1.0 1.1 PBROOTDIR 1171 | 1172 ---------------------------------- 1173 | | | | 1174 pkg1 pbproj1.yml pbfilter pbcl 1175 | 1176 ----------------- 1177 | | | 1178 rpm deb pbfilter 1179 1180 1181 (*) By default, if no relocation in .pbrc.yml, dev dir is taken in the maint pbdefdir (when appropriate) 1182 Names under a pbproj and the corresponding pbconf should be similar 1183 1151 1184 1152 1185 The first couple to declare is the pbconfurl and pbconfdir. They declare the location of the repository containing project-builder.org configuration files and the local directory in which they are checked out. They do not need to be hosted in the upstream repository and can be managed completely separately. If pbconfdir is not defined, by default it will be taken as the concatention of pbdefdir and the project name. If that's not the case in your setup, then specify the pbconfdir value -
devel/pb-modules/lib/ProjectBuilder/Env.pm
r2287 r2292 222 222 # Detect the root dir for hosting all the content generated with pb 223 223 # 224 =pod 225 226 Tree will look like this: 227 228 maint pbdefdir PBDEFDIR dev dir (optional) 229 | | 230 ------------------------ -------------------- 231 | | | | 232 pbproj1 pbproj2 PBPROJ pbproj1 pbproj2 PBPROJDIR 233 | | 234 --------------------------------------------- ---------- 235 * * * | | | * * 236 tag dev pbconf ... pbbuild pbdelivery PBCONFDIR dev tag 237 | | | PBDESTDIR | 238 --- ------ pbrc.yml PBBUILDDIR ------- 239 | | | | | 240 1.1 dev tag 1.0 1.1 PBDIR 241 | 242 ------- 243 | | 244 1.0 1.1 PBROOTDIR 245 | 246 ---------------------------------- 247 | | | | 248 pkg1 pbproj1.yml pbfilter pbcl 249 | 250 ----------------- 251 | | | 252 rpm deb pbfilter 253 254 255 (*) By default, if no relocation in .pbrc.yml, dev dir is taken in the maint pbdefdir (when appropriate) 256 Names under a pbproj and the corresponding pbconf should be similar 257 258 =back 259 260 =cut 224 # Cf Directory structure in pb.yml.pod 261 225 262 226 my ($pbdefdir) = pb_conf_get_if("pbdefdir");
Note:
See TracChangeset
for help on using the changeset viewer.