git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [wish] Auto-generate gitk's pretty pictures
@ 2006-01-12 21:02 Martin Langhoff
  2006-01-13 22:14 ` Artem Khodush
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Langhoff @ 2006-01-12 21:02 UTC (permalink / raw)
  To: Git Mailing List

Being an ignorant in matters Tk, I am wondering whether it'd be
possible to hack gitk so that it renders the top canvas into a file.
gitweb doesn't give people any hints of how the heads are related, so
I am working on the idea of running an hourly cron on the server that
does

 gitk -d --all --max-count=1000 --prettypic=foo.png

and link to the png from gitweb. Is it easier to trick gitk to do it,
or should I be thinking of porting the logic to some other script?
(Possibly in Perl using GD).

cheers,


martin

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [wish] Auto-generate gitk's pretty pictures
  2006-01-12 21:02 [wish] Auto-generate gitk's pretty pictures Martin Langhoff
@ 2006-01-13 22:14 ` Artem Khodush
  2006-01-13 22:19   ` Johannes Schindelin
                     ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Artem Khodush @ 2006-01-13 22:14 UTC (permalink / raw)
  To: Git Mailing List; +Cc: Martin Langhoff

> I am working on the idea of running an hourly cron on the server that
> does
>
>  gitk -d --all --max-count=1000 --prettypic=foo.png
>
> and link to the png from gitweb.


I'm working on a web interface that will look similar to gitk.
It's far from being usable, the only thing it does now is to "draw"
gitk-like "picture". But if the picture is all you want, you may
find it useful. Please look at

http://straytree.com/git-browser/by-commit.html?r=git

hope this helps,
Artem.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [wish] Auto-generate gitk's pretty pictures
  2006-01-13 22:14 ` Artem Khodush
@ 2006-01-13 22:19   ` Johannes Schindelin
  2006-01-13 22:21   ` Junio C Hamano
  2006-01-13 22:44   ` Martin Langhoff
  2 siblings, 0 replies; 9+ messages in thread
From: Johannes Schindelin @ 2006-01-13 22:19 UTC (permalink / raw)
  To: Artem Khodush; +Cc: Git Mailing List

Hi,

On Sat, 14 Jan 2006, Artem Khodush wrote:

> http://straytree.com/git-browser/by-commit.html?r=git

Wow! Great work...

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [wish] Auto-generate gitk's pretty pictures
  2006-01-13 22:14 ` Artem Khodush
  2006-01-13 22:19   ` Johannes Schindelin
@ 2006-01-13 22:21   ` Junio C Hamano
  2006-01-13 22:30     ` Artem Khodush
  2006-01-13 22:44   ` Martin Langhoff
  2 siblings, 1 reply; 9+ messages in thread
From: Junio C Hamano @ 2006-01-13 22:21 UTC (permalink / raw)
  To: Artem Khodush; +Cc: git, Martin Langhoff

Artem Khodush <greenkaa@gmail.com> writes:

> I'm working on a web interface that will look similar to gitk.
> It's far from being usable, the only thing it does now is to "draw"
> gitk-like "picture". But if the picture is all you want, you may
> find it useful. Please look at
>
> http://straytree.com/git-browser/by-commit.html?r=git

Looks nice, although octopi look very ugly ;-).

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [wish] Auto-generate gitk's pretty pictures
  2006-01-13 22:21   ` Junio C Hamano
@ 2006-01-13 22:30     ` Artem Khodush
  0 siblings, 0 replies; 9+ messages in thread
From: Artem Khodush @ 2006-01-13 22:30 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Martin Langhoff

On 1/14/06, Junio C Hamano <junkio@cox.net> wrote:
> Artem Khodush <greenkaa@gmail.com> writes:
>
> > I'm working on a web interface that will look similar to gitk.
> > It's far from being usable, the only thing it does now is to "draw"
> > gitk-like "picture". But if the picture is all you want, you may
> > find it useful. Please look at
> >
> > http://straytree.com/git-browser/by-commit.html?r=git
>
> Looks nice, although octopi look very ugly ;-).

Thank you all, any suggestions are welcome :-)

cheers,
Artem

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [wish] Auto-generate gitk's pretty pictures
  2006-01-13 22:14 ` Artem Khodush
  2006-01-13 22:19   ` Johannes Schindelin
  2006-01-13 22:21   ` Junio C Hamano
@ 2006-01-13 22:44   ` Martin Langhoff
  2006-01-14  3:05     ` Artem Khodush
  2 siblings, 1 reply; 9+ messages in thread
From: Martin Langhoff @ 2006-01-13 22:44 UTC (permalink / raw)
  To: Artem Khodush; +Cc: Git Mailing List

On 1/14/06, Artem Khodush <greenkaa@gmail.com> wrote:
> I'm working on a web interface that will look similar to gitk.
> It's far from being usable, the only thing it does now is to "draw"
> gitk-like "picture". But if the picture is all you want, you may
> find it useful. Please look at
>
> http://straytree.com/git-browser/by-commit.html?r=git

That looks *great* -- How hard would it be to run it alongside gitweb,
with links back to gitweb for showing commits? And... what is it
written in?



martin

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [wish] Auto-generate gitk's pretty pictures
  2006-01-13 22:44   ` Martin Langhoff
@ 2006-01-14  3:05     ` Artem Khodush
  2006-01-14 13:36       ` Andreas Ericsson
  0 siblings, 1 reply; 9+ messages in thread
From: Artem Khodush @ 2006-01-14  3:05 UTC (permalink / raw)
  To: Martin Langhoff; +Cc: Git Mailing List

On 1/14/06, Martin Langhoff <martin.langhoff@gmail.com> wrote:
>
> That looks *great* -- How hard would it be to run it alongside gitweb,
> with links back to gitweb for showing commits? And... what is it
> written in?

It's written mainly in HTML+javascript, so linking to and from it should
be simple - just add an <a> tag. But, the next feature I plan to add
is to show commits in the same window in a way like gitk does.

Artem

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [wish] Auto-generate gitk's pretty pictures
  2006-01-14  3:05     ` Artem Khodush
@ 2006-01-14 13:36       ` Andreas Ericsson
  2006-01-14 16:26         ` Artem Khodush
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Ericsson @ 2006-01-14 13:36 UTC (permalink / raw)
  To: Artem Khodush; +Cc: Martin Langhoff, Git Mailing List

Artem Khodush wrote:
> On 1/14/06, Martin Langhoff <martin.langhoff@gmail.com> wrote:
> 
>>That looks *great* -- How hard would it be to run it alongside gitweb,
>>with links back to gitweb for showing commits? And... what is it
>>written in?
> 
> 
> It's written mainly in HTML+javascript, so linking to and from it should
> be simple - just add an <a> tag. But, the next feature I plan to add
> is to show commits in the same window in a way like gitk does.
> 

Why not just have a separate frame for the commits and load gitweb.cgi 
there?

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [wish] Auto-generate gitk's pretty pictures
  2006-01-14 13:36       ` Andreas Ericsson
@ 2006-01-14 16:26         ` Artem Khodush
  0 siblings, 0 replies; 9+ messages in thread
From: Artem Khodush @ 2006-01-14 16:26 UTC (permalink / raw)
  To: Andreas Ericsson; +Cc: Git Mailing List

On 1/14/06, Andreas Ericsson <ae@op5.se> wrote:
> Artem Khodush wrote:
> But, the next feature I plan to add
> > is to show commits in the same window in a way like gitk does.
> >
>
> Why not just have a separate frame for the commits and load gitweb.cgi
> there?

Mainly because gitweb can't show the commit in most
convenient (IMHO) way, with everything on one screen.
I like the way gitk does it, when you can see all at once -
list of changed files in the lower right pane and commit message
with links to parent and child commits and diff in the left.

And with gitweb, those links to related commits must allow somehow
to highlight those commits on the diagram, wich means that gitweb
must be made aware of the frame that it's embedded in, and must
be able to call some javascript there. Eventually I will add interaction
with gitweb in some way or another, but for now, it's easier for me
to just show the commit.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-01-14 16:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-12 21:02 [wish] Auto-generate gitk's pretty pictures Martin Langhoff
2006-01-13 22:14 ` Artem Khodush
2006-01-13 22:19   ` Johannes Schindelin
2006-01-13 22:21   ` Junio C Hamano
2006-01-13 22:30     ` Artem Khodush
2006-01-13 22:44   ` Martin Langhoff
2006-01-14  3:05     ` Artem Khodush
2006-01-14 13:36       ` Andreas Ericsson
2006-01-14 16:26         ` Artem Khodush

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).