Skip to content

Releases: EmbarkStudios/tame-index

Release 0.2.4

28 Jul 11:50
Compare
Choose a tag to compare

Fixed

  • PR#7 fixed an issue where RemoteGitIndex::fetch could fail in environments where the git committer was not configured.

Changed

  • PR#7 change how RemoteGitIndex looks up blobs. Previously fetching would actually update references, now however we write a FETCH_HEAD similarly to git/libgit2, and uses that (or other) reference to find the commit to use, rather than updating the HEAD to point to the same commit as the remote HEAD.

Release 0.2.3

26 Jul 16:54
Compare
Choose a tag to compare

Fixed

  • PR#6 fixed two bugs with git registries.
    1. cargo does not set remotes for git registry indices, the previous code assumed there was a remote, thus failed to fetch updates
    2. Updating reflogs after a fetch would fail in CI-like environments without a global git config that set the committer, committer.name is now set to tame-index

Release 0.2.2

26 Jul 12:41
Compare
Choose a tag to compare

Changed

  • PR#5 relaxed rust-version to 1.67.0.

Release 0.2.1

26 Jul 12:24
Compare
Choose a tag to compare

Added

  • PR#4 added GitError::is_spurious and GitError::is_locked to detect fetch errors that could potentially succeed in the future if retried.

Changed

  • PR#4 now re-exports reqwest and gix from tame_index::externals for easier downstream usage.

Release 0.2.0

25 Jul 08:28
Compare
Choose a tag to compare

Added

  • PR#3 added support for Local Registry
  • PR#3 added [LocalRegistry] as an option for ComboIndexCache
  • PR#3 added KrateName::cargo and KrateName::crates_io options for validating crates names against the (current) constraints of cargo and crates.io respectively.

Changed

  • PR#3 refactored how index initialization is performed by splitting out the individual pieces into a cleaner API, adding the types IndexUrl, IndexPath, and IndexLocation

Fixed

  • PR#3 fixed an issue where the .cache entries for a git index were not using the same cache version of cargo, as of 1.65.0+. cargo in those versions now uses the object id of the blob the crate is read from, rather than the HEAD commit hash, for more granular change detection.

Release 0.1.0

05 Jul 14:05
Compare
Choose a tag to compare

Added

  • PR#1 added the initial working implementation for this crate