Re: New Install - No Repositories Found

2020-09-02 Thread Fccagou
On Wed, Sep 02, 2020 at 02:45:54PM +, furicle --- wrote: > Thank you for your comments.  > > Just removing the cache didn't help. > > I did a brief walkthrough of all the things you are doing in that (not so > little) script. > > I can see a bunch of things I hadn't considered. > > This i

Re: New Install - No Repositories Found

2020-09-02 Thread furicle ---
Thank you for your comments.  Just removing the cache didn't help. I did a brief walkthrough of all the things you are doing in that (not so little) script. I can see a bunch of things I hadn't considered. This is going to require more thought on my end, and probably a different approach and

Re: New Install - No Repositories Found

2020-09-01 Thread fccagou
ng it would then see the half dozen or so repostories in that >folder, but the web page shows 'no repositories found' > > > >The /git folder and the .git folders in it are all 755 permissions. > > > >I don't see any complains in the SELinux audit log. > &

Re: New Install - No Repositories Found

2020-09-01 Thread François Kooman
On 9/1/20 9:04 PM, furicle --- wrote: First time user, I'm doing something wrong... CentOS7 box, installed cgit via yum. I added scan-path=/git  to the /etc/cgitrc I was hoping it would then see the half dozen or so repostories in that folder, but the web page shows 'no repositories

New Install - No Repositories Found

2020-09-01 Thread furicle ---
Hi All First time user, I'm doing something wrong... CentOS7 box, installed cgit via yum. I added scan-path=/git  to the /etc/cgitrc  I was hoping it would then see the half dozen or so repostories in that folder, but the web page shows 'no repositories found' The

Re: "no repositories found": cgit + gitolite + nginx -- git/ssh access OK, web access OK, no errors, but no repos found/displayed?

2019-08-14 Thread PGNet Dev
a number of popular refs, e.g., https://wiki.archlinux.org/index.php/Cgit#Using_uwsgi recommend an nginx config similar to, location / { try_files $uri @cgit; } location @cgit { gzip off; include uwsgi_params;

Re: "no repositories found": cgit + gitolite + nginx -- git/ssh access OK, web access OK, no errors, but no repos found/displayed?

2019-08-14 Thread PGNet Dev
> could you please also provide your cgit config? Also, which user is > executing cgit my current config is cat /etc/cgitrc virtual-root=/ css=/cgit.css logo=/cgit.png cache-size=1000 enable-index-links=1

"no repositories found": cgit + gitolite + nginx -- git/ssh access OK, web access OK, no errors, but no repos found/displayed?

2019-08-13 Thread PGNet Dev
w/cgi-bin/cgit/cgit.cgi in browser, @ cgit site page, I see the CGit UI https://i.imgur.com/2zhl7ax.png but there's no repo content, it simply displays No repositories found generated by cgit v1.2.1 (git 2.18.1) at 2019-08-13 17:44:46 + iiuc, this is a perm pro

No repositories found

2016-09-28 Thread Gary Yang
Hi, Just realized that my previous email format got messed up. I resend it. Sorry. Can someone help? After I installed and configure cgit, gitolite and apache, I got "No repositories found" when I tried to open page, http://servergit/cgit. Errors in /var/log/httpd/error_log [cgi:e

cgit: No repositories found

2016-09-28 Thread Gary Yang
Hi, After I installed and configure cgit, gitolite and apache, I got "No repositories found" when I tried to open page, http://servergit/cgit. Errors in /var/log/httpd/error_log [cgi:error] [pid 27680] [client 10.76.6.235:42188] AH01215: Error opening projectsfile /home/git/pro

Re: cgit: No repositories found

2016-09-26 Thread Gary Yang
Hi John, After I setup cgit. I got "No repositories found". It is CentOS 7.2 platform. Please help. Here are what I did.  1. After installed gitolite, I got repos at  /home/git/repositories/gitolite-admin.git and testing.git #Repositories permission:ls -alF /home/gitdrwxrwxrwx.  

Re: cgit: No repositories found

2016-09-26 Thread John Keeping
Please try to send plain text email, I've had to reformat this heavily to make it readable. On Fri, Sep 23, 2016 at 11:41:25PM +, Gary Yang wrote: > After I setup cgit. I got "No repositories found". It is CentOS 7.2 platform. > Please help. Here are what I did. &g

cgit: No repositories found

2016-09-23 Thread Gary Yang
Hi,  After I setup cgit. I got "No repositories found". It is CentOS 7.2 platform. Please help. Here are what I did.  1. After installed gitolite, I got repos at  /home/git/repositories/gitolite-admin.git and testing.git #Repositories permission:ls -alF /home/git drwxrwxrwx.  5 git  gi

Re: [PATCH v2 2/2] ui-repolist: return HTTP 404 if no repositories found

2016-01-13 Thread Peter Colberg
On Wed, Jan 13, 2016 at 05:21:21PM +0100, Jason A. Donenfeld wrote: > Thanks Peter. I merged this with some changes: > > http://git.zx2c4.com/cgit/commit/?id=9abe4a26a92b91170cb9c5dab830b40fb1e0327f Thanks for merging, Jason. > Note that in C you need to specify (void) in the argument list if it

Re: [PATCH v2 2/2] ui-repolist: return HTTP 404 if no repositories found

2016-01-13 Thread Jason A. Donenfeld
Thanks Peter. I merged this with some changes: http://git.zx2c4.com/cgit/commit/?id=9abe4a26a92b91170cb9c5dab830b40fb1e0327f Note that in C you need to specify (void) in the argument list if it doesn't take any arguments. Otherwise it takes a variable number of arguments.

[PATCH v2 2/2] ui-repolist: return HTTP 404 if no repositories found

2015-12-08 Thread Peter Colberg
age(404, "Not found", "No repositories found"); + return; + } + if (ctx.cfg.enable_index_links) ++columns; if (ctx.cfg.enable_index_owner) @@ -347,9 +366,7 @@ void cgit_print_repolist(void) html("\n");

[PATCH v2 0/2] return HTTP 404 if no repositories found

2015-12-08 Thread Peter Colberg
k you for the helpful comments! Regards, Peter Peter Colberg (2): ui-repolist: extract repo visibility criteria to separate function ui-repolist: return HTTP 404 if no repositories found ui-repolist.c | 36 ++-- 1 file changed, 30 insertions(+), 6 deletions(-)

Re: [PATCH] ui-repolist: return HTTP 404 if no repositories found

2015-12-07 Thread John Keeping
t; + repo = &cgit_repolist.repos[i]; > + if (is_visible(repo)) { > + found = 1; > + break; > + } > + } > + if (!found) { > + cgit_print_error_page(404, "Not found", "No repositories >

[PATCH] ui-repolist: return HTTP 404 if no repositories found

2015-12-07 Thread Peter Colberg
repositories found ui-repolist.c | 32 +--- 1 file changed, 25 insertions(+), 7 deletions(-) -- 2.6.2 ___ CGit mailing list CGit@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/cgit

[PATCH] ui-repolist: return HTTP 404 if no repositories found

2015-12-07 Thread Peter Colberg
break; + } + } + if (!found) { + cgit_print_error_page(404, "Not found", "No repositories found"); + return; + } if (ctx.cfg.enable_index_links) ++columns; @@ -278,9 +300,7 @@ void cgit_print_repolist(void