-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distributing bxdecay0 data and gA data on CVMFS? #14
Comments
Basically the resources/data dir contains various types of informations: a) descriptive files that are read from the code to generate list of identifiers programmatically: They are not of the same nature. The a) files should be distributed with the code for they are read from the bb_utils.cc source at runtime. I think the a) files should be moved in some specific "resources/description/" directory and let the "resources/data" for specific datasets possibly managed by other means. |
Additionally, there is no reason why BXDECAY0_RESOURCE_DIR would be the shared root of BxDecay0 data. |
From commit #25718c8, the |
For SuperNEMO (and DUNE do as well) we have a CVMFS repository available for distributing software and large datasets. The gA data's an obvious candidate here, so I wanted to start a discussion on the best way to organize this with future versions/patches in mind (and also for packaging with separate packages for bxdecay0 and "bxdecay0-data").
At least at first sight, the CVMFS case would appear to be simple, in that given a CVMFS root, things could be organised like:
Versions/resources levels could be swapped on preference. A client wanting to use this would then AFAIK, just need to set the
BXDECAY0_RESOURCE_DIR
to, e.g.<CVMFSRoot/bxdecay0/vX.Y.Z/resources
(and that could be done in suitable scripts).CVMFS has a nice de-duplication feature (it's content based), so it wouldn't be expensive to have direct copies of all the gA data for each bxdecay0 version. The only thing I'm not sure about here is matching bxdecay0 and gA data versions, but I think bxdecay0 does for users?
Anyway, I can start experimenting with the above for SuperNEMO and happy for our CVMFS to be a test bed here!
The text was updated successfully, but these errors were encountered: