Oddbean new post about | logout
 In case you didn't know a dumb HTTP server can act as read-only git remote. I believe you must have cloned with --base or --mirror for this to work correctly. I haven't tested without those flags. 

#til #dev

https://git-scm.com/docs/http-protocol 
 yeah, it is possible, also i looked into it and all of the instrucitons included the use of apache or nginx... which put me off completely

making a git repo that is only https is the easiest part, literally it's just SSH, the rest is done over SSH... if you know of an easy guide how to get the http side working i'd be very happy to hear about it... i don't want to use docker or apache though 
 Yep, it's --bare
You can also zip the whole thing into a "git bundle". Or was it tar...? Either way, you can "clone from an archive".
There are some ultra nieche things in Git for basically no particular reason other than someone found them practical at some point. xD 
 Git archive is what you're thinking of. I use it in my build system to output the repo state so users can download on my website! And it supports multiple formats, I use tar+gzip. I currently use --mirror and it seems to be working well and allow for easy automatic updates to mirror other remotes if need be. 

I've been trying to find ways to safely expose git without exposing my internal git server, so this nails it! And my software is serving itself :) 
 Also whats new with you? I haven't seen you around much, could just be my feed.  
 Been here the whole time, actually. Just sometimes I've got more time and sometimes less ^^
And, right now, I don't really have a CLI setup for noting from work. My VisionFive2 died (well, its microSD reader, and I don't have a bootloader in the SPI...) where I had noscl/nak all nicely configured and set. ^^;
I'll get to it, at some point, probably. o.o 
 Yeah my feed's been a bit messy so I haven't seen your notes. I just started pruning my list. What were you doing with the VisionFive board? 
 It went through a few use-cases. First it was a TVHeadend server, then it became a miniature build server via Laminar and then I tried running Home Assistant on it - but because of Python being a hellhole as usual and some dependencies just not having or wanting to put efforts towards RISC-V, it ended up just passively chilling out there and NFS-sharing some random drives.
I ended up compiling my own kernel for it, dialed in so much so that it was almost ready for a distro. ^^ But with 6.11, a good amount of this stuff is now also in mainstream - so once I get it working again, I fully intend to attempt to see how far I can go with plain upstream.
For the meantime, untill I find a fix, it'll just sit there as deco in my server shelf. o.o