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
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
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.
>
&
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
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
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;
> 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
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
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
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
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.
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
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
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
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.
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");
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(-)
t; + repo = &cgit_repolist.repos[i];
> + if (is_visible(repo)) {
> + found = 1;
> + break;
> + }
> + }
> + if (!found) {
> + cgit_print_error_page(404, "Not found", "No repositories
>
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
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
20 matches
Mail list logo