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

Fix links for archives on a /pages/dump page #5358

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

skatkov
Copy link

@skatkov skatkov commented Dec 23, 2024

pages/data is missing correct links to pg dumps. See here:

https://rubygems.org/pages/data

This fix resolves that by ensuring that href attribute is added to a element. Previously href attribute was added to span, hence why it wasn't working.

If I'm not mistaken, this issue was introduced in this PR:
#5080

@simi
Copy link
Member

simi commented Jan 1, 2025

@skatkov would you mind to provide only minimal change without stylistic changes?

@skatkov
Copy link
Author

skatkov commented Jan 1, 2025

Don't mind at all.

@skatkov skatkov force-pushed the dump-page-url-fix branch from 76f69af to 41969b6 Compare January 1, 2025 20:27
@skatkov
Copy link
Author

skatkov commented Jan 1, 2025

@simi done.

@skatkov skatkov changed the title Add href attribute with a link to pg dump for each list element on /pages/dump Fix links for archives on a /pages/dump pag Jan 1, 2025
@skatkov skatkov changed the title Fix links for archives on a /pages/dump pag Fix links for archives on a /pages/dump page Jan 1, 2025
Copy link

codecov bot commented Jan 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.37%. Comparing base (eba0093) to head (f711534).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5358      +/-   ##
==========================================
- Coverage   97.14%   94.37%   -2.77%     
==========================================
  Files         458      458              
  Lines        9584     9643      +59     
==========================================
- Hits         9310     9101     -209     
- Misses        274      542     +268     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@simi simi force-pushed the dump-page-url-fix branch from 41969b6 to ca67fee Compare January 2, 2025 14:21
@simi simi force-pushed the dump-page-url-fix branch from ca67fee to f711534 Compare January 3, 2025 12:52
@simi simi merged commit e6475b2 into rubygems:master Jan 3, 2025
19 checks passed
@simi
Copy link
Member

simi commented Jan 3, 2025

Thanks @skatkov!

@skatkov skatkov deleted the dump-page-url-fix branch January 3, 2025 13:56
@simi
Copy link
Member

simi commented Jan 4, 2025

@skatkov deployed!

@skatkov
Copy link
Author

skatkov commented Jan 4, 2025

@simi Confirmed working on production ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants