Skip to content

Commit 93f0bf6

Browse files
Merge pull request #1548 from MobilityData/chore-update-csv-source-file-url-2025-01-12
2 parents 499c013 + e9432bf commit 93f0bf6

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.github/workflows/db-update-content.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
133133
- name: Download csv version of the database
134134
if: ${{ env.UPDATE_TYPE == 'gtfs' || env.UPDATE_TYPE == 'manual' }}
135-
run: wget -O sources.csv https://share.mobilitydata.org/catalogs-csv
135+
run: wget -O sources.csv https://storage.googleapis.com/storage/v1/b/mdb-csv/o/sources.csv?alt=media
136136

137137
- name: Get full path of sources.csv
138138
if: ${{ env.UPDATE_TYPE == 'gtfs' || env.UPDATE_TYPE == 'manual' }}

.github/workflows/integration-tests-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
python-version: ${{ env.python_version }}
4545

4646
- name: Download csv version of the database
47-
run: wget -O sources.csv https://share.mobilitydata.org/catalogs-csv
47+
run: wget -O sources.csv https://storage.googleapis.com/storage/v1/b/mdb-csv/o/sources.csv?alt=media
4848

4949
- name: Get full path of sources.csv
5050
id: getpath

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
python-version: ${{ env.python_version }}
3838

3939
- name: Download csv version of the database
40-
run: wget -O sources.csv https://share.mobilitydata.org/catalogs-csv
40+
run: wget -O sources.csv https://storage.googleapis.com/storage/v1/b/mdb-csv/o/sources.csv?alt=media
4141

4242
- name: Get full path of sources.csv
4343
id: getpath

scripts/docker-localdb-rebuild-data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ $SCRIPT_PATH/db-gen.sh
100100
if [ "$POPULATE_DB" = true ]; then
101101
# download the latest csv file and populate the db
102102
mkdir $SCRIPT_PATH/../data/
103-
wget -O $SCRIPT_PATH/../data/$target_csv_file https://share.mobilitydata.org/catalogs-csv
103+
wget -O $SCRIPT_PATH/../data/$target_csv_file https://storage.googleapis.com/storage/v1/b/mdb-csv/o/sources.csv?alt=media
104104
# populate db
105105
full_path="$(readlink -f $SCRIPT_PATH/../data/$target_csv_file)"
106106
$SCRIPT_PATH/populate-db.sh $full_path

scripts/populate-db.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This script populates the local instance of the database.
55
# As a requirement, you need to have the local instance of the database running on the port defined in config/.env.local
6-
# The csv file containing the data has to be in the same format as https://share.mobilitydata.org/catalogs-csv
6+
# The csv file containing the data has to be in the same format as https://storage.googleapis.com/storage/v1/b/mdb-csv/o/sources.csv?alt=media
77
# Usage:
88
# populate-db.sh <path to sources.csv> [data_type]
99
#

web-app/src/app/screens/Contribute.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export default function Contribute(): React.ReactElement {
118118
information, transit providers should add a new feed on the catalogs
119119
when their feed URL changes. Transit providers should review{' '}
120120
<a
121-
href='https://share.mobilitydata.org/catalogs-csv'
121+
href='https://storage.googleapis.com/storage/v1/b/mdb-csv/o/sources.csv?alt=media'
122122
target='_blank'
123123
rel='noreferrer'
124124
>

web-app/src/app/screens/FeedSubmissionFAQ.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export default function FeedSubmissionFAQ(): React.ReactElement {
195195
<Button
196196
variant='text'
197197
className='inline'
198-
href={'https://share.mobilitydata.org/catalogs-csv'}
198+
href={'https://storage.googleapis.com/storage/v1/b/mdb-csv/o/sources.csv?alt=media'}
199199
endIcon={<FileDownloadIcon />}
200200
>
201201
the spreadsheet of feeds already in the Mobility Database

0 commit comments

Comments
 (0)