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 item collection asset hrefs #53

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Fix item collection asset hrefs #53

merged 1 commit into from
Aug 8, 2023

Conversation

gadomski
Copy link
Member

@gadomski gadomski commented Aug 8, 2023

Related issues and pull requests

Description

We were being too liberal setting an item's self href, which was leading to invalid item collection asset hrefs.

Checklist

  • Add tests
  • Add docs
  • Update CHANGELOG

@gadomski gadomski self-assigned this Aug 8, 2023
@gadomski gadomski enabled auto-merge (rebase) August 8, 2023 15:37
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.49% 🎉

Comparison is base (5b79fd5) 75.19% compared to head (66fc86d) 75.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   75.19%   75.69%   +0.49%     
==========================================
  Files          13       13              
  Lines         504      506       +2     
==========================================
+ Hits          379      383       +4     
+ Misses        125      123       -2     
Files Changed Coverage Δ
src/stac_asset/_cli.py 92.00% <ø> (ø)
src/stac_asset/functions.py 83.57% <100.00%> (+1.68%) ⬆️

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

@gadomski gadomski merged commit b6affae into main Aug 8, 2023
@gadomski gadomski deleted the issues/52-asset-href branch August 8, 2023 15:39
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.

Invalid asset href for item collection download
2 participants