Debian Codegraph @

Changelog

raw
1 Version 3.12.0 24 Sep 2025
2
3 * Add support for Python v3.14 and drop support for v3.10.
4 * Document how to change the interpreter version with `$UV_PYTHON`.
5
6 Version 3.11.0 23 Sep 2025
7
8 * Pull in latest version of run-script-framework.
9 * Migrate from Poetry to UV for the Python build system.
10
11 Version 3.10.1 18 Sep 2025
12
13 * Exclude generated files in `docs/_build` from the Python sdist.
14 * Fix poetry-dynamic-versioning version in both places in `pyproject.toml`.
15
16 Version 3.10.0 18 Sep 2025
17
18 * Version `profiles_settings.xml` to control PyCharm inspection profile.
19 * Add a new `suite -f` command to run faster subset of the suite.
20 * Migrate to Read the Docs integration via the new GitHub App.
21 * Adjust GHA build process to allow builds for stacked PRs.
22 * Upgrade to poetry-dynamic-versioning v1.9.1 for minor fixes.
23 * Add a new `run clean` target to clean up generated data.
24 * Replace black, isort, and pylint with the Ruff formatter and linter.
25 * Address all Ruff linter errors, either with code changes or exclusions.
26 * Remove importlib-metadata dependency in favor of standard library.
27 * Update all dependencies and outdated constraints.
28
29 Version 3.9.2 21 Jan 2025
30
31 * Add Sphinx configuration path to .readthedocs.yml.
32 * Set $SOURCE_DATE_EPOCH on build so sdist contents get sane timestamps.
33
34 Version 3.9.1 10 Jan 2025
35
36 * Pull in latest version of run-script-framework.
37 * Upgrade to poetry-dynamic-versioning v1.5.2 for minor fixes.
38 * Add .python-version in preferred order to support pyenv.
39 * Add missing runtime dependency on importlib-metadata.
40
41 Version 3.9.0 08 Jan 2025
42
43 * Migrate to Poetry v2 and project-managed Poetry plugins.
44 * Move configuration into pyproject.toml for coverage.
45 * Upgrade to gha-shared-workflows@v8 for Poetry v2 support.
46 * Update dependencies to match versions in Debian trixie.
47
48 Version 3.8.3 02 Jan 2025
49
50 * Add GitHub security policy in SECURITY.md.
51 * Pull in latest version of run-script-framework.
52 * Update dependencies to address Dependabot warnings.
53 * Upgrade to gha-shared-workflows@v7 with publish improvements.
54 * Change the default branch in GitHub from master to main.
55
56 Version 3.8.2 15 Oct 2024
57
58 * Pull in latest updates from run-script-framework.
59 * Simplify GHA integration with coveralls.io.
60 * Clarify that Debian stable is the target for dependencies.
61 * Update transitive dependencies to address Dependabot warnings.
62 * Add support for Python v3.13 and drop support for v3.9.
63 * Upgrade to Poetry v1.8.4 for official Python 3.13 support.
64 * Bump readthedocs build to python 3.10 and ubuntu-24.04.
65 * Adjust getFunctionReference() to use Python 3 callable().
66 * Convert to posixpath.isabs() to work around change in Python v3.13.
67
68 Version 3.8.1 26 Feb 2024
69
70 * Upgrade to Poetry v1.8.0 and make related adjustments.
71 * Disable Python keyring via poetry.toml.
72 * Update Poetry install instructions in DEVELOPER.md.
73 * Pull in latest version of run-script-framework.
74 * Upgrade to gha-shared-workflows@v4 with new Poetry setup.
75 * Add support for 'run outdated' and update dependencies.
76
77 Version 3.8.0 17 Jan 2024
78
79 * Constrain some dependencies to be compatible with Debian.
80 * Disable intersphinx plugin for docs, which no longer seems to work.
81 * Update jinja2 to address CVE-2024-22195 from Dependabot.
82
83 Version 3.7.9 05 Nov 2023
84
85 * Update urllib3 to address Dependabot warnings.
86 * Upgrade to Poetry v1.7.0 for official Python 3.12 support.
87
88 Version 3.7.8 15 Oct 2023
89
90 * Fix Python 3.12 deprecation for datetime.datetime.utcnow().
91 * Fix Python 3.12 warning for tar.extract() filter behavior.
92 * Fix some non-working remote connectivity tests in 'run tests full'.
93
94 Version 3.7.7 14 Oct 2023
95
96 * Upgrade major dependencies.
97 * Upgrade build process to Poetry v1.6.1.
98 * Add support for Python v3.12 and drop support for v3.8.
99 * Document changes to scp configuration for Debian bookworm.
100
101 Version 3.7.6 10 Jun 2023
102
103 * Pin chardet and importlib-metadata to match Debian bookworm.
104
105 Version 3.7.5 07 Jun 2023
106
107 * Fix checktabs to be safe for file named '-'.
108 * Upgrade all dependencies to the latest major version.
109 * Upgrade to Poetry v1.5.1 and make related adjustments.
110
111 Version 3.7.4 31 Dec 2022
112
113 * Pull Sphinx fields from metadata rather than parsing pyproject.toml.
114
115 Version 3.7.3 30 Dec 2022
116
117 * Convert to latest readthedocs.io standard.
118 * Update remaining docs, comments, and checks to reflect dropping Python 3.7.
119 * Automate the existing manual release process using GitHub Actions.
120
121 Version 3.7.2 30 Dec 2022
122
123 * More improvements to metadata for the Debian CI test process.
124
125 Version 3.7.1 30 Dec 2022
126
127 * Improvements to metadata to better support the Debian build process.
128
129 Version 3.7.0 29 Dec 2022
130
131 * Drop support for Python 3.7.
132 * Rename CREDITS -> NOTICE for consistency with my other Python projects.
133 * Migrate release.py and various help output to use importlib.metadata.
134 * Convert to standard version of .run/tasks/release.sh used elsewhere.
135
136 Version 3.6.9 09 Nov 2022
137
138 * Support Python 3.11.
139 * Use locale.getlocale() instead of .getdefaultlocale() for Python >= 3.11.
140 * Adjust GHA build to run MacOS and Windows tests only on latest Python.
141
142 Version 3.6.8 24 Oct 2022
143
144 * Remove execute bit from amazons3.py and span.py for Debian policy.
145
146 Version 3.6.7 24 Oct 2022
147
148 * Refactor the run script and pre-commit hooks to reduce duplication.
149 * Rework the GitHub Actions build process to pull out shared code.
150
151 Version 3.6.6 05 Sep 2022
152
153 * Upgrade to Poetry v1.2.0 and make related build process changes.
154 * Upgrade to Pylint v2.15.0 and address warnings.
155 * Fix Pylint's configured class-attribute-naming-style to be snake_case.
156 * Adjust Black configuration to target Python 3.7, 3.8, 3.9, and 3.10.
157 * Add dependency caching to GitHub Actions workflow.
158 * Fix the GitHub Actions matrix build to properly target Windows and MacOS.
159 * Fix problems with test suite under Windows when running in GitHub Actions.
160 * Update various dependencies for the developer environment.
161
162 Version 3.6.5 30 Apr 2022
163
164 * Adjust the pyproject.toml include directive to limit what goes into wheel.
165 * Remove the Safety scanner from the pre-commit hooks and GitHub action.
166
167 Version 3.6.4 14 Nov 2021
168
169 * Adjust dependencies and build process to support Python 3.10.
170
171 Version 3.6.3 13 Mar 2021
172
173 * Improve logged output for failed pre/post action hooks.
174
175 Version 3.6.2 17 Feb 2021
176
177 * Standardize format of GPL license statement in CREDITS.
178
179 Version 3.6.1 07 Feb 2021
180
181 * Make minor structural improvements to the build process.
182 * Publish coverage data to coveralls.io in GitHub workflow.
183
184 Version 3.6.0 03 Feb 2021
185
186 * Always use '/' internally for paths, even on the Windows platform.
187 * Change the way archive filenames are generated to eliminate leading '-' characters.
188 * Use UTF-8 encoding for log files on disk to avoid problems with unusual filenames.
189 * Update build process to include security scans using Safety.
190
191 Version 3.5.4 17 Jan 2021
192
193 * Fix a couple of links in docs/index.rst (cut-and-paste error).
194
195 Version 3.5.3 17 Jan 2021
196
197 * Move to newer build dependencies (Black, isort, etc.).
198 * Make adjustments to code formatting to match new Black version.
199 * Force docs/requirements.txt to have UNIX line endings
200 * Convert to PEP 440 convention for Git tags (i.e. "v3.5.3").
201 * Standardize and improve badges in markdown, so they are all links.
202 * Simplify pylint configuration and use "-j 0" to speed it up.
203
204 Version 3.5.2 14 Jan 2021
205
206 * Improve debug output for pre/post action hooks.
207
208 Version 3.5.1 30 Dec 2020
209
210 * Adjust .gitattributes to force UNIX line endings, for compatibility.
211
212 Version 3.5.0 30 Dec 2020
213
214 * Changes to support the Windows platform, for the first time since 3.0.1.
215 * Minor tweaks to the codebase to make the PyCharm code inspector happy.
216
217 Version 3.4.1 20 Dec 2020
218
219 * Fix Python dependencies to work with Python 3.9.1 and not just 3.9.0.
220
221 Version 3.4.0 07 Nov 2020
222
223 * Add a new -u/--uploadOnly option to cback3-amazons3-sync.
224
225 Version 3.3.4 29 Oct 2020
226
227 * Update manual's copyright to reflect reStructuredText, not Docbook XML.
228 * Fix typos (misspellings) discovered in manpages by Debian's Lintian.
229 * Fix bug in "run release" that resulted in nonsensical 3.3.3 release.
230
231 Version 3.3.2 26 Oct 2020
232
233 * Fix obsolete GitHub URL in several places.
234
235 Version 3.3.1 25 Oct 2020
236
237 * Minor adjustments to PyPI package documentation.
238 * Execute 'sudo -v' prior to running full test suite.
239 * Fix release process to work consistently across platforms.
240
241 Version 3.3.0 25 Oct 2020
242
243 * Convert to modern Python packaging based on Poetry.
244 * Apply code formatting standards with Black and isort.
245 * Switch to standard unittest discovery process to run test suite.
246 * Convert user manual from Docbook XML to Sphinx and revise content.
247 * Migrate all documentation (manual and API specs) to Read the Docs.
248 * Add a GitHub workflow to implement code quality gates, executed via Tox.
249 * Clean up and remove obsolete and unused notes, utilities, etc.
250 * Fix resource leak in executeCommand() that was exposed by unit tests.
251 * Increase minimum interpreter version from Python 3.4 to Python 3.7.
252
253 Version 3.2.0 24 Aug 2019
254
255 * Migrate to GitHub now that BitBucket no longer supports Mercurial repositories.
256 * Handle new warnings from PyLint 2.3.1.
257
258 Version 3.1.12 12 Nov 2017
259
260 * Fix MANIFEST.in so that all API documentation is included in tarball.
261
262 Version 3.1.11 12 Nov 2017
263
264 * Convert API documentation from Epydoc to Sphinx Napolean (Google docstrings).
265
266 Version 3.1.10 11 Sep 2017
267
268 * Fix maintainer script util/validate to use onsgmls from the opensp package.
269 * Add information to the user manual about how to lock down the Amazon S3 user.
270
271 Version 3.1.9 03 Jul 2017
272
273 * Fix issues discovered with peer test changes when backporting to CedarBackup2.
274
275 Version 3.1.8 02 Jul 2017
276
277 * Add options in util/test.py to get better output from unit tests.
278 * Update Python virtualenv setup to work with Python 3.5 and recent pip.
279 * Make various adjustments to remote peer tests, to make them safer and more robust.
280 * Fix problems discovered with the awscli version in Debian stretch.
281
282 Version 3.1.7 21 Jun 2016
283
284 * Fix typo in cback.1, noticed by Debian's Lintian checks.
285 * Fix logging errors with odd paths in tools/amazons3.py when ascii encoding is set.
286
287 Version 3.1.6 13 Feb 2016
288
289 * Fix bug in the file encoding checks for the amazons3sync tool.
290
291 Version 3.1.5 02 Jan 2016
292
293 * Fix or disable a variety of new warnings and suggestions from pylint.
294
295 Version 3.1.4 11 Aug 2015
296
297 * Improvements based on testing in the Debian continuous integration environment.
298 - Make the logging setup process obey the --stack command-line option
299 - Fix logging setup to always create the log file with the proper specified mode
300 - Fix PurgeItemList.removeYoungFiles() so ageInWholeDays can never be negative
301 - Make filesystemtests more portable, with maximum file path always <= 255 bytes
302
303 Version 3.1.1 04 Aug 2015
304
305 * Fix incorrect exception raise without % in util.py, found by accident.
306 * Fix cut-and-paste typo 'iplemented' in cli.py, config.py, and util.py.
307 * Fix bugs in the ByteQuantity changes from v3.1.0, so comparisons work properly.
308 * Adjust amazons3, capacity and split to use ByteQuantity directly, not bytes field.
309
310 Version 3.1.0 03 Aug 2015
311
312 * Enhance ByteQuantity so it can be built from and compared to simple numeric values.
313 * Improve the way the amazons3 extension deals with byte quantities.
314 - Fix configuration to support quantities like "2.5 GB", as in other extensions
315 - Improve logging using displayBytes(), so displayed quantities are more legible
316
317 Version 3.0.2 30 Jul 2015
318
319 * Improvements based on integration testing with my own backup configuration.
320 - Fix problems with pickle by using binary open, protocol=0, fix_imports=True
321 - Be stricter with the way files are opened/closed, relying on the new 'with' idiom
322 - Make sure every file opened for use with executeCommand() uses mode "wb"
323
324 Version 3.0.1 29 Jul 2015
325
326 * Create project in Mercurial at BitBucket, alongside Cedar Backup 2.
327 * Convert to Python 3, using v2.24.2 as the basis for conversion.
328 * Rename files (logs, config, executables) to use cback3 prefix rather than cback.
329 * Remove support for Windows and Cygwin, which was never advertised and rarely tested.
330 * Fix a variety of minor warnings from pylint 1.4.4, most of which also appeared in 2.24.2.
331 * Clean up manpages and add notes about migrating to version 3.
332 * Review user guide, fix broken links, make minor tweaks to wording, etc.
333 * Fix long-standing bugs with pre- and post-action hooks, ported from v2.24.4.
334
335 Version 2.24.2 05 Jan 2015
336
337 * Add optional size-limit configuration for amazons3 extension.
338
339 Version 2.24.1 07 Oct 2014
340
341 * Implement a new tool called cback-amazons3-sync.
342 * Add support for missing --diagnostics flag in cback-span script.
343
344 Version 2.23.3 03 Oct 2014
345
346 * Add new extension amazons3 as an optional replacement for the store action.
347 * Update user manual and INSTALL to clarify a few of the dependencies.
348 * Fix encryption unit test that started failing due to my new GPG key.
349
350 Version 2.22.0 09 May 2013
351
352 * Add eject-related kludges to work around observed behavior.
353 * New config option eject_delay, to slow down open/close
354 * Unlock tray with 'eject -i off' to handle potential problems
355
356 Version 2.21.1 21 Mar 2013
357
358 * Apply patches provided by Jan Medlock as Debian bugs.
359 * Fix typo in manpage (showed -s instead of -D)
360 * Support output from latest /usr/bin/split (' vs. `)
361
362 Version 2.21.0 12 Oct 2011
363
364 * Update CREDITS file to consistently credit all contributers.
365 * Minor tweaks based on PyLint analysis (mostly config changes).
366 * Make ISO image unit tests more robust in writersutiltests.py.
367 - Handle failures with unmount (wait 1 second and try again)
368 - Programmatically disable (and re-enable) the GNOME auto-mounter
369 * Implement configurable recursion for collect action.
370 - Update collect.py to handle recursion (patch by Zoran Bosnjak)
371 - Add new configuration item CollectDir.recursionLevel
372 - Update user manual to discuss new functionality
373
374 Version 2.20.1 19 Oct 2010
375
376 * Fix minor formatting issues in manpages, pointed out by Debian lintian.
377 * Changes required to make code compatible with Python 2.7
378 - StreamHandler no longer accepts strm= argument (closes: #3079930)
379 - Modify logfile os.fdopen() to be explicit about read/write mode
380 - Fix tests that extract a tarfile twice (exposed by new error behavior)
381
382 Version 2.20.0 07 Jul 2010
383
384 * This is a cleanup release with no functional changes.
385 * Switch to minimum Python version of 2.5 (everyone should have it now).
386 - Make cback script more robust in the case of a bad interpreter version
387 - Change file headers, comments, manual, etc. to reference Python 2.5
388 - Convert to use @staticmethod rather than x = staticmethod(x)
389 - Change interpreter checks in test.py, cli.py and span.py
390 - Remove Python 2.3-compatible versions of util.nullDevice() and util.Pipe
391 * Configure pylint and execute it against the entire codebase.
392 - Fix a variety of minor warnings and suggestions from pylint
393 - Move unit tests into testcase folder to avoid test.py naming conflict
394 * Remove "Translate [x:y] into [a:b]" debug message for uid/gid translation.
395 * Refactor out util.isRunningAsRoot() to replace scattered os.getuid() calls.
396 * Remove boilerplate comments "As with all of the ... " in config code.
397 * Refactor checkUnique() and parseCommaSeparatedString() from config to util.
398 * Add note in manual about intermittent problems with DVD writer soft links.
399
400 Version 2.19.6 22 May 2010
401
402 * Work around strange stderr file descriptor bugs discovered on Cygwin.
403 * Tweak expected results for tests that fail on Cygwin with Python 2.5.x.
404 * Set up command overrides properly so full test suite works on Debian.
405 * Add refresh_media_delay configuration option and related functionality.
406
407 Version 2.19.5 10 Jan 2010
408
409 * Add customization support, so Debian can use wodim and genisoimage.
410 * SF bug #2929447 - fix cback-span to only ask for media when needed
411 * SF bug #2929446 - add retry logic for writes in cback-span
412
413 Version 2.19.4 16 Aug 2009
414
415 * Add support for the Python 2.6 interpreter.
416 - Use hashlib instead of deprecated sha module when available
417 - Use set type rather than deprecated sets.Set when available
418 - Use tarfile.format rather than deprecated tarfile.posix when available
419 - Fix testGenerateTarfile_002() so expectations match Python 2.6 results
420
421 Version 2.19.3 29 Mar 2009
422
423 * Fix minor epydoc typos, mostly in @sort directives.
424 * Removed support for user manual PDF format (see doc/pdf).
425
426 Version 2.19.2 08 Dec 2008
427
428 * Fix cback-span problem when writing store indicators.
429
430 Version 2.19.1 15 Nov 2008
431
432 * Fix bug when logging strange filenames.
433
434 Version 2.19.0 05 Oct 2008
435
436 * Fix a few typos in the CREDITS file.
437 * Update README to properly reference SourceForge site.
438 * Add <ignore_failures> option to peer configuration.
439
440 Version 2.18.0 05 May 2008
441
442 * Add the ability to dereference links when following them.
443 - Add util.dereferenceLink() function
444 - Add dereference flag to FilesystemList.addDirContents()
445 - Add CollectDir.dereference attribute
446 - Modify collect action to obey CollectDir.dereference
447 - Update user manual to discuss new attribute
448
449 Version 2.17.1 26 Apr 2008
450
451 * Updated copyright statement slightly.
452 * Updated user manual.
453 - Brought copyright notices up-to-date
454 - Fixed various URLs that didn't reference SourceForge
455 * Fixed problem with link_depth (closes: #1930729).
456 - Can't add links directly, they're implicitly added later by tar
457 - Changed FilesystemList to use includePath=false for recursive links
458
459 Version 2.17.0 20 Mar 2008
460
461 * Change suggested execution index for Capacity extension in manual.
462 * Provide support for application-wide diagnostic reporting.
463 - Add util.Diagnostics class to encapsulate information
464 - Log diagnostics when Cedar Backup first starts
465 - Print diagnostics when running unit tests
466 - Add a new --diagnostics command-line option
467 * Clean up filesystem code that deals with file age, and improve unit tests.
468 - Some platforms apparently cannot set file ages precisely
469 - Change calculateFileAge() to use floats throughout, which is safer
470 - Change removeYoungFiles() to explicitly check on whole days
471 - Put a 1-second fudge factor into unit tests when setting file ages
472 * Fix some unit test failures discovered on Windows XP.
473 - Fix utiltests.TestFunctions.testNullDevice_001()
474 - Fix filesystemtests.TestBackupFileList.testGenerateFitted_004()
475 - Fix typo in filesystemtests.TestFilesystemList.testRemoveLinks_002()
476
477 Version 2.16.0 18 Mar 2008
478
479 * Make name attribute optional in RemotePeer constructor.
480 * Add support for collecting soft links (closes: #1854631).
481 - Add linkDepth parameter to FilesystemList.addDirContents()
482 - Add CollectDir.linkDepth attribute
483 - Modify collect action to obey CollectDir.linkDepth
484 - Update user manual to discuss new attribute
485 - Document "link farm" option for collect configuration
486 * Implement a capacity-checking extension (closes: #1915496).
487 - Add new extension in CedarBackup2/extend/capacity.py
488 - Refactor ByteQuantity out of split.py and into config.py
489 - Add total capacity and utilization to MediaCapacity classes
490 - Update user manual to discuss new extension
491
492 Version 2.15.3 16 Mar 2008
493
494 * Fix testEncodePath_009() to be aware of "UTF-8" encoding.
495 * Fix typos in the PostgreSQL extension section of the manual.
496 * Improve logging when stage action fails (closes: #1854635).
497 * Fix stage action so it works for local users (closes: #1854634).
498
499 Version 2.15.2 07 Feb 2008
500
501 * Updated copyright statements now that code changed in year 2008.
502 * Fix two unit test failures when using Python 2.5 (SF #1861878).
503 - Add new function testtutil.hexFloatLiteralAllowed()
504 - Fix splittests.TestByteQuantity.testConstructor_004() for 0xAC
505 - Fix configtests.TestBlankBehavior.testConstructor_006() for 0xAC
506
507 Version 2.15.1 19 Dec 2007
508
509 * Improve error reporting for managed client action failures.
510 * Make sure that managed client failure does not kill entire backup.
511 * Add appendix "Securing Password-less SSH Connection" to user manual.
512
513 Version 2.15.0 18 Dec 2007
514
515 * Minor documentation tweaks discovered during 3.0 development.
516 * Add support for a new managed backup feature.
517 - Add a new <peers> configuration section (PeersConfig)
518 - Change peers configuration in <stage> to just override <peers>
519 - Modify stage process to take peers list from peers section (if available)
520 - Add new configuration in options and remote peers to support remote shells
521 - Update user manual to discuss managed backup concept and configuration
522 - Add executeRemoteCommand() and executeManagedAction() on peer.RemotePeer
523
524 Version 2.14.0 19 Sep 2007
525
526 * Deal properly with programs that localize their output.
527 - Create new util.sanitizeEnvironment() function to set $LANG=C
528 - Call new sanitizeEnvironment() function inside util.executeCommand()
529 - Change extend/split._splitFile() to be more verbose about problems
530 - Update Extension Architecture Interface to mandate $LANG=C
531 - Add split unit tests to catch any locale-related regressions
532 - Thanks to Lukasz Nowak for initial debugging in split extension
533
534 Version 2.13.2 10 Jul 2007
535
536 * Tweak some docstring markup to work with Epydoc beta 1.
537 * Apply documentation patch from Lukasz K. Nowak.
538 - Document that mysql extension can back up remote databases
539 - Fix typos in extend/sysinfo.py
540 * Clean up some configuration error messages to be clearer.
541 - Make sure that reported errors always include enough information
542 - Add a prefix argument to some of the specialized lists in util.py
543 * Catch invalid regular expressions in config and filesystem code.
544 - Add new util.RegexList list to contain only valid regexes
545 - Use RegexList in config.ConfigDir and config.CollectConfig
546 - Use RegexList in subversion.RepositoryDir and mbox.MboxDir
547 - Throw ValueError on bad regex in FilesystemList remove() methods
548 - Use RegexList in FilesystemList for all lists of patterns
549
550 Version 2.13.1 29 Mar 2007
551
552 * Fix ongoing problems re-initializing previously-written DVDs
553 - Even with -Z, growisofs sometimes wouldn't overwrite DVDs
554 - It turns out that this ONLY happens from cron, not from a terminal
555 - The solution is to use the undocumented option -use-the-force-luke=tty
556 - Also corrected dvdwriter to use option "-dry-run" not "--dry-run"
557
558 Version 2.13.0 25 Mar 2007
559
560 * Change writeIndicator() to raise exception on failure (closes #53).
561 * Change buildNormalizedPath() for leading "." so files won't be hidden
562 * Remove bogus usage of tempfile.NamedTemporaryFile in remote peer.
563 * Refactored some common action code into CedarBackup2.actions.util.
564 * Add unit tests for a variety of basic utility functions (closes: #45).
565 - Error-handling was improved in some utility methods
566 - Fundamentally, behavior should be unchanged
567 * Reimplement DVD capacity calculation (initial code from Dmitry Rutsky).
568 - This is now done using a growisofs dry run, without -Z
569 - The old dvd+rw-mediainfo method was unreliable on some systems
570 - Error-handling behavior on CdWriter was also tweaked for consistency
571 * Add code to check media before writing to it (closes: #5).
572 - Create new check_media store configuration option
573 - Implement new initialize action to initialize rewritable media
574 - Media is initialized by writing an initial session with media label
575 - The store action now always writes a media label as well
576 - Update user manual to discuss the new behavior
577 - Add unit tests for new configuration
578 * Implement an optimized media blanking strategy (closes: #48).
579 - When used, Cedar Backup will only blank media when it runs out of space
580 - Initial implementation and manual text provided by Dmitry Rutsky
581 - Add new blanking_behavior store configuration options
582 - Update user manual to document options and discuss usage
583 - Add unit tests for new configuration
584
585 Version 2.12.1 26 Feb 2007
586
587 * Fix typo in new split section in the user manual.
588 * Fix incorrect call to new writeIndicatorFile() function in stage action.
589 * Add notes in manual on how to find gpg and split commands.
590
591 Version 2.12.0 23 Feb 2007
592
593 * Fix some encrypt unit tests related to config validation
594 * Make util.PathResolverSingleton a new-style class (i.e. inherit from object)
595 * Modify util.changeOwnership() to be a no-op for None user or group
596 * Created new split extension to split large staged files.
597 - Refactored common action utility code into actions/util.py.
598 - Update standard actions, cback-span, and encrypt to use refactored code
599 - Updated user manual to document the new extension and restore process.
600
601 Version 2.11.0 21 Feb 2007
602
603 * Fix log message about SCSI id in writers/dvdwriter.py.
604 * Remove TODO from public distribution (use Bugzilla instead).
605 * Minor changes to mbox functionality (refactoring, test cleanup).
606 * Fix bug in knapsack implementation, masked by poor test suite.
607 * Fix filesystem unit tests that had typos in them and wouldn't work
608 * Reorg user manual to move command-line tools to own chapter (closes: #33)
609 * Add validation for duplicate peer and extension names (closes: #37, #38).
610 * Implement new cback-span command-line tool (closes: #51).
611 - Create new util/cback-span script and CedarBackup2.tools package
612 - Implement guts of script in CedarBackup2/tools/span.py
613 - Add new BackupFileList.generateSpan() method and tests
614 - Refactor other util and filesystem code to make things work
615 - Add new section in user manual to discuss new command
616 * Rework validation requiring least one item to collect (closes: #34).
617 - This is no longer a validation error at the configuration level
618 - Instead, the collect action itself will enforce the rule when it is run
619 * Support a <no_eject> flag in store configuration (closes: #39).
620 - Change StoreConfig, CdWriter and DvdWriter to accept new flag
621 - Update user manual to document new flag, along with warnings about it
622 * Support repository directories in Subversion extension (closes: #46).
623 - Add <repository_dir> configuration modeled after <mbox_dir>
624 - Make <type> configuration value optional and for reference only
625 - Refactor code and deprecate BDBRepository and FSFSRepository
626 - Update user manual to reflect new functionality
627
628 Version 2.10.1 30 Jan 2007
629
630 * Fix a few places that still referred only to CD/CD-RW.
631 * Fix typo in definition of actions.constants.DIGEST_EXTENSION.
632
633 Version 2.10.0 30 Jan 2007
634
635 * Add support for DVD writers and DVD+R/DVD+RW media.
636 - Create new writers.dvdwriter module and DvdWriter class
637 - Support 'dvdwriter' device type, and 'dvd+r' and 'dvd+rw' media types
638 - Rework user manual to properly discuss both CDs and DVDs
639 * Support encrypted staging directories (closes: #33).
640 - Create new 'encrypt' extension and associated unit tests
641 - Document new extension in user manual
642 * Support new action ordering mechanism for extensions.
643 - Extensions can now specify dependencies rather than indexes
644 - Rewrote cli._ActionSet class to use DirectedGraph for dependencies
645 - This functionality is not yet "official"; that will happen later
646 * Refactor and clean up code that implements standard actions.
647 - Split action.py into various other files in the actions package
648 - Move a few of the more generic utility functions into util.py
649 - Preserve public interface via imports in otherwise empty action.py
650 - Change various files to import from the new module locations
651 * Revise and simplify the implied "image writer" interface in CdWriter.
652 - Add the new initializeImage() and addImageEntry() methods
653 - Interface is now initializeImage(), addImageEntry() and writeImage()
654 - Rework actions.store.writeImage() to use new writer interface
655 * Refactor CD writer functionality and clean up code.
656 - Create new writers package to hold all image writers
657 - Move image.py into writers/util.py package
658 - Move most of writer.py into writers/cdwriter.py
659 - Move writer.py validate functions into writers/util.py
660 - Move writertests.py into cdwritertests.py
661 - Move imagetests.py into writersutiltests.py
662 - Preserve public interface via imports in otherwise empty files
663 - Change various files to import from the new module locations
664 * More general code cleanup and minor enhancements.
665 - Modify util/test.py to accept named tests on command line
666 - Fix rebuild action to look at store config instead of stage.
667 - Clean up xmlutil imports in mbox and subversion extensions
668 - Copy Mac OS X (darwin) errors from store action into rebuild action
669 - Check arguments to validateScsiId better (no None path allowed now)
670 - Rename variables in config.py to be more consistent with each other
671 - Add new excludeBasenamePatterns flag to FilesystemList
672 - Add new addSelf flag to FilesystemList.addDirContents()
673 - Create new RegexMatchList class in util.py, and add tests
674 - Create new DirectedGraph class in util.py, and add tests
675 - Create new sortDict() function in util.py, and add tests
676 * Create unit tests for functionality that was not explictly tested before.
677 - ActionHook, PreActionHook, PostActionHook, CommandOverride (config.py)
678 - AbsolutePathList, ObjectTypeList, RestrictedContentList (util.py)
679
680 Version 2.9.0 18 Dec 2006
681
682 * Change mbox extension to use ISO-8601 date format when calling grepmail.
683 * Fix error-handling in generateTarfile() when target dir is missing.
684 * Tweak pycheckrc to find fewer expected errors (from standard library).
685 * Fix Debian bug #403546 by supporting more CD writer configurations.
686 - Be looser with SCSI "methods" allowed in valid SCSI id (update regex)
687 - Make <store> config section's <target_scsi_id> parameter optional
688 - Change CdWriter to support "hardware id" as either SCSI id or device
689 - Implement cdrecord commands in terms of hardware id instead of SCSI id
690 - Add documentation in writer.py to discuss how we talk to hardware
691 - Rework user manual's discussion of how to configure SCSI devices
692 * Update Cedar Backup user manual.
693 - Re-order setup procedures to modify cron at end (Debian #403662)
694 - Fix minor typos and misspellings (Debian #403448 among others)
695 - Add discussion about proper ordering of extension actions
696
697 Version 2.8.1 04 Sep 2006
698
699 * Changes to fix, update and properly build Cedar Backup manual
700 - Change DocBook XSL configuration to use "current" stylesheet
701 - Tweak manual-generation rules to work around XSL toolchain issues
702 - Document where to find grepmail utility in Appendix B
703 - Create missing documentation for mbox exclusions configuration
704 - Bumped copyright dates to show "(c) 2005-2006" where needed
705 - Made minor changes to some sections based on proofreading
706
707 Version 2.8.0 24 Jun 2006
708
709 * Remove outdated comment in xmlutil.py about dependency on PyXML.
710 * Tweak wording in doc/docbook.txt to make it clearer.
711 * Consistently rework "project description" everywhere.
712 * Fix some simple typos in various comments and documentation.
713 * Added recursive flag (default True) to FilesystemList.addDirContents().
714 * Added flat flag (default False) to BackupFileList.generateTarfile().
715 * Created mbox extension in CedarBackup2.extend.mbox (closes: #31).
716 - Updated user manual to document the new extension and restore process.
717 * Added PostgreSQL extension in CedarBackup2.extend.postgresql (closes: #32).
718 - This code was contributed by user Antoine Beaupre ("The Anarcat").
719 - I tweaked it slightly, added configuration tests, and updated the manual.
720 - I have no PostgreSQL databases on which to test the functionality.
721 * Made most unit tests run properly on Windows platform, just for fun.
722 * Re-implement Pipe class (under executeCommand) for Python 2.4+
723 - After Python 2.4, cross-platform subprocess.Popen class is available
724 - Added some new regression tests for executeCommand to stress new Pipe
725 * Switch to newer version of Docbook XSL stylesheet (1.68.1)
726 - The old stylesheet isn't easily available any more (gone from sf.net)
727 - Unfortunately, the PDF output changed somewhat with the new version
728 * Add support for collecting individual files (closes: #30).
729 - Create new config.CollectFile class for use by other classes
730 - Update config.CollectConfig class to contain a list of collect files
731 - Update config.Config class to parse and emit collect file data
732 - Modified collect process in action.py to handle collect files
733 - Updated user manual to discuss new <file> configuraton
734
735 Version 2.7.2 22 Dec 2005
736
737 * Remove some bogus writer tests that depended on an arbitrary SCSI device.
738
739 Version 2.7.1 13 Dec 2005
740
741 * Tweak the CREDITS file to fix a few typos.
742 * Remove completed tasks in TODO file and reorganize it slightly.
743 * Get rid of sys.exit() calls in util/test.py in favor of simple returns.
744 * Fix implementation of BackupFileList.removeUnchanged(captureDigest=True).
745 - Since version 2.7.0, digest only included backed-up (unchanged) files
746 - This release fixes code so digest is captured for all files in the list
747 - Fixed captureDigest test cases, which were testing for wrong results
748 * Make some more updates to the user manual based on further proof-reading.
749 - Rework description of "midnight boundary" warning slightly in basic.xml
750 - Change "Which Linux Distribution?" to "Which Platform?" in config.xml
751 - Fix a few typos and misspellings in basic.xml
752
753 Version 2.7.0 30 Oct 2005
754
755 * Cleanup some maintainer-only (non-distributed) Makefile rules.
756 * Make changes to standardize file headers with other Cedar Solutions code.
757 * Add debug statements to filesystem code (huge increase in debug log size).
758 * Standardize some config variable names ("parentNode" instead of "parent").
759 * Fix util/test.py to return proper (non-zero) return status upon failure.
760 * No longer attempt to change ownership of files when not running as root.
761 * Remove regression test for bug #25 (testAddFile_036) 'cause it's not portable.
762 * Modify use of user/password in MySQL extension (suggested by Matthias Urlichs).
763 - Make user and password values optional in Cedar Backup configuration
764 - Add a few regression tests to make sure configuration changes work
765 - Add warning when user or password value(s) are visible in process listing
766 - Document use of /root/.my.cnf or ~/.my.cnf in source code and user manual
767 - Rework discussion of command line, file permissions, etc. in user manual
768 * Optimize incremental backup, and hopefully speed it up a bit (closes: #29).
769 - Change BackupFileList.removeUnchanged() to accept a captureDigest flag
770 - This avoids need to call both generateDigestMap() and removeUnchanged()
771 - Note that interface to removeUnchanged was modified, but not broken
772 * Add support for pre- and post-action command hooks (closes: #27).
773 - Added <pre_action_hook> and <post_action_hook> sections within <options>
774 - Updated user manual documentation for options configuration section
775 - Create new config.PreActionHook and PostActionHook classes to hold hooks
776 - Added new hooks list field on config.OptionsConfig class
777 - Update ActionSet and ActionItem in cli to handle and execute hooks
778 * Rework and abstract XML functionality, plus remove dependency on PyXML.
779 - Refactor general XML utility code out of config.py into xmlutil.py
780 - Create new isElement() function to eliminate need for Node references
781 - Create new createInputDom(), createOutputDom() and serializeDom() functions
782 - Use minidom XML parser rather than PyExpat.reader (much faster)
783 - Hack together xmlutil.Serializer based on xml.dom.ext.PrettyPrint
784 - Remove references to PyXML in manual's depends.xml and install.xml files
785 - Add notes about PyXML code sourced from Fourthought, Inc. in CREDITS
786 - Rework mysql and subversion unit tests in terms of new functions
787
788 Version 2.6.1 27 Sep 2005
789
790 * Fix broken call to node.hasChildNodes (no parens) in config.py.
791 * Make "pre-existing collect indicator" error more obvious (closes: #26).
792 * Avoid failures for UTF-8 filenames on certain filesystems (closes: #25).
793 * Fix FilesystemList to encode excludeList items, preventing UTF-8 failures.
794
795 Version 2.6.0 12 Sep 2005
796
797 * Remove bogus check for remote collect directory on master (closes: #18).
798 * Fix testEncodePath_009 test failure on UTF-8 filesystems (closes: #19).
799 * Fixed several unit tests related to the CollectConfig class (all typos).
800 * Fix filesystem and action code to properly handle path "/" (closes: #24).
801 * Add extension configuration to cback.conf.sample, to clarify things.
802 * Place starting and ending revision numbers into Subversion dump filenames.
803 * Implement resolver mechanism to support paths to commands (closes: #22).
804 - Added <override> section within <options> configuration
805 - Create new config.CommandOverride class to hold overrides
806 - Added new overrides field on config.OptionsConfig class
807 - Create util.PathResolverSingleton class to encapsulate mappings
808 - Create util.resolveCommand convenience function for code to call
809 - Create and call new _setupPathResolver() function in cli code
810 - Change all _CMD constants to _COMMAND, for consistency
811 * Change Subversion extension to support "fsfs" repositories (closes: #20).
812 - Accept "FSFS" repository <type> in <subversion> configuration section
813 - Create new FSFSRepository class to represent an FSFS repository
814 - Refactor internal code common to both BDB and FSFS repositories
815 - Add and rework test cases to provide coverage of FSFSRepository
816 * Port to Darwin (Mac OS X) and ensure that all regression tests pass.
817 - Don't run testAddDirContents_072() for Darwin (tarball's invalid there)
818 - Write new ISO mount testing methods in terms of Apple's "hdiutil" utility
819 - Accept Darwin-style SCSI writer devices, i.e. "IOCompactDiscServices"
820 - Tweak existing SCSI id pattern to allow spaces in a few other places
821 - Add new regression tests for validateScsiId() utility function
822 - Add code warnings and documentation in manual and in doc/osx
823 * Update, clean up and extend Cedar Backup User Manual (closes: #21).
824 - Work through document and copy-edit it now that it's matured
825 - Add documentation for new options and subversion config items
826 - Exorcise references to Linux which assumed it was "the" platform
827 - Add platform-specific notes for non-Linux platforms (darwin, BSDs)
828 - Clarify purpose of the 'collect' action on the master
829 - Clarify how actions (i.e. 'store') are optional
830 - Clarify that 'all' does not execute extensions
831 - Add an appendix on restoring backups
832
833 Version 2.5.0 12 Jul 2005
834
835 * Update docs to modify use of "secure" (suggested by Lars Wirzenius).
836 * Removed "Not an Official Debian Package" section in software manual.
837 * Reworked Debian install procedure in manual to reference official packages.
838 * Fix manual's build process to create files with mode 664 rather than 755.
839 * Deal better with date boundaries on the store operation (closes: #17).
840 - Add <warn_midnite> value in <store> configuration
841 - Add warnMidnite field to the StoreConfig object
842 - Add warning in store process for crossing midnite boundary
843 - Change store --full to have more consistent behavior
844 - Update manual to document changes related to this bug
845
846 Version 2.4.2 23 Apr 2005
847
848 * Fix boundaries log message again, properly this time.
849 * Fix a few other log messages that used "," rather than "%".
850
851 Version 2.4.1 22 Apr 2005
852
853 * Fix minor typos in user manual and source code documentation.
854 * Properly annotate code implemented based on Python 2.3 source.
855 * Add info within CREDITS about Python 2.3 and Docbook XSL licenses.
856 * Fix logging for boundaries values (can't print None[0], duh).
857
858 Version 2.4.0 02 Apr 2005
859
860 * Re-license manual under "GPL with clarifications" to satisfy DFSG.
861 * Rework our unmount solution again to try and fix observed problems.
862 - Sometimes, unmount seems to "work" but leaves things mounted.
863 - This might be because some file is not yet completely closed.
864 - We try to work around this by making repeated unmount attempts.
865 - This logic is now encapsulated in util.mount() and util.unmount().
866 - This solution should also be more portable to non-Linux systems.
867
868 Version 2.3.1 23 Mar 2005
869
870 * Attempt to deal more gracefully with corrupted media.
871 * Unmount media using -l ("lazy unmount") in consistency check.
872 * Be more verbose about media errors during consistency check.
873
874 Version 2.3.0 10 Mar 2005
875
876 * Make 'extend' package public by listing it in CedarBackup2/__init__.py.
877 * Reimplement digest generation to use incremental method (now ~3x faster).
878 * Tweak manifest to be a little more selective about what's distributed.
879
880 Version 2.2.0 09 Mar 2005
881
882 * Fix bug related to execution of commands with huge output.
883 * Create custom class util.Pipe, inheriting from popen2.Popen4.
884 * Re-implement util.executeCommand() in terms of util.Pipe.
885 * Change ownership of sysinfo files to backup user/group after write.
886
887 Version 2.1.3 08 Mar 2005
888
889 * In sysinfo extension, explicitly path to /sbin/fdisk command.
890 * Modify behavior and logging when optional sysinfo commands are not found.
891 * Add extra logging around boundaries and capacity calculations in writer.py.
892 * In executeCommand, log command using output logger as well as debug level.
893 * Docs now suggest --output in cron command line to aid problem diagnosis.
894 * Fix bug in capacity calculation, this time for media with a single session.
895 * Validate all capacity code against v1.0 code, making changes as needed.
896 * Re-evaluate all capacity-related regression tests against v1.0 code.
897 * Add new regression tests for capacity bugs which weren't already detected.
898
899 Version 2.1.2 07 Mar 2005
900
901 * Fix a few extension error messages with incorrect (missing) arguments.
902 * In sysinfo extension, do not log ls and dpkg output to the debug log.
903 * Fix CdWriter, which reported negative capacity when disc was almost full.
904 * Make displayBytes deal properly with negative values via math.fabs().
905 * Change displayBytes to default to 2 digits after the decimal point.
906
907 Version 2.1.1 06 Mar 2005
908
909 * Fix bug in setup.py (need to install extensions properly).
910
911 Version 2.1.0 06 Mar 2005
912
913 * Fixed doc/cback.1 .TH line to give proper manpage section.
914 * Updated README to more completely describe what Cedar Backup is.
915 * Fix a few logging statements for the collect action, to be clearer.
916 * Fix regression tests that failed in a Debian pbuilder environment.
917 * Add simple main routine to cli.py, so executing it is the same as cback.
918 * Added optional outputFile and doNotLog parameters to util.executeCommand().
919 * Display byte quantities in sensible units (i.e. bytes, kB, MB) when logged.
920 * Refactored private code into public in action.py and config.py.
921 * Created MySQL extension in CedarBackup2.extend.mysql.
922 * Created sysinfo extension in CedarBackup2.extend.sysinfo.
923 * Created Subversion extension in CedarBackup2.extend.subversion.
924 * Added regression tests as needed for new extension functionality.
925 * Added Chapter 5, Official Extensions in the user manual.
926
927 Version 2.0.0 26 Feb 2005
928
929 * Complete ground-up rewrite for 2.0.0 release.
930 * See doc/release.txt for more details about changes.
931
932 Version 1.13 25 Jan 2005
933
934 * Fix boundaries calculation when using kernel >= 2.6.8 (closes: #16).
935 * Look for a matching boundaries pattern among all lines, not just the first.
936
937 Version 1.12 16 Jan 2005
938
939 * Add support for ATAPI devices, just like ATA (closes: #15).
940 * SCSI id can now be in the form '[ATA:|ATAPI:]scsibus,target,lun'.
941
942 Version 1.11 17 Oct 2004
943
944 * Add experimental support for new Linux 2.6 ATA CD devices.
945 * SCSI id can now be in the form '[ATA:]scsibus,target,lun'.
946 * Internally, the SCSI id is now stored as a string, not a list.
947 * Cleaned up 'cdrecord' calls in cdr.py to make them consistent.
948 * Fixed a pile of warnings noticed by the latest pychecker.
949
950 Version 1.10 01 Dec 2003
951
952 * Removed extraneous error parameter from cback's version() function.
953 * Changed copyright statement and year; added COPYRIGHT in release.py.
954 * Reworked all file headers to match new Cedar Solutions standard.
955 * Removed __version__ and __date__ values with switch to Subversion.
956 * Convert to tabs in Changelog to make the Vim syntax file happy.
957 * Be more stringent in validating contents of SCSI triplet values.
958 * Fixed bug when using modulo 1 (% 1) in a few places.
959 * Fixed shell-interpolation bug discovered by Rick Low (security hole).
960 * Replace all os.popen() calls with new execute_command() call for safety.
961
962 Version 1.9 09 Nov 2002
963
964 * Packaging changes to allow Debian version to be "normal", not Debian-native.
965 * Added CedarBackup/release.py to contain "upstream" release number.
966 * Added -V,--version option to cback script.
967 * Rewrote parts of Makefile to remove most Debian-specific rules.
968 * Changed Makefile and setup.py to get version info from release.py.
969 * The setup.py script now references /usr/bin/env python, not python2.2.
970 * Debian-related changes will now reside exclusively in debian/changelog.
971
972 Version 1.8 14 Oct 2002
973
974 * Fix bug with the way the default mode is displayed in the help screen.
975
976 Version 1.7 14 Oct 2002
977
978 * Bug fix. Upgrade to Python 2.2.2b1 exposed a flaw in my version-check code.
979
980 Version 1.6 06 Oct 2002
981
982 * Debian packaging cleanup (should have been a Debian-only release 1.5-2).
983
984 Version 1.5 19 Sep 2002
985
986 * Changed cback script to more closely control ownership of logfile.
987
988 Version 1.4 10 Sep 2002
989
990 * Various packaging cleanups.
991 * Fixed code that reported negative capacity on a full disc.
992 * Now blank disc ahead of time if it needs to be blanked.
993 * Moved to Python2.2 for cleaner packaging (True, False, etc.)
994
995 Version 1.3 20 Aug 2002
996
997 * Initial "public" release.
998
999 -----------------------------------------------------------------------------
1000 vim: set ft=changelog noexpandtab: