4 ms·
Does gitlab offer a stripped down version with only vanila 'git' ?
by subhrm 6y ago
Does gitlab offer a stripped down version with only vanila 'git' ?
- number6 6y agoAs in just git? https://www.logicbig.com/tutorials/misc/git/accessing-remote-repository-via-ssh.html https://www.logicbig.com/tutorials/misc/git/accessing-remote...
- boleary-gl 6y agoGitLab Developer Evangelist here. You can install GitLab and only _use_ it for 'git' (source control management). But the install is the same - GitLab is a single application
- bebop 6y agoYou might want to look at gitea: https://gitea.io/en-us/ https://gitea.io/en-us/ it is a pretty minimal git web application.
- mekster 6y agoI wouldn't call it minimal. It's got enough for many workloads.
- kissgyorgy 6y agoYou only need an SSH server for that.
- arichard123 6y agoYou can combine ssh with multiple users to provide repo-level permissions (not branch level). You use standard linux permissions to enable deploy keys. You would also use git-shell on the read only ssh accounts for the deploy-keys. Without writing a new shell you wouldn't be able to do branch level protection.
- reacharavindh 6y agoDo you have a reference for such a barebones git setup anywhere? I’d love to get rid of Gitea currently in use for the team and replace it with simple Git + SSH. We don’t need branch level access control. Last I checked, I gave up after try to set up keys for each user into a ‘git’ user in the VM running git. Any guidance here would be of great help.
- arichard123 6y agoI have tidied up my script and written some docs and put the result up here https://github.com/artumi-richard/ssh-git-hosting/ https://github.com/artumi-richard/ssh-git-hosting/
- salamander014 6y agoYou could also look into Sourcehut depending on what your needs are. https://man.sr.ht/installation.md https://man.sr.ht/installation.md