git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [wishlist] support git flow-like view
@ 2012-11-20 23:42 Lisandro Damián Nicanor Pérez Meyer
  2012-11-20 23:56 ` Andrew Ardill
  0 siblings, 1 reply; 7+ messages in thread
From: Lisandro Damián Nicanor Pérez Meyer @ 2012-11-20 23:42 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: Text/Plain, Size: 865 bytes --]

Hi! I am not suscribed to the list, so please CC-me.

I think this may have been proposed before, but I could not find anything in 
the web, so I better try myself :)

The idea would be to gitk to show a "git flow-like"[0] view when it detects 
git flow (or the user ask for it or...)

Basiccaly, you can show the main two branches: master and develop. Of course, 
having the possibility to show feature/release/hotfixes branches would be 
ideal.

Kinds regards, Lisandro.

[0] <http://nvie.com/posts/a-successful-git-branching-model/>


-- 
Esperando confirmación de ingredientes necesarios
que serán expuestos a la radiación...
  Manera geek de expresar que se espera la compra
  de carne para un típico asado argentino.
  Silvio Rikemberg.

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [wishlist] support git flow-like view
  2012-11-20 23:42 [wishlist] support git flow-like view Lisandro Damián Nicanor Pérez Meyer
@ 2012-11-20 23:56 ` Andrew Ardill
  2012-11-21  0:13   ` Lisandro Damián Nicanor Pérez Meyer
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Ardill @ 2012-11-20 23:56 UTC (permalink / raw)
  To: Lisandro Damián Nicanor Pérez Meyer; +Cc: git@vger.kernel.org

On 21 November 2012 10:42, Lisandro Damián Nicanor Pérez Meyer
<perezmeyer@gmail.com> wrote:
>
> Hi! I am not suscribed to the list, so please CC-me.

That is the default etiquette on this list :)

> I think this may have been proposed before, but I could not find anything in
> the web, so I better try myself :)
>
> The idea would be to gitk to show a "git flow-like"[0] view when it detects
> git flow (or the user ask for it or...)

What does it mean to 'show a "git flow-like" view'? Show multiple
branches? Place commits on each branch in 'swim-lanes', rather than
moving them around on the horizontal to fit the space available? Some
more detail, or even a mock-up would help a lot here.

> Basiccaly, you can show the main two branches: master and develop. Of course,
> having the possibility to show feature/release/hotfixes branches would be
> ideal.

It is already possible to show multiple branches in gitk at the same
time. You probably have some more specific needs beyond simply showing
the different branches. Maybe you can be more specific?

Regards,

Andrew Ardill

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

* Re: [wishlist] support git flow-like view
  2012-11-20 23:56 ` Andrew Ardill
@ 2012-11-21  0:13   ` Lisandro Damián Nicanor Pérez Meyer
  2012-11-21  1:54     ` Andrew Ardill
                       ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Lisandro Damián Nicanor Pérez Meyer @ 2012-11-21  0:13 UTC (permalink / raw)
  To: Andrew Ardill; +Cc: git@vger.kernel.org

[-- Attachment #1: Type: Text/Plain, Size: 1974 bytes --]

On Tue 20 Nov 2012 20:56:26 Andrew Ardill escribió:
> On 21 November 2012 10:42, Lisandro Damián Nicanor Pérez Meyer
> 
> <perezmeyer@gmail.com> wrote:
> > Hi! I am not suscribed to the list, so please CC-me.
> 
> That is the default etiquette on this list :)

Great :-)
 
> > I think this may have been proposed before, but I could not find anything
> > in the web, so I better try myself :)
> > 
> > The idea would be to gitk to show a "git flow-like"[0] view when it
> > detects git flow (or the user ask for it or...)
> 
> What does it mean to 'show a "git flow-like" view'? Show multiple
> branches? Place commits on each branch in 'swim-lanes', rather than
> moving them around on the horizontal to fit the space available? Some
> more detail, or even a mock-up would help a lot here.

I think the best mock-up would be:

<http://nvie.com/img/2009/12/Screen-shot-2009-12-24-at-11.32.03.png>

Yes, I'm referring to "swim-lanes" like view. Which may be already there and 
I'm miserably failing to see :-/

> > Basiccaly, you can show the main two branches: master and develop. Of
> > course, having the possibility to show feature/release/hotfixes branches
> > would be ideal.
> 
> It is already possible to show multiple branches in gitk at the same
> time. You probably have some more specific needs beyond simply showing
> the different branches. Maybe you can be more specific?

Well, two ideas come to my mind:

- detect when using git flow (.git/config contains [gitflow "some_branch"] 
entries).
- Show "swim-lane"-like graphs, including branches that may not be present, 
but where there (release branches often are created and merged back, for 
example)

Maybe some of this is already there and/or it's too much trouble to do so, in 
those cases, please accept my apologies :-)

Kinds regards, Lisandro.

-- 
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [wishlist] support git flow-like view
  2012-11-21  0:13   ` Lisandro Damián Nicanor Pérez Meyer
@ 2012-11-21  1:54     ` Andrew Ardill
  2012-11-21  7:01     ` Johannes Sixt
  2012-11-21 14:52     ` Holger Hellmuth (IKS)
  2 siblings, 0 replies; 7+ messages in thread
From: Andrew Ardill @ 2012-11-21  1:54 UTC (permalink / raw)
  To: Lisandro Damián Nicanor Pérez Meyer; +Cc: git@vger.kernel.org

On 21 November 2012 11:13, Lisandro Damián Nicanor Pérez Meyer
<perezmeyer@gmail.com> wrote:
> ...
> Well, two ideas come to my mind:
>
> - detect when using git flow (.git/config contains [gitflow "some_branch"]
> entries).

I guess this part is just so the next part can be done automatically?

> - Show "swim-lane"-like graphs, including branches that may not be present,
> but where there (release branches often are created and merged back, for
> example)

I think this could be useful in general, however it might struggle
with already merged branches. I may be mistaken here, however I think
in general there is no way to specify which commits belonged to a
certain branch after they have been merged, as branch information is
not kept in the commit object. There may be some exceptions that make
it feasible at times, but a general solution would be to show any
merged branches as part of the same swim-lane, as per current
behaviour, but to have separate branch heads in different swim-lanes.
This would be a nice feature, and is similar to the behaviour in, for
example, Atlassian's Fisheye repository viewer and the GitHub network
view.

Regards,

Andrew Ardill

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

* Re: [wishlist] support git flow-like view
  2012-11-21  0:13   ` Lisandro Damián Nicanor Pérez Meyer
  2012-11-21  1:54     ` Andrew Ardill
@ 2012-11-21  7:01     ` Johannes Sixt
  2012-11-21 14:52     ` Holger Hellmuth (IKS)
  2 siblings, 0 replies; 7+ messages in thread
From: Johannes Sixt @ 2012-11-21  7:01 UTC (permalink / raw)
  To: Lisandro Damián Nicanor Pérez Meyer
  Cc: Andrew Ardill, git@vger.kernel.org

Am 11/21/2012 1:13, schrieb Lisandro Damián Nicanor Pérez Meyer:
> I think the best mock-up would be:
> 
> <http://nvie.com/img/2009/12/Screen-shot-2009-12-24-at-11.32.03.png>
> 
> Yes, I'm referring to "swim-lanes" like view. Which may be already there and 
> I'm miserably failing to see :-/
Maybe you are just looking for gitk --date-order --branches?

-- Hannes

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

* Re: [wishlist] support git flow-like view
  2012-11-21  0:13   ` Lisandro Damián Nicanor Pérez Meyer
  2012-11-21  1:54     ` Andrew Ardill
  2012-11-21  7:01     ` Johannes Sixt
@ 2012-11-21 14:52     ` Holger Hellmuth (IKS)
  2012-11-21 16:43       ` Lisandro Damián Nicanor Pérez Meyer
  2 siblings, 1 reply; 7+ messages in thread
From: Holger Hellmuth (IKS) @ 2012-11-21 14:52 UTC (permalink / raw)
  To: Lisandro Damián Nicanor Pérez Meyer
  Cc: Andrew Ardill, git@vger.kernel.org

Am 21.11.2012 01:13, schrieb Lisandro Damián Nicanor Pérez Meyer:
> Well, two ideas come to my mind:
>
> - detect when using git flow (.git/config contains [gitflow "some_branch"]
> entries).

Shouldn't it be part of the gitflow package then?

> - Show "swim-lane"-like graphs, including branches that may not be present,
> but where there (release branches often are created and merged back, for
> example)

As a general feature there could be a config option gitk reads with an 
ordered list of branch names (with wildcards). Those branches would 
always be printed in gitk as the leftmost branches (i.e. have their own 
lane on the left side). All other branches would be shown normally.

This would give you part of what you want, a special lane at least for 
master and develop and for branches you can group under wildcard branch 
names (for example if you prefix all release branches with "rel-").

And it would give others the ability to make special branches in gitk 
more visible.

(Yes I know, I'm talking again of stuff I won't have time or ability to 
implement ;-). Sigh)

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

* Re: [wishlist] support git flow-like view
  2012-11-21 14:52     ` Holger Hellmuth (IKS)
@ 2012-11-21 16:43       ` Lisandro Damián Nicanor Pérez Meyer
  0 siblings, 0 replies; 7+ messages in thread
From: Lisandro Damián Nicanor Pérez Meyer @ 2012-11-21 16:43 UTC (permalink / raw)
  To: Holger Hellmuth (IKS); +Cc: Andrew Ardill, git@vger.kernel.org

[-- Attachment #1: Type: Text/Plain, Size: 1442 bytes --]

On Wed 21 Nov 2012 11:52:05 Holger Hellmuth (IKS) escribió:
> Am 21.11.2012 01:13, schrieb Lisandro Damián Nicanor Pérez Meyer:
> > Well, two ideas come to my mind:
> > 
> > - detect when using git flow (.git/config contains [gitflow
> > "some_branch"] entries).
> 
> Shouldn't it be part of the gitflow package then?
> 
> > - Show "swim-lane"-like graphs, including branches that may not be
> > present, but where there (release branches often are created and merged
> > back, for example)
> 
> As a general feature there could be a config option gitk reads with an
> ordered list of branch names (with wildcards). Those branches would
> always be printed in gitk as the leftmost branches (i.e. have their own
> lane on the left side). All other branches would be shown normally.
> 
> This would give you part of what you want, a special lane at least for
> master and develop and for branches you can group under wildcard branch
> names (for example if you prefix all release branches with "rel-").
> 
> And it would give others the ability to make special branches in gitk
> more visible.
> 
> (Yes I know, I'm talking again of stuff I won't have time or ability to
> implement ;-). Sigh)

That seems an interesting idea, indeed. Thanks!

-- 
Either he's dead or my watch has stopped.
 -- Groucho Marx

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2012-11-21 16:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-20 23:42 [wishlist] support git flow-like view Lisandro Damián Nicanor Pérez Meyer
2012-11-20 23:56 ` Andrew Ardill
2012-11-21  0:13   ` Lisandro Damián Nicanor Pérez Meyer
2012-11-21  1:54     ` Andrew Ardill
2012-11-21  7:01     ` Johannes Sixt
2012-11-21 14:52     ` Holger Hellmuth (IKS)
2012-11-21 16:43       ` Lisandro Damián Nicanor Pérez Meyer

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