Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 131 add redirect field #309

Merged
merged 4 commits into from
Nov 7, 2023
Merged

feat: 131 add redirect field #309

merged 4 commits into from
Nov 7, 2023

Conversation

jcpitre
Copy link
Contributor

@jcpitre jcpitre commented Nov 2, 2023

Closes #131

Added redirects to the json schema.
Modified export to csv script to process redirects.

This PR has an associated issue in mobility-feed-api: MobilityData/mobility-feed-api#149
And PR: MobilityData/mobility-feed-api#150

@jcpitre jcpitre linked an issue Nov 2, 2023 that may be closed by this pull request
@CLAassistant
Copy link

CLAassistant commented Nov 2, 2023

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! You're awesome.
We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix.
Examples of titles with semantic prefixes:
- fix: Fix wrong countries for some sources
- feat: Add Features and Status to MDB Schema [SOURCES]
- docs: Improvements to README.md and CONTRIBUTING.md

If your pull request includes adding or updating a source, make sure to end your pull request title with "[SOURCES]" so the GitHub workflow runs.

Comment on lines +155 to +157
# Don't upload to Google Cloud if it was triggered by hand.
# In that case the resulting sources.csv can be found in the build artifacts.
if: ${{ github.event_name != 'workflow_dispatch' }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: There is no harm uploading the artifact to Google cloud. Why prevent it?

Copy link
Contributor Author

@jcpitre jcpitre Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the workflow_dispatch as a way to test the creation of the csv. The only way that I know to have the button workflow dispatch present to run the action in a branch is if the event is present in the main branch. I don't feel comfortable uploading it each time someone presses the button. But I could remove the restriction if you feel it's ok.

@jcpitre jcpitre changed the title 131 add redirect field feat: 131 add redirect field Nov 6, 2023
Copy link
Member

@davidgamez davidgamez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jcpitre jcpitre requested a review from emmambd November 6, 2023 19:35
Copy link
Contributor

@emmambd emmambd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jcpitre jcpitre merged commit 43cba00 into main Nov 7, 2023
9 checks passed
@jcpitre jcpitre deleted the 131-add-redirect-field branch November 7, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add redirect field
4 participants