Skip to content

gix clone does not work on https://git.peppe.rs/cli/dict #1143

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

Closed
gl-yziquel opened this issue Dec 1, 2023 · 2 comments
Closed

gix clone does not work on https://git.peppe.rs/cli/dict #1143

gl-yziquel opened this issue Dec 1, 2023 · 2 comments

Comments

@gl-yziquel
Copy link

Current behavior 😯

gix clone fails on https://git.peppe.rs/cli/dict with:

Error: Didn't find 'application/x-git-upload-pack-advertisement' header to indicate 'smart' protocol, and 'dumb' protocol is not supported.

Expected behavior 🤔

Well, git clone works fine.

Git behavior

Works fine. Repo cloned.

Steps to reproduce 🕹

gix clone https://git.peppe.rs/cli/dict

@Byron
Copy link
Member

Byron commented Dec 1, 2023

It's a known issue - the dumb HTTP protocol isn't supported.

Here is an earlier response of mine (link to original comment):

Here is a listing of the supported transport protocols - dump http is not among them so I presume gitoxide cannot fetch these repos. It looks like git2 also doesn't support this protocol, so the chances of ever supporting it on the client side in gitoxide aren't high unless the implementation is contributed.

As gitoxide is implemented around the idea of the V2 git protocol, supporting dumb HTTP is really a completely separate code-path, which is also a reason it's not implemented. However, I can imagine doing so once there really is nothing else to do, for completeness. It will be a while until that happens though. Thanks for your understanding.

@Byron Byron closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2023
@gl-yziquel
Copy link
Author

gl-yziquel commented Dec 1, 2023

Yeah. fine. No worry.

As a sidenote, outside of the context of this question, I got a quick git question that you're likely one of the most able to have a quick conceptual advice on what it may mean.

icyphox/legit#30

If you have any quick idea that may help me understand what the error means, I'd be more than grateful. (Not asking for a fix. Just what you think of what that means).

[edit: that issue was pretty weird: git-filter-repo does kind of break some stuff in git repos. Uninvestigated yet.]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants