Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Deleted obsolote importers code, added deleted.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed May 11, 2021
1 parent 80ceac9 commit bff76fd
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 487 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ jobs:
run: |
cd vaccinate
pytest --cov-report=xml --cov=./
- name: Run importer script tests
run: |
pytest importers
- name: Check migrations are backwards-compatible
env:
DJANGO_SECRET_KEY: secret for running tests
Expand Down
17 changes: 17 additions & 0 deletions deleted.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Deleted code

An index of code that we have deleted from this project, to make it easy to refer back to should we ever need to.

## importers - deleted May 11th 2011

Prior to the creation of the [vaccine-feed-ingest](https://github.com/CAVaccineInventory/vaccine-feed-ingest) repo the `importers/` folder in VIAL included standalone Python scripts for importing data into VIAL by calling the `/api/importLocations` endpoint.

This included the code for copying across data from our Airtable instance.

Importer scripts: https://github.com/CAVaccineInventory/vial/tree/80ceac90a72e54731a169330a71c1f1bfa43e35a/importers

Importer documentation: https://github.com/CAVaccineInventory/vial/blob/80ceac90a72e54731a169330a71c1f1bfa43e35a/docs/importers.md

The `import_utils.py` module included a handy function for deriving the county for a location based on its latitude and longitude, using the https://us-counties.datasette.io/ API:

https://github.com/CAVaccineInventory/vial/blob/80ceac90a72e54731a169330a71c1f1bfa43e35a/importers/import_utils.py
71 changes: 0 additions & 71 deletions docs/importers.md

This file was deleted.

Empty file removed importers/__init__.py
Empty file.
107 changes: 0 additions & 107 deletions importers/airtable_locations.py

This file was deleted.

10 changes: 0 additions & 10 deletions importers/import_utils.py

This file was deleted.

92 changes: 0 additions & 92 deletions importers/oregon_tableau_annotated.py

This file was deleted.

87 changes: 0 additions & 87 deletions importers/test_vaccinefinder.py

This file was deleted.

Loading

0 comments on commit bff76fd

Please sign in to comment.