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(deps): update rust crate gix to 0.70.0 #167

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 22, 2024

This PR contains the following updates:

Package Type Update Change
gix dependencies minor 0.68.0 -> 0.70.0

Release Notes

GitoxideLabs/gitoxide (gix)

v0.70.0: gix v0.70.0

Compare Source

Chore
  • bump rust-version to 1.70
    That way clippy will allow to use the fantastic Option::is_some_and()
    and friends.
New Features
  • add Repository::upstream_branch_and_remote_name_for_tracking_branch()
    It's a way to learn about the Remote and upstream branch which would
    match the given local tracking branch.
  • more often check for interrupts in status iterator
  • add tree::Editor|editor::Cursor::get() to see if an entry is loaded at path.
    This can be useful to get a feeling for how far the tree was already made available,
    even though it won't reveal if an entry was edited.
  • Repository::is_dirty() now also checks for tree/index changes.
    This copmpletes the is_dirty() implementation.
  • Repository::tree_index_status() to see the changes between a tree and an index.
    It also respects status.rename and status.renameLimit to configure rename tracking.
  • add Tree::depthfirst() with a delegate.
    This allows a depth-first traversal with a delegate.
  • Add blame plumbing crate to the top-level.
    For now, it doesn't come with a simplified gix API though.
Bug Fixes
  • Repository::status() detects files added to the index in an unborn repository.
    Previously it wouldn't show them.

  • Respository::status() iterator won't fail in unborn directories.

  • worktrees of submodules now know their correct worktree
    Previously they would use a very incorrect worktree which would cause
    the status to be calculated very wrongly.

  • status-iterator won't swallow legitimate modification during 'racy-git'.
    When a modification is marked as being racy, then previously the iterator would have
    kept the whole modification even though it should just have tracked the single change.

    This made the legitimate modification disappear.

  • write_blob_stream() does not need Seek trait anymore.
    Internally, it has to turn it into a buffer so it's not needed anymore.
    It also counteracts the idea of using a stream with arbitrarily big files.

  • Submodule::status() now konws about tree-index changes as well.
    This completes the status implementation.

  • remove unused fetch-error variants
    Note that it's a breaking change, but it's on top of a previous breaking change
    so folks would already have to update explicitly.

Other
  • make really clear that Repository::worktrees() lists linked worktrees.
    Excluding the main worktree which isn't always present.
New Features (BREAKING)
  • add status::Platform::into_iter() for obtaining a complete status.
    Note that it is still possible to disable the head-index status.

    Types moved around, effectivey removing the iter:: module for most
    more general types, i.e. those that are quite genericlally useful in
    a status.

Bug Fixes (BREAKING)
  • all config::Snapshot access now uses the new Key trait.
    That way one can officially use "section.name" strings or &Section::NAME.
Commit Statistics
  • 40 commits contributed to the release over the course of 27 calendar days.
  • 27 days passed between releases.
  • 18 commits were understood as conventional.
  • 1 unique issue was worked on: #​1770
Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details
view details
  • #​1770
    • Repository::status() detects files added to the index in an unborn repository. (cd8fabf)
  • Uncategorized
    • Update all changelogs prior to release (1f6390c)
    • Merge pull request #​1774 from EliahKagan/complex-graph-no-baseline-next (90e08f1)
    • Use parse_spec_no_baseline with :/ for all 2.47.* on CI (fe33fa7)
    • Merge pull request #​1772 from GitoxideLabs/improvements (4c8200f)
    • Merge pull request #​1769 from GitoxideLabs/improvements (47e44c5)
    • Respository::status() iterator won't fail in unborn directories. (84019cb)
    • Merge pull request #​1768 from GitoxideLabs/improvements (34fa6bb)
    • Adapt to changes in gix-status (25d480c)
    • Merge pull request #​1750 from GitoxideLabs/odb-issue (e4fb21e)
    • Reproduce issue with 'too many packs' for slotmap (dbf079f)
    • Merge pull request #​1763 from GitoxideLabs/better-refspec-primitives (af8f201)
    • Add Repository::upstream_branch_and_remote_name_for_tracking_branch() (da0e1c7)
    • Adapt to changes in gix-refspec (6d7dd9b)
    • Merge pull request #​1762 from GitoxideLabs/fix-1759 (7ec21bb)
    • Bump rust-version to 1.70 (17835bc)
    • Make really clear that Repository::worktrees() lists linked worktrees. (9db2160)
    • Worktrees of submodules now know their correct worktree (bc02284)
    • Merge pull request #​1752 from GitoxideLabs/git-shell (1ca480a)
    • Thanks clippy (9193b05)
    • Merge pull request #​1749 from GitoxideLabs/status (8d84818)
    • More often check for interrupts in status iterator (5b6e5c8)
    • Merge pull request #​1746 from GitoxideLabs/status (af704f5)
    • Add tree::Editor|editor::Cursor::get() to see if an entry is loaded at path. (3b53982)
    • Status-iterator won't swallow legitimate modification during 'racy-git'. (3bbd1f7)
    • write_blob_stream() does not need Seek trait anymore. (a03bde5)
    • Merge pull request #​1410 from GitoxideLabs/status (0ab4f64)
    • Submodule::status() now konws about tree-index changes as well. (a987e68)
    • Add status::Platform::into_iter() for obtaining a complete status. (801689b)
    • All config::Snapshot access now uses the new Key trait. (a6f397f)
    • Repository::is_dirty() now also checks for tree/index changes. (8ae9e57)
    • Repository::tree_index_status() to see the changes between a tree and an index. (83f3d93)
    • Add Tree::depthfirst() with a delegate. (592e250)
    • Adapt to changes in gix-traverse (1de4e70)
    • Merge pull request #​1453 from cruessler/gix-blame (6ed9976)
    • Add blame plumbing crate to the top-level. (25efbfb)
    • Release gix v0.69.1 (7659a65)
    • Merge pull request #​1740 from GitoxideLabs/cargo-improvements (3fb0c18)
    • Remove unused fetch-error variants (51a4301)
    • Merge pull request #​1739 from GitoxideLabs/new-release (d22937f)

v0.69.1

Compare Source

v0.69.0: gix v0.69.0

Compare Source

Changed
  • Adjust gix::dirwalk::Options::{X,set_X} parameter names
    This adjusts the names of parameters to X and set_X methods of
    gix::dirwalk::Options (where X is an option name) to use a
    systematic naming convention:

    • For the same option X, the X and set_X methods now always
      have the same name of the parameter that specifies a value for an
      option.
New Features
  • handle RefLogLookup::Date
  • add merge::tree::TreeFavor similar to *::FileFavor.
    That way it's possible to control how tree-conflicts should be auto-resolved.
Bug Fixes
  • assure date-tests won't fail over time.
    Need to use absolute timestamps as it's impossible to control the system time.
  • public access to the contained repository in wrapped types, like Id.
    This makes these types easier to use as it's enough to pass a wrapped type
    to perform more actions on the underlying repository.
New Features (BREAKING)
  • move all possible code from gix to gix-protocol.
    For now, just move the code down and immediately re-integrate in gix
    to be able to use its tests to validate it.

    This is a breaking change as some types move and change the layout.

  • Add gix-shallow crate and use it from gix and gix-protocol
    That way it's easier to reuse shallow-handling code from plumbing crates.

    Note that this is a breaking change as gix-protocol now uses the gix-shallow::Update
    type, which doesn't implement a formerly public from_line() method anymore.
    Now it is available as fetch::response::shallow_update_from_line().

Bug Fixes (BREAKING)
  • symlinks_to_directories_are_ignored_like_directories by value
    The methods of gix::dirwalk::Options are paired, where for each
    option X of Options, a method named like X takes and returns
    self by value, and a method set_X takes and returns self by
    mutable reference.

    But in symlinks_to_directories_are_ignored_like_directories, both
    took self by mutable reference. This fixes that. The effect of
    this fix is to allow building Options with a call to that method
    as the last factory method call (and using it where Options is
    accepted but &mut Options is not).

    Most code that consumes the crate should be unaffected, but:

    • Code where calls were ordered unnaturally to avoid putting such
      a call last should be able to be improved.
Commit Statistics
  • 29 commits contributed to the release over the course of 28 calendar days.
  • 28 days passed between releases.
  • 9 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
  • Uncategorized
    • Release gix-date v0.9.3, gix-object v0.46.1, gix-command v0.4.0, gix-filter v0.16.0, gix-fs v0.12.1, gix-traverse v0.43.1, gix-worktree-stream v0.18.0, gix-archive v0.18.0, gix-ref v0.49.1, gix-prompt v0.9.0, gix-url v0.28.2, gix-credentials v0.26.0, gix-diff v0.49.0, gix-dir v0.11.0, gix-revision v0.31.1, gix-merge v0.2.0, gix-pack v0.56.0, gix-odb v0.66.0, gix-shallow v0.1.0, gix-packetline v0.18.2, gix-transport v0.44.0, gix-protocol v0.47.0, gix-status v0.16.0, gix-worktree-state v0.16.0, gix v0.69.0, gitoxide-core v0.44.0, gitoxide v0.40.0, safety bump 16 crates (c1ba571)
    • Update changelogs prior to release (7ea8582)
    • Merge pull request #​1733 from GitoxideLabs/fix-testools (df5cead)
    • Assure date-tests won't fail over time. (14c3744)
    • Merge pull request #​1645 from dvtkrlbs/refloglookup-date (cbdbb8a)
    • Refactor reflog support (9662bc1)
    • Handle RefLogLookup::Date (d0df20a)
    • Merge pull request #​1731 from GitoxideLabs/fix-pack-receive (ca54b8c)
    • Adapt to changes in gix-protocol (41b6571)
    • Merge pull request #​1726 from GitoxideLabs/radicle-tuning (a542775)
    • Adapt to changes in gix-protocol (25b8480)
    • Merge pull request #​1634 from GitoxideLabs/remove-delegates (ddeb97f)
    • Adapt to changes in gix and gix-protocol (fcb21a4)
    • Move all possible code from gix to gix-protocol. (e59fc09)
    • Add gix-shallow crate and use it from gix and gix-protocol (6367c7d)
    • Merge pull request #​1721 from EliahKagan/run-ci/dirwalk-options (cd9060a)
    • Adjust gix::dirwalk::Options::{X,set_X} parameter names (c0f4da5)
    • Symlinks_to_directories_are_ignored_like_directories by value (ea8b95f)
    • Merge pull request #​1719 from EliahKagan/run-ci/complex-graph-no-baseline (f8ba4b9)
    • Refine complex_graph regex_matches partial suppressions (f4b4bf0)
    • Merge pull request #​1705 from GitoxideLabs/merge (520c832)
    • Adapt to changes in gix-diff (960773e)
    • Adapt to changes in gix-merge (aaeb427)
    • Assure that rename tracking can be turned off. (bd905a6)
    • Public access to the contained repository in wrapped types, like Id. (efc71fd)
    • Improve merge related API in gix (b2b8181)
    • Add merge::tree::TreeFavor similar to *::FileFavor. (e17b3a9)
    • Adapt to changes in gix-merge (3228de6)
    • Merge pull request #​1701 from GitoxideLabs/release (e8b3b41)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/gix-0.x branch from 2d8f952 to 719ce28 Compare January 20, 2025 08:02
@renovate renovate bot changed the title fix(deps): update rust crate gix to 0.69.0 fix(deps): update rust crate gix to 0.70.0 Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant