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

🐝 Validate trailing slashes of envs #3995

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

Marigold
Copy link
Collaborator

@Marigold Marigold commented Feb 19, 2025

Part of owid/owid-grapher#4575

Raise an error if user accidentally uses trailing slash in env.

I also wanted to start using urljoin instead of string concatenation, but that wasn't worth it.

@owidbot
Copy link
Contributor

owidbot commented Feb 19, 2025

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-validate-envs

chart-diff: ✅ No charts for review.
data-diff: ✅ No differences found
Legend: +New  ~Modified  -Removed  =Identical  Details
Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet

Automatically updated datasets matching weekly_wildfires|excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk are not included

Edited: 2025-02-19 08:45:23 UTC
Execution time: 16.75 seconds

@Marigold Marigold requested a review from ikesau February 19, 2025 09:03
@Marigold Marigold marked this pull request as ready for review February 19, 2025 09:17
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.

2 participants