aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2015-12-28 17:43:53 -0800
committerBrian Dolbec <dolsen@gentoo.org>2015-12-28 17:43:53 -0800
commit051f684fe3e6150bf26a445b9c18092742b6a240 (patch)
treec27f89b5e6de208bbc501b632cdb2d12fd3ba697 /etc/catalyst.conf
parentbase/stagebase.py: Clear up some additional trailing slash issues (diff)
downloadcatalyst-051f684fe3e6150bf26a445b9c18092742b6a240.tar.gz
catalyst-051f684fe3e6150bf26a445b9c18092742b6a240.tar.bz2
catalyst-051f684fe3e6150bf26a445b9c18092742b6a240.zip
Create a file extension search order system for source paths
Adds a new source_matching setting to the config, defaults to "strict". Allows for the possibility of multiple compression types to be present in teh same directory and allow for a prefered matching system.
Diffstat (limited to 'etc/catalyst.conf')
-rw-r--r--etc/catalyst.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/catalyst.conf b/etc/catalyst.conf
index 939e9413..734e4284 100644
--- a/etc/catalyst.conf
+++ b/etc/catalyst.conf
@@ -102,6 +102,18 @@ snapshot_cache="/var/tmp/catalyst/snapshot_cache"
# also where it will put its temporary files and caches.
storedir="/var/tmp/catalyst"
+# source_matching specifies how catalyst will match non-specific file names
+# if the filename is not found as an exact match.
+# ie: a filename without the extension specified. "/path/to/foo"
+#
+# possible values are:
+# "strict" meaning if more than one file of that name is present with any
+# file extension, then it will raise an exception.
+# "loose" meaning it will search for an existing filename with an added
+# extension from an ordered list of extensions determined from the
+# decompressor_search_order specification in the spec file or (default)
+source_matching="strict"
+
# port_logdir is where all build logs will be kept. This dir will be automatically cleaned
# of all logs over 30 days old. If left undefined the logs will remain in the build directory
# as usual and get cleaned every time a stage build is restarted.