tombh / peas

Docker and Ruby based PaaS
GNU General Public License v2.0
601 stars 33 forks source link

Grack Git Server #17

Closed tombh closed 10 years ago

tombh commented 10 years ago

Grack seems like it could be a good solution for a quick and lightweight Git server. It only works over HTTPS, so I'm wondering what would be the best way to provide authentication.

We could make the Git Remote include a password, like so; https://user:pass@api.peas.com/peasapp.git, but then it's in plaintext and associated with the config for that particular repo.

Ideally I want to recreate the SSH handshake in pure ruby and use public/private keys with the Git SSH protocol.

tombh commented 10 years ago

Actually, I've decided to just take the traditional route and have deploys happen over Git SSH. I'll use Progrium's https://github.com/progrium/gitreceive for non-dev environments and allow local git pushes in development.

tombh commented 10 years ago

Fixed by #19