1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
|
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.
|