5 ms·
What is the current story for serving jj repositories over HTTPS? Git has https://git-scm.com/book/ms/v2/Git-on-the-Server-The-Protocols#:~:text=HTTP%20protocol
by dmitshur 5mo ago
What is the current story for serving jj repositories over HTTPS? Git has https://git-scm.com/book/ms/v2/Git-on-the-Server-The-Protocols#:~:text=HTTP%20protocol%20first.-,Smart%20HTTP,-Smart%20HTTP%20operates https://git-scm.com/book/ms/v2/Git-on-the-Server-The-Protoco... . Does jj have something better, equivalent, or nothing (at this time) at all?
- steveklabnik 5mo agoUnless you're at Google (or writing your own backend), jj talks to a git server, and so you'd just do exactly that: host a git repo over https.
- dmitshur 5mo agoI am at Google, but that's probably not relevant since the reason I was curious about this is that my personal website currently implements a git server over HTTPS[1], and git's CLI/API for that is not the friendliest[2]. It sounds like jj hasn't reached the point of tackling this problem space yet, which is okay. Thanks for confirming I wasn't missing out on something. [1] https://pkg.go.dev/github.com/shurcooL/home/internal/code#NewGitHandler https://pkg.go.dev/github.com/shurcooL/home/internal/code#Ne... [2] https://pkg.go.dev/github.com/shurcooL/home/cmd/githook/pre-receive https://pkg.go.dev/github.com/shurcooL/home/cmd/githook/pre-...
- steveklabnik 5mo agoYeah all I meant to say is that `jj piper` exists in Google's private fork of jj, so not relevant for your case :) You should be able to use jj with your server just fine.