Skip to content

Commit

Permalink
fix: join next link instead of append for pagination in get_tags (#174)
Browse files Browse the repository at this point in the history
* fix: join next link instead of append for pagination in get_tags
* chore: update changelog and version

Signed-off-by: Nate Faerber <[email protected]>
  • Loading branch information
natefaerber authored Dec 6, 2024
1 parent 0596553 commit 2fb51e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The versions coincide with releases on pip. Only major versions will be released

## [0.0.x](https://github.com/oras-project/oras-py/tree/main) (0.0.x)
- check for blob existence before uploading (0.2.26)
- fix get_tags for ECR when limit is None, closes issue [173](https://github.com/oras-project/oras-py/issues/173)
- retry on 500 (0.2.25)
- align provider config_path type annotations (0.2.24)
- add missing prefix property to auth backend (0.2.23)
Expand Down
2 changes: 1 addition & 1 deletion oras/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def _do_paginated_request(
break

# use link + base url to continue with next page
url = f"{base_url}{link}"
url = urllib.parse.urljoin(base_url, link)

@decorator.ensure_container
def get_blob(
Expand Down
2 changes: 1 addition & 1 deletion oras/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
__copyright__ = "Copyright The ORAS Authors."
__license__ = "Apache-2.0"

__version__ = "0.2.25"
__version__ = "0.2.26"
AUTHOR = "Vanessa Sochat"
EMAIL = "[email protected]"
NAME = "oras"
Expand Down

0 comments on commit 2fb51e3

Please sign in to comment.