List for cgit developers and users
 help / color / Atom feed
* cgitrc questions
@ 2019-06-03 14:33 paul
  2019-06-03 14:39 ` 
  0 siblings, 1 reply; 4+ messages in thread
From: paul @ 2019-06-03 14:33 UTC (permalink / raw)


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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* cgitrc questions
  2019-06-03 14:33 cgitrc questions paul
@ 2019-06-03 14:39 ` 
  2019-06-03 14:44   ` paul
  0 siblings, 1 reply; 4+ messages in thread
From:  @ 2019-06-03 14:39 UTC (permalink / raw)


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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* cgitrc questions
  2019-06-03 14:39 ` 
@ 2019-06-03 14:44   ` paul
  2019-06-03 18:14     ` yo
  0 siblings, 1 reply; 4+ messages in thread
From: paul @ 2019-06-03 14:44 UTC (permalink / raw)


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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* cgitrc questions
  2019-06-03 14:44   ` paul
@ 2019-06-03 18:14     ` yo
  0 siblings, 0 replies; 4+ messages in thread
From: yo @ 2019-06-03 18:14 UTC (permalink / raw)


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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-03 14:33 cgitrc questions paul
2019-06-03 14:39 ` 
2019-06-03 14:44   ` paul
2019-06-03 18:14     ` yo

List for cgit developers and users

Archives are clonable: git clone --mirror http://inbox.vuxu.org/cgit

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.cgit


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git