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

Enforce proper website_url formatting in manifests #841

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

MythicManiac
Copy link
Member

Make sure the package manifest.json website_url field is a properly formatted URL and uses a known valid URL scheme. This should prevent issues caused by incorrectly formatted links for downstream consumers, although some older packages might of course contain incorrectly formatted links.

Refs #840

Make sure the package manifest.json website_url field is a properly
formatted URL and uses a known valid URL scheme. This should prevent
issues caused by incorrectly formatted links for downstream consumers,
although some older packages might of course contain incorrectly
formatted links.

Refs #840
Copy link
Collaborator

@anttimaki anttimaki left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Apr 19, 2023

Codecov Report

Merging #841 (c4f5138) into master (ea33498) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #841   +/-   ##
=======================================
  Coverage   91.66%   91.66%           
=======================================
  Files         223      223           
  Lines        6779     6780    +1     
  Branches      667      667           
=======================================
+ Hits         6214     6215    +1     
  Misses        475      475           
  Partials       90       90           
Impacted Files Coverage Δ
django/thunderstore/repository/package_manifest.py 94.59% <100.00%> (+0.15%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@MythicManiac MythicManiac merged commit 9b1bc09 into master Apr 19, 2023
@MythicManiac MythicManiac deleted the website-url-validation branch April 19, 2023 11:25
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