Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Story Points:10
-
Epic Link:
-
Team:Data Access and Database
-
Urgent?:No
Description
Dimensions.yaml should be locked in and read-only as soon as the schema is created during the makeRepo phase. At the moment there is nothing stopping a repository from breaking if dimensions.yaml is updated in daf_butler and there is nothing stopping a user editing the config file after repository creation and breaking things.
We propose to remove dimensions.yaml from ButlerConfig and have it as an explicit argument for makeRepo (defaulting to pkg://lsst.daf.butler/configs/dimensions.yaml) which will then ensure that the dimensions configuration is locked in for that repository.
We will still require that it be possible to migrate a registry to a new dimensions definition but that migration should be by explicit request.
Attachments
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Remote Link | This issue links to "Page (Confluence)" [ 25769 ] |
Assignee | Andy Salnikov [ salnikov ] |
Status | To Do [ 10001 ] | In Progress [ 3 ] |
Labels | gen2-deprecation-blocker gen3-middleware | gen2-deprecation-blocker gen3-middleware gen3-registry-incompatibility |
Reviewers | Jim Bosch [ jbosch ] | |
Status | In Progress [ 3 ] | In Review [ 10004 ] |
Status | In Review [ 10004 ] | Reviewed [ 10101 ] |
Resolution | Done [ 10000 ] | |
Status | Reviewed [ 10101 ] | Done [ 10002 ] |
Watchers | Andy Salnikov, Jim Bosch, Michelle Gower, Tim Jenness [ Andy Salnikov, Jim Bosch, Michelle Gower, Tim Jenness ] | Andy Salnikov, Jim Bosch, Kian-Tat Lim, Michelle Gower, Tim Jenness [ Andy Salnikov, Jim Bosch, Kian-Tat Lim, Michelle Gower, Tim Jenness ] |
Epic Link |
|