Your message dated Tue, 24 Feb 2009 18:17:08 +0000
with message-id <[email protected]>
and subject line Bug#516143: fixed in xxdiff 1:3.2-9
has caused the Debian Bug report #516143,
regarding xxdiff-scripts: xml files classified as non-text
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
516143: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516143
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xxdiff-scripts
Version: 1:3.2-8
Severity: normal

When running xx-svn-diff on a tree that contains xml files, the files are skipped because they are classified as "non-text" by the istextfile function in utils.py in:

/usr/share/python-support/xxdiff-scripts/xxdiff

I think that adding another regular expression to match the output of "file" for XML files could be appropriate, e.g. in istextfile:

xml_re = re.compile('\\bXML\\b')

and then test for all 3 options:

return bool(text_re.search(stdout) or empty_re.match(stdout) or xml_re.search(stdout))

rgds
jp

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.15 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages xxdiff-scripts depends on:
ii python 2.5.2-3 An interactive high-level object-o ii python-support 0.8.7 automated rebuilding support for P ii xxdiff 1:3.2-8 graphical file/directory compariso

xxdiff-scripts recommends no packages.

xxdiff-scripts suggests no packages.

-- no debconf information

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.




--- End Message ---
--- Begin Message ---
Source: xxdiff
Source-Version: 1:3.2-9

We believe that the bug you reported is fixed in the latest version of
xxdiff, which is due to be installed in the Debian FTP archive:

xxdiff-scripts_3.2-9_all.deb
  to pool/main/x/xxdiff/xxdiff-scripts_3.2-9_all.deb
xxdiff_3.2-9.diff.gz
  to pool/main/x/xxdiff/xxdiff_3.2-9.diff.gz
xxdiff_3.2-9.dsc
  to pool/main/x/xxdiff/xxdiff_3.2-9.dsc
xxdiff_3.2-9_i386.deb
  to pool/main/x/xxdiff/xxdiff_3.2-9_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Y Giridhar Appaji Nag <[email protected]> (supplier of updated xxdiff package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 24 Feb 2009 14:51:19 +0530
Source: xxdiff
Binary: xxdiff xxdiff-scripts
Architecture: source all i386
Version: 1:3.2-9
Distribution: unstable
Urgency: low
Maintainer: Y Giridhar Appaji Nag <[email protected]>
Changed-By: Y Giridhar Appaji Nag <[email protected]>
Description: 
 xxdiff     - graphical file/directory comparison and merge tool
 xxdiff-scripts - graphical file/directory comparison and merge tool - scripts
Closes: 516143
Changes: 
 xxdiff (1:3.2-9) unstable; urgency=low
 .
   * Update Maintainer to official Debian ID
   * Remove DM-Upload-Allowed: yes
   * Patch 08_516143_xml_is_text to classify XML files as text, thanks to
     "J.P. Delport" <[email protected]> for the patch (Closes: #516143)
Checksums-Sha1: 
 a41262392cf4bc20d90421d03b6fad50a8f16cd7 1280 xxdiff_3.2-9.dsc
 189014b7064d06d56bf965e6c14abd141a62e96a 19788 xxdiff_3.2-9.diff.gz
 cffa0b4e6635c6f41d2e807552752a9356e41c50 144926 xxdiff-scripts_3.2-9_all.deb
 d6068ca1423989d37138f6f537c173cd328c08a2 424012 xxdiff_3.2-9_i386.deb
Checksums-Sha256: 
 471ae4bd077e1cba381997fbe1e0d528a9de02f1ffdb304d51a59a2e7331a68d 1280 
xxdiff_3.2-9.dsc
 f04edfa150254c077dfe295cd5c93057143b7d58ea86b5e0e7c2acf642080473 19788 
xxdiff_3.2-9.diff.gz
 5689c9fc7b8ac3090203cc8648678d0a14858d907fef6a396bf43744945d416b 144926 
xxdiff-scripts_3.2-9_all.deb
 b205c5058ce214487ec0c20258825dd51d93bcc1b06491df23cff487ac790ef7 424012 
xxdiff_3.2-9_i386.deb
Files: 
 87035a51d9e2d16f7969f062960dc357 1280 text optional xxdiff_3.2-9.dsc
 31618ddf377a9bf80d1475beb05c6d1b 19788 text optional xxdiff_3.2-9.diff.gz
 560b4407a0b17616254ed8fa4e7881f3 144926 text optional 
xxdiff-scripts_3.2-9_all.deb
 f2dc3da26685d9fe15228231de291330 424012 text optional xxdiff_3.2-9_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmkNnwACgkQ4eu+pR04mIeTuACfeyMnJJatXbxJaAWpN81IYqXs
TXgAnj5UzZV8YNBMOb8BQoiz8J/V6Voq
=Ddke
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to