Skip to content

Commit

Permalink
chore(deps): update rust crate gix to 0.70.0 (#15128)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [gix](https://redirect.github.com/GitoxideLabs/gitoxide) |
workspace.dependencies | minor | `0.69.1` -> `0.70.0` |

---

### Release Notes

<details>
<summary>GitoxideLabs/gitoxide (gix)</summary>

###
[`v0.70.0`](https://redirect.github.com/GitoxideLabs/gitoxide/releases/tag/gix-v0.70.0):
gix v0.70.0

[Compare
Source](https://redirect.github.com/GitoxideLabs/gitoxide/compare/gix-v0.69.1...gix-v0.70.0)

##### Chore

- <csr-id-17835bccb066bbc47cc137e8ec5d9fe7d5665af0/> 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

- <csr-id-9db21601b61601c01cd2419543e2c461a7dd568d/> 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](https://www.conventionalcommits.org).
- 1 unique issue was worked on:
[#&#8203;1770](https://redirect.github.com/GitoxideLabs/gitoxide/issues/1770)

##### Thanks Clippy

[Clippy](https://redirect.github.com/rust-lang/rust-clippy) helped 1
time to make code idiomatic.

##### Commit Details

<csr-read-only-do-not-edit/>

<details><summary>view details</summary>

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

</details>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on the first day of the
month" (UTC), Automerge - At any time (no schedule defined).

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

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rust-lang/cargo).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
  • Loading branch information
epage authored Feb 3, 2025
2 parents e82878c + 4f60d69 commit 990c7f4
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 97 deletions.
Loading

0 comments on commit 990c7f4

Please sign in to comment.