Skip to content

Commit

Permalink
fix: fix incorrect loading from repos cache
Browse files Browse the repository at this point in the history
chore: update changelog and bump version
  • Loading branch information
sale3 committed Feb 11, 2025
1 parent a3c5ea4 commit 8c3a0a0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ and this project adheres to [Semantic Versioning][semver].

## [Unreleased]

### Added


### Changed


### Fixed

## [0.34.1]

### Added

Expand All @@ -18,6 +27,9 @@ and this project adheres to [Semantic Versioning][semver].

### Fixed

- Fixed loading from repositories cache [(590)]

[590]: https://github.com/openlawlibrary/taf/pull/590
[588]: https://github.com/openlawlibrary/taf/pull/588


Expand Down Expand Up @@ -1438,7 +1450,8 @@ Transition to the newest version of TUF [(561)]

[keepachangelog]: https://keepachangelog.com/en/1.0.0/
[semver]: https://semver.org/spec/v2.0.0.html
[unreleased]: https://github.com/openlawlibrary/taf/compare/v0.34.0...HEAD
[unreleased]: https://github.com/openlawlibrary/taf/compare/v0.34.1...HEAD
[0.34.1]: https://github.com/openlawlibrary/taf/compare/v0.34.0...v0.34.1
[0.34.0]: https://github.com/openlawlibrary/taf/compare/v0.33.2...v0.34.0
[0.33.2]: https://github.com/openlawlibrary/taf/compare/v0.33.1...v0.33.2
[0.33.1]: https://github.com/openlawlibrary/taf/compare/v0.33.0...v0.33.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import find_packages, setup

PACKAGE_NAME = "taf"
VERSION = "0.34.0"
VERSION = "0.34.1"
AUTHOR = "Open Law Library"
AUTHOR_EMAIL = "[email protected]"
DESCRIPTION = "Implementation of archival authentication"
Expand Down
2 changes: 1 addition & 1 deletion taf/tuf/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def find_git_repository(inner_path):
FilesystemBackend implementation
"""
for path in list(git_repos_cache.keys()):
if is_subpath(inner_path, path):
if is_subpath(path, inner_path):
return git_repos_cache[path]
repo_path = pygit2.discover_repository(inner_path)
repo = None
Expand Down

0 comments on commit 8c3a0a0

Please sign in to comment.