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

update citation.cff files #3

Open
JessyBarrette opened this issue Jul 24, 2024 · 0 comments
Open

update citation.cff files #3

JessyBarrette opened this issue Jul 24, 2024 · 0 comments

Comments

@JessyBarrette
Copy link

JessyBarrette commented Jul 24, 2024

I created a python script that scrapes the yaml records and retrieve the list the different dataset repositories listed within the distribution field of the yaml files.

It then creates a yaml file which can be use with the action https://github.com/marketplace/actions/repo-file-sync-action to synchronize via a PR or skip that PR to the different repos.

See example:

HakaiInstitute/Discharge-editing:
- dest: citation.cff
  source: hakai/discharge_time_series__2013_20_ed3c5.cff
HakaiInstitute/Dosser-et-al2021-hakai-nutrient-dataset:
- dest: citation.cff
  source: hakai/hakai_institute_nutrients__dos_47620.cff
HakaiInstitute/KR01-time-series-v1_2017-2020:
- dest: citation.cff
  source: hakai/koeye_river_stream_temperature_5cf59.cff
HakaiInstitute/KR01-time-series-v2_2017-2021:
- dest: citation.cff
  source: hakai/koeye_river_time_series_v2_201_dfa79.cff
HakaiInstitute/Koeye-adjusted-stage-and-temperature:
- dest: citation.cff
  source: hakai/adjusted_koeye_river_stage_and_44dbd.cff
HakaiInstitute/McLaskey-and-Hunt-POMFA-QU39-2015-2018:
- dest: citation.cff
  source: hakai/fatty_acids_of_particulate_mat_ee279.cff
HakaiInstitute/RatingCurve:
- dest: citation.cff
  source: hakai/discharge_time_series__2013_20_ed3c5.cff
HakaiInstitute/essd2021-hydromet-datapackage.git:
- dest: citation.cff
  source: hakai/high_resolution_hydrometeorolo_395aa.cff
HakaiInstitute/hakai-datasets:
- dest: citation.cff
  source: hakai/hakai_water_properties_vertica_ba41d.cff
HakaiInstitute/jsp-data:
- dest: citation.cff
  source: hakai/hakai_institute_juvenile_salmo_6c449.cff
HakaiInstitute/jsp-gsi:
- dest: citation.cff
  source: hakai/genetic_stock_identification_o_6f656.cff
HakaiInstitute/jsp-sockeyediets-paper:
- dest: citation.cff
  source: hakai/dataset_for_article___migratio_16ae1.cff
HakaiInstitute/juvenile-salmon:
- dest: citation.cff
  source: hakai/juvenile_salmon_migration_dyna_1769a.cff
HakaiInstitute/seagrass-site-production:
- dest: citation.cff
  source: hakai/seagrass_site_level_production_59b33.cff

I wonder if we should implement this action within this repo or deploy it from elsewhere

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

No branches or pull requests

1 participant