You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bundle a snapshot of the source code as an asset in the built binary (probably the output of git archive, or whatever format is most convenient for streaming out to clone requests)
Setup the proper response for the git clone request. IIRC it calls it as a subsystem exec and just stream something like a tarball1 a blob back? Would require a bit of research but the final implementation shouldn't be too bad. Worst case there are lots of pure-go git implementations that could be leveraged, but I'm not sure that would even be necessary.
Primarily for the lols, but it would be really cool to be able to do:
$ git clone ssh://chat.shazow.net
to get the source code of the current version running there.
Related tweet: https://twitter.com/shazow/status/1004078941349601281
v1 of this feature:
git archive
, or whatever format is most convenient for streaming out to clone requests)something like a tarball1 a blob back? Would require a bit of research but the final implementation shouldn't be too bad. Worst case there are lots of pure-go git implementations that could be leveraged, but I'm not sure that would even be necessary.The text was updated successfully, but these errors were encountered: