Changeset 593
- Timestamp:
- 12/27/2011 18:30:13 (5 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
confman.conf.5.in (modified) (1 diff)
-
confman.conf.in (modified) (1 diff)
-
confmanlib.sh.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/confman.conf.5.in
r585 r593 132 132 .Xr confexport 8 and 133 133 .Xr confsync 8 machines. 134 .It CONF_EXPORT_FILEDB_PLUS_SVN 135 When enabled, 136 .Xr confexport 8 will also include Subversion metadata in export tarballs. 137 This allows multiple versions of confsync clients to be supported in parallel 138 by a single confexport server. Upgraded confsync clients will automatically 139 prefer to use the filedb metadata when it is available. This option has no 140 effect unless CONF_EXPORT_FILEDB is also enabled. 134 141 .It CONF_FETCH_SSH_KEY 135 142 This is a private SSH keyfile for use with "sftp://" and "scp://" URIs above. -
trunk/confman.conf.in
r585 r593 86 86 CONF_EXPORT_INCREMENTAL_LN="false" 87 87 CONF_EXPORT_FILEDB="false" 88 CONF_EXPORT_FILEDB_PLUS_SVN="false" 88 89 EXPORT_REPO_PROTOCOL="" 89 90 EXPORT_REPO_HOSTNAME="" -
trunk/confmanlib.sh.in
r588 r593 511 511 512 512 echo "Generating new export for module: ${module}" 513 tar -hczf "${exportpath}/${module}.tgz" -C "${WORK_PATH}" --exclude='*.svn*' ${module} "meta/${module}.fdb" || return 1 513 if ${CONF_EXPORT_FILEDB_PLUS_SVN}; then 514 tar -hczf "${exportpath}/${module}.tgz" -C "${WORK_PATH}" ${module} "meta/${module}.fdb" || return 1 515 else 516 tar -hczf "${exportpath}/${module}.tgz" -C "${WORK_PATH}" --exclude='*.svn*' ${module} "meta/${module}.fdb" || return 1 517 fi 514 518 515 519 # XXX: The fdbs aren't versioned yet (ticket #151), so … … 594 598 echo "Generating new export for recipe: ${recipe}" 595 599 modules=$(conf_get_recipe $(conf_recipe_dir)/${recipe}) 596 tar -hczf "${exportpath}/${recipe}.tgz" -C "${WORK_PATH}" --exclude='*.svn*' "meta/meta.fdb" "meta/recipes/${recipe}" $(for module in ${modules}; do echo "meta/${module}.fdb"; done) ${modules} || return 1 600 if ${CONF_EXPORT_FILEDB_PLUS_SVN}; then 601 tar -hczf "${exportpath}/${recipe}.tgz" -C "${WORK_PATH}" "meta/meta.fdb" "meta/recipes/${recipe}" $(for module in ${modules}; do echo "meta/${module}.fdb"; done) ${modules} || return 1 602 else 603 tar -hczf "${exportpath}/${recipe}.tgz" -C "${WORK_PATH}" --exclude='*.svn*' "meta/meta.fdb" "meta/recipes/${recipe}" $(for module in ${modules}; do echo "meta/${module}.fdb"; done) ${modules} || return 1 604 fi 597 605 done 598 606 else
Note: See TracChangeset
for help on using the changeset viewer.
