From 2ff4c6045bd23d844413b36f5e4f30a759b236b1 Mon Sep 17 00:00:00 2001 From: Sky Brewer Date: Tue, 9 Dec 2025 09:27:24 +0100 Subject: [PATCH] Update docs for info tag config Space separated or comma with space separated info tags are allowed. Makes all the examples follow space separated. Gives a comment in the reading code to make clear what is expected. --- server/demo.conf | 2 +- server/recceiver/cfstore.py | 1 + server/recceiver_full.conf | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/demo.conf b/server/demo.conf index e55d266..c850ec5 100644 --- a/server/demo.conf +++ b/server/demo.conf @@ -66,7 +66,7 @@ [cf] # cf-store application # a space-separated list of infotags to set as CF Properties -#infotags = archive, foo, bar, blah +#infotags = archive foo bar blah # Uncomment line below to turn off the feature to add CA/PVA port info for name server to channelfinder #iocConnectionInfo = False diff --git a/server/recceiver/cfstore.py b/server/recceiver/cfstore.py index e0cedef..e2e2611 100755 --- a/server/recceiver/cfstore.py +++ b/server/recceiver/cfstore.py @@ -320,6 +320,7 @@ def _start_service_with_lock(self): required_properties.add(CFPropertyName.CA_PORT.value) required_properties.add(CFPropertyName.PVA_PORT.value) + # Space or comma and space separated strings record_property_names_list = {s.strip(", ") for s in self.cf_config.info_tags.split()} if self.cf_config.record_description_enabled: record_property_names_list.add(CFPropertyName.RECORD_DESC.value) diff --git a/server/recceiver_full.conf b/server/recceiver_full.conf index 2737d78..68d2f49 100644 --- a/server/recceiver_full.conf +++ b/server/recceiver_full.conf @@ -62,7 +62,7 @@ idkey = 42 # cf-store application # A space-separated list of infotags to set as CF Properties -infotags = archive, archiver +infotags = archive archiver # Feature to add CA/PVA port info for name server to channelfinder iocConnectionInfo = True