{"thread":{"id":"3063","subject":"[wish] Auto-generate gitk's pretty pictures","startedAt":"2006-01-12T21:02:01Z","lastAt":"2006-01-14T16:26:04Z","messageCount":9,"participants":["Martin Langhoff","Artem Khodush","Johannes Schindelin","Junio C Hamano","Andreas Ericsson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"14575","messageId":"46a038f90601121302x3d06898dk3f9a0ab7114ef70a@mail.gmail.com","threadId":"3063","inReplyTo":null,"subject":"[wish] Auto-generate gitk's pretty pictures","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2006-01-12T21:02:01Z","receivedAt":"2006-01-12T21:02:01Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"Being an ignorant in matters Tk, I am wondering whether it'd be\npossible to hack gitk so that it renders the top canvas into a file.\ngitweb doesn't give people any hints of how the heads are related, so\nI am working on the idea of running an hourly cron on the server that\ndoes\n\n gitk -d --all --max-count=1000 --prettypic=foo.png\n\nand link to the png from gitweb. Is it easier to trick gitk to do it,\nor should I be thinking of porting the logic to some other script?\n(Possibly in Perl using GD).\n\ncheers,\n\n\nmartin\n"},{"id":"14637","messageId":"40b2b7d90601131414o20eae573r23256ff2dfbeffa5@mail.gmail.com","threadId":"3063","inReplyTo":"46a038f90601121302x3d06898dk3f9a0ab7114ef70a@mail.gmail.com","subject":"Re: [wish] Auto-generate gitk's pretty pictures","fromName":"Artem Khodush","fromEmail":"greenkaa@gmail.com","sentAt":"2006-01-13T22:14:19Z","receivedAt":"2006-01-13T22:14:19Z","isPatch":false,"sender":{"key":"greenkaa@gmail.com","avatar":null},"body":"> I am working on the idea of running an hourly cron on the server that\n> does\n>\n>  gitk -d --all --max-count=1000 --prettypic=foo.png\n>\n> and link to the png from gitweb.\n\n\nI'm working on a web interface that will look similar to gitk.\nIt's far from being usable, the only thing it does now is to \"draw\"\ngitk-like \"picture\". But if the picture is all you want, you may\nfind it useful. Please look at\n\nhttp://straytree.com/git-browser/by-commit.html?r=git\n\nhope this helps,\nArtem.\n"},{"id":"14638","messageId":"Pine.LNX.4.63.0601132318170.7025@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"3063","inReplyTo":"40b2b7d90601131414o20eae573r23256ff2dfbeffa5@mail.gmail.com","subject":"Re: [wish] Auto-generate gitk's pretty pictures","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-01-13T22:19:04Z","receivedAt":"2006-01-13T22:19:04Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sat, 14 Jan 2006, Artem Khodush wrote:\n\n> http://straytree.com/git-browser/by-commit.html?r=git\n\nWow! Great work...\n\nCiao,\nDscho\n"},{"id":"14639","messageId":"7v1wzb3h2h.fsf@assigned-by-dhcp.cox.net","threadId":"3063","inReplyTo":"40b2b7d90601131414o20eae573r23256ff2dfbeffa5@mail.gmail.com","subject":"Re: [wish] Auto-generate gitk's pretty pictures","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-01-13T22:21:10Z","receivedAt":"2006-01-13T22:21:10Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Artem Khodush <greenkaa@gmail.com> writes:\n\n> I'm working on a web interface that will look similar to gitk.\n> It's far from being usable, the only thing it does now is to \"draw\"\n> gitk-like \"picture\". But if the picture is all you want, you may\n> find it useful. Please look at\n>\n> http://straytree.com/git-browser/by-commit.html?r=git\n\nLooks nice, although octopi look very ugly ;-).\n"},{"id":"14640","messageId":"40b2b7d90601131430u6ec32db9hd3043e5c35a0c653@mail.gmail.com","threadId":"3063","inReplyTo":"7v1wzb3h2h.fsf@assigned-by-dhcp.cox.net","subject":"Re: [wish] Auto-generate gitk's pretty pictures","fromName":"Artem Khodush","fromEmail":"greenkaa@gmail.com","sentAt":"2006-01-13T22:30:26Z","receivedAt":"2006-01-13T22:30:26Z","isPatch":false,"sender":{"key":"greenkaa@gmail.com","avatar":null},"body":"On 1/14/06, Junio C Hamano <junkio@cox.net> wrote:\n> Artem Khodush <greenkaa@gmail.com> writes:\n>\n> > I'm working on a web interface that will look similar to gitk.\n> > It's far from being usable, the only thing it does now is to \"draw\"\n> > gitk-like \"picture\". But if the picture is all you want, you may\n> > find it useful. Please look at\n> >\n> > http://straytree.com/git-browser/by-commit.html?r=git\n>\n> Looks nice, although octopi look very ugly ;-).\n\nThank you all, any suggestions are welcome :-)\n\ncheers,\nArtem\n"},{"id":"14641","messageId":"46a038f90601131444m32a1a8b8w7ab16617f15ab93b@mail.gmail.com","threadId":"3063","inReplyTo":"40b2b7d90601131414o20eae573r23256ff2dfbeffa5@mail.gmail.com","subject":"Re: [wish] Auto-generate gitk's pretty pictures","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2006-01-13T22:44:20Z","receivedAt":"2006-01-13T22:44:20Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 1/14/06, Artem Khodush <greenkaa@gmail.com> wrote:\n> I'm working on a web interface that will look similar to gitk.\n> It's far from being usable, the only thing it does now is to \"draw\"\n> gitk-like \"picture\". But if the picture is all you want, you may\n> find it useful. Please look at\n>\n> http://straytree.com/git-browser/by-commit.html?r=git\n\nThat looks *great* -- How hard would it be to run it alongside gitweb,\nwith links back to gitweb for showing commits? And... what is it\nwritten in?\n\n\n\nmartin\n"},{"id":"14645","messageId":"40b2b7d90601131905s6bb9954fk8e359e3f066ce0c2@mail.gmail.com","threadId":"3063","inReplyTo":"46a038f90601131444m32a1a8b8w7ab16617f15ab93b@mail.gmail.com","subject":"Re: [wish] Auto-generate gitk's pretty pictures","fromName":"Artem Khodush","fromEmail":"greenkaa@gmail.com","sentAt":"2006-01-14T03:05:42Z","receivedAt":"2006-01-14T03:05:42Z","isPatch":false,"sender":{"key":"greenkaa@gmail.com","avatar":null},"body":"On 1/14/06, Martin Langhoff <martin.langhoff@gmail.com> wrote:\n>\n> That looks *great* -- How hard would it be to run it alongside gitweb,\n> with links back to gitweb for showing commits? And... what is it\n> written in?\n\nIt's written mainly in HTML+javascript, so linking to and from it should\nbe simple - just add an <a> tag. But, the next feature I plan to add\nis to show commits in the same window in a way like gitk does.\n\nArtem\n"},{"id":"14650","messageId":"43C8FE6F.4050206@op5.se","threadId":"3063","inReplyTo":"40b2b7d90601131905s6bb9954fk8e359e3f066ce0c2@mail.gmail.com","subject":"Re: [wish] Auto-generate gitk's pretty pictures","fromName":"Andreas Ericsson","fromEmail":"ae@op5.se","sentAt":"2006-01-14T13:36:47Z","receivedAt":"2006-01-14T13:36:47Z","isPatch":false,"sender":{"key":"ae@op5.se","avatar":"https://gravatar.com/avatar/426e89595c75a8f5252dd0c989e5fabe5bcac616e68557427ad9aef6b0ca342a?d=mp&s=160"},"body":"Artem Khodush wrote:\n> On 1/14/06, Martin Langhoff <martin.langhoff@gmail.com> wrote:\n> \n>>That looks *great* -- How hard would it be to run it alongside gitweb,\n>>with links back to gitweb for showing commits? And... what is it\n>>written in?\n> \n> \n> It's written mainly in HTML+javascript, so linking to and from it should\n> be simple - just add an <a> tag. But, the next feature I plan to add\n> is to show commits in the same window in a way like gitk does.\n> \n\nWhy not just have a separate frame for the commits and load gitweb.cgi \nthere?\n\n-- \nAndreas Ericsson                   andreas.ericsson@op5.se\nOP5 AB                             www.op5.se\nTel: +46 8-230225                  Fax: +46 8-230231\n"},{"id":"14654","messageId":"40b2b7d90601140826k7c30ce7bk3a259061cb333133@mail.gmail.com","threadId":"3063","inReplyTo":"43C8FE6F.4050206@op5.se","subject":"Re: [wish] Auto-generate gitk's pretty pictures","fromName":"Artem Khodush","fromEmail":"greenkaa@gmail.com","sentAt":"2006-01-14T16:26:04Z","receivedAt":"2006-01-14T16:26:04Z","isPatch":false,"sender":{"key":"greenkaa@gmail.com","avatar":null},"body":"On 1/14/06, Andreas Ericsson <ae@op5.se> wrote:\n> Artem Khodush wrote:\n> But, the next feature I plan to add\n> > is to show commits in the same window in a way like gitk does.\n> >\n>\n> Why not just have a separate frame for the commits and load gitweb.cgi\n> there?\n\nMainly because gitweb can't show the commit in most\nconvenient (IMHO) way, with everything on one screen.\nI like the way gitk does it, when you can see all at once -\nlist of changed files in the lower right pane and commit message\nwith links to parent and child commits and diff in the left.\n\nAnd with gitweb, those links to related commits must allow somehow\nto highlight those commits on the diagram, wich means that gitweb\nmust be made aware of the frame that it's embedded in, and must\nbe able to call some javascript there. Eventually I will add interaction\nwith gitweb in some way or another, but for now, it's easier for me\nto just show the commit.\n"}]}