Bug#478117: qct: should recommend 'cogito' or some other utility that provides 'cg'
retitle 478117 qct should not talk about hg when the repo has no SCM severity 478117 wishlist thanks Hi, There are two things in this bug report. Teodor wrote: I could reproduce the reported behaviour: [EMAIL PROTECTED]:~/tmp-pam$ qct Unable to find hg (.exe, .bat, .cmd) in your path The first one is that qct talk about hg when no SCM is used. I understand that the error/warning message is a bit strange but this is a bug of severity wishlist, not important. The output is a bit strange but unless I miss something, qct is working. But after changing the working directory into a git repo: [...] raise ProgramError(progStr, e.strerror) qctlib.utils.ProgramError: cg status: No such file or directory Here, this is another bug: qct use cogito instead of git-core to manage git repo. However, cogito is not packaged in Debian anymore. This bugs is handled in #488055 There is no really good solution for it for now (unless someone has some time to code a git-backend for qct). In conclussion I suspect that it defaults to using mercurial (hg) if no SCM is explicitly given. I think that too, hence the strange error message. Best regards, Vincent -- Vincent Danjean GPG key ID 0x9D025E87 [EMAIL PROTECTED] GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87 Unofficial pacakges: http://www-id.imag.fr/~danjean/deb.html#package APT repo: deb http://perso.debian.org/~vdanjean/debian unstable main -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#478117: qct: should recommend 'cogito' or some other utility that provides 'cg'
Package: qct Version: 1.5-1 Followup-For: Bug #478117 I could reproduce the reported behaviour: [EMAIL PROTECTED]:~/tmp-pam$ qct Unable to find hg (.exe, .bat, .cmd) in your path [EMAIL PROTECTED]:~/tmp-pam$ ls -l total 1 drwxr-xr-x 8 doru users 480 2008-07-06 17:26 pam_mount But after changing the working directory into a git repo: [EMAIL PROTECTED]:~/tmp-pam/pam_mount$ ls autogen.shdoc LICENSE.LGPL2 Makefile.am src configLICENSE.GPL2 LICENSE.LGPL3 pam_mount.spec configure.ac LICENSE.GPL3 m4lib scripts [EMAIL PROTECTED]:~/tmp-pam/pam_mount$ qct Auto-detected Git (Cogito) repository Traceback (most recent call last): File /usr/bin/qct, line 123, in module dialog = CommitTool(vcs) File /var/lib/python-support/python2.5/qctlib/gui_logic.py, line 154, in __init__ self.__rescanFiles() File /var/lib/python-support/python2.5/qctlib/gui_logic.py, line 223, in __rescanFiles self.itemList = self.vcs.scanFiles(self.showIgnored, pb) File /var/lib/python-support/python2.5/qctlib/vcs/cg.py, line 86, in scanFiles recs = runProgram(['cg', 'status'] + extra).split(os.linesep) File /var/lib/python-support/python2.5/qctlib/utils.py, line 114, in runProgram raise ProgramError(progStr, e.strerror) qctlib.utils.ProgramError: cg status: No such file or directory In conclussion I suspect that it defaults to using mercurial (hg) if no SCM is explicitly given. Thanks -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages qct depends on: ii cvs 1:1.12.13-11 Concurrent Versions System ii git-core1:1.5.6-1fast, scalable, distributed revisi ii python 2.5.2-1 An interactive high-level object-o ii python-qt4 4.4.2-1 Python bindings for Qt4 ii python-support 0.8.1automated rebuilding support for P qct recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#478117: qct: should recommend 'cogito' or some other utility that provides 'cg'
On 7/6/08, Teodor [EMAIL PROTECTED] wrote: File /var/lib/python-support/python2.5/qctlib/vcs/cg.py, line 86, in scanFiles recs = runProgram(['cg', 'status'] + extra).split(os.linesep) File /var/lib/python-support/python2.5/qctlib/utils.py, line 114, in runProgram raise ProgramError(progStr, e.strerror) qctlib.utils.ProgramError: cg status: No such file or directory I've found that there is only one package that provides `cg': cgvg: /usr/bin/cg I think that 'cgvg' should be added as a dependency but maybe I'm missing something. Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]