You'll need a dump of the staging database. Save this to staging.full.dump.sql.
$ mkdir dto
| """ | |
| Exports Issues from a specified repository to a CSV file | |
| Uses basic authentication (Github username + password) to retrieve Issues | |
| from a repository that username has access to. Supports Github API v3. | |
| """ | |
| import csv | |
| import requests | |
| # See http://en.wikipedia.org/wiki/Postcodes_in_Australia | |
| # Postcodes that are used for LVRs and PO boxes only | |
| def australian_postcodes_po_boxes | |
| nsw = (1000..1999).to_a | |
| act = (200..299).to_a | |
| vic = (8000..8999).to_a | |
| qld = (9000..9999).to_a | |
| sa = (5800..5999).to_a | |
| wa = (6800..6999).to_a |