threads / announce / 1497

[ANNOUNCE] qgit-0.9

Subject: [ANNOUNCE] qgit-0.9

## tl;dr

4 messages between Aug 13, 2005 and Aug 15, 2005.

replies: 3people: 3as markdown or json

Marco Costalba· Aug 13, 2005, 12:12 UTC · lore
Hi all,
	qgit-0.9 has been released and can be downloaded from
http://prdownloads.sourceforge.net/qgit/qgit-0.9.tar.bz2?download

This version fixes a couple of nasty bugs, notably one in annotate, crept in after recent changes. Anyone interested in annotate function should upgrade.

Big new feature is the commit dialog.

When enabled with 'edit->settings->cache->diff against working dir' and there is something committable, qgit shows a special highlighted first revision with the status of the archive and the possible pending stuff. From edit->commit you can, then, invoke the commit viewer to select the files to commit or, simply, to call git-update-cache on them (with sync button).

It is possible to use a template for commit message, use edit->settings->cache to define template file path.

QGit checks for possible new files added in working directory using ignoring rules according to git-ls-files specifications, --exclude-from and --exclude-per-directory files can be set in menu->edit->settings->cache. Behaviour should be similar to cg-status.

Core commit function is performed by git-commit-script, although the script itself is not enough to handle all the possibilities and some work is necessary to prepare/restore the cache.

Commit feature and new files checking use some (transalted) code from Fredrik Kuivinen 'gct' tool (although commit logic is different) and Petr Baudis cg-status. Thanks to both ;-)

New select tag dialog

Another ineteresting new feature is a 'select tag' dialog shown when qgit is launched without arguments. I found this useful to quickly select revision range to display. On the dialog are listed the tags, but you can paste anything that is 'eatable' by git-rev-parse.

Complete changelog:
- added commit dialog to commit or simply update cache on selected files
- added revisions range select dialog when calling qgit 
  without arguments or when changing archive
- replace SHA's with short logs in commit messages links 
- added F3 accelerator in file viewer for find button
- fix a nasty bug in git-diff-tree interface that sometimes
  led to missing revision files
- fix proper closing of file and diff window when quitting
- fix a corner case in annotate
- fix annotation broke by a recent change
- fix spurious LF in diff viewer
	Marco

P.S: Sorry for the tarball, but SF doesn't yet answerd about my request to setup a git archive on their site.

__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Martin Langhoff· Aug 14, 2005, 09:04 UTC · re: Marco Costalba · lore

Re: [ANNOUNCE] qgit-0.9

Marco,

How do I get this to build on Debian? Not familiar with scons, and it is complaining that it can't find qt and related header files, when they are there...

It's been mentioned on the list that v0.3 didn't build on Debian, but I thought it had been dealt with. There were no fixes mentioned on the thread.

cheers,
martin
Ryan Anderson· Aug 14, 2005, 11:58 UTC · re: Martin Langhoff · lore

Re: [ANNOUNCE] qgit-0.9

On Sun, Aug 14, 2005 at 09:04:19PM +1200, Martin Langhoff wrote:
Show 5 quoted lines
> Marco,
> 
> How do I get this to build on Debian? Not familiar with scons, and it
> is complaining that it can't find qt and related header files, when
> they are there...

You just need to add -I/usr/include/qt3/ in the appropriate place in the scons control file, IIRC.

-- 
Ryan Anderson
  sometimes Pug Majere
Martin Langhoff· Aug 15, 2005, 09:41 UTC · re: Ryan Anderson · lore

Re: [ANNOUNCE] qgit-0.9

> You just need to add -I/usr/include/qt3/ in the appropriate place in the
> scons control file, IIRC.

I figured out that it wanted qt3-mt, installed it, and fiddled with the SConfiguration file. Still no dice, perhaps because I have a qt4 build environment?

$ QTDIR=/usr/ make scons -Q Retrieved `src/annotate.o' from cache /usr//bin/uic -o src/commitbase.h src/commitbase.ui /usr//bin/uic -impl commitbase.h -o src/uic_commitbase.cc src/commitbase.ui /usr//bin/moc -o src/moc_commitbase.cc src/commitbase.h uic: File generated with too old version of Qt Designer File 'src/commitbase.ui' is not valid scons: *** [src/commitbase.h] Error 1 make: *** [all] Error 2

this is with qgit 0.91. Hmmm. Removed all traces of qt4. Hmmm, and hmm some more and it's built. Nice!

I actually like it quite a bit. So, notes for the build instructions: under debian, you want to

  apt-get install qt3-dev-tools libqt3-mt-dev
Make sure there's_no_ qt4 build environment, edit SConstruct and have
the env.Append line look like:
 
  env.Append( CPPFLAGS = ['-DQT_THREAD_SUPPORT', '-D_REENTRANT',
'-I/usr/include/qt3'] )
And then make it, saying:
  QTDIR=/usr make
cheers,
martin

← back to recent threads