ucf/ChangeLog

212 lines
7.8 KiB
Plaintext
Raw Normal View History

2022-05-14 03:13:01 +08:00
2008-02-21 Manoj Srivastava <srivasta@debian.org>
* ucfq (process):
srivasta@debian.org--lenny/ucf--devel--3.0--patch-2 Niko
Tyni says ucfq /path/to/file never gives any output. It
looks like the problem is that ^/ is matched twice with
the global option (m//g) on the filename in
ucf::process(), so the second one fails looking for the
next match. I don't see the need for global match here,
and removing the /g fixesthis for me.
(report): srivasta@debian.org--lenny/ucf--devel--3.0--patch-2
Major changes to ensure that the modified column
actually contains a valid value. This whole script needs
a rewrite.
2007-11-30 Manoj Srivastava <srivasta@debian.org>
* ucf (newsum):
srivasta@debian.org--lenny/ucf--devel--3.0--patch-1 For
"keep current" and "threeway merge", ucf expects answers
from debconf which differ from what is specified in the
template master. Frans Pop suggested using the Choices-C
feature of debconf, which is relatively new, but defines
a fixed alias for each option which Debconf will then
use in db_get and db_set operations -- so no more
matching the template in the code.
2007-09-19 Manoj Srivastava <srivasta@debian.org>
* ucf (choice_keep_current):
srivasta@debian.org--lenny/ucf--devel--3.0--base-0
Change the name to fit the changed template
2007-05-05 Manoj Srivastava <srivasta@debian.org>
* ucf (show_diff):
srivasta@debian.org--lenny/ucf--devel--2.0--patch-1
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.
2007-04-17 Manoj Srivastava <srivasta@debian.org>
* ucf.1: srivasta@debian.org--lenny/ucf--devel--2.0--base-0
Document that ucf now tries to preserve owner/permission
bits for the file.
* ucf: srivasta@debian.org--lenny/ucf--devel--2.0--base-0 As far
as possible, preserve file attributes like ownership and
permission by using cp -pf instead of just cp -f.
2007-02-25 Manoj Srivastava <srivasta@debian.org>
* ucfr (safe_conf_file):
srivasta@debian.org--etch/ucf--devel--2.0--versionfix-4
Reincorporate the fix from the NMU. Add a space before
the echo.
2007-02-24 Manoj Srivastava <srivasta@debian.org>
* ucf.1: srivasta@debian.org--etch/ucf--devel--2.0--versionfix-3
Add documentation clarifying the primary use for ucf.
* ucfr (safe_conf_file):
srivasta@debian.org--etch/ucf--devel--2.0--versionfix-2
Add $progname: prefix to all error messages.
2007-01-18 Manoj Srivastava <srivasta@debian.org>
* ucfr.1: srivasta@debian.org--etch/ucf--devel--2.0--versionfix-1
Emphasize that the full path to the configuration file
is expected.
* ucfq.1: srivasta@debian.org--etch/ucf--devel--2.0--versionfix-1
Ditto.
* ucfr (safe_conf_file):
srivasta@debian.org--etch/ucf--devel--2.0--versionfix-1
Issue a diagnostic, and exit gracefully if the
registration request has not provided a full path to the
configuration file. For lenny, the graceful exit shall
be changed into die with a error message.
* ucfq (process):
srivasta@debian.org--etch/ucf--devel--2.0--versionfix-1
Issue a diagnostic, and exit gracefully if the query has
not provided a full path to the configuration file. For
lenny, the graceful exit shall be changed into die with
a error message.
* ucf: srivasta@debian.org--etch/ucf--devel--2.0--patch-20 Typo
fix.
* ucf.1: srivasta@debian.org--etch/ucf--devel--2.0--patch-20 Typo
fix.
2006-11-16 Manoj Srivastava <srivasta@debian.org>
* ucfr.1: srivasta@debian.org--etch/ucf--devel--2.0--patch-18 Typo
fixes: cofiguration -> configuration, asociating ->
associating, mutiple -> multiple
* ucfq.1: srivasta@debian.org--etch/ucf--devel--2.0--patch-18 Typo
Fix: modfied -> modified
* ucf.1: srivasta@debian.org--etch/ucf--devel--2.0--patch-18 Typo
fix: "witht he" -> "with the"
2006-10-23 Manoj Srivastava <srivasta@debian.org>
* ucf (TEMP): srivasta@debian.org--etch/ucf--devel--2.0--patch-17
Use readlink to canonicalize the path names presented to
ucf. This ensures that we keep track of information
about the correct file in ucf, even if it is referred to
differently (like, multiple ///s, or a/../a/)
* ucfq: srivasta@debian.org--etch/ucf--devel--2.0--patch-16 The
package name is ucf, not Ucf. Fixes the usage help
output.
2006-09-11 Manoj Srivastava <srivasta@debian.org>
* ucf.1 (needed):
srivasta@debian.org--etch/ucf--devel--2.0--patch-15 Typo fix.
2006-08-20 Manoj Srivastava <srivasta@debian.org>
* ucf.1: srivasta@debian.org--etch/ucf--devel--2.0--patch-14
Document various extensions optionally used by ucf to
store copies of versions of configuration files ucf is
working with.
2006-06-16 Manoj Srivastava <srivasta@debian.org>
* ucf (safe_dest_file):
srivasta@debian.org--etch/ucf--devel--2.0--patch-12
Improve the handling of finding a sensible pager. This
now handles a messed up /etc/alternatives/paper
setting. Also included sensible pager as an
alternative, and fall back to /bin/more if
needed. Also, allow for readlink failures.
2006-04-11 Manoj Srivastava <srivasta@debian.org>
* ucf.1: srivasta@debian.org--etch/ucf--devel--2.0--patch-8 Added
documentation for the --state-dir option.
* ucfr.1: Documentation for the new command ucfr
* ucfr: New file. Associates, and disassociates, a package name
with configuration files.
* Makefile (check):
srivasta@debian.org--etch/ucf--devel--2.0--patch-8 Added
a check for ucfr
(install):
srivasta@debian.org--etch/ucf--devel--2.0--patch-8
Install ucfr and manual page as well
* ucf (NEW_SUFFIX):
srivasta@debian.org--etch/ucf--devel--2.0--patch-7 Added
new variables to hold the suffix we use todenote the
{maintainers, old, new} versions of a file. Used to be
dpkg-{dist,old,new}, now it is ucf-{dist,old,new}.
2005-09-20 Manoj Srivastava <srivasta@debian.org>
* ucf (newsum): srivasta@debian.org--etch/ucf--devel--2.0--patch-4
Added support for side-by-side diffs, This is very
similar to doing a standard diff, apart from calling
sdiff instead (and change the option switches around as
needed.
2005-09-01 Manoj Srivastava <srivasta@debian.org>
* examples/postrm:
srivasta@debian.org--etch/ucf--devel--2.0--patch-2 only
use ucf if it is available
2005-08-08 Manoj Srivastava <srivasta@debian.org>
* ucf: srivasta@debian.org--etch/ucf--devel--2.0--patch-1 Add code
to determine the value of UCF_FORCE_CONFFMISS, looking
at the command line, env variable, config file, or
default (the default being unset). No command line
option is currently available, but the underpinning are
there. Replace the destination file, if missing, and iff
the variable is set.
* ucf.1: srivasta@debian.org--etch/ucf--devel--2.0--patch-1
Document UCF_FORCE_CONFFMISS. This environment variable
is only applicable when the installed destination file
does not exist (perhaps due to user removal),and forces
ucf to recreate the missing file (the default behaviour
is to honor the users wishes and not recreate the
locally deleted file).
2005-06-25 Manoj Srivastava <srivasta@debian.org>
* ucf (safe_dest_file):
srivasta@debian.org--etch/ucf--devel--0.1--base-0 Well,
setting VERBOSE to 0 is the same as being quiet,
according to the man page. Unfortunately, the code
actually looked to see if VERBOSE was set (even if set
to 0). Now, we unset VERBOSE if the user had set it to
0, making everyone happy.