NYCPlanning / db-developments

🏠 🏘️ 🏗️ Developments Database
https://nycplanning.github.io/db-developments
8 stars 2 forks source link

Standardize data library calls #596

Open SashaWeinstein opened 1 year ago

SashaWeinstein commented 1 year ago

There are two places that the pipeline archives datasets to data library:

  1. in the data sync step to prep for the build
  2. in the publish step after the build has been completed

The data sync step uses the library_archive and library_archive_version bash function and the publish step uses our custom library action. I think this can be standardized, and I think the best way to move forward is for the data sync to use the data library action.

However the data sync may no longer need to use data library if the devcontainer implementation works well, in which case no such upgrade is needed. So the issue will be marked as wontfix for now