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

Decouple text-based data source versions from package version #183

Open
florisvdh opened this issue May 7, 2024 · 0 comments
Open

Decouple text-based data source versions from package version #183

florisvdh opened this issue May 7, 2024 · 0 comments
Labels

Comments

@florisvdh
Copy link
Member

florisvdh commented May 7, 2024

While text-based data sources, given their tiny size, fit well in a package and a git repo, they do evolve, and this does not blend in well with evolving functionality of the {n2khab} package. An example is the change brought about by PR #182.

Much like the management of the binary data sources, the vc-formatted data sources that are returned in R by {n2khab} will better be managed as a frictionless data package in Zenodo (types, env_pressures, namelist); keeping them together as one Zenodo data source since the (multilingual) namelist is common between types and env_pressures. (When considering tsv-files created with git2rdata::write_vc() in this context, see here and here.)

  • a straightforward approach to accomplish this and which also continues the version control of these text-based data sources, will be to move the misc/generate_textdata project to a separate GitHub repo, with a webhook to trigger a Zenodo release upon a GitHub release. EDIT: this is questionable; by default a GH release will post the whole repo to Zenodo, not just a resulting frictionless package.

In this way {n2khab} can support multiple versions of these text-based data sources, much in the same way as for other data sources. Furthermore, version interdependency between data sources should then be imposed since a specific version of a (binary) data source works with a specific version range of the text-based data sources, but not all of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant