Package: gitstats
Version: 2010.07.27-1
Severity: normal

>From upstream maintainer.

-------- Original Message --------
Subject: gitstats debian gitstats.install
Date: Sat, 7 Aug 2010 09:14:12 +0300
From: Heikki Hokkanen <[email protected]>
To: Vincent Fourmond <[email protected]>

Hello Vincent,

There is a minor problem with the Debian version of gitstats because
the gitstats binary has VERSION info embedded in it. In the git
repository VERSION is set to 0, and every time gitstats is run the
version is checked from the repository. Both "make install" and "make
release" replace the default value with the current version from the
git repository. See getversion() for the details.

The problem is that the debianized gitstats skips the makefile
altogether, so when using the debian gitstats binary, the version info
will be either empty, or contains an invalid hash if the user is
running gitstats from a directory of any git repository :-)

If you have suggestions for how to fix this in the future, let me know.

I guess I could also make a special check for Debian and use the
package's version instead (checking if
/var/lib/dpkg/info/gitstats.list exists for example). This probably
isn't a very good solution either :-)

Regards,

-- 
Heikki Hokkanen



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gitstats depends on:
ii  git [git-core]               1:1.7.1-1.1 fast, scalable, distributed revisi
ii  git-core                     1:1.7.1-1.1 fast, scalable, distributed revisi
ii  gnuplot-nox                  4.4.0-1     A command-line driven interactive 
ii  python                       2.6.6-1     interactive high-level object-orie

gitstats recommends no packages.

gitstats suggests no packages.

-- no debconf information




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to