-
-
Notifications
You must be signed in to change notification settings - Fork 329
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
Credentials helper launching in all its variety #496
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It's special as it creates its own repository.
Previously this was hard-coded to `radicle`, now it's just an extension scheme along with a statically known string. This means we have to explicitly support new formats which should be fine.
…upport (#450) No leniency because it's hard to decide what to do, allowing connections is probably not it, so better fail with the correct error message.
…450) This wasn't supposed to happen but a requirement to get `serde` support back.
align usage of stdin and stdout to factor it elsewhere.
…for more flexible helper invocation (#450)
avoid using actual credentials helper where none is required
…module. (#450) Also allow to pass arbitrary bytes (more or less) as context by not forcing it all into a string. Values can now be everything, which helps with passing paths or other values.
…mes. (#450) Have to represent names or urls seprately or risk this to be a hazard for any caller.
Conflicts: cargo-smart-release/Cargo.toml experiments/diffing/Cargo.toml experiments/object-access/Cargo.toml experiments/traversal/Cargo.toml git-attributes/Cargo.toml git-config/Cargo.toml git-odb/Cargo.toml git-pack/Cargo.toml git-ref/Cargo.toml git-repository/Cargo.toml git-url/Cargo.toml gitoxide-core/Cargo.toml
…redential-lite` (#450)
Needs integration with Repo configuration, which includes prompt options actually.
…lled with all arguments (#450)
When true, default false, inject the git installation configuration file if present at the cost of one `git config` invocation. Note that we rely on the underlying `git-config` crate to not load duplicate files. We also currently lie about the scope which is actually unclear - have seen 'unknown' or normal scopes like `system`.
#450) This is important as it may contain additional credential helper configuration that we definitely need to find the credentials that git usually finds.
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tasks
protocol.*.allow
support helper functions (instead of programs)no need, only interesting for testing actuallygit-command
to spawn commands 'git-style' and eventually also hooks, somewhat similar torun-command.c
.credential.helper
configuration (via git-sec)git-prompt
expectrl
driven testgit
invocations.- on MacOS
/usr/bin/git
the 'system' config is scope 'unknown' and would need to be parsed via-l --show-origin
and the first line is the path. '--system' is not present. On windows,--system
works as expected and these count as installation directory.gix remote refs
for non-symbolic remote, like in PR checkoutsgix credential
as equivalent togit credential
, just for funNext PR
git-sec
remove tag fromAccess
, make acheck
that only returns onOption
, ignoringDeny
.Out of scope
branch.<name>.merge
support, as we don't yet merge anything and fetching still fetches the entire refspec of as configured in the remote.Predecessor