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

Bump gix from 0.55.2 to 0.56.0 #1229

Merged
merged 3 commits into from
Dec 13, 2023
Merged

Bump gix from 0.55.2 to 0.56.0 #1229

merged 3 commits into from
Dec 13, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

Bumps gix from 0.55.2 to 0.56.0.

Release notes

Sourced from gix's releases.

gix v0.56.0

New Features

  • add gitoxide.core.externalCommandStderr to allow enabling stderr to the enclosing terminal. Previously, this was enabled by default, now it can additionally be disabled by the caller.
  • use gitoxide.credentials.helperStderr key to control how stderr is handled with helpers. That way users can configure each repository instance according to their needs, with which includes disabling the stderr of credential helpers.
  • revision::Spec::path_and_mode() Provide additional information about revspecs for use with worktree filters.
  • add key for diff.external. That way it's conceivable that applications correctly run either a configured external diff tool, or one that is configured on a per diff-driver basis, while being allowed to fall back to a built-in implementation as needed.
  • add thediff::resource_cache() low-level utility for rapid in-memory diffing of combinations of resources. We also add the object::tree::diff::Platform::for_each_to_obtain_tree_with_cache() to pass a resource-cache for re-use between multiple invocation for significant savings.
  • Add config value gitoxide.http.sslNoVerify This value can by overriden by GIT_SSL_NO_VERIFY env variable. We use the value to override http.sslVerify when specifying ssl_verify in transport Options.
  • In gix read http.sslVerify config value and pass it to gix-transport.
  • add gitoxide.core.refsNamespace key and respect the GIT_NAMESPACE environment variable. It's also provided as context value.
  • make verbose-object-parsing-errors available in gix. That way, it's easy to create programs that are geared towards debugging repositories and finding invalid objects with detailed errors.
  • add the gitoxide.credentials.terminalPrompt key to represent the GIT_TERMINAL_PROMPT That way, it's easy to control the usage of terminals without using and environment.
  • Add http-client-curl-rustls (CLI) and blocking-http-transport-curl-rustls (lib) features to avoid openssl. That way, we should be able to avoid crashes on certain CI configurations.
  • add Head::try_into_peeled_object() and Head::peel_to_object_in_place() This makes it easier to peel to a specific object type, after all tags have been followed, without having to assume an intermediate commit.

Bug Fixes

  • assure the correct repository is used for checkouts after clone. If this is not the case, it's possible for filters to run in the context of potential parent repositories, which then can have all kinds of issues.

    In case of git-lfs, for instance, it would try to download objects from the wrong repository.

  • Allow multiple packs to be received one after another. Previously it would be difficult to perform another fetch operation on the

... (truncated)

Commits
  • 476d5ef Release gix v0.56.0
  • a6f73f4 update lockfile to point to latest gix-tempfile
  • c8568b9 Release gix-worktree-state v0.5.0, gix v0.56.0, gix-fsck v0.1.0, gitoxide-cor...
  • d3fd11e Release gix-worktree v0.28.0, gix-diff v0.38.0, gix-discover v0.27.0, gix-mac...
  • 55d386a Release gix-date v0.8.1, gix-hash v0.13.2, gix-trace v0.1.4, gix-features v0....
  • 2b1c60a more changelogs, this time for production crates
  • d3dcbe5 prepare changelogs prior to release
  • 8156340 Merge branch 'adjustments-for-cargo'
  • 2762724 feat: add gitoxide.core.externalCommandStderr to allow enabling stderr to...
  • ceb8826 feat!: add Context::stderr to configure whether or not to supress stderr.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps [gix](https://github.com/Byron/gitoxide) from 0.55.2 to 0.56.0.
- [Release notes](https://github.com/Byron/gitoxide/releases)
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md)
- [Commits](GitoxideLabs/gitoxide@gix-v0.55.2...gix-v0.56.0)

---
updated-dependencies:
- dependency-name: gix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 11, 2023
@spenserblack
Copy link
Collaborator

Huh, we have 2 versions of gix-object in Cargo.lock. Should that have happened?

@@ -40,7 +40,7 @@ crossbeam-channel = "0.5.8"
gix-features-for-configuration-only = { package = "gix-features", version = "0.34.0", features = [
Copy link
Collaborator

@Byron Byron Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This crate must be updated as well to v0.36. Otherwise gix-testtools pulls one in too, but that's in dev-mode only and intentional.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, thanks! IMO that can be a separate PR to re-synchronize these dependencies, but that's up to @o2sh's preferred git history style.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we can update gix-testtools in a seperate PR

@o2sh
Copy link
Owner

o2sh commented Dec 12, 2023

Hi @Byron, I've noticed this in the changelog:

  • add thediff::resource_cache() low-level utility for rapid in-memory diffing of combinations of resources. We also add the object::tree::diff::Platform::for_each_to_obtain_tree_with_cache() to pass a resource-cache for re-use between multiple invocation for significant savings.

Do you think we could use it? Considering, we already use object::tree::diff::Platform::for_each_to_obtain_tree() in compute_diff_with_parent()

@Byron
Copy link
Collaborator

Byron commented Dec 12, 2023

That's a valid point! This invocation would be relevant if we'd use rename tracking, which is disabled here though. Otherwise it would be useful though.

@o2sh o2sh merged commit 1131d39 into main Dec 13, 2023
12 checks passed
@o2sh o2sh deleted the dependabot/cargo/gix-0.56.0 branch December 13, 2023 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants