Giter Site home page Giter Site logo

multi protocol handoff about gittorrent HOT 4 OPEN

cjb avatar cjb commented on July 21, 2024
multi protocol handoff

from gittorrent.

Comments (4)

cjb avatar cjb commented on July 21, 2024

I'm not sure I understand what this would do, sorry -- could you give a little more detail?

Oh, maybe you mean:

gittorrent://user/repo+https://server/user/repo

where it first tries gittorrent, and if that fails, it knows where a backup centralized server is?

from gittorrent.

graingert avatar graingert commented on July 21, 2024

@cjb no I mean gittorrent://some.http.git.server/path/to/repo.git tries git://some.http.git.server/path/to/repo.git and fails because the endpoint only supports https.

I'd like gittorrent+https://some.http.git.server/path/to/repo.git to grab commit hashes from https://some.http.git.server/path/to/repo.git and I'd like gittorrent+xyz://some.http.git.server/path/to/repo.git to grab commit hashes from xyz://some.http.git.server/path/to/repo.git

from gittorrent.

cjb avatar cjb commented on July 21, 2024

Oh! Cool, thanks. Makes sense.

If git and https are the only protocols you could imagine using this way, we could also just make gittorrent:// try Git, and then HTTPS.

from gittorrent.

graingert avatar graingert commented on July 21, 2024

@cjb there are a handful of other git protocols that I might use but I won't be able to list them all

Also there are other git protocol wrappers that hand off in this way, so you can do protocolx+protocoly+protocolz:// and each wrapper pops itself off the front of the URL

from gittorrent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.