OpenDataScotland / the_od_bods

Collating open data from across Scotland
MIT License
20 stars 18 forks source link

#121 Replace main.sh with main.py #231

Closed JackGilmore closed 1 year ago

JackGilmore commented 1 year ago

Description

Motivation and Context

Inconsistencies between main.sh and live pipeline causing issues. This would solve it if we subbed out all the *.py file calls to just call main.py

How Has This Been Tested?

Ran script and compared files to last sync. Not much change other than stale datasets.

Screenshots (if appropriate):

N/A

Types of changes

Checklist:

KarenJewell commented 1 year ago

lol this is a big one to check. I would remove /data and log files from the PR though as they are time sensitive (i.e. by the time we merge the files will be out of date) the next pipeline run will handle it.

KarenJewell commented 1 year ago

@JackGilmore could you update docs also for this change please? https://docs.opendata.scot/contribute/How-to-run-backend-locally/

JackGilmore commented 1 year ago

@JackGilmore could you update docs also for this change please? https://docs.opendata.scot/contribute/How-to-run-backend-locally/

Have opened OpenDataScotland/opendata.scot_docs#7 to address this. Ready to be merged in once this is merged in.

KarenJewell commented 1 year ago

lgtm.