[INSTRM-1537] ups declared version file has invalid UPS_DIR Created: 01/Mar/22  Updated: 01/Mar/22

Status: Open
Project: Instrument control development
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The new version file for a freshly declared product had a UPS_DIR which was relative to UPS_PATH, or something like that. I'm assuming an environment botch, but need to look further. Umm:

cloomis@mhs-ics:1.3.5 ((1.3.5))$ pwd
//software/mhs/products/Linux64/tron_tron/1.3.5

Wait – what is that {//software}}?

cloomis@mhs-ics:1.3.5 ((1.3.5))$ eups declare -c -v -v -v -v -r . tron_tron 1.3.5
Locking is disabled
Using VRO for "default": ['type:exact', 'commandLine', 'version', 'versionExpr', 'current']
Declaring tron_tron 1.3.5
Declaring directory /software/mhs/products/Linux64/tron_tron/1.3.5 as tron_tron 1.3.5 current in /software/mhs/products
Assigning tag "current" to tron_tron 1.3.5
(conda-ics) pfs@mhs-ics:~/.config/systemd/user$ cat /software/mhs/products/ups_db/tron_tron/1.3.5.version
FILE = version
PRODUCT = tron_tron
VERSION = 1.3.5
#***************************************

Group:
   FLAVOR = Linux64
   QUALIFIERS = ""
   DECLARER = Craig Loomis
   DECLARED = 2022/02/28 15:32:43 HST
   PROD_DIR = Linux64/tron_tron/1.3.5
   UPS_DIR = Linux64/tron_tron/1.3.5/ups
   TABLE_FILE = tron_tron.table
End:

That should be UPS_DIR = ups, if it is anything at all.

eups 2.1.4, if that matters.


Generated at Sat Feb 10 16:36:36 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.