{"thread":{"id":"10611","subject":"[ANNOUNCE] cgit v0.7","startedAt":"2007-11-03T11:08:40Z","lastAt":"2007-11-07T10:52:21Z","messageCount":10,"participants":["Lars Hjemli","Nguyen Thai Ngoc Duy","Jakub Narebski","Peter Karlsson","Patrick Aljord"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"58095","messageId":"8c5c35580711030408n658eb11fk19d554f0fa3b17@mail.gmail.com","threadId":"10611","inReplyTo":null,"subject":"[ANNOUNCE] cgit v0.7","fromName":"Lars Hjemli","fromEmail":"hjemli@gmail.com","sentAt":"2007-11-03T11:08:40Z","receivedAt":"2007-11-03T11:08:40Z","isPatch":false,"sender":{"key":"hjemli@gmail.com","avatar":null},"body":"cgit v0.7 (a fast webinterface for git) is now available at\n\n     git://hjemli.net/pub/git/cgit\n\nThis release includes better search capabilities, better diff,\nfiltered and sorted branch/tag lists on the summary page, a simple way\nto switch between branches and finally a much needed restructuring of\nthe user interface. There is even a brand new logo, and a number of\nbugfixes.\n\nThe latest version can be seen in action on http://hjemli.net/git/\n(disclaimer: I'm not a web/user interface designer, and should not be\nheld responsible for any eyeball-related damages).\n\nBig thanks to everyone who submitted patches and feedback!\n\n---\nSortlog since v0.6\n\n\nChris Pickel (3):\n      Makefile: add support for DESTDIR\n      Make cgit honor CACHE_ROOT as defined in Makefile\n      Improve the sample cgitrc file\n\nLars Hjemli (47):\n      Makefile: add missing references to DESTDIR\n      cgit v0.6.1\n      Revert \"Makefile: add missing references to DESTDIR\"\n      Revert part of \"Makefile: add support for DESTDIR\"\n      cgit v0.6.2\n      ui-tree: specify parameter position for all htmlf formats\n      ui-tree: show last line of blob\n      Add cgit.conf to .gitignore, remove *~\n      Remove a few compiler warnings\n      Use trim_end() to remove trailing slashes\n      Upgrade to GIT 1.5.3.2\n      cgit v0.6.3\n      Add support for a renamelimit option in cgitrc\n      Add prefix parameter to cgit_diff_tree()\n      Add prefix parameter to cgit_print_diff()\n      ui-commit.c: link to diff instead of tree from diffstat\n      css: remove the annoying tr:hover rule for diffstat\n      gen-version.sh: don't sed the output from git describe\n      ui-diff: add links to pre- and postversion of blobs\n      cgit.css: make diff headers more visible\n      Use git-1.5.3.3\n      Skip unknown header fields when parsing tags and commits\n      Add functions and types for ref lists\n      Use reflist to print branch info\n      Use reflist to print tag info\n      Sort tags by age\n      Add support for config param summary-tags\n      Move logic for age comparision from cmp_tag_age into cmp_age()\n      Add support for config param summary-branches\n      Add descriptions of summary-branches and summary-tags to cgitrc\n      Make cgit_print_branches()/cgit_print_tags() external\n      Add support for refs view\n      Add links to the new refs page from summary page\n      Cleanup code introduced by the filter-refs topic\n      cgit_parse_commit(): Add missing call to xstrdup()\n      Add html_option() function\n      Teach log search about --grep, --author and --committer\n      Make print_branch() handle refs not pointing at commits\n      Teach cgit_object_link() about tag objects\n      Add config param 'index-info'\n      Change the cgit layout\n      Add search parameters to cgit_log_link\n      Fix search form action/hidden fields\n      Don't include current path in menu links\n      Don't include current SHA1 in 'log' menu-item\n      Use GIT-1.5.3.5\n      CGIT 0.7\n\nMichael Krelin (2):\n      fixed typo in cgitrc\n      correct typo in CSS\n\nShunichi Fuji (1):\n      Fix typo in css\n"},{"id":"58113","messageId":"fcaeb9bf0711030515i24174694w5d4fd9b82ca85868@mail.gmail.com","threadId":"10611","inReplyTo":"8c5c35580711030408n658eb11fk19d554f0fa3b17@mail.gmail.com","subject":"Re: [ANNOUNCE] cgit v0.7","fromName":"Nguyen Thai Ngoc Duy","fromEmail":"pclouds@gmail.com","sentAt":"2007-11-03T12:15:09Z","receivedAt":"2007-11-03T12:15:09Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"I wonder why this is not in git's contrib part. It requires git source\ncode to build and does not seem to require additional dependencies.\nIt's smaller than gitweb and does not need perl... MinGW porting guys\nmay even have a look at it while porting git (and I'm thinking about\nporting busybox httpd so that it could run out of the box on Windows\n;) ).\n\nAny reasons?\n\nOn 11/3/07, Lars Hjemli <hjemli@gmail.com> wrote:\n> cgit v0.7 (a fast webinterface for git) is now available at\n>\n>      git://hjemli.net/pub/git/cgit\n>\n> This release includes better search capabilities, better diff,\n> filtered and sorted branch/tag lists on the summary page, a simple way\n> to switch between branches and finally a much needed restructuring of\n> the user interface. There is even a brand new logo, and a number of\n> bugfixes.\n>\n> The latest version can be seen in action on http://hjemli.net/git/\n> (disclaimer: I'm not a web/user interface designer, and should not be\n> held responsible for any eyeball-related damages).\n>\n> Big thanks to everyone who submitted patches and feedback!\n>\n> ---\n> Sortlog since v0.6\n>\n>\n> Chris Pickel (3):\n>       Makefile: add support for DESTDIR\n>       Make cgit honor CACHE_ROOT as defined in Makefile\n>       Improve the sample cgitrc file\n>\n> Lars Hjemli (47):\n>       Makefile: add missing references to DESTDIR\n>       cgit v0.6.1\n>       Revert \"Makefile: add missing references to DESTDIR\"\n>       Revert part of \"Makefile: add support for DESTDIR\"\n>       cgit v0.6.2\n>       ui-tree: specify parameter position for all htmlf formats\n>       ui-tree: show last line of blob\n>       Add cgit.conf to .gitignore, remove *~\n>       Remove a few compiler warnings\n>       Use trim_end() to remove trailing slashes\n>       Upgrade to GIT 1.5.3.2\n>       cgit v0.6.3\n>       Add support for a renamelimit option in cgitrc\n>       Add prefix parameter to cgit_diff_tree()\n>       Add prefix parameter to cgit_print_diff()\n>       ui-commit.c: link to diff instead of tree from diffstat\n>       css: remove the annoying tr:hover rule for diffstat\n>       gen-version.sh: don't sed the output from git describe\n>       ui-diff: add links to pre- and postversion of blobs\n>       cgit.css: make diff headers more visible\n>       Use git-1.5.3.3\n>       Skip unknown header fields when parsing tags and commits\n>       Add functions and types for ref lists\n>       Use reflist to print branch info\n>       Use reflist to print tag info\n>       Sort tags by age\n>       Add support for config param summary-tags\n>       Move logic for age comparision from cmp_tag_age into cmp_age()\n>       Add support for config param summary-branches\n>       Add descriptions of summary-branches and summary-tags to cgitrc\n>       Make cgit_print_branches()/cgit_print_tags() external\n>       Add support for refs view\n>       Add links to the new refs page from summary page\n>       Cleanup code introduced by the filter-refs topic\n>       cgit_parse_commit(): Add missing call to xstrdup()\n>       Add html_option() function\n>       Teach log search about --grep, --author and --committer\n>       Make print_branch() handle refs not pointing at commits\n>       Teach cgit_object_link() about tag objects\n>       Add config param 'index-info'\n>       Change the cgit layout\n>       Add search parameters to cgit_log_link\n>       Fix search form action/hidden fields\n>       Don't include current path in menu links\n>       Don't include current SHA1 in 'log' menu-item\n>       Use GIT-1.5.3.5\n>       CGIT 0.7\n>\n> Michael Krelin (2):\n>       fixed typo in cgitrc\n>       correct typo in CSS\n>\n> Shunichi Fuji (1):\n>       Fix typo in css\n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n\n\n-- \nDuy\n"},{"id":"58123","messageId":"8c5c35580711030544k78c2490ke319dbb298923baf@mail.gmail.com","threadId":"10611","inReplyTo":"fcaeb9bf0711030515i24174694w5d4fd9b82ca85868@mail.gmail.com","subject":"Re: [ANNOUNCE] cgit v0.7","fromName":"Lars Hjemli","fromEmail":"hjemli@gmail.com","sentAt":"2007-11-03T12:44:40Z","receivedAt":"2007-11-03T12:44:40Z","isPatch":false,"sender":{"key":"hjemli@gmail.com","avatar":null},"body":"On Nov 3, 2007 1:15 PM, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:\n> I wonder why this is not in git's contrib part.\n\nWell, there is at least one technical reason: cgit uses git as a\nsubmodule, so if it got merged into contrib I believe it would require\nall git cloners to use git 1.5.2 or newer. It could also be\npotentially interesting if/when git-checkout becomes submodule-aware\n;-)\n\n--\nlarsh\n"},{"id":"58327","messageId":"1194222569-13948-1-git-send-email-jnareb@gmail.com","threadId":"10611","inReplyTo":"8c5c35580711030408n658eb11fk19d554f0fa3b17@mail.gmail.com","subject":"Re: [ANNOUNCE] cgit v0.7","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-11-05T00:29:29Z","receivedAt":"2007-11-05T00:29:29Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Lars Hjemli wrote:\n\n> cgit v0.7 (a fast webinterface for git) is now available at\n> \n>      git://hjemli.net/pub/git/cgit\n> \n> This release includes better search capabilities, better diff,\n> filtered and sorted branch/tag lists on the summary page, a simple way\n> to switch between branches and finally a much needed restructuring of\n> the user interface. There is even a brand new logo, and a number of\n> bugfixes.\n> \n> The latest version can be seen in action on http://hjemli.net/git/\n> (disclaimer: I'm not a web/user interface designer, and should not be\n> held responsible for any eyeball-related damages).\n\nA few comments about new cgit:\n\n * Very nice cgit logo, but no favicon. Perhaps pacman head and G,\n   or pacman head (like in logo) and +/-...\n\n * Providing reference with full sha1 of referenced object for tags\n   list is not IMVHO a good design: what is interesting is type of\n   tag, if it is signed it's first line, and if it is lightweight\n   pointing to tag then perhaps commit subject.\n\n * Nice diffstat in commit view; the diff view is better, although I\n   wouldn't lump from-file / to-file diff header together with git\n   diff header and extended git diff header.\n\n * I like the sidebar very much, although I'm not sure how it would\n   work for larger projects (more branches, much more tags). Also the\n   search textbox is not very visible; I'd rather it have \"groove\"\n   view.\n\n * I like separate 'mirrors' section, although I think it rather\n   clashes badly with notion of forks (alternates).\n\n * I'm not sure if it wouln't be beter to provide -n/+m lines changed\n   instead of nn likes changed column.\n\n * Nice submodule support!\n\nBy the way, Freedesktop provides besides standard gitweb interface\nalso cgit interface at\n  http://cgit.freedesktop.org/\nTake a look at how such site looks like with large number of projects\n(perhaps sidebar is noot such a good idea then?), and with large\nprojects.\n\n-- \nJakub Narebski\nPoland\n"},{"id":"58359","messageId":"8c5c35580711050259p2ec24318r3babf53688b180e6@mail.gmail.com","threadId":"10611","inReplyTo":"1194222569-13948-1-git-send-email-jnareb@gmail.com","subject":"Re: [ANNOUNCE] cgit v0.7","fromName":"Lars Hjemli","fromEmail":"hjemli@gmail.com","sentAt":"2007-11-05T10:59:09Z","receivedAt":"2007-11-05T10:59:09Z","isPatch":false,"sender":{"key":"hjemli@gmail.com","avatar":null},"body":"On Nov 5, 2007 1:29 AM, Jakub Narebski <jnareb@gmail.com> wrote:\n> Lars Hjemli wrote:\n> > cgit v0.7 (a fast webinterface for git) is now available\n>\n>  * Very nice cgit logo,\n\nThanks!\n\n> but no favicon. Perhaps pacman head and G,\n>    or pacman head (like in logo) and +/-...\n\nI've never cared much about favicons, but I guess cgit could provide one.\n\n>\n>  * Providing reference with full sha1 of referenced object for tags\n>    list is not IMVHO a good design: what is interesting is type of\n>    tag, if it is signed it's first line, and if it is lightweight\n>    pointing to tag then perhaps commit subject.\n\nYes, the full sha1 is not very interesting. But I'm not sure what to\nreplace it with: the first line of annotated tags is very often\nidentical to tag name. Maybe it should just abbreviate the sha1?\n\n>\n>  * Nice diffstat in commit view; the diff view is better, although I\n>    wouldn't lump from-file / to-file diff header together with git\n>    diff header and extended git diff header.\n\nI've tried to make the diff look similar to 'git log -p' output, but I\nagree the first line per file is probably overkill.\n\n>\n>  * I like the sidebar very much, although I'm not sure how it would\n>    work for larger projects (more branches, much more tags).\n\nHow do you think it works out with http://hjemli.net/git/xorg/xserver/\n? It's got an impressive number of branches and tags ;-)\n\n> Also the\n>    search textbox is not very visible; I'd rather it have \"groove\"\n>    view.\n\nAgreed, it's probably useless trying to style input-controls: the\nresult is heavily browser/platform dependent.\n\n\n>  * I like separate 'mirrors' section, although I think it rather\n>    clashes badly with notion of forks (alternates).\n\nWell, it's only a section header, i.e. a parameter in cgitrc\n\n\n>  * I'm not sure if it wouln't be beter to provide -n/+m lines changed\n>    instead of nn likes changed column.\n\nMaybe. I think it used to be -n/+m, but then I changed it; don't\nremember why...\n\n>\n>  * Nice submodule support!\n\nHeh, it's a simple hack, but thanks anyway. It probably needs to be\nconfigurable per repo though.\n\n>\n> By the way, Freedesktop provides besides standard gitweb interface\n> also cgit interface at\n>   http://cgit.freedesktop.org/\n> Take a look at how such site looks like with large number of projects\n> (perhaps sidebar is noot such a good idea then?), and with large\n> projects.\n\nActually, the filtered branch/tag lists was done partly because of\nfreedesktop.org. I think it has worked out nicely (but\ncgit.freedesktop.org needs to run the latest cgit). Also, the width of\nproject descriptions is configurable, so it can take up much less\nspace and leave room for the sidebar.\n\nThanks for the comments, you've made my day!\n\n-- \nlarsh\n"},{"id":"58457","messageId":"8c5c35580711051553w6dbb542ao925d11c0bff33e9b@mail.gmail.com","threadId":"10611","inReplyTo":"1194222569-13948-1-git-send-email-jnareb@gmail.com","subject":"Re: [ANNOUNCE] cgit v0.7","fromName":"Lars Hjemli","fromEmail":"hjemli@gmail.com","sentAt":"2007-11-05T23:53:41Z","receivedAt":"2007-11-05T23:53:41Z","isPatch":false,"sender":{"key":"hjemli@gmail.com","avatar":null},"body":"On Nov 5, 2007 1:29 AM, Jakub Narebski <jnareb@gmail.com> wrote:\n>  * I'm not sure if it wouln't be beter to provide -n/+m lines changed\n>    instead of nn likes changed column.\n\nAgreed, and fixed.\n\n--\nlarsh\n"},{"id":"58502","messageId":"Pine.LNX.4.64.0711060903070.8577@ds9.cixit.se","threadId":"10611","inReplyTo":"8c5c35580711030408n658eb11fk19d554f0fa3b17@mail.gmail.com","subject":"Re: [ANNOUNCE] cgit v0.7","fromName":"Peter Karlsson","fromEmail":"peter@softwolves.pp.se","sentAt":"2007-11-06T08:04:41Z","receivedAt":"2007-11-06T08:04:41Z","isPatch":false,"sender":{"key":"peter@softwolves.pp.se","avatar":"https://avatars.githubusercontent.com/u/990764?v=4"},"body":"Lars Hjemli:\n\n> cgit v0.7 (a fast webinterface for git) is now available at\n> \n>      git://hjemli.net/pub/git/cgit\n\nHas anyone managed to compile this for Win32? I cannot get gitweb to\nwork due to the Perl dependencies. When trying to compile cgit it hangs\nchecking the git version (or something like that, it keeps printing a\nversion number over and over again).\n\n-- \n\\\\// Peter - http://www.softwolves.pp.se/\n"},{"id":"58507","messageId":"8c5c35580711060044i7a3d0134p42e9437cbe2a258b@mail.gmail.com","threadId":"10611","inReplyTo":"Pine.LNX.4.64.0711060903070.8577@ds9.cixit.se","subject":"Re: [ANNOUNCE] cgit v0.7","fromName":"Lars Hjemli","fromEmail":"hjemli@gmail.com","sentAt":"2007-11-06T08:44:27Z","receivedAt":"2007-11-06T08:44:27Z","isPatch":false,"sender":{"key":"hjemli@gmail.com","avatar":null},"body":"On Nov 6, 2007 9:04 AM, Peter Karlsson <peter@softwolves.pp.se> wrote:\n> Lars Hjemli:\n>\n> > cgit v0.7 (a fast webinterface for git) is now available at\n> >\n> >      git://hjemli.net/pub/git/cgit\n>\n> Has anyone managed to compile this for Win32?\n\nIf (win32 == cygwin): yes, just did (but it needed a makefile tweak\nregarding iconv)\n\n-- \nFrom: Lars Hjemli <hjemli@gmail.com>\nDate: Tue, 6 Nov 2007 09:35:07 +0100\nSubject: [PATCH] Makefile: link with libiconv if NEEDS_LIBICONV is defined\n\nThis seems to be needed to compile on cygwin.\n\nSigned-off-by: Lars Hjemli <hjemli@gmail.com>\n---\n Makefile |    5 +++++\n 1 files changed, 5 insertions(+), 0 deletions(-)\n\ndiff --git a/Makefile b/Makefile\nindex 6abd82a..dbc34a2 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -19,6 +19,11 @@ OBJECTS = shared.o cache.o parsing.o html.o\nui-shared.o ui-repolist.o \\\n        ui-snapshot.o ui-blob.o ui-tag.o ui-refs.o\n\n\n+ifdef NEEDS_LIBICONV\n+       EXTLIBS += -liconv\n+endif\n+\n+\n .PHONY: all git install clean distclean force-version get-git\n\n all: cgit git\n-- \n1.5.3.4.452.g09149\n"},{"id":"58564","messageId":"6b6419750711061039l26290561wd2abe07035a8679c@mail.gmail.com","threadId":"10611","inReplyTo":"8c5c35580711060044i7a3d0134p42e9437cbe2a258b@mail.gmail.com","subject":"Re: [ANNOUNCE] cgit v0.7","fromName":"Patrick Aljord","fromEmail":"patcito@gmail.com","sentAt":"2007-11-06T18:39:44Z","receivedAt":"2007-11-06T18:39:44Z","isPatch":false,"sender":{"key":"patcito@gmail.com","avatar":"https://gravatar.com/avatar/8a78bf80fcbf4963401d6b1a7d40feb8a773ec3ce7120db291d2ef9c00093635?d=mp&s=160"},"body":"Looks great, thanks for the new release.\n\nIt would be great if when a commit message contains something such as\n#1234 it would automatically link to the bug tracker page of that bug\n(like Trac does) by preconfiguring the bugtracker URL.\n\nSuch as \"bug #238 test for root-window that XFree86 fixed in their\"\nwould link the \"#238\"  part to\nhttp://bugs.freedesktop.org/show_bug.cgi?id=238\n"},{"id":"58667","messageId":"8c5c35580711070252g4b0c2914v6ecb73320a07ee83@mail.gmail.com","threadId":"10611","inReplyTo":"6b6419750711061039l26290561wd2abe07035a8679c@mail.gmail.com","subject":"Re: [ANNOUNCE] cgit v0.7","fromName":"Lars Hjemli","fromEmail":"hjemli@gmail.com","sentAt":"2007-11-07T10:52:21Z","receivedAt":"2007-11-07T10:52:21Z","isPatch":false,"sender":{"key":"hjemli@gmail.com","avatar":null},"body":"On Nov 6, 2007 7:39 PM, Patrick Aljord <patcito@gmail.com> wrote:\n> Looks great, thanks for the new release.\n\nThanks!\n\n> It would be great if when a commit message contains something such as\n> #1234 it would automatically link to the bug tracker page of that bug\n> (like Trac does) by preconfiguring the bugtracker URL.\n\nYeah, it shouldn't be to difficult either. We could just add a couple\nof repo-options to cgitrc, maybe something like this:\n\n  repo.bugtracker-regex=(#[0-9]+)\n  repo.bugtracker-url=http://bugs.freedesktop.org/show_bug.cgi?id=%1\n\nand then use regexec() combined with the interpolate() function in git\nto perform the substitution. There could also be similar global\noptions, i.e.:\n\n  bugtracker-regex=(#[0-9]+)\n  bugtracker-url=http://bugs.freedesktop.org/show_bug.cgi?id=%1\n\nwhich would be used if the per-repo options weren't specified.\n\nI'll put it on my todo-list (and patches are always appreciated).\n\n--\nlarsh\n"}]}