CGIT 0.8.3.1 "chokes" on some bare repos

4 messages, 2 authors, 2016-06-15 · open the first message on its own page

CGIT 0.8.3.1 "chokes" on some bare repos

From: Eugene Sajine <hidden>
Date: 2016-06-15 22:48:59

Lars,

Could you, please, advise how can i switch on some logging in CGIT so
it will trace all activity and tell me if there are some errors?

The problem i have is that some repos summary page is not getting
shown properly. I see only branches, but i see no Tags, Age or Clone
URL.
apache logs are not very helpful.


Thanks,
Eugene

Re: CGIT 0.8.3.1 "chokes" on some bare repos

From: Lars Hjemli <hidden>
Date: 2016-06-15 22:48:59

On Mon, Jun 21, 2010 at 23:34, Eugene Sajine [off-list ref] wrote:
Could you, please, advise how can i switch on some logging in CGIT so
it will trace all activity and tell me if there are some errors?
There's no builtin logging, but running cgit.cgi under gdb (or even
strace) should do the trick.

--
larsh

Re: CGIT 0.8.3.1 "chokes" on some bare repos

From: Eugene Sajine <hidden>
Date: 2016-06-15 22:49:14

On Tue, Jun 22, 2010 at 1:14 AM, Lars Hjemli [off-list ref] wrote:
On Mon, Jun 21, 2010 at 23:34, Eugene Sajine [off-list ref] wrote:
quoted
Could you, please, advise how can i switch on some logging in CGIT so
it will trace all activity and tell me if there are some errors?
There's no builtin logging, but running cgit.cgi under gdb (or even
strace) should do the trick.

--
larsh
Lars,

I have a very strange issue with CGIT that i have no clue even how to diagnose.
We have about 250 git repos and counting and we are using CGIT to
browse all of them.

Everything works extremely well with an exception of few repositories
that when opened are not showing the tags or last commits.
I.e. when I'm looking at the source of the page i see that the HTML is
not fully generated. It stops right after it shows branches and commit
messages,
so effectively only third of a page is generated. The problem is that
it happens on selected list of repos - something seems to prevent CGIT
from completing the HTML generation...

I asked admins to run apache with "strace -f -o" and accessed a couple
of those repos. But i don't see any problems in the log... May be I'm
looking for wrong thing...

Any ideas?

Thanks,
Eugene

Re: CGIT 0.8.3.1 "chokes" on some bare repos

From: Lars Hjemli <hidden>
Date: 2016-06-15 22:49:14

On Tue, Aug 3, 2010 at 17:57, Eugene Sajine [off-list ref] wrote:
Everything works extremely well with an exception of few repositories
that when opened are not showing the tags or last commits.
I.e. when I'm looking at the source of the page i see that the HTML is
not fully generated.
This sounds like a premature exit() - does `git for-each-ref
--format="%(refname)" | xargs -L 1 git rev-parse --verify` produce any
errormessages?

Also: if you could provide me with a clone-url for one of the
troublesome repositories, I can try to debug the issue.

--
larsh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help