I set up cgit on an Ubuntu server running nginx a few days ago and it's awesome. A couple things I haven't figured out though and would love some help with. # Cloning git and ssh cloning doesn't work for me. https cloning works perfectly fine but I'd like to be authenticated so I can push via git or ssh. # Private repos I have my config set to "scan". Would it be possible to declare somewhere in the repo *itself* that it should be private? # Authentication I see the filter documentation but I am unsure how to actually implement it. I'd like *some* public repos but most of my repos are private. I've used GitLab and now Gitea. I'm looking to make a full transition to cgit because it's simpler, faster, and more customizable. P.S. This is my first time using a mailing list. <git://code.webb.page/chronver> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20190603/610930d0/attachment.html>
Hi, > git and ssh cloning doesn't work for me. https cloning works perfectly fine but I'd like to be authenticated so I can push via git or ssh. glad to hear you like cgit! However it is not comparable to the scope of GitLab or even Gitea. cgit is a read only web viewer for git repositories. While cloning via http/s works, it's not recommended, since cgit is emulating a dumb http backend and thus torturing your server during a clone. Nevertheless we are using cgit as viewer ourself and git-http-server as git backend for http cloning/pushing :) Kind regards > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20190603/27641324/attachment.html>
Ahhh, so that's why old tutorials I found always had a third item being installed. Makes sense now, of course it wouldn't work. Thanks! Peter M?ller wrote on 6/3/19 9:39 AM: > Hi, > > > >?git and ssh cloning doesn't work for me. https cloning works > perfectly fine but I'd like to be authenticated so I can push via git > or ssh. > > glad to hear you like cgit! However it is not comparable to the scope > of GitLab or even Gitea. > > cgit is a read only web viewer for git repositories. While cloning via > http/s works, it's not recommended, since cgit is emulating a dumb > http backend and thus torturing your server during a clone. > > Nevertheless we are using cgit as viewer ourself and git-http-server > as git backend for http cloning/pushing :) > > > Kind?regards > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20190603/8ce42d64/attachment.html>
On June 3, 2019 2:44:13 PM UTC, Paul Anthony Webb <paul at webb.page> wrote: >Ahhh, so that's why old tutorials I found always had a third item being > >installed. Makes sense now, of course it wouldn't work. > >Thanks! > >Peter M?ller wrote on 6/3/19 9:39 AM: >> Hi, >> >> >> >?git and ssh cloning doesn't work for me. https cloning works >> perfectly fine but I'd like to be authenticated so I can push via git > >> or ssh. >> >> glad to hear you like cgit! However it is not comparable to the scope > >> of GitLab or even Gitea. >> >> cgit is a read only web viewer for git repositories. While cloning >via >> http/s works, it's not recommended, since cgit is emulating a dumb >> http backend and thus torturing your server during a clone. >> >> Nevertheless we are using cgit as viewer ourself and git-http-server >> as git backend for http cloning/pushing :) >> >> >> Kind?regards >> >> >> >> Lemme know if you need help ? -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20190603/329ca5e8/attachment.html>