sipa changed the topic of #bitcoin-wizards to: This channel is for discussing theoretical ideas with regard to cryptocurrencies, not about short-term Bitcoin development | http://bitcoin.ninja/ | This channel is logged. | For logs and more information, visit http://bitcoin.ninja
mathepauker has quit []
mdunnio has quit [Remote host closed the connection]
<BlueMatt>
hmm? you mean to self-host it? I didnt look into it too deeply. I think actually the easiest thing to set up would be to a) create a webform that lets you upload an ssh pubkey which then creates a user which is restricted to git-shell, b) restirct each user via GIT_NAMESPACE to a subtree of refs which is prefixed by their ssh pubkey hash or so, c) use gitweb to display all the pushes people have, d) limit upload pack size and do
<BlueMatt>
something to limit how many pushes/hour each remote IP can do.
<BlueMatt>
I think the above basically lets you do an anonymous git project management with an hour or two of setup.
<BlueMatt>
and without all the complication of something like gitlab or gitea where users have ot actually create accounts with emails and passwords and stuff.
<phantomcircuit>
BlueMatt, iirc actually restricting users to git-shell with ssh isn't as trivial as it should be
<BlueMatt>
no, you just set their login shell, its one command
<BlueMatt>
or you can just edit /etc/passwd's shell entry and done.
<phantomcircuit>
in theory yes, but uh
<BlueMatt>
you also have to create an empty git-shell-commands file or something stupid but thats easy.
<BlueMatt>
should work? I'd bet thats literally what github does, so somehow i doubt you'd be the easiest target.
<phantomcircuit>
github i think is using a custom ssh daemon
<BlueMatt>
ah, i could see that. i mean ssh is shit, but i dont think git-shell is the biggest of your worries in that case.
<BlueMatt>
and if you're worried just do a separate git-upload server and then pull from it every minute on the actual git server.
<BlueMatt>
but I think you have the same issue with gitlab or whatever.
<BlueMatt>
the other thing I was thinking about is doing git pushes via https, and then just setting a cookie for user auth. still anonymous, but users have to configure a per-repo cookieFile and set the flag to let the server set cookies locally.
<BlueMatt>
would be a tiny bit more work for users, but the server-side setup would be similar effort.
<BlueMatt>
just via nginx authentication modules instead of ssh.
Gunni1 has quit []
<BlueMatt>
if you're feeling un-lazy, you can set it up for git.bitcoin.ninja and then I'll just let people use that server for stuff :)
jdsharp has joined #bitcoin-wizards
<BlueMatt>
hell, if people use it I'll even make it faster than fucking github cause its trivial to anycast git clones, github still makes them all go back to DCA
Emcy has quit [Ping timeout: 260 seconds]
zmnscpxj__ has quit [Remote host closed the connection]
Emcy has joined #bitcoin-wizards
AaronvanW has quit []
belcher_ is now known as belcher
vtnerd has quit [Ping timeout: 256 seconds]
Kiminuo has joined #bitcoin-wizards
vtnerd has joined #bitcoin-wizards
CryptoDavid has quit [Quit: Connection closed for inactivity]
TheoStorm has joined #bitcoin-wizards
jdsharp has quit []
Guyver2_ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
AaronvanW has joined #bitcoin-wizards
vtnerd has quit [Ping timeout: 246 seconds]
vtnerd has joined #bitcoin-wizards
feedoo1 has joined #bitcoin-wizards
TheoStorm has quit [Quit: Leaving]
Kiminuo has quit [Ping timeout: 272 seconds]
vtnerd has quit [Ping timeout: 246 seconds]
vtnerd has joined #bitcoin-wizards
Emcy has quit [Remote host closed the connection]
Emcy has joined #bitcoin-wizards
vtnerd has quit [Ping timeout: 256 seconds]
vtnerd has joined #bitcoin-wizards
ratbanebo has quit [Remote host closed the connection]
ratbanebo has joined #bitcoin-wizards
ratbanebo has quit [Ping timeout: 272 seconds]
TheoStorm has joined #bitcoin-wizards
shesek has quit [Remote host closed the connection]
ApolloRiver has quit [Ping timeout: 265 seconds]
mdunnio has quit [Remote host closed the connection]