Skip to content
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

Add a conf_root for configuration data and use it #6001

Open
alexgarel opened this issue Oct 19, 2021 · 2 comments
Open

Add a conf_root for configuration data and use it #6001

alexgarel opened this issue Oct 19, 2021 · 2 comments
Labels
refactor ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. ✅ Task

Comments

@alexgarel
Copy link
Member

alexgarel commented Oct 19, 2021

What

  • Following folders are mixed in the data folder, and called in the code using root_data.
  • ecoscore
  • emb_codes
  • forest-footprint
  • ingredients
  • lang
  • packager-codes
  • po
  • taxonomies
  • templates
  • But they are not real application data, they are configuration data (they come with deployment and should not be modified locally).
  • So they should have a different root.
  • In the code it would be ideal to have a data_root and conf_root and use them appropriately.
  • For the time being, in production data_root and conf_root could be the same path, whereas in preprod they would be separated (data_root is a volume, conf_root is in the image).

Part of

@alexgarel
Copy link
Member Author

This should also resolve #6020 (comment)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2022

This issue is stale because it has been open 90 days with no activity.

@github-actions github-actions bot added the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Feb 2, 2022
@teolemon teolemon moved this to To discuss and validate in 🍊 Open Food Facts Server issues Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. ✅ Task
Projects
Status: To discuss and validate
Development

No branches or pull requests

3 participants