{"thread":{"id":"24160","subject":"CGIT 0.8.3.1 \"chokes\" on some bare repos","startedAt":"2010-06-21T21:34:13Z","lastAt":"2010-08-03T16:49:07Z","messageCount":4,"participants":["Eugene Sajine","Lars Hjemli"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"144001","messageId":"AANLkTikcnv2dzY25dSgvKoTfLJ416gcaeDZA5HGa_tue@mail.gmail.com","threadId":"24160","inReplyTo":null,"subject":"CGIT 0.8.3.1 \"chokes\" on some bare repos","fromName":"Eugene Sajine","fromEmail":"euguess@gmail.com","sentAt":"2010-06-21T21:34:13Z","receivedAt":"2010-06-21T21:34:13Z","isPatch":false,"sender":{"key":"euguess@gmail.com","avatar":null},"body":"Lars,\n\nCould you, please, advise how can i switch on some logging in CGIT so\nit will trace all activity and tell me if there are some errors?\n\nThe problem i have is that some repos summary page is not getting\nshown properly. I see only branches, but i see no Tags, Age or Clone\nURL.\napache logs are not very helpful.\n\n\nThanks,\nEugene\n"},{"id":"144024","messageId":"AANLkTinab6BkUqZnUE3yxmgY_lKyp0TbYUPYbKkoUKMA@mail.gmail.com","threadId":"24160","inReplyTo":"AANLkTikcnv2dzY25dSgvKoTfLJ416gcaeDZA5HGa_tue@mail.gmail.com","subject":"Re: CGIT 0.8.3.1 \"chokes\" on some bare repos","fromName":"Lars Hjemli","fromEmail":"hjemli@gmail.com","sentAt":"2010-06-22T05:14:33Z","receivedAt":"2010-06-22T05:14:33Z","isPatch":false,"sender":{"key":"hjemli@gmail.com","avatar":null},"body":"On Mon, Jun 21, 2010 at 23:34, Eugene Sajine <euguess@gmail.com> wrote:\n> Could you, please, advise how can i switch on some logging in CGIT so\n> it will trace all activity and tell me if there are some errors?\n\nThere's no builtin logging, but running cgit.cgi under gdb (or even\nstrace) should do the trick.\n\n--\nlarsh\n"},{"id":"147056","messageId":"AANLkTi==+q28cS7ssz-E3vQ7xqoQxBM4Tj1Jf_SvuK0G@mail.gmail.com","threadId":"24160","inReplyTo":"AANLkTinab6BkUqZnUE3yxmgY_lKyp0TbYUPYbKkoUKMA@mail.gmail.com","subject":"Re: CGIT 0.8.3.1 \"chokes\" on some bare repos","fromName":"Eugene Sajine","fromEmail":"euguess@gmail.com","sentAt":"2010-08-03T15:57:13Z","receivedAt":"2010-08-03T15:57:13Z","isPatch":false,"sender":{"key":"euguess@gmail.com","avatar":null},"body":"On Tue, Jun 22, 2010 at 1:14 AM, Lars Hjemli <hjemli@gmail.com> wrote:\n> On Mon, Jun 21, 2010 at 23:34, Eugene Sajine <euguess@gmail.com> wrote:\n>> Could you, please, advise how can i switch on some logging in CGIT so\n>> it will trace all activity and tell me if there are some errors?\n>\n> There's no builtin logging, but running cgit.cgi under gdb (or even\n> strace) should do the trick.\n>\n> --\n> larsh\n>\n\nLars,\n\nI have a very strange issue with CGIT that i have no clue even how to diagnose.\nWe have about 250 git repos and counting and we are using CGIT to\nbrowse all of them.\n\nEverything works extremely well with an exception of few repositories\nthat when opened are not showing the tags or last commits.\nI.e. when I'm looking at the source of the page i see that the HTML is\nnot fully generated. It stops right after it shows branches and commit\nmessages,\nso effectively only third of a page is generated. The problem is that\nit happens on selected list of repos - something seems to prevent CGIT\nfrom completing the HTML generation...\n\nI asked admins to run apache with \"strace -f -o\" and accessed a couple\nof those repos. But i don't see any problems in the log... May be I'm\nlooking for wrong thing...\n\nAny ideas?\n\nThanks,\nEugene\n"},{"id":"147059","messageId":"AANLkTimEbrapnihtp=6J5KTn67WqQk+726a3uCZaLwum@mail.gmail.com","threadId":"24160","inReplyTo":"AANLkTi==+q28cS7ssz-E3vQ7xqoQxBM4Tj1Jf_SvuK0G@mail.gmail.com","subject":"Re: CGIT 0.8.3.1 \"chokes\" on some bare repos","fromName":"Lars Hjemli","fromEmail":"hjemli@gmail.com","sentAt":"2010-08-03T16:49:07Z","receivedAt":"2010-08-03T16:49:07Z","isPatch":false,"sender":{"key":"hjemli@gmail.com","avatar":null},"body":"On Tue, Aug 3, 2010 at 17:57, Eugene Sajine <euguess@gmail.com> wrote:\n> Everything works extremely well with an exception of few repositories\n> that when opened are not showing the tags or last commits.\n> I.e. when I'm looking at the source of the page i see that the HTML is\n> not fully generated.\n\nThis sounds like a premature exit() - does `git for-each-ref\n--format=\"%(refname)\" | xargs -L 1 git rev-parse --verify` produce any\nerrormessages?\n\nAlso: if you could provide me with a clone-url for one of the\ntroublesome repositories, I can try to debug the issue.\n\n--\nlarsh\n"}]}