git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [ANNOUNCE] ugit: a pyqt-based git gui // was: Re: If you would write git from scratch now, what would you change?

From
JSJason Sewall <jasonsewall@gmail.com>
Date
Dec 11, 2007, 21:29 UTC
Message-ID
<31e9dd080712111329j2c8b22ebs38ab727a5fbe85fb@mail.gmail.com>
In-Reply-To
<402731c90712111254q1cb99c6al47538971d93b4592@mail.gmail.com>
On Dec 11, 2007 3:54 PM, David <davvid@gmail.com> wrote:
Show 15 quoted lines
> > On Dec 11, 2007 8:14 PM, Jason Sewall <jasonsewall@gmail.com> wrote:
> >
> > I re-installed without the prefix and that error disappeared, but now I get
> > Traceback (most recent call last):
> >   File "/usr/local/bin/ugit", line 12, in <module>
> >     view = GitView (app.activeWindow())
> >   File "../py/views.py", line 15, in __init__
> >   File "default/ui/Window.py", line 43, in setupUi
> > AttributeError: setLeftMargin
>
> As for the setLeftMarginError -- That could be because you have py/qt
> 4.2.  The ui files were generated with designer-qt4 (4.3.x) so you
> might need a more recent pyqt4.  I'll see if I can grab an older
> version of pyqt and use it for all of the ui designs  (.ui files are
> probably forward but not backwards compatible).

That was it - as a matter of fact, the package updater for my distro was asking me to upgrade.

Well done, though I don't think I'm going to abandon git-gui quite yet.

The most valuable thing git-gui does, IMHO, is give you fine control over what you stage in a commit. The two-paned view of staged and unstaged changes with the view of the actual changes makes it really easy to see exactly what you are committing. And the graphical "{Un}stage hunk for commit" business, which ugit seems to lack so far, is really excellent - it's much easier to use than git add -i for partial adds.

I would like to see git add -i's hunk-splitting functionality in a graphical tool for that matter.

Anyway, ugit is very good for a first draft; its text display beats whats in git-gui in a big way (and I would *hope* qt4 would beat Tcl/Tk at that at least).

One suggestion: For Westerners like me, having "staged" on the left and "unstaged" on the right seems a little unnatural; I'd be curious to hear others' opinions on that.

Jason
Previous: DavidNext: Shawn O. Pearce
Message 6 of 31 in “[ANNOUNCE] ugit: a pyqt-based git gui // was: Re: If you would write git from scratch now, what would you change?”
  1. DavidDec 11, 2007
  2. Marco CostalbaDec 11, 2007
  3. Jason SewallDec 11, 2007
  4. Marco CostalbaDec 11, 2007
  5. DavidDec 11, 2007
  6. Jason SewallDec 11, 2007
  7. Shawn O. PearceDec 12, 2007
  8. Jason SewallDec 12, 2007
  9. Shawn O. PearceDec 12, 2007
  10. Jason SewallDec 12, 2007
  11. Johannes SchindelinDec 12, 2007
  12. Jason SewallDec 12, 2007
  13. Teach git-gui to split hunksJohannes Schindelin, Dec 12, 2007
  14. Junio C HamanoDec 12, 2007
  15. Johannes SchindelinDec 12, 2007
  16. Jean-François VeilletteDec 12, 2007
  17. Junio C HamanoDec 12, 2007
  18. Wincent ColaiutaDec 12, 2007
  19. Johannes SixtDec 13, 2007
  20. Shawn O. PearceDec 13, 2007
  21. Johannes SchindelinDec 13, 2007
  22. Junio C HamanoDec 13, 2007
  23. Johannes SixtDec 13, 2007
  24. Johannes SchindelinDec 13, 2007
  25. Johannes SixtDec 13, 2007
  26. Johannes SchindelinDec 13, 2007
  27. git-gui: Move frequently used commands to the top of the context menu.Johannes Sixt, Dec 13, 2007
  28. Shawn O. PearceDec 14, 2007
  29. Alex RiesenDec 11, 2007
  30. Steffen ProhaskaDec 11, 2007
  31. Jakub NarebskiDec 12, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.