Debian Bug report logs -
#325576
ucf: should use debconf to display the diff results
Reported by: Gustavo Noronha Silva <kov@debian.org>
Date: Mon, 29 Aug 2005 13:33:06 UTC
Severity: wishlist
Found in version ucf/2.001
Fixed in version ucf/3.001
Done: Manoj Srivastava <srivasta@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#325576; Package ucf.
(full text, mbox, link).
Acknowledgement sent to Gustavo Noronha Silva <kov@debian.org>:
New Bug report received and forwarded. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: ucf
Version: 2.001
Severity: normal
I use the GNOME debconf frontend and found it very weird that it was simply
blocked when I asked to see a 3-way diff of the configuration file it was
handling. Turns out that the diff was being displayed on the terminal window
ucf was running on.
It would be quite more robust to display the results of the diffs as a debconf
note, so it would work good with any frontend.
Thanks,
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Versions of packages ucf depends on:
ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy
Versions of packages ucf recommends:
ii debconf-utils 1.4.58 debconf utilities
-- debconf information excluded
Severity set to `wishlist'.
Request was from Manoj Srivastava <srivasta@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Blocking bugs added: 325586 and 126753
Request was from Manoj Srivastava <srivasta@golden-gryphon.com>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#325576; Package ucf.
(full text, mbox, link).
Acknowledgement sent to Michael Vogt <mvogt@acm.org>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(full text, mbox, link).
Message #16 received at 325576@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
attached is a patch that uses debconf to display the diff. This avoids
that the GUI freeze when using the gnome debconf frontend.
It uses the "escape" capability of debconf, this is why I updated the
debconf version and removed cdebconf (it does not support this feature
currently).
Feedback is very welcome.
Cheers,
Michael
P.S. I did the patch against a slightly older version, but it applies
fine to the latest version in unstable.
[ucf_2.0017ubuntu1.debdiff (text/plain, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#325576; Package ucf.
(full text, mbox, link).
Acknowledgement sent to Manoj Srivastava <srivasta@golden-gryphon.com>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(full text, mbox, link).
Message #21 received at 325576@bugs.debian.org (full text, mbox, reply):
tags 325576 +pending
thanks
Hi,
The following change has been committed for this bug, and so the
fix will be in the next upload.
===================================================================
2007-05-05 GMT Manoj Srivastava <srivasta@debian.org>
Summary:
Add support for displaying diffs using debconf itself
Revision:
ucf--devel--2.0--patch-2
Users using a Graphical frontend are surprised when the display apparently
just blocks when they ask to see a diff (or 3-way diff) of the
configuration file being handled, when actually the diff is displayed on
the terminal window ucf was run on. Until the debconf-escape utility and
the escape CAPB support, db_subst ran into newline and line length
issues. Patch from Michael Vogt.
Closes: Bug#325576
* ucf (show_diff): Added a function to show the diff using debconf
* ucf (newsum): Use it
modified files:
ChangeLog ucf
Tags added: pending
Request was from Manoj Srivastava <srivasta@golden-gryphon.com>
to control@bugs.debian.org.
(Sat, 05 May 2007 16:48:04 GMT) (full text, mbox, link).
Reply sent to Manoj Srivastava <srivasta@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Gustavo Noronha Silva <kov@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #28 received at 325576-close@bugs.debian.org (full text, mbox, reply):
Source: ucf
Source-Version: 3.001
We believe that the bug you reported is fixed in the latest version of
ucf, which is due to be installed in the Debian FTP archive:
ucf_3.001.dsc
to pool/main/u/ucf/ucf_3.001.dsc
ucf_3.001.tar.gz
to pool/main/u/ucf/ucf_3.001.tar.gz
ucf_3.001_all.deb
to pool/main/u/ucf/ucf_3.001_all.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 325576@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Manoj Srivastava <srivasta@debian.org> (supplier of updated ucf 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 5 May 2007 11:59:20 -0500
Source: ucf
Binary: ucf
Architecture: source all
Version: 3.001
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <srivasta@debian.org>
Changed-By: Manoj Srivastava <srivasta@debian.org>
Description:
ucf - Update Configuration File: preserves user changes to config files
Closes: 325576 421141
Changes:
ucf (3.001) unstable; urgency=low
.
* Bug fix: "ucf: [INTL:ru] Russian debconf template translation", thanks
to Yuri Kozlov (Closes: #421141).
* Bug fix: "ucf: should use debconf to display the diff results", thanks
to Gustavo Noronha Silva. Users using a Graphical frontend are
surprised when the display apparently just blocks when they ask to see
a diff (or 3-way diff) of the configuration file being handled, when
actually the diff is displayed on the terminal window ucf was run
on. Until the debconf-escape utility and the escape CAPB support,
db_subst ran into newline and line length issues. Patch from Michael
Vogt. (Closes: #325576).
* From Michael Vogt's patch: use a debconf note for the diff. updated
dependency of debconf to 1.4.72 (this is the version that supports the
"escape" capability)
* Left in the debconf-2.0 as is, since I am assuming anything that
provides debconf-2.0 should be a drop in replacement, or that should
be considered a bug. This is a change from Michael Vogt's patch.
Files:
1da24df27b2aa5843e3336fa2915d1ee 648 utils optional ucf_3.001.dsc
7f2a4939bdf23dd085fa36518ebd6c5f 77055 utils optional ucf_3.001.tar.gz
729ac93ddebdcce3f1bd506a855c09fa 57728 utils optional ucf_3.001_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGPNcLIbrau78kQkwRAuprAJ4myNYqbDHRDtK4M0JH1EeBKnAQuwCgt1M9
CiOdTiImInKiYBztbWNTPc4=
=93rs
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 26 Jun 2007 14:38:08 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 10:39:46 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.