Skip to contentSkip to conversation

Ideas for qgit

DISCUSSION Pavel Roskin 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi, Marco!

As promised, here's what I would like to see in qgit:

1) Bookmarks or quick tags (qtags). It may be useful to mark some commits to make it easier to navigate qgit. Yet I don't want them to mix with real tags. Perhaps qgit could save them separately, e.g. in .git/refs/qtags to facilitate navigation. qtags should appear separately in the popup menu.

2) The "Patch" tab should be redesigned so that the diff can be shown against the parent or against head/tag/qtag. Users are not supposed to enter SHA1. If they have to, then it only confirms that qgit needs qtags.

3) It would be nice to have some minimal navigating capabilities on the Patch tab. At least it should be possible to go up and down the revision list and go to any head/tag/qtag/stgit patch. It would eliminate the need to switch to the "Rev list" too often.

4) Some bisect support would be nice, at least as good as in gitk. Actually, I'm not using bisect too much, but it's probably because I'm not debugging Wine these days. Everything else is intelligible :-)

5) Branch view based on reflog. Probably there should be an interface allowing to limit the displayed revisions to one branch. I think qgit should still load all revisions that it loads now, but if users start complaining about performance too much, maybe qgit should have an option to load only the logged branch. The problem is that some parents will be unavailable in the view.

6) Try to unload some stuff from the popup menus to the main menu. It will be too log if we use it for tags, qtags, branch heads and branch logs.

7) qgit command line should be documented. "qgit --help" should display help on stdout.

That said, qgit is in a pretty decent shape right now (except the "macro" interface, but I'm sure it will be improved before the next release). I actually used qgit as an important argument for one project to go with git rather than with Subversion of Mercurial. qgit for Mercurial would be cool, but I'd leave it to Mercurial fans.

Signature · 2 lines
Regards,
Pavel Roskin
#1 lore raw
Quoted 10 lines · Pavel Roskin

Hi, Marco!

As promised, here's what I would like to see in qgit:

1) Bookmarks or quick tags (qtags). It may be useful to mark some commits to make it easier to navigate qgit. Yet I don't want them to mix with real tags. Perhaps qgit could save them separately, e.g. in .git/refs/qtags to facilitate navigation. qtags should appear separately in the popup menu.

Currently we have two types of tags, signed and simple. If it is possible I would really like to stay with git tags, because bookmarks seems to me like reinventing the (broken) wheel.

Git is very good in tagging and untagging and IMHO we should stay with them, perhaps in the simple version. I really don't see any advantage nor immediate and less in the long term to almost duplicate that functionality and loosing proven git native tag handling features.

Quoted 5 lines

2) The "Patch" tab should be redesigned so that the diff can be shown against the parent or against head/tag/qtag. Users are not supposed to enter SHA1. If they have to, then it only confirms that qgit needs qtags.

Well, you can write also a ref name in SHA1 field. Try with "v2.6.17-rc6" or "v1.4.0".
Perhaps this should be better documented and the SHA1 name is misleading.

Quoted 5 lines

3) It would be nice to have some minimal navigating capabilities on the Patch tab. At least it should be possible to go up and down the revision list and go to any head/tag/qtag/stgit patch. It would eliminate the need to switch to the "Rev list" too often.

This make me think of biting the bullet and append patch information _also_ below revision description, yes, a la gitk. I think this is really what you feel is missing.

Quoted 4 lines

4) Some bisect support would be nice, at least as good as in gitk. Actually, I'm not using bisect too much, but it's probably because I'm not debugging Wine these days. Everything else is intelligible :-)

I don't use bisect and I don't know the gitk implementation. I will investigate when I found some time. Not a top priority, at least for my kind of workflow ;-)

Quoted 7 lines

5) Branch view based on reflog. Probably there should be an interface allowing to limit the displayed revisions to one branch. I think qgit should still load all revisions that it loads now, but if users start complaining about performance too much, maybe qgit should have an option to load only the logged branch. The problem is that some parents will be unavailable in the view.

I think I didn't understand this. Isn't there command line arguments for narrowing loaded revision set?

Quoted 3 lines

7) qgit command line should be documented. "qgit --help" should display help on stdout.

All the stuff in command line is sent directly to git-rev-parse. I think this is good because avoids any overlapping between qgit and git options and guarantees future compatibility with _any_ git option.

Again, being qgit a GUI tool we could avoid some command line only application's habits. In the latter case there's nothing better to do, but we can run a nicely formatted handbook in an independent window just pressing F1 and be sure to never mess with any current and future possible git option.

Marco

#2 lore raw
Quoted 5 lines · Marco Costalba
Quoted 4 lines · Pavel Roskin

Hi, Marco!

As promised, here's what I would like to see in qgit:

Quoted 8 lines
Quoted 6 lines

1) Bookmarks or quick tags (qtags). It may be useful to mark some commits to make it easier to navigate qgit. Yet I don't want them to mix with real tags. Perhaps qgit could save them separately, e.g. in .git/refs/qtags to facilitate navigation. qtags should appear separately in the popup menu.

Currently we have two types of tags, signed and simple.

I guess they should be shown a bit differently.

Quoted 3 lines

If it is
possible I would really like to stay with git tags, because bookmarks seems to me like reinventing the (broken) wheel.

OK, I don't insist. Then we need a user-friendlier implementation of Ctrl-Rightclick in the revision list. I stumbled upon it accidentally, and it looked like a bug at the first glance, when the file box suddenly went turquoise and stopped showing modified files. I still couldn't figure out how to turn it off without going to the Patch tab and setting diff to parent.

Quoted 4 lines

Git is very good in tagging and untagging and IMHO we should stay with them, perhaps in the simple version. I really don't see any advantage nor immediate and less in the long term to almost duplicate that functionality and loosing proven git native tag handling features.

OK

Quoted 9 lines
Quoted 5 lines

2) The "Patch" tab should be redesigned so that the diff can be shown against the parent or against head/tag/qtag. Users are not supposed to enter SHA1. If they have to, then it only confirms that qgit needs qtags.

Well, you can write also a ref name in SHA1 field. Try with "v2.6.17-rc6" or "v1.4.0".
Perhaps this should be better documented and the SHA1 name is misleading.

I think it also shows that a wrong widget is used. Probably an editable listbox with all tag and branch names would be better.

Quoted 9 lines
Quoted 5 lines

3) It would be nice to have some minimal navigating capabilities on the Patch tab. At least it should be possible to go up and down the revision list and go to any head/tag/qtag/stgit patch. It would eliminate the need to switch to the "Rev list" too often.

This make me think of biting the bullet and append patch information _also_ below revision description, yes, a la gitk. I think this is really what you feel is missing.

Maybe. "Rev list" and "Patch" represent essentially the same thing shown differently. They can be replaced with one tab if it offers enough flexibility to use the screen space differently for different tasks.

Quoted 8 lines
Quoted 4 lines

4) Some bisect support would be nice, at least as good as in gitk. Actually, I'm not using bisect too much, but it's probably because I'm not debugging Wine these days. Everything else is intelligible :-)

I don't use bisect and I don't know the gitk implementation. I will investigate when I found some time. Not a top priority, at least for my kind of workflow ;-)

I agree.

Quoted 10 lines
Quoted 7 lines

5) Branch view based on reflog. Probably there should be an interface allowing to limit the displayed revisions to one branch. I think qgit should still load all revisions that it loads now, but if users start complaining about performance too much, maybe qgit should have an option to load only the logged branch. The problem is that some parents will be unavailable in the view.

I think I didn't understand this. Isn't there command line arguments for narrowing loaded revision set?

As far as I understand, reflog is only used to resolve references specified as branch@date. It doesn't seem to be well integrated with the rest of git.

Quoted 7 lines
Quoted 3 lines

7) qgit command line should be documented. "qgit --help" should display help on stdout.

All the stuff in command line is sent directly to git-rev-parse. I think this is good because avoids any overlapping between qgit and git options and guarantees future compatibility with _any_ git option.

This also means that features not related to git-rev-parse (including StGIT and possible reflog support) cannot be controlled from the command line. It's not critical now, but it may become more important.

Signature · 2 lines
Regards,
Pavel Roskin