* CGIT 0.8.3.1 "chokes" on some bare repos
@ 2010-06-21 21:34 Eugene Sajine
2010-06-22 5:14 ` Lars Hjemli
0 siblings, 1 reply; 4+ messages in thread
From: Eugene Sajine @ 2010-06-21 21:34 UTC (permalink / raw)
To: Lars Hjemli; +Cc: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CGIT 0.8.3.1 "chokes" on some bare repos
2010-06-21 21:34 CGIT 0.8.3.1 "chokes" on some bare repos Eugene Sajine
@ 2010-06-22 5:14 ` Lars Hjemli
2010-08-03 15:57 ` Eugene Sajine
0 siblings, 1 reply; 4+ messages in thread
From: Lars Hjemli @ 2010-06-22 5:14 UTC (permalink / raw)
To: Eugene Sajine; +Cc: git
On Mon, Jun 21, 2010 at 23:34, Eugene Sajine <euguess@gmail.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CGIT 0.8.3.1 "chokes" on some bare repos
2010-06-22 5:14 ` Lars Hjemli
@ 2010-08-03 15:57 ` Eugene Sajine
2010-08-03 16:49 ` Lars Hjemli
0 siblings, 1 reply; 4+ messages in thread
From: Eugene Sajine @ 2010-08-03 15:57 UTC (permalink / raw)
To: Lars Hjemli; +Cc: git
On Tue, Jun 22, 2010 at 1:14 AM, Lars Hjemli <hjemli@gmail.com> wrote:
> On Mon, Jun 21, 2010 at 23:34, Eugene Sajine <euguess@gmail.com> 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
>
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CGIT 0.8.3.1 "chokes" on some bare repos
2010-08-03 15:57 ` Eugene Sajine
@ 2010-08-03 16:49 ` Lars Hjemli
0 siblings, 0 replies; 4+ messages in thread
From: Lars Hjemli @ 2010-08-03 16:49 UTC (permalink / raw)
To: Eugene Sajine; +Cc: git
On Tue, Aug 3, 2010 at 17:57, Eugene Sajine <euguess@gmail.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-03 16:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-21 21:34 CGIT 0.8.3.1 "chokes" on some bare repos Eugene Sajine
2010-06-22 5:14 ` Lars Hjemli
2010-08-03 15:57 ` Eugene Sajine
2010-08-03 16:49 ` Lars Hjemli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).