Up to [cvs.NetBSD.org] / pkgsrc / sysutils / duplicity
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Reset maintainership
*: allow gnupg2 version 2.4.9nb2 for the renamed binaries
duplicity: adapt for gnupg binary name change Bump PKGREVISION.
duplicity: Update to 3.0.7 upstream changes: ----------------- rel.3.0.7 / 2025-12-31 * ad175c22:fix: replace custom deltree with built-in shutil.rmtree. * 101be7fd:fix: delete duplicate code in DirDelta. * c0d3e72d:fix: webdavs with "--concurrency 1" failed because of missing auth header * a08f8bef:fix: disable s3 checksum workaround, warn only... * f7055a7a:fix: --log-timestamp no longer working. * ac163d5e:fix: Combined fix to related issues 912 and 914 rel.3.0.6.3 / 2025-12-05 * dd45a92d:chg: Update check_tags to use current branch. * 5bbb5813:fix: Change log level from Info to Notice in get_passphrase(). * a9c4fbad:chg: Add key_needs_passphrase(key). * abaf8485:chg: Better error message from get_remote_file(). * b083fca8:fix: 'duplicity --no-check-remote inc' prints spurious warning "found missing difftar(s) in backup sets" * 9400fc37:chg: Add check_tags minor fix to setversion. * 29227571:fix: delete unused diffdir.DirSig, diffdir.SigTarBlockIter, librsync.SigFile. * 29205145:fix: Delete unused IndexedTuple. * b0653566:fix: Delete unused Patch, patch_diff_tarfile, PathPatcher. * bd2742f6:fix: Delete unused Patch_from_iter. * 41ffec77:chg: Merge branch 'unusedbvr' into dev * 540f2c04:chg: Fix .gitlab-ci.yml * 9324947e:fix: delete unused BadVolumeException.
duplicity: Update to 3.0.6.2
upstream changes:
-----------------
rel.3.0.6.2 (2025-11-20)
Changes
* Fix merge conflict resolution error. [Kenneth Loafman]
* Add tty to Docker images for colored output. [Kenneth Loafman]
* Changes from Thomas’s review. See MR 318. [Kenneth Loafman]
Fix
* Remove test not running under Docker. [Kenneth Loafman]
* Don’t check for missing in first CollectionStatus().set_values(). [Kenneth Loafman]
* Fix “full” not working. Add more tests. [Kenneth Loafman]
* Fix “Upgrade to 3.0.6 on Archlinux gives gcry_kdf_derive failed” (#901) [Kenneth Loafman]
* Ssh_pexpect_backend: fix TypeError. [Martin Wilck]
* Fix compilation with gcc 15. [Martin Wilck]
* –files-from fails when backing up root. [Jindřich Makovička]
* Crash with b2backend when b2sk isn’t available, rather than proper error. [ede]
* Fixes #905.
* Parsing the gpg version failed when using Sequoia Chameleon. [ede]
* Remove test not running under Docker. [Kenneth Loafman]
* Don’t check for missing in first CollectionStatus().set_values(). [Kenneth Loafman]
* Fix “full” not working. Add more tests. [Kenneth Loafman]
* Fix “Upgrade to 3.0.6 on Archlinux gives gcry_kdf_derive failed” (#901) [Kenneth Loafman]
rel.3.0.6.1 (2025-11-13)
Changes
* Revert “chg:pkg: Cleanup the build system.” [Kenneth Loafman]
* This reverts commit 3547dc29
* Fixes #899.
* Changes to .gitchangelog.rc. [Kenneth Loafman]
Fix
* Use the same executable as parent. [Kenneth Loafman]
* Fix test_restore_to_nonexisting_dir(). [Kenneth Loafman]
* Add sorted() around listdir()
* Fixes #898.
* Regression in pexpect+sftp backend. [Kenneth Loafman]
* This reverts commit 186ffcac
* fixes #903.
* Unpin httplib2 but add pysocks needed for proxy support… [ede]
* Pin httplib2 for HTTP(S)_PROXY env var support. [ede]
rel.3.0.6 (2025-11-02)
New
* Set black>=24.8.0. [Kenneth Loafman]
Changes
* Run po/update-pot. [Kenneth Loafman]
* Cleanup the build system. [Kenneth Loafman]
o Manually apply fixes from @branchv MR 301.
o Leave ./setup.py build_ext as is.
o setuptools needs to be in requirements.txt not .dev for cibuildwheel to set up his environment.
* Fix .gitchangelog.rc. [Kenneth Loafman]
* Fix wheels publish. [Kenneth Loafman]
* Misc build tools upgrades. [Kenneth Loafman]
* Add error message to raw assert statements. [Kenneth Loafman]
* Remove may fail py3.14. [Kenneth Loafman]
* Use python:314 not -rc. [Kenneth Loafman]
* Use python -m build –sdist. [Kenneth Loafman]
* Add recent .dev versions to CHANGELOG.md. [Kenneth Loafman]
* Add py314 to wheels build. [Kenneth Loafman]
* Better assert error message. [Thomas Laubrock]
* Fix chdir() in tools/setversion. [Kenneth Loafman]
* Move SetVersionCommand to tools/setversion. [Kenneth Loafman]
* Don’t check versions under pytest. [Kenneth Loafman]
* Fix/add TODO’s for argparse311. [Kenneth Loafman]
* Mark test_GzipWriteFile as xfail, may fail. [Kenneth Loafman]
o xfail because random data may cause Compression Failure.
* Only run on py39 thru py314. [Kenneth Loafman]
* Change version max to 3.13. [Kenneth Loafman]
* Updates to wheels build. [Kenneth Loafman]
* Upload manylinux wheels to PyPi. [Kenneth Loafman]
o supports python 39,310,311,312,313 arches x86_64, aarch64 on Linux
o supports python 39,310,311,312,313 arches x86_64, arm64 on macOS.
* More changes for Docker testing. [Kenneth Loafman]
* Boto3 1.36+ breaks Duplicity…but there is a workaround. [ede]
* Add regression test for #881. [Catalin Patulea]
* Docker changes ported from issue815. [Kenneth Loafman]
* A number of changes to testing/docker in issue815 that need to be released separately.
Fix
* Fix so readthedocs.io builds. [Kenneth Loafman]
* Gdrive dies with 503 during init. [ede]
* Fixes #895.
* ‘duplicity incremental’ attempts to fetch remote manifest which is not needed for the current backup. [Kenneth Loafman]
* Fixes #891.
* If using authentication, send warmup OPTIONS request. [Catalin Patulea]
* This avoids an edge case with –no-check-remote, HTTP authentication and a cpython bug (https://github.com/python/cpython/issues/70107) which can cause ConnectionResetError – see details in: https://gitlab.com/duplicity/duplicity/-/merge_requests/320#note_2818250084.
* ‘duplicity incremental’ attempts to fetch remote manifest which is not needed for the current backup. [Kenneth Loafman]
o extended option –no-check-remote
o faked collection-status out with local metadata
o neutered the check for missing difftar volumes
o Fixes #891.
* Fix removal of signature from latest backup. [Thomas Laubrock]
* Fix test_out_of_order_volume() in concurrency. [Thomas Laubrock]
* Black to run on py314. [Kenneth Loafman]
* Fix check for optimization. [Kenneth Loafman]
* Isolate .pytest_cache using volumes. [Kenneth Loafman]
* Minor s3 clarification. [ede]
* Fix check for optimization. [Kenneth Loafman]
* Collection-status with a specific file fails with TypeError. [Kenneth Loafman]
* Duplicity verify fails with KeyError. [Kenneth Loafman]
o Fixes #815
o Optimizes imports
o Misc. test/doc fixes.
* Restore a file to directory fails and empties target directory - related to #111. [Kenneth Loafman]
* Add gpg to install lists. [Kenneth Loafman]
* GPG test fixes from issue815. [Kenneth Loafman]
* Make swiftbackend imports global. [Kenneth Loafman]
* Fixes #886.
* Multi backend: if we looped around, and any passed, break out. [Catalin Patulea]
* Fix:usr: make @retry report fatals as exceptions, not log.FatalError. [Catalin Patulea]
* Final retry exceptions are now passed up to the handler in main.py.
* This fixes #881 where the outer ‘multi’ backend actually wants to catch the exception (onfail=continue) instead of exiting the process.
* Based on the preparation in earlier commits, this commit does not affect the process exit code, it’s still backend_error.
* Handling of such exceptions in multiprocessing parent/child process is now the same and no longer requires a special case.
* This will enable more cleanups in future commits.
* On uncaught BackendException, make the exit code backend_error (50). [Catalin Patulea]
* BackendException handler was added in March 2009 (commit 2d37baa3). Not clear if exit code user_error was intentional or copy/paste from the ‘except UserError’ block above.
* This is in preparation to modify @retry to pass fatal exceptions up, instead of immediately exiting using log.FatalError, while keeping the same exit code.
* Fix typo in collection-status –jsonstat example. [Catalin Patulea]
* Revert “use pyproject plugin for ppa” [Kenneth Loafman]
* This reverts commit 4dc57cc0.
* Use pyproject plugin for ppa. [Branch Vincent]
* Relanding 3683aa4d after fixing the debian package for #877. Before, debian used the legacy setup.py install method, meaning none of the metadata in pyproject.toml was used (including scripts, hence the need for workarounds like 4636e043308e79bfd693c40f6c8076d5e5680d2d). To fix:
o Opt-in to using a PEP 517 build by depending on pybuild-plugin-pyproject (following the guidance of pybuild’s manpage)
o Replace other various invocations of setup.py with the same build frontend.
* Fix TotalDestinationSizeChange with concurrency. [Martin Wilck]
* With –concurrency n (n > 1), duplicity always prints TotalDestinationSizeChange 0 (0 bytes).
* Fix it by returning bytes_written from collect_put_results(). Fixes #880.
* Pexpect+sftp: support absolute path in URL. [Martin Wilck]
* Fix it by stripping only a single / from parsed_url.path.
* Fixes #879.
Other
* Chr:usr: remove ‘are_errors_fatal’ mechanism, no longer needed. [Catalin Patulea]
* Since the recent commit to raise @retry final errors as exceptions, are_errors_fatal mechanism is no longer needed, we can use a normal ‘except’ block.
duplicity: Update to 3.0.5.1
upstream changes:
-----------------
rel.3.0.5.1 (2025-06-25)
Changes
* Fixes for LP builds. See #877 (closed). [Kenneth Loafman]
Fix
* Revert "Fix build-system.requires and requirements.txt" [Kenneth Loafman]
This reverts commit 3683aa4d.
rel.3.0.5 (2025-06-19)
New
* Add basic Ubuntu LTS Docker builds. [Kenneth Loafman]
Changes
* Run po/update-pot. [Kenneth Loafman]
* Changes to support Ubuntu 20.04. [Kenneth Loafman]
move setuptools back to version 68.1.0
o add py38 test to CI
* Add ENODEV to list of "robust" ignored exceptions. [Michael Terry]
This is a "No such device" error and can happen for example when a
NAS mount folder is unavailable.
A deja-dup user hit this with a dir like /truenas that was unavailable.
* Delete unused CollectionsStatus.action variable. [Catalin Patulea]
Added in 754b34bf but no longer needed for that purpose.
* Fix tools/makesnap. CLI changes. [Kenneth Loafman]
* Document --use-gpgsm flag in man page. [Catalin Patulea]
Related to #866 (closed)
* Delete unused BackupSet.action variable. [Catalin Patulea]
It was introduced in commit 754b34bf as an optimization.
Uses of it varied over time (commits 606fb53e, 33668f95, 83dda9b6) but is
currently unused.
* Support gpg binary 'gpgsm'. [Catalin Patulea]
Fixes #866 (closed)
* Accept GPG user id formats other than hex. [Kenneth Loafman]
https://www.gnupg.org/documentation/manuals/gnupg/Specify-a-User-ID.html
* Add env var BACKEND_PASSWORD, deprecate FTP_PASSWORD. [ede]
* Restore backends. Set setuptools<78.0.0. [Kenneth Loafman]
* Issue883.sh ==> issue863.sh. [Kenneth Loafman]
* Move import in function to __init__(). [Kenneth Loafman]
* PyPA struck again. 'positional' does not build now. [Kenneth Loafman]
* Enhance Docker testing. [Kenneth Loafman]
* Simplify snap by not packaging python but using core24's python
instead... [ede]
* Fix issue103.sh and add issue103-conc.sh. [Kenneth Loafman]
* Improve contact points. [Kenneth Loafman]
o pyproject.toml has the biggest set. Added URLs, etc.
o lots of 1-liners removing select email addresses.
o correct multi-line copyright statements.
Fix
* Fix build-system.requires and requirements.txt. [Branch Vincent]
o Moves setuptools from requirements.txt to requirements.dev, since neither
setuptools nor pkg_resources is used/imported at runtime. Some dev
scripts still execute setup.py directly (which is deprecated) or else we
could remove it entirely and just rely on PEP 517's build reqs
o Remove unused requirements from the build-system.requires table. These
requirements are only what's needed by the build backend, which in this
case is setuptools and thus whatever setup.py needs to import
o Removes python-gettext (which provides a pythongettext package) from
requirements.txt, which was unused (only the stdlib's gettext package is
currently used)
o Simplifies pyproject.toml's tool.setuptools.packages.find metadata and
removes the duplication from setup.py
o Updates CI to test a PEP 517 build rather than directly executing
setup.py and adds a dev extra for convenience
* Fix handling of .p7m filename suffix during sync. [Catalin Patulea]
* Cache negative getpwnam/getgrnam lookups. [Arda Gürcan]
Fixes #875 (closed)
* Fix gpgsm version check. [Catalin Patulea]
* Incompatible with par2cmdline v1.0.0. [ede]
fixes #871 (closed)
* Allow the full range of time formats as arguments to --full-if-older-
than. [Timothy Allen]
Fixes #869 (closed)
* Fix problems with password request and metadata sync. [Kenneth Loafman]
o skip sync on full. not needed.
o skip password prompt if full and has encrypt keys.
* Snapcraft.io didn't like us to symlink core24's python... [ede]
* "OverflowError: bytes object is too large to make repr" see issue 862.
[ede]
* Prevent webdav log password at info log level... [ede]
o lower logging of requests etc. to debug level
o munge password in url in startup parameters
o do not print auth headers in Webdav
rel.3.0.4.1 (2025-02-26)
New
* Introduce core24 snaps now in even more flavor errr archs... [ede]
namely amd64, arm64, armhf, ppc64el, riscv64, s390x
Changes
* Replace 4 short files with 4 lines in build.sh. [Kenneth Loafman]
* Delete unneeded tools. [Kenneth Loafman]
* Run po/update-pot. [Kenneth Loafman]
Fix
* Par2 files for vol1.difftar not being created when --concurrency is
set. [Thomas Laubrock]
fixes #858 (closed)
* Fix typo in previous. [Kenneth Loafman]
* Suppress deprecation error for core20 snap users. [Kenneth Loafman]
duplicity: Update to 3.0.4
upstream changes:
-----------------
rel.3.0.4 (2025-02-08)
New
* Support for Microsoft Azure "Cold" blob storage tier. [Thomas Kent]
Changes
* Emulate CI for duplicity testing. [Kenneth Loafman]
* Allow to build with py3.13.x. [Rui Chen]
Fix
* Fix snap PATH handling... [ede]
to allow usage custom backend binaries e.g. in /snap/bin unified launcher
script moved PATH handling there to correctly handle empty PATH vars
fixes issue #855 (closed)
* SNAPCRAFT_BUILD_FOR unbound error when building snap on Ubuntu24. [ede]
* Allow for python versions 3.12+ e.g. 3.12.8. [ede]
* INFO and DEBUG messages when verbosity is warning. [Kenneth Loafman]
fixes #851 (closed)
* Fix typo in pip command. [Alexis Urien]
rel.3.0.3.2 (2024-11-25)
Changes
* Improve round512 method docstring. [ede]
* Remove 'test' mentions from setup.py. [Kenneth Loafman]
* Set dev version for LP. [Kenneth Loafman]
* Fix so amd64 snaps build with tahoe support. [Kenneth Loafman]
* Set dev version for LP. [Kenneth Loafman]
Fix
* Concurrency without setting verbosity throws exception. [Kenneth Loafman]
* Argument --max-blocksize: invalid round512 value. [Kenneth Loafman]
* Fix handling of zero length files for older librsync versions. [edeso]
Fixes #848 (closed)
rel.3.0.3.1 (2024-11-19)
Changes
* Fix .gitchangelog.rc for 4 digit version. [Kenneth Loafman]
* Fix so amd64 snaps build with tahoe support. [Kenneth Loafman]
Fix
* Fix handling of zero length files for older librsync versions. [edeso]
Fixes #848 (closed)
rel.3.0.3 (2024-11-17)
Changes
* Run po/update-pot. [Kenneth Loafman]
* Move config from code to pyproject.toml. [Kenneth Loafman]
* Fix docs for --max-blocksize. [Kenneth Loafman]
* Upgrade black to 24.10.0 for py313. [Kenneth Loafman]
* Allow Python 3.13 to install. [Kenneth Loafman]
* Some code test changes. [Kenneth Loafman]
o move pylint to pyproject.toml
o remove giobackend.py from files to test
* High memory usage when creating duplicity backup of a single very
large file. [Kenneth Loafman]
Return a reasonable block size to use on files of length file_len
If max_blocksize==N is supplied use it, otherwise use the
integer square root of file_len as the block size.
Block size is rounded up to the nearest 512 byte boundary.
* Fix problem with reading ".../progress" file after aborted. [Charles Lane]
This is mentioned in (long ago!) issue #80 (closed) I've hit the same
problem many times, so tracked it down with a fix.
Fix problem with reading ".../progress" file after aborted backup run. This
results in an error message (and lack of %backup) when using the --progress
command line option.
Note that the code to save the "progress" file worked fine, and this change
is so that reading the "progress" file is similar: making the path to the
"progress" file, and having the "b" flag for binary i/o.
Fixes #80 (closed)
* Allow failure on py13 test. [Kenneth Loafman]
* Revert gdocsbackend.py. Remove TODO's. [Kenneth Loafman]
* Fix requirements for upcoming atom release. [Kenneth Loafman]
o 0.10.5 or earlier for python <= 3.12
o 0.11.0 or later for python >= 3.13
* Turn off atom for py313. [Kenneth Loafman]
o add error for py313 in gdocksbackend.py
o Only used by gdocsbackend.py
o fails install on py313.
* Temp removal of atom requirement. [Kenneth Loafman]
Only used by gdocsbackend.py. Fails install.
* Remove py38 and add py313. [Kenneth Loafman]
* Cleanup pytest run. [Kenneth Loafman]
make sure super().setUp() and super().tearDown() are called.
o remove files from the _runtest_dir that we created.
o added conftest:pytest_sessionfinish().
o added more warning suppression.
* Fix unit/test_file_naming.py. [Kenneth Loafman]
o curtime* set in wrong place for tests.
o set curtime and curtimestr from setUp().
* Mark test_GPGWriteFile as xfail. [Kenneth Loafman]
o some machines like ppc64* and i686 may fail
* Testfortestsonlys and other dirs should be in _runtest_dir. [Kenneth Loafman]
Fixes #838 (closed)
* Testing/functional/test_concurrency.py hangs on ppc64le only. [Kenneth Loafman]
* Remove version specs in requirements.txt. [Kenneth Loafman]
o pipdeptree shows no upper limit that forced specs.
* Only log if backend import failed. [Kenneth Loafman]
* Set version for LP. [Kenneth Loafman]
Fix
* Typo in max block size doc. [ede]
* Fix testing/docker to enable pytest to run w/o gpg fails. [Kenneth Loafman]
Also fixes the following new issues:
o ignores new pylint error (new pylint)
o fixes RCloneBackenTest (new rclone)
o ignore fork() DeprecationWarning (nonsense)
o change tests from tox to pytest
o exclude pytest plugins that cause problems
* Add setuptools to requirements.txt. [Kenneth Loafman]
Seems py312 no longer supplies by default.
* Verbosity setting is broken with concurrency. [Kenneth Loafman]
Fixes #839 (closed)
duplicity: adapt for setuptools 78 Bump PKGREVISION.
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
*: clean-up after python38 removal
duplicity: Take ownership
duplicity: Update to 3.0.2
upstream changes:
-----------------
rel.3.0.2 (2024-08-09)
Changes
* Fix collection-status print. [Kenneth Loafman]
rel.3.0.1 (2024-08-05)
Changes
* Remove version limits on urllib3. [Kenneth Loafman]
o did nothing since requests loads urllib3 first.
* Add some debug output to help pinpoint B2 backend import issues. [ede]
* Make sure rclone backend is tested. [Kenneth Loafman]
o add to .gitlab-ci.yml
o fix test_query_missing
* Run po/update-pot. [Kenneth Loafman]
* Fixes #832, urllib3 error under python3.12. [Kenneth Loafman]
* Fix typo in setuptools section and migrate to new structure. [Sandro]
* Use functools.lru_cache with limit, not unlimited. [Kenneth Loafman]
* Set dev branch to 3.0.1.dev. [Kenneth Loafman]
Fix
* Rework logging to be compatible with Python’s logging. [Kenneth Loafman]
* S3 glacier storage class and –concurrency #831. [Thomas Laubrock]
* Unblock multiprocessing deadlock, ensure local disk usage not exceed n+1
volumes, switch to “spawn”. [Thomas Laubrock]
Fixed a bug when many processed volumes causing a deadlock in an unused
queue.
o Switched to multiprocessing.get_context(method=“spawn”) as “fork” is
known to cause issues, “spawn” is the default/recommended method since
python 3.13 anyway
o Throttle local volume creation to keep disk use to n+1, which n as
number concurrent uploads
o Several smaller bug fixes and cleanups.
* Add file-size query support to rclonebackend. [Michael Terry]
* Allow empty manifest list. #827. [Thomas Laubrock]
* Make –ignore-errors actually ignore (and recover from) errors. [David
Huggins-Daines]
* SSLCertVerificationError despite –ssl-no-check-certificate. [ede]
tested and works
https://gitlab.com/duplicity/duplicity/-/issues/822#note_1937487522 thx
Nico J
Fixes #822
* Instead of raise call command_line_error() directly. [Kenneth Loafman]
* Will make sure the help footer is printed after error.
* Empty exclude string results in unfriendly traceback. [Kenneth Loafman]
Fixes #821
duplicity: remove unused test dependency Document test status.
duplicity: Update to 3.0.0
upstream changes:
-----------------
rel.3.0.0 (2024-05-29)
Changes
* Run po/update-pot. [Kenneth Loafman]
* Collected fixes to setup process. [Kenneth Loafman]
* Only check Python version’s lower bound
o Remove install_requires again
o Minor changes to tools/testpip[x]
o Revert pip-compile additions
* CommandLineError: argument –gpg-options: expected one argument. [Kenneth Loafman]
* Set dev branch to 2.2.5.dev. [Kenneth Loafman]
* Skip tests on Launchpad. [Kenneth Loafman]
Fix
* Volume missing if –asynchronous-upload and put fails. [Kenneth Loafman]
* Closes #745, #807, #815
o –asynchronous-upload is replaced with –concurrency=N
o Without –concurrency=N it defaults to no multiprocessing
o With –concurrency=N it uses a multiprocessing pool of N
o Requires N volumes of temp space if used, otherwise 1
* Don’t raise KeyError if OSError.errno is unrecognized. [Michael Terry]
duplicity: Fix lftp path
duplicity: Update to 2.2.4
duplicity: remove duplicate dependency (listed twice)
duplicity: Update to 2.2.2
upstream changes:
-----------------
rel.2.2.2 (2024-02-03)
Changes
o Ask google_auth_oauthlib not to open browser during authentication flow.
[Christopher Haglund]
o Run po/update-pot. [Kenneth Loafman]
o Update python\_requires to allow py3.12. [Kenneth Loafman]
Fix
o Clean up debian/rules. [Kenneth Loafman]
o Add duplicity console script. [Kenneth Loafman]
* Copied from pip install
* LP does not generate it
rel.2.2.0 (2024-01-27)
Changes
o Use pytest not tox on GitLab CI. [Kenneth Loafman] saves build time
o Run po/update-pot. [Kenneth Loafman]
o Remove support for old mock. [Alexandre Detiste]
o Project says “REQUIREMENTS: Python 3.8 to 3.12”
o Allow pipelines to run if not merge request. [Kenneth Loafman]
o Version as 2.2.0. [Kenneth Loafman]
o Upgrade current build and test systems. [Kenneth Loafman]
o # Changes: - move bin/duplicity to duplicity/main.py - add entry point
dup_run() no args - rename bin to man (only contents now) - rename
duplicity/tarfile.py to duplicity/dup_tarfile.py to avoid import problems -
duplicity now runs as a module python3 -m duplicity as well as a script
/usr/bin/duplicity - py2->py3 oddities changed, "".__class__ and
b"".__class__ changed to str and bytes - tox v4 now runs correctly as tox
run -e code - moved [pycodestyle] from tox.ini to setup.cfg - moved
.pylintrc from to setup.cfg - sources released fully versioned -
duplicity/__init__.py - man/duplicity.1 - pyproject.toml - setup.py -
snap/snapcraft.yaml
o Closes #774,#793
Fix
o Remove test_GPGWriteFile. [Kenneth Loafman]
* Fails on GitLab
* Runs on Linux and macOS just fine
o Invalid option error using `–[gpg|par2|rsync|ssh]-options ‘…’ [Kenneth Loafman]
o Fixes #795.
duplicity: add missing tool
duplicity: Update to 2.1.5
pkgsrc changes:
---------------
* Migrate from lang/python/egg.mk to lang/python/wheel.mk.
upstream changes:
-----------------
rel.2.1.5 (2023-12-28)
New
* _testbackend to simulate issues. [Thomas Laubrock]
* _testbackend is a copy of the localbackend and allows to trigger certain
miss behaviours. Failure type and condition can be set via env vars. Some
test cases are added to test_badupload.py.
* This is pre-work for !153 but want to decouple it for better handling.
Changes
* Run po/update-pot. [Kenneth Loafman]
* Remove “backup” and “replicate” dead code. [Kenneth Loafman]
* Fix imports in _testbackend.py. [Kenneth Loafman]
* Move addhandler() to __init__. [Kenneth Loafman]
* o Will not produce temp log unless in use
* o Reorg imports
* Deprecate PyDrive backend. Replaced with GDrive backend. [Kenneth Loafman]
* Setuptools_scm not needed at runtime. [Gwyn Ciesla]
* Fix swift uploads to default to 5GB segment size. [Garth Williamson]
* Add venv* to .gitignore. [Kenneth Loafman]
* Some formatting fixes. [Kenneth Loafman]
* Fix check of versions in setup.py. [Kenneth Loafman]
* Limit range of versions in setup.py. [Kenneth Loafman]
* o We already had lower limit of 3.8, make 3.11 upper limit.
* Update version for LP. [Kenneth Loafman]
Fix
* Swap implied and removed action checks. [Kenneth Loafman]
* Error on dry-run with verify. [Kenneth Loafman]
* Fix imports in boxbackend.py. [Kenneth Loafman]
* Multibackend not working with remove-all-but-n-full in stripe mode. [Kenneth Loafman]
* remove short-circuit logic that fails
* o add test in testing/regression
* Fixes #781
* Fix collection-status with file-changed argument. [JulianWgs]
duplicity: Update to 2.1.4 pkgsrc changes: --------------- * Update HOMEPAGE. * Add dependencies for some backends. * Fix SUBST messages. upstream changes: ----------------- * Lot of changes: http://duplicity.us/stable/CHANGELOG.html
*: latest py-sphinx only support Python 3.9+
*: recursive bump for Python 3.11 as new default
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
*: Revbump packages that use Python at runtime without a PKGNAME prefix
python: egg.mk: add USE_PKG_RESOURCES flag This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
duplicity: updated to 0.8.20
0.8.20
New
* Better looping. Increase to 100 loops.
* Repeating test for LP bug 487720.
Restore fails with "Invalid data - SHA1 hash mismatch"
Changes
* Log difftar filename where kill happened.
* Allow customization.
* Add support for --s3-multipart-chunk-size, default 25MB.
* Fix formatting in A NOTE ON GDRIVE BACKEND. Minor.
Fix
* Fix test file count after deleting lockfile.
* Support -o{Global,User}KnownHostsFile in --ssh-options.
* Add pydrive2 to requirements.txt.
* Fix error message on gdrivebackend.
* Fix issue 57 SSH backends - IndexError: list index out of range.
Other
* Merge branch 'master' into 'master'
Add support for new b2sdk V2 API
* Add support for new b2sdk V2 API.
* Merge branch 'master' into 'master'
chg:dev:Fix Support DynamicLargeObjects inside swift backend
* Merge branch 'issue68' into 'master'
have duplicity retry validate_block so object storage can report correct size
* Have duplicity retry validate\_block so object storage can report correct size.
* Merge branch 'master' into 'master'
Replace b2sdk private API references in b2backend with public API
* Replace b2sdk private API references in b2backend with public API.
* Merge branch 'master' into 'master'
Update b2 backend to use *public* b2sdk API.
* Update b2 backend to use *public* b2sdk API.
* Merge branch 'bullfrogalj/duplicity-master'
* B2sdk 1.8.0 refactored minimum\_part\_size to recommended\_part\_size (the value used stays the same)
It's a breaking change that makes duplicity fail with the new SDK.
This fix makes duplicity compatible with both pre- and post- 1.8.0 SDKs.
* Merge branch 'PR-backend-gdrive-mydrive' into 'master'
backend gdrive, added Google MyDrive support
* Added Google MyDrive support updated man pages and --help text.
duplicity: updated to 0.18.19
rel.0.8.19 (2021-04-29)
New
* Merge branch 'google-drive-v3' into 'master' [Kenneth Loafman]
Add a new Google Drive backend (gdrive:)
See merge request duplicity/duplicity!41
Changes
* Remove installs common between before\_script: and script: [Kenneth Loafman]
* Remove installs common between before\_script: and script: [Kenneth Loafman]
Fix
* Gdata module passes on py27 only. [Kenneth Loafman]
* Util.uexec() will return u'' if no err msg in e.args. [Kenneth Loafman]
* Util.uexec() should check for e==None on entry. [Kenneth Loafman]
* Fix bug 1547458 - more consistent passphrase prompt. [Kenneth Loafman]
* Fixes bug 1454136 - SX backend issues. [Kenneth Loafman]
* Fixes bug 1918981 - option to skip trash on delete on mediafire. [Kenneth Loafman]
Added --mf-purge option to bypass trash
* Fix bug 1919017 - MultiBackend reports failure on file deletion. [Kenneth Loafman]
* Fixes 41 - par2+rsync (non-ssh) fails. [Kenneth Loafman]
Other
* Merge branch 'develop' into 'master' [Kenneth Loafman]
Fix Google Drive timeout
See merge request duplicity/duplicity!51
* Fix "Giving up after 5 attempts. timeout: The read operation timed out" [Christian Perreault]
* Merge branch 'master' into 'master' [Kenneth Loafman]
Don't sync when removing old backups
See merge request duplicity/duplicity!50
* Don't sync when removing old backups. [Matthew Marting]
* Merge branch 'fix-uexec-returns-None' into 'master' [Kenneth Loafman]
fix util.uexc: do not return None
See merge request duplicity/duplicity!49
* Fix util.uexc: do not return None. [Michael Kopp]
* Merge branch 'boxbackend' into 'master' [Kenneth Loafman]
Implement Box backend
See merge request duplicity/duplicity!48
* Implement Box backend. [Jason Wu]
* Merge branch 'megav3' into 'master' [Kenneth Loafman]
Implement megav3 backend to to cater for change in MEGACmd
See merge request duplicity/duplicity!47
* Implement megav3 backend to to cater for change in MEGACmd. [Jason Wu]
* Merge branch 'master' of git@gitlab.com:duplicity/duplicity.git. [Kenneth Loafman]
* Merge branch 'use-new-azure-python-packages' into 'master' [Kenneth Loafman]
fix documentation for azure backend
See merge request duplicity/duplicity!46
* Fix documentation for azure backend. [Michael Kopp]
* Merge branch 'master' into 'master' [Kenneth Loafman]
Fix typo
See merge request duplicity/duplicity!45
* Fix typo. [Moses Miller]
* Merge branch 'master' into 'master' [Kenneth Loafman]
Add IDrive backend
See merge request duplicity/duplicity!43
* Add IDrive backend. [SmilingM]
* Merge branch 'master' into 'master' [Kenneth Loafman]
Progress bar improvements
See merge request duplicity/duplicity!44
* Progress bar improvements. [Moses Miller]
* Fix;usr:Fixes bug 1652953 - seek(0) on /dev/stdin crashes. [Kenneth Loafman]
* Add a new Google Drive backend (gdrive:) [Jindřich Makovička]
- Removes the PyDrive/PyDrive2 dependencies, and depends only on the
Google API client libraries commonly available in distributions.
- Uses unchanged JSON secret files as downloaded from GCP
- Updates the Google Drive API to V3
* Merge branch 'azurev12' into 'master' [Kenneth Loafman]
Azurev12
See merge request duplicity/duplicity!40
* Replaced original azure implementation. [Erwin Bovendeur]
* Fixed code smells. [Erwin Bovendeur]
* Azure v12 support. [Erwin Bovendeur]
* Revert "fix:pkg:Remove requirement for python3-pytest-runner. Not used." [Kenneth Loafman]
This reverts commit 90e7e2acb6d158437cab3210114da46df72a7c85.
* Merge branch 'feature/list-required-volumes-on-restore-dry-run' into 'master' [Kenneth Loafman]
List required volumes when called with 'restore --dry-run'
See merge request duplicity/duplicity!38
* List required volumes when called with 'restore --dry-run' [Matthias Blankertz]
When restoring in dry-run mode, and with the manifest available, list
the volumes that would be gotten from the backend when actually
performing the operation.
This is intended to aid users of e.g. the S3 backend with (deep) glacier
storage, allowing the following workflow to recover files, optionally at
a certain time, from a long-term archive:
1. duplicity restore --dry-run [--file-to-restore <file/dir>] [--time <time>] boto3+s3://...
2. Start a Glacier restore process for all the listed volumes
3. duplicity restore [--file-to-restore <file/dir>] [--time <time>] boto3+s3://...
* Merge branch 'swrmr-master-patch-23969' into 'master' [Kenneth Loafman]
Fix sorting of BackupSets by avoiding direct comparison
See merge request duplicity/duplicity!37
* Fix sorting of BackupSets by avoiding direct comparison. [Stefan Wehrmeyer]
Sorting should only compare their time/end_time, not BackupSets directly
* Merge branch 'master' of gitlab.com:duplicity/duplicity. [Kenneth Loafman]
* Merge branch 'master' into 'master' [Kenneth Loafman]
Update mailing list link
See merge request duplicity/duplicity!36
* Update mailing list link. [Chris Coutinho]
* Merge branch 'master' of gitlab.com:duplicity/duplicity. [Kenneth Loafman]
* Fixes 16 - Move from boto to boto3. [Kenneth Loafman]
* Py27 EOL 01/2020, py35 EOL 01/2021, remove tests. [Kenneth Loafman]
* Remove 2to3 from ub16 builds. [Kenneth Loafman]
* Move py35 back to ub16, try 2. [Kenneth Loafman]
* Move py35 back to ub16. [Kenneth Loafman]
* Move py27 tests to ub16 and py35 tests to ub18. [Kenneth Loafman]
* Fixes 16 - Move from boto to boto3. [Kenneth Loafman]
* Py27 EOL 01/2020, py35 EOL 01/2021, remove tests. [Kenneth Loafman]
* Move py27 tests to ub16 and py35 tests to ub18. [Kenneth Loafman]
Move py35 back to ub16.
Move py35 back to ub16, try 2.
Remove 2to3 from ub16 builds.
* Fixes 33, remove quotes from identity filename option. [Kenneth Loafman]
* Fix to correctly build \_librsync.so. [Kenneth Loafman]
* Fix to add --inplace option to build\_ext. [Kenneth Loafman]
* Rename pylintrc to .pylintrc. [Kenneth Loafman]
* Merge branch 'fix-prefix-affinity-registration' into 'master' [Kenneth Loafman]
* Multibackend: fix indentation error that was preventing from registering more than one affinity prefix per backend. [KheOps]
* Move testfiles dir to a temp location. [Kenneth Loafman]
- was crashing LiClipse/Eclipse when present in project.
- so far only Darwin and Linux are supported, default Linux.
- Darwin uses 'getconf DARWIN_USER_TEMP_DIR' for temp dir.
- Linux uses TMPDIR, TEMP, or defaults to /tmp.
* Merge remote-tracking branch 'alpha/testfiles' [Kenneth Loafman]
* Update .gitlab-ci.yml to need code test to pass. [Kenneth Loafman]
* Remove basepython in code and coverage tests. [Kenneth Loafman]
* Add report.xml. [Kenneth Loafman]
* Bulk replace testfiles with /tmp/testfiles. [Kenneth Loafman]
* Skip unicode tests that fail on non-Linux systems like macOS.
duplicity: updated to 0.8.18 rel.0.8.18 (2021-01-09) Other * Merge branch 'onedrive-token' into 'master' [Kenneth Loafman] * Onedrive: Support using an external client id / refresh token. [Michael Terry] * Update .gitlab-ci.yml to need code test to pass. [Kenneth Loafman] * Merge branch 'master' of git@gitlab.com:duplicity/duplicity.git. [Kenneth Loafman] * Fix issue 26 Backend b2 backblaze fails with nameprefix restrictions. [Kenneth Loafman] * Fix issue 29 Backend b2 backblaze fails with nameprefix restrictions. [Kenneth Loafman] * Fix unadorned strings. [Kenneth Loafman] * Merge branch 'Rufflewind-master-patch-11811' into 'master' [Kenneth Loafman] * Report errors if B2 backend does exist but otherwise fails to import. [Phil Ruffwind] * Add report.xml. [Kenneth Loafman] * Remove basepython in code and coverage tests. [Kenneth Loafman] * Fix pep8 warning. [Kenneth Loafman] * Added option --log-timestamp to prepend timestamp to log entry. [Kenneth Loafman] * Merge branch 'master' of gitlab.com:duplicity/duplicity. [Kenneth Loafman] * Merge branch 'master' into 'master' [Kenneth Loafman] * Improve. [Gwyn Ciesla] * Change version for LP. [Kenneth Loafman] * Change version for LP. [Kenneth Loafman] * Improve patch for Python 3.10. [Gwyn Ciesla] * Conditionalize for Python version. [Gwyn Ciesla] * Patch for Python 3.10. [Gwyn Ciesla] rel.0.8.17 (2020-11-11) Other * Fixup ignore\_regexps for optional text. [Kenneth Loafman] * Fix issue 26 (again) - duplicity does not clean up par2 files. [Kenneth Loafman] * Fix issue 26 - duplicity does not clean up par2 files. [Kenneth Loafman] * Fix issue 25 - Multibackend not deleting files. [Kenneth Loafman] * Adjust setup.py for changelog changes. [Kenneth Loafman] * Delete previous manual changelogs. [Kenneth Loafman] * Tools to make a CHANGELOG.md from git commits. [Kenneth Loafman] * Merge branch 'exc-if-present-robust' into 'master' [Kenneth Loafman] * Make exclude-if-present more robust. [Michael Terry] * Merge branch 'no-umask' into 'master' [Kenneth Loafman] * Drop default umask of 0077. [Michael Terry] * Comment out RsyncBackendTest, again. [Kenneth Loafman] * Fix some unadorned strings. [Kenneth Loafman] * Fixed RsyncBackendTeest with proper URL. [Kenneth Loafman] * Merge branch 'Yump-issue-23' into 'master' [Kenneth Loafman] * Fix issue 23. [Yump] * Rclonebackend now logs at the same logging level as duplicity. [Kenneth Loafman] * Allow sign-build to fail on walk away. Need passwordless option. [Kenneth Loafman] * Merge branch 'fix-rename' into 'master' [Kenneth Loafman] * Fix --rename typo. [Michael Terry] * Move back to VM build, not remote. Too many issues with remote. [Kenneth Loafman] * Merge branch 'escape-quote' into 'master' [Kenneth Loafman] * Escape single quotes in machine-readable log messages. [Michael Terry] * Uncomment review-tools for snap. [Kenneth Loafman] * Whoops, missing wildcard '*'. [Kenneth Loafman] * Changes to allow remote build of snap on LP. [Kenneth Loafman] * Changes to allow remote build of snap on LP. [Kenneth Loafman] * Add a pylint disable-import-error flag. [Kenneth Loafman] * Change urllib2 to urllib.request in parse\_digest\_challenge(). [Kenneth Loafman] * Fix Python 3.9 test in .gitlab-ci.yaml. [Kenneth Loafman] * Fix Python 3.9 test in .gitlab-ci.yaml. [Kenneth Loafman] * Add Python 3.9 to .gitlab-ci.yaml. [Kenneth Loafman] * Add Python 3.9 to the test suite. It tests sucessfuly. [Kenneth Loafman] * Fix bug 1893481 again for Python2. Missed include. [Kenneth Loafman] * Fix bug 1893481 Error when logging improperly encoded filenames. [Kenneth Loafman] * Change version for LP. [Kenneth Loafman] rel.0.8.16 (2020-09-29) Other * Merged in s3-unfreeze-all. [Kenneth Loafman] * Merge branch 's3-unfreeze-all' into 'master' [Kenneth Loafman] * Wait for Glacier batch unfreeze to finish. [Marco Herrn] * Adorn string as unicode. [Marco Herrn] * Utilize ThreadPoolExecutor for S3 glacier unfreeze. [Marco Herrn] * Refine codestyle according to PEP-8. [Marco Herrn] * Adorn strings as unicode. [Marco Herrn] * S3 unfreeze all files at once. [Marco Herrn] * Add boto3 to list of requirements. [Kenneth Loafman] * Remove ancient CVS Id macro. [Kenneth Loafman] * Merged in OutlawPlz:paramiko-progress. [Kenneth Loafman] * Merge branch 'paramiko-progress' into 'master' [Kenneth Loafman] * Fixes paramiko backend progress bar. [Matteo Palazzo] * Merged in lazy init for Boto3 network connections. [Kenneth Loafman] * Merge branch 'feature/lazy\_init\_boto3' into 'master' [Kenneth Loafman] * Initial crack at lazy init for Boto3. [Carl Alexander Adams] * Merge branch 'hostname' into 'master' [Kenneth Loafman] * Record the hostname, not the fqdn, in manifest files. [Michael Terry] * Merge branch 'listdir-contains' into 'master' [Kenneth Loafman] * Avoid calling stat when checking for exclude-if-present files. [Michael Terry] * Fix build control files after markdown conversion. [Kenneth Loafman] * Recover some changes lost after using web-ide. [Kenneth Loafman] * Paperwork. [Kenneth Loafman] * Merge branch 's3-boto3-region-and-endpoint' into 'master' [Kenneth Loafman] * Set default values for s3\_region\_name and s3\_endpoint\_url. [Marco Herrn] * Allow setting s3 region and endpoint. [Marco Herrn] * Update README-REPO.md. [Kenneth Loafman] * Make code view consistent. [Kenneth Loafman] * Update setup.py. [Kenneth Loafman] * Update README.md. [Kenneth Loafman] * Paperwork. [Kenneth Loafman] * Revert "Merge branch 's3-boto3-region-and-endpoint' into 'master'" [Kenneth Loafman] * Bump version for LP dev build. [Kenneth Loafman] rel.0.8.15 (2020-07-27) Other * Always paperwork. [Kenneth Loafman] * Merge branch 's3-boto3-region-and-endpoint' into 'master' [Kenneth Loafman] * Allow setting s3 region and endpoint. [Marco Herrn] * Merge branch 'pydrive-notfound' into 'master' [Kenneth Loafman] * Fix missing FileNotUploadedError in pydrive backend. [Martin Sucha] * Merge branch 'pydriveshared' into 'master' [Kenneth Loafman] * Fixed indentation. [Joshua Chan] * Added shared drive support to existing `pydrive` backend instead of a new backend. [Joshua Chan] * PydriveShared backend is identical to Pydrive backend, except that it works on shared drives rather than personal drives. [Joshua Chan] * Include the query when parsing the backend URL string, so users can use it to pass supplementary info to the backend. [Joshua Chan] * Fix caps on X-Python-Version. [Kenneth Loafman] * Fix issue 10 - ppa:duplicity-*-git fails to install on Focal Fossa. [Kenneth Loafman] * Merge branch 'patch-2' into 'master' [Kenneth Loafman] * Remove python-cloudfiles from suggestions. [Jairo Llopis] * Merge branch 'patch-1' into 'master' [Kenneth Loafman] * Update azure requirement. [Jairo Llopis] * Fix bug 1211481 with merge from Raffaele Di Campli. [Kenneth Loafman] * Merge branch 'master' into 'master' [Kenneth Loafman] * Added `--do-not-restore-ownership` option. [Jacotsu] * Fix bug 1887689 with patch from Matthew Barry. [Kenneth Loafman] * Bump version for LP build. [Kenneth Loafman] * Merge branch 'fix-glacier-check' into 'master' [Kenneth Loafman] * Fix check for s3 glacier/deep. [Michael Terry] * Change from push to upload. [Kenneth Loafman] * Add specific version for six. [Kenneth Loafman] rel.0.8.14 (2020-07-04) Other * Set deprecation version to 0.9.0 for short filenames. [Kenneth Loafman] * Fixes for issue 7, par2backend produces badly encoded filenames. [Kenneth Loafman] * Added a couple of fsdecode calls for issue 7. [Kenneth Loafman] * Generalize exception for failed get\_version() on LaunchPad. [Kenneth Loafman] * Ignore *.so files. [Kenneth Loafman] * Update docs. [Kenneth Loafman] * Catch up on paperwork. [Kenneth Loafman] * Merge branch 'mikix/rename-fix' into 'master' [Kenneth Loafman] * Fix --rename encoding. [Michael Terry] * Merge remote-tracking branch 'team/fix-py27-testing' [Kenneth Loafman] * Skip tests failing on py27 under 18.04 (timing error). [Kenneth Loafman] * Fix code style issue. [Kenneth Loafman] * Add PATHS\_FROM\_ECLIPSE\_TO\_PYTHON to environ whan starting pydevd. [Kenneth Loafman] * Add *.pyc to .gitignore. [Kenneth Loafman] * Replace compilec.py with 'setup.py build\_ext', del compilec.py. [Kenneth Loafman] * Fix unadorned string. [Kenneth Loafman] * Fix usage of TOXPYTHON and overrides/bin shebangs. [Kenneth Loafman] * Use default 'before\_script' for py27. [Kenneth Loafman] * Don't collect coverage unless needed. [Kenneth Loafman] * Merge branch 'master' into 'master' [Kenneth Loafman] * Support PyDrive2 library in the pydrive backend. [Jindrich Makovicka] * Merge branch 'Tidy\_up\_gitlab\_CI\_doc' into 'master' [Kenneth Loafman] * Tidy .gitlab-ci.yml, fix py3.5 test, add py2.7 test (allowed to fail) [Aaron Whitehouse] * Merge branch 'fix-py27-CI' [Kenneth Loafman] * Test code instead of py27 since py27 is tested elsewhere. [Kenneth Loafman] * Fix RdiffdirTest to use TOXPYTHON as well. [Kenneth Loafman] * Set TOXPYTHON before tests. [Kenneth Loafman] * Put TOXPYTHON in passed environment. [Kenneth Loafman] * More fixes for bug 1877885 - Catch quota overflow on Mega upload. [Kenneth Loafman] * More fixes for bug 1877885 - Catch quota overflow on Mega upload. [Kenneth Loafman] * Undo: Try forcing python version to match tox testing version. [Kenneth Loafman] * Always upgrade pip. [Kenneth Loafman] * Try forcing python version to match tox testing version. [Kenneth Loafman] * Uncomment all tests. [Kenneth Loafman] * Test just py27 for now. [Kenneth Loafman] * Replace bzr with git. [Kenneth Loafman] * Don't load repo version of future, let pip do it. [Kenneth Loafman] * Hmmm, Gitlab yaml does not like continuation lines. Fix it. [Kenneth Loafman] * Fix typo. [Kenneth Loafman] * Update to use pip as module and add py35 test. [Kenneth Loafman] * Add py35 to CI tests. [Kenneth Loafman] * More changes to support Xenial. [Kenneth Loafman] * Fix typo. [Kenneth Loafman] * Fix duplicity to run under Python 3.5. [Kenneth Loafman] * Fix duplicity to run under Python 3.5. [Kenneth Loafman] * Merge branch 'add\_gitlab\_testing' into 'master' [Kenneth Loafman] * Update .gitlab-ci.yml to update pip before installing other pip packages (to try to fix more-itertools issue: https://github.com/pytest-dev/pytest/issues/4770 ) [Aaron Whitehouse] * Don't include .git dir when building docker images. [Kenneth Loafman] * Merge branch 'update\_pip\_before\_install' into 'master' [Kenneth Loafman] * Upgrade pip before installing requirements with it. Fixes more-itertools error as newer versions of pip identify that the latest more-itertools are incompatible with python 2. [Aaron Whitehouse] * Patched in a megav2backend.py to update to MEGAcmd tools. [Kenneth Loafman] * Change log.Warning to log.Warn. Whoops! [Kenneth Loafman] * Fixed bug 1875937 - validate\_encryption\_settings() fails w/S3 glacier. [Kenneth Loafman] * Restore commented our backend requirements. [Kenneth Loafman] * Fixes for rclonebackend from Francesco Magno (original author) [Kenneth Loafman] * Version man pages during setup.py install. [Kenneth Loafman] * More fixes for Launchpad build limitations. [Kenneth Loafman] * More fixes for Launchpad build limitations. [Kenneth Loafman] * Move setuptools\_scm to setup\_requires. [Kenneth Loafman] * Back off requirements for fallback\_version in setup.py. [Kenneth Loafman] * Add some requirements for LP build. [Kenneth Loafman] * Make sure we get six from pip to support dropbox. [Kenneth Loafman] * Provide fallback\_version for Launchpad builder. [Kenneth Loafman] * Remove python3-setuptools-scm from setup.py. [Kenneth Loafman] * Add python3-setuptools-scm to debian/control. [Kenneth Loafman] * Try variation with hyphen seperator. [Kenneth Loafman] * Try python3\_setuptools\_scm (apt repo name). Probably too old. [Kenneth Loafman] * Add setuptools\_scm to install\_requires. [Kenneth Loafman] rel.0.8.13 (2020-05-05) Other * Fixed release date. [Kenneth Loafman] * Fixed bug 1876446 - WebDAV backend creates only tiny or 0 Byte files. [Kenneth Loafman] * Fix to run with --dist-dir command. [Kenneth Loafman] * Fixed bug 1876778 - byte/str issues in megabackend.py. [Kenneth Loafman] * Fix to use 'setup.py develop' instead of sdist. [Kenneth Loafman] * Fix to run with --dist-dir command. [Kenneth Loafman] * Fixed bug 1875529 - Support hiding instead of deletin on B2. [Kenneth Loafman] * Uncomment upload and sign. [Kenneth Loafman] * Reworked versioning to be git tag based. [Kenneth Loafman] * Migrate bzr to git. [Kenneth Loafman] * Fixed bug 1872332 - NameError in ssh\_paramiko\_backend.py. [ken] * Fix spelling error. [ken] * Fixed bug 1869921 - B2 backup resume fails for TypeError. [ken] * Merged in lp:\~kenneth-loafman/duplicity/duplicity-pylint - Enable additional pylint warnings. Make 1st pass at correction. unused-argument, unused-wildcard-import, redefined-builtin, bad-indentation, mixed-indentation, unreachable - Renamed globals to config to fix conflict with \_\_builtin\_\_.glogals() - Resolved conflict between duplicity.config and testing.manual.config - Normalized emacs mode line to have encoding:utf8 on all *.py files. [ken] * More changes for pylint. * Resolved conflict between duplicity.config and testing.manual.config * Normalized emacs mode line to have encoding:utf8 on all *.py files. [Kenneth Loafman] * More changes for pylint. * Remove copy.com refs. [Kenneth Loafman] * More changes for pylint. [Kenneth Loafman] * More changes for pylint. [Kenneth Loafman] * Enable additional pylint warnings. Make 1st pass at correction. - unused-argument, unused-wildcard-import, redefined-builtin, bad-indentation, mixed-indentation. [Kenneth Loafman] * Fixed bug 1868414 - timeout parameter not passed to BlobService for Azure backend. [Kenneth Loafman] rel.0.8.12 (2020-03-19) Other * Merged in translation updates * Prep for 0.8.12. [Kenneth Loafman] * Fixed bug 1867742 - TypeError: fsdecode() takes 1 positional argument but 2 were given with PCA backend. [Kenneth Loafman] * Fixed bug 1867529 - UnicodeDecodeError: 'ascii' codec can't decode byte 0x85 in position 0: ordinal not in range(128) with PCA. [Kenneth Loafman] * Fixed bug 1867468 - UnboundLocalError (local variable 'ch\_err' referenced before assignment) in ssh\_paramiko\_backend.py. [Kenneth Loafman] * Fixed bug 1867444 - UnicodeDecodeError: 'ascii' codec can't decode byte 0x85 in position 0: ordinal not in range(128) using PCA backend. [Kenneth Loafman] * Fixed bug 1867435 - TypeError: must be str, not bytes using PCA backend. [Kenneth Loafman] * Move pylint config from test\_code to pylintrc. [Kenneth Loafman] * Cleaned up some setup issues where the man pages and snapcraft.yaml were not getting versioned. [Kenneth Loafman] * Fixed bug 1769267 - [enhancement] please consider using rclone as backend. [Kenneth Loafman] * Fixed bug 1755955 - best order is unclear, of exclude-if-present and exclude-device-files - Removed warning and will now allow these two to be in any order. If encountered outside of the first two slots, duplicity will silently move them to be in the first two slots. Within those two slots the order does not matter. [ken] * Fixed a couple of file history bugs: - 1044715 Provide a file history feature + removed neutering done between series - 1526557 --file-changed does not work + fixed str/bytes issue finding filename. [ken] * Fixed bug 1865648 - module 'multiprocessing.dummy' has no attribute 'cpu\_count'. - replaced with module psutil for cpu\_count() only - appears Arch Linux does not support multiprocessing. [ken] * Mod to get focal build on LP working. [ken] * Mod to get focal build on LP working. [ken] * Mod to get focal build on LP working. [ken] rel.0.8.11 (2020-02-24) Other * Merged in translation updates. [ken] * Fixed to work around par2 0.8.1 core dump on short name - https://github.com/Parchive/par2cmdline/issues/145. [ken] * Fixed bug 1857818 - startswith first arg must be bytes - use util.fsdecode on filename. [ken] * Fixed bug 1863018 - mediafire backend fails on py3 - Fixed handling of bytes filename in url. [ken] * Add rclone requirement to snapcraft.yaml. [ken] * Fixed bug 1236248 - --extra-clean clobbers old backups - Removed --extra-clean, code, and docs. [ken] * Fixed bug 1862672 - test\_log does not respect TMPDIR - Patch supplied by Jan Tojnar. [ken] * Fixed bug 1860405 - Auth mechanism not supported - Added python3-boto3 requirement to snapcraft.yaml. [ken] * More readthedocs munges. [ken] * Don't format the po files for readthedocs. [ken] * Add readthedocs.yaml config file, try 3. [ken] * Add readthedocs.yaml config file, try 2. [ken] * Add readthedocs.yaml config file. [ken] * Remove intltool for readthedocs builder. [ken] * Add python-gettext for readthedocs builder. [ken] * Add gettext/intltool for readthedocs builder. [ken] * Add gettext for readthedocs builder. [ken] * Add intltool for readthedocs builder. [ken] * Add intltools for readthedocs builder. [ken] * Add intltools for readthedocs builder. [ken] * Point readthedocs.io to this repo. [ken] * Renamed botobackend.py to s3\_boto\_backend.py. [ken] * Renamed botobackend.py to s3\_boto\_backend.py. [ken] * Merged from parent to bring in changes. [Byron Hammond] * Renamed MulitGzipFile to GzipFile to avoid future problems with upstream author of mgzip fixing the Mulit -> Multi typo. [Byron Hammond] * Adding missed mgzip import and adjusting untouched unit tests. [Byron Hammond] * Adding multi-core support by using mgzip instead of gzip. [Byron Hammond] * Missing comma. [ken] * Some code cleanup and play with docs. [ken] * Uncomment snapcraft sign-build. Seems it's fixed now. [ken] * Fix argument order on review-tools. [ken] * Reworked setup.py to build a pip-compatible distribution tarball of duplicity. * Added dist/makepip for convenience. [ken] * Adjust Dockerfiles to new requirements. [ken] * Fix - Removing old backup chains fails using pexpect+sftp. [ken] * Adjust Dockerfiles to new requirements. [ken] * Enhance setup.py/cfg to allow install by pip. [ken] * Enhance setup.py/cfg to allow install by pip. [ken] * Enhance setup.py/cfg to allow install by pip. [ken] * Bump version. [Kenneth Loafman] * Gave up fighting the fascist version control munging on snapcraft.io. Duplicity now has the form 0.8.10.1558, where the last number is the bzr revno. Can't do something nice like having a dev/fin indicator like 0.8.10dev1558 for dev versions and a fin for release or final. [Kenneth Loafman]
Revbump packages with a runtime Python dep but no version prefix. For the Python 3.8 default switch.
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
sysutils: align variable assignments pkglint -Wall -F --only aligned --only indent -r Manually excluded consolekit and dc-tools since pkglint didn't get the formatting correct.
Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8
fix some whitespace, mostly introduced in the previous python 3.4 / 3.5 removal commit.
Omit mentions of python 34 and 35, after those were removed. - Includes some whitespace changes, to be handled in a separate commit.
PKGREVISION bump for anything using python without a PYPKGPREFIX. This is a semi-manual PKGREVISION bump.
extend PYTHON_VERSIONS_ for Python 3.7
Update to 0.7.17 Upstream changes: New in v0.7.17 (2018/02/26) --------------------------- * Removed changes made in bug #1044715 Provide a file history feature - Changes required too much memory to carry in the manifest - The option --file-changed in collection-status is now invalid - This will close bugs: #1730451, #896728, #1526557, #1550176 - Starting a full backup will be needed to fully utilize this fix * Fix update of Launchpad Translations. Translations were not being picked up on a daily basis and we got several months behind.
Replace bl3 dependencies by DEPENDS
Updated sysutils/duplicity to 0.7.16
New in v0.7.16 (2018/01/12)
---------------------------
* Fixed bug #1733057 AttributeError: 'GPGError' object has no attribute 'decode'
- Replaced call to util.ufn() with call to util.uexc(). Stupid typo!
* More fixes for Unicode handling
- Default to 'utf-8' if sys.getfilesystemencoding() returns 'ascii' or None
- Fixed bug #1386373 with suggestion from Eugene Morozov
* Patched in lp:~crosser/duplicity/fix-oauth-flow
- Fixed bug #1638236 "BackendException with oauth2client 4.0.0"
* Patched in lp:~crosser/duplicity/dpbx-fix-file-listing
- Fixed bug #1639664 "Dropbox support needs to be updated for Dropbox SDK v7.1"
* Patched in lp:~crosser/duplicity/fix-small-file-upload
- Fixed small file upload changes made in Dropbox SDK v7.1
* Fix pylint error in webdavbackend.py
New in v0.7.15 (2017/11/13)
---------------------------
* Fixed bug introduced in new megabackend.py where process_commandline()
takes a string not a list. Now it takes both.
* Updated web page for new megabackend requirements.
* Patched in lp:~mterry/duplicity/more-decode-issues
- Here's some fixes for another couple UnicodeDecodeErrors.
- The duplicity/dup_time.py fixes when a user passes a utf8 date string (or a string with bogus
utf8 characters, but they have to really try to do that). This is bug 1334436.
- The bin/duplicity change from str(e) to util.uexc(e) fixes bug 1324188.
- The rest of the changes (util.exception_traceback and bin/duplicity changes to use it) are to
make the printing of exceptions prettier. Without this, if you see a French exception, you see
"accept\xe9es" instead of "acceptées".
- You can test all of these changes in one simple line:
$ LANGUAGE=fr duplicity remove-older-than $'accept\xffées'
* Fix backend.py to allow string, list, and tuple types to support megabackend.py.
* Fixed bug #1715650 with patch from Mattheww S
- Fix to make duplicity attempt a get first, then create, a container
in order to support container ACLs.
* Fixed bug #1714663 "Volume signed by XXXXXXXXXXXXXXXX, not XXXXXXXX"
- Normalized comparison length to min length of compared keys before comparison
- Avoids comparing mix of short, long, or fingerprint size keys.
* Merged in lp:~mterry/duplicity/rename-dep
- Make rename command a dependency for LP build
* Fixed bug #1654756 with new b2backend.py module from Vincent Rouille
- Faster (big files are uploaded in chunks)
- Added upload progress reporting support
* Fixed bug #1448094 with patch from Wolfgang Rohdewald
- Don't log incremental deletes for chains that have no incrementals
* Fixed bug #1724144 "--gpg-options unused with some commands"
- Add --gpg-options to get version run command
* Fixed bug #1720159 - Cannot allocate memory with large manifest file since 0.7.03
- filelist is not read if --file-changed option in collection-status not present
- This will keep memory usage lower in non collection-status operations
* Fixed bug #1723890 with patch from Killian Lackhove
- Fixes error handling in pydrivebackend.py
* Fixed bug #1730902 GPG Error Handling
- use util.ufn() not str() to handle encoding
New in v0.7.14 (2017/08/31)
---------------------------
* Merged in lp:~dawgfoto/duplicity/skip_sync_collection_status
- collection-status should not sync metadata
- up-to-date local metadata is not needed as collection-status is
generated from remote file list
- syncing metadata might require to download several GBs
* Fixed slowness in 'collection-status' by basing the status on the
remote system only. The local cache is treated as empty.
* Fixed encrypted remote manifest handling to merely put out a non-fatal
error message and continue if the private key is not available.
* Patched in lp:~mterry/duplicity/giobackend-display-name
- giobackend: handle a wider variety of gio backends by making less assumptions;
in particular, this fixes the google-drive: backend
* Fixed bug #1709047 with suggestion from Gary Hasson
- fixed so default was to use original filename
* Fixed PEP8 errors in bin/duplicity
* Merged in lp:~mterry/duplicity/gio_child_for_display_name_0.7
- gio: be slightly more correct and get child GFiles based on display name
* Fixed bug #1711905 with suggestion from Schneider
- log.Warn was invoked with log.warn in webdavbackend.py
* Merged in lp:~mterry/duplicity/gpg-tag-versions
- Support gpg versions numbers that have tags on them.
- This can happen if you build gpg from git trunk (e.g. 2.1.15-beta20). Or if you run
against the freedesktop flatpak runtime (e.g. 2.1.14-unknown).
* Fixed bug #1394386 with new module megabackend.py from Tomas Vondra
- uses megatools from https://megatools.megous.com/ instead of mega.py library
which has been deprecated
- fixed copyright and PEP8 issues
- replaced subprocess.call() with self.subprocess_popen() to standardize
* Fixed bug #1713640 with patch from Aleksandar Ivanisevic
- replace 2.7 syntax with 2.6 equivalent
* Fixed bug #1538333 Assertion error in manifest.py: assert filecount == ...
- Made sure to never pass .part files as true manifest files
- Changed assert to log.Error to warn about truncated/corrupt filelist
- Added unit test to make sure detection works
- Note: while this condition is serious, it will not affect the basic backup and restore
functions. Interactive options like --list-files-changed and --file-changed will not
work correctly for this backup set, so it is advised to run a full backup as soon as
possible after this error occurs.
* Fixed bug #1638033 Remove leading slash on --file-to-restore
- code already used rstrip('/') so change to just strip('/')
New in v0.7.13.1 (2017/06/18)
-----------------------------
* Fixed problem in dist/makedist when building on Mac where AppleDouble
files were being created in the tarball. See:
https://superuser.com/questions/61185/why-do-i-get-files-like-foo-in-my-tarball-on-os-x
New in v0.7.13 (2017/06/12)
---------------------------
* Fixed bug #1680682 with patch supplied from Dave Allan
- Only specify --pinentry-mode=loopback when --use-agent is not specified
* Fixed man page that had 'cancel' instead of 'loopback' for pinentry mode
* Fixed bug #1684312 with suggestion from Wade Rossman
- Use shutil.copyfile instead of os.system('cp ...')
- Should reduce overhead of os.system() memory usage.
* Fixed bug #1320832 with suggestion from Oskar Wycislak
- Use chunks instead of reading it all in swiftbackend
* Fixed bug #1689632 with patch from Howard Kaye
- On MacOS, the tempfile.TemporaryFile call erroneously raises an
IOError exception saying that too many files are open. This causes
restores to fail randomly, after thousands of files have been restored.
* Fixed bug #1320641 and others regarding lockfile
- swap from lockfile to fasteners module
- use an fcntl() style lock for process lock of duplicity cache
- lockfile will now clear if duplicity is killed or crashes
* May have finally fixed bug #1556553, "Too many open files...".
- Applied patch from Howard Kaye, question #631423. The fix is to dup
the file descriptor, and then close the file in the deallocator
routine in the glue code. Duping the file lets the C code and the Python
code each close the file when they are done with it.
- Invalidated and removed the fix put in for bug #1320832.
- Caveat: long incremental chains will still eat up a large number of file
descriptors. It's a very risky practice, so I'm not inclined to fix it.
* Revisited bug #670891 with patch from Edgar Soldin
- Forced librsync.PatchedFile() to extract file object from TemporaryFile()
object when on Windows or Cygwin systems. This allows us to avoid the
problem of tmpfile() use which creates temp files in the wrong place.
- See discussion at https://bugs.launchpad.net/duplicity/+bug/670891
* Fix bug #1672540 with patch from Benoit Nadeau
- Rename would fail to move par files when moving across filesystems.
- Patch uses shutil.move() to do the rename instead.
* Fixed bug #1265765 with patches from Matthias Larisch and Edgar Soldin
- SSH Paramiko backend now uses BufferedFile implementation to enable
collecting the entire list of files on the backend.
* Copy.com is gone so remove copycombackend.py.
* Merged in lp:~xlucas/duplicity/swift-multibackend-bug
- Fix a bug when swift backend is used in a multibackend configuration.
* Merged in lp:~duplicity-team/duplicity/po-updates
New in v0.7.12 (2017/03/21)
---------------------------
* Fixed bug #1623342 with patch supplied by Daniel Jakots
- Failing test on OpenBSD because tar/gtar not found
* Fixed bug #1654220 with patch supplied by Kenneth Newwood
- Duplicity fails on MacOS because GPG version parsing fails
* Fixed bug #1655268 "--gpg-binary option not working"
- If gpg binary is specified rebuild gpg profile using new binary location
* Fixed bug #1658283 "Duplicity 0.7.11 broken with GnuPG 2.0"
- Made gpg version check more robust than just major version
- Now use --pinentry-mode=loopback on gpg 2.1 and greater
- Removed check for non-Linux systems, a false problem
* Merged in lp:~matthew-t-bentley/duplicity/duplicity
- Sets a user agent. Backblaze asked for this in case there are errors that originate
from the Duplicity B2 backend
- Only retrieves a new upload URL when the current one expires, to bring it in line
with their best practices for integrations: https://www.backblaze.com/b2/docs/integration_checklist.html
* Add detail about import exceptions in onedrivebackend.py
* Fixed bug #1657916 with patch supplied by Daniel Harvey
- B2 provider cannot handle two backups in the same bucket
* Fixed bug #1603704 with patch supplied by Maciej Bliziński
- Crash with UnicodeEncodeError
* Some fixes to gpg.py to handle gpg1 & gpg2 & gpg2.1 commandline issues
- --gpg-agent is optional on gpg1, but on gpg2 it is used automatically
- --pinentry-mode is not a valid opt until gpg2.1, so condition on that
* Fixed bug #1367675 - IMAP Backend does not work with Yahoo server
- added the split() as needed in 'nums=list[0].strip().split(" ")'
- the other fixes mentioned in the bug report comments were already done
* Fixed bug #1671852 - Code regression caused by revision 1108
- change util.uexc() back to bare uexc()
* Fixed bug #1668750 - Don't mask backend errors
- added exception prints to module import errors
New in v0.7.11 (2016/12/31)
---------------------------
* Fixed bugs #815510 and #1615480
- Changed default --volsize to 200MB
* Merged in lp:~mstoll-de/duplicity/duplicity
- Backblaze announced a new domain for the b2 api
* Merged in lp:~aaron-whitehouse/duplicity/bug_1620085_exclude-if-present-locked-folder
- Fixes Bug #1620085: --exclude-if-present gives OSError looking for tag in locked folders
* Fixed bug #1623342 with patch from Daniel Jakots
- failing test on OpenBSD because tar/gtar not found
* Merged in lp:~mwilck/duplicity/duplicity
- GPG: enable truly non-interactive operation with gpg2
- This patch fixes the IMO unexpected behavior that, when using GnuPG2, a pass phrase dialog always pops up for
saving backups. This is particularly annoying when trying to do unattended / fully automatic backups.
* Fixed bug #1621194 with code from Tornhoof
- Do backup to google drive working without a service account
* Fixed bug #1642098 - does not create PAR2 archives when '--par2-options' is used
- Missing space between par2-options plus default options
* Fix bug using 40-char sign keys, from Richard McGraw on mail list
- Remove truncation of argument and adjust comments
* Merged in lp:~dernils/duplicity/robust-dropbox-backend
- Added new command line option --backend-retry-delay
that allows to determine the time that duplicity sleeps
before retrying after an error has occured.
- Added some robustness to dpbxbackend.py that ensures re-authentication
happens in case that a socket is changed (e.g. due to a forced reconnect
of a dynamic internet connection).
* Merged in lp:~ed.so/duplicity/manpage.fixes
- Fix html output via rman on the website
* Merged in lp:~horgh/duplicity/copy-symlink-targets-721599
- Add --copy-links to copy symlink contents, not just the link itself.
* Merged in lp:~aaron-whitehouse/duplicity/Bug_1624725_files_within_folder_slash
- Fixed Bug #1624725, so that an include glob ending in "/" now includes folder contents (for globs with
and without special characters). This preserves the behaviour that an expression ending in "/" only
matches a folder, but now the contents of any matching folder is included.
* Fix problem with gpg2 in yakety and zesty
* Fix Bug #1642813 with patch from Ravi
- If stat() returns None, don't attempt to set perms.
* Merged in lp:~breunigs/duplicity/amazondrive3
- As reported on the mailinglist, if a space is entered while duplicity asks for the URL, it fails.
Since all important spaces are URL encoded anyway, this should be fine even if there are spaces in
the URL at all. I also patched it in the onedrive backend, because it must have similar issues.
* Prep for 0.7.11
New in v0.7.10 (2016/08/20)
---------------------------
* Merged in lp:~mwilck/duplicity/0.7-series
- Speedup of path_matches_glob() by about 8x. See
https://code.launchpad.net/~mwilck/duplicity/0.7-series/+merge/301332
for more details.
* Remove -w from setsid in functional tests.
* Fixed conflict in merge from Martin Wilck and applied
- https://code.launchpad.net/~mwilck/duplicity/0.7-series/+merge/301492
- merge fixes setsid usage in functional testing.
* Fixed bug #1612472 with patch from David Cuthbert
- Restore from S3 fails with --with-prefix-archive if prefix includes '/'
* Merged in lp:~arashad.ahamad/duplicity/duplicity_latest
- Changes for connecting to IBM Bluemix ObjectStorage. See man page.
* Merged in lp:~fenisilius/duplicity/acd_init_mkdir
- Allow duplicity to create remote folder
Add python-3.6 to incompatible versions.
Recursive bump for librsync shlib++
Fix EGG_NAME so this packages correctly.
Updated sysutils/duplicity to 0.7.09
------------------------------------
New in v0.7.09 (2016/07/24)
---------------------------
* Fixed bug #1600692 with patch from Wolfgang Rohdewald
- Allow symlink to have optional trailing slash during verify.
* Merged in lp:~aaron-whitehouse/duplicity/07-fix_deja_dup_error_on_locked_files
- Revert log.Error to log.Warn, as it was prior to the merge in rev 1224,
as this was affecting other applications (e.g. deja dup; Bug #1605939).
* Merged in lp:~duplicity-team/duplicity/po-updates
Remove python33: adapt all packages that refer to it.
Updated duplicity to 0.7.08.
From Frédéric Fauberteau in PR 51316.
New in v0.7.08 (2016/07/01)
---------------------------
* Merged in lp:~noizyland/duplicity/fix_azurebackend_typo
- Fix typo in error handling code
* Merged in lp:~ghoz/duplicity/swift-prefix
- adds the abiliy to use path in the swift backend, in order to have multiple
backups to the same container neatly organized.
* Fixed bug #1573957 with patches from Dmitry Nezhevenko
- upload last chunk with files_upload_session_finish to avoid extra request
- upload small files using non-chunked api
* Fixed bug #1586934 with patches from Dmitry Nezhevenko
- fixes error handling in wrapper
* Fixed bug #1586992 with patches from Dmitry Nezhevenko
- Patch adds _delete_list to Par2Backend. And _delete_list fallbacks to
_delete calls if wrapped backend has no _delete_list.
* Fixed bug #1589038 with patches from Malte Schröder
- Added ignore_case option to selection functions
* Merged in lp:~mstoll-de/duplicity/b2-reauth
- Fixes bug #1588503 b2: large uploads fail due to expired auth token
* Merged in lp:~aaron-whitehouse/duplicity/fix_pep8
- Fix PEP8 error in onedrivebackend.py (space before bracket)
* Fixed bug #822697 ssh-options not passed in rsync over ssh
- Added globals.ssh_options to rsync command line
* Increased default volume size to 200M, was 25M
* Fixed README-REPO to no longer mention 0.6-series
* Merged in lp:~aaron-whitehouse/duplicity/fix_stat_errors
- Only give an error about not being able to access possibly locked file if
that file is supposed to be included or scanned (i.e. not excluded).
Fixes Bug #1089131
* Fixed bug #1594780 with patches from B. Reitsma
- Use re.finditer() to speed processing
* Merged in lp:~aaron-whitehouse/duplicity/PEP8_W503_fixes
- Fix PEP8 W503 errors (line break before binary operator) and enable the
PEP8 test for this in test_code.CodeTest.
* Merged in lp:~aaron-whitehouse/duplicity/PEP8_line_length
- Set line length error length to 120 (matching tox.ini) for PEP8 and
fixed E501(line too long) errors.
* Merged in lp:~duplicity-team/duplicity/po-updates
Update duplicity to 0.7.07.1. From Frederic Fauberteau in PR pkg/51061.
New in v0.7.07.1 (2016/04/19)
---------------------------
* Fixed bug #1568677 duplicity fails to use existing S3 bucket in boto backend
- bug introduced by incomplete fix of bug #1296793
- simplified setting of bucket locations
* Fixed bug #1569523 get_bucket unknown keyword location and my_location name error
- bug introduced in improper fix of bug #1568677
- gotta love those inconsistent APIs
* Fixed bug #1571134 incompatible with python-oauth2client version 2.x
and #1558155 PyDrive backend broken, needs update to oauth2client library
- used patch from https://bugs.debian.org/820725 but made changes
to allow the user to continue using the old version
* Fixed bug #1570293 duplicity is very slow due to excessive fsync
- removed flush() after write.
- revert to previous version
Update duplicity to 0.7.07. From Frédéric Fauberteau in PR pkg/51061.
New in v0.7.07 (2016/04/10)
---------------------------
* Merged in lp:~matthew-t-bentley/duplicity/b2
- Fix import and error typos.
- Allow multiple backups in the same bucket.
- Fixes bug #1523498.
- A couple fixes allowing multiple backups to be hosted in different
folders in the same bucket as well as some logging for -v9.
* Random stuff:
- remove RPM stuff from makedist
- have makedist pull directly from VCS, not local dir
- update po translation directory and build process
- clean up some odd error messages
- move Pep8 ignores to tox.ini
- supply correct path for pydevd under Mac
- fix some tests to run under Linux and Mac
* Partial fix for bug #1529606 - shell code injection in lftpbackend
- still need to fix the other backends that spawn shell commands
* Make test_restart compatible with both GNUtar and BSDtar
* Fix stupid issue with functional test path for duplicity
* Applied patch from shaochun to fix bug #1531154,
- --file-changed failed when file contains spaces
* Applied patch from abeverly to fix bug #1475890
- allow port to be specified along with hostname on S3
- adjusted help text and man page to reflect the change
* Undo changes to test_restart.py. GNU tar is needed.
* Fix minor pep8 nit in collections.py
* Applied changes from ralle-ubuntu to fix bug 1072130.
- duplicity does not support ftpes://
* Fixed bug #1296793 - Failed to create bucket
- use S3Connection.lookup() to check bucket exists
- skips Boto's Exception processing for this check
- dupe of bug #1507109 and bug #1537185
* Merged in lp:~mifchip/duplicity/duplicity
- fix bug #1313964, absolute path doesn't work for FTP
* Merged in lp:~fpytloun/duplicity/webdav-gssapi
- support GSSAPI authentication in webdav backend
* Add more pylint ignore warnings tags
* Adjust so test_restart.py can run on Mac as well
* Fix for bug #1538333 - assert filecount == len(self.files_changed)
- added flush after every write for all FileobjHooked files which
should prevent some errors when duplicity is forcibly closed.
* Fix bug #1540279 - mistake in --help
* Applied patch from kay-diam to fix error handling in ssh pexpect,
fixes bug #1541314
* Fixed a patching error in ssh_pexpect_backend.py
* Merged in lp:~fpytloun/duplicity/webdav-gssapi-fix
- Make kerberos optional for webdav backend
* Merged in lp:~harningt/duplicity/multibackend-mirror
- This changeset addresses multibackend handling to permit a
mirroring option in addition to its "stripe" mode to make it
a redundancy tool vs space-expansion tool. To do this without
changing the configuration too much, I used the query string
that would generally go unused for files to specify behavior
that applies to all items inside the configuration file.
* Added acdclibackend.py from Stefan Breunig and Malay Shah
- renamed from amazoncloudbackend to stress use of acd_cli
* Fixed some 2to3 and Pep8 issues that had crept in
* Backed out changes made by patching for bug #1541314. These
patches should not have been applied to the 0.7 series.
* Merged in lp:~rye/duplicity/mediafire
- Backend for https://www.mediafire.com
- Requires https://pypi.python.org/pypi/mediafire/ installed.
* Reverted changes made in rev 1164 w.r.t. getting the source from
VCS rather than local directory. Fixes bug #1548080.
* More fixes to dist/makedist to make it more OS agnostic.
* Merged in lp:~ed.so/duplicity/webdav.lftp.ssl-overhaul
duplicity.1, commandline.py, globals.py
- added --ssl-cacert-path parameter
backend.py
- make sure url path component is properly url decoded,
in case it contains special chars (eg. @ or space)
lftpbackend.py
- quote _all_ cmd line params
- added missing lftp+ftpes protocol
- fix empty list result when chdir failed silently
- added ssl_cacert_path support
webdavbackend.py
- add ssl default context support for python 2.7.9+
(using system certs eg. in /etc/ssl/certs)
- added ssl_cacert_path support for python 2.7.9+
- gettext wrapped all log messages
- minor refinements
* Applied patch from Dmitry Nezhevenko to upgrade dropbox backend:
- update to SDK v2
- use chunked upload
* Merged in lp:~aaron-whitehouse/duplicity/improve_present_get_sf_man_page
- Improve man page entry for --exclude-if-present
* Merged in lp:~aaron-whitehouse/duplicity/split_glob_matching_from_select
- Move glob matching code out of selection.py's Select function and
into globmatch.py.
* Fix bug reported on the mailing list from Mark Grandi (assertion error
while backing up). In file_naming.parse() the filename was being lower
cased prior to parsing. If you had used a prefix with mixed case, we
were writing the file properly, but could not find it in the backend.
* Merged in lp:~duplicity-team/duplicity/po-updates
New in v0.7.06 (2015/12/07)
---------------------------
* Merged in lp:~mnjul/duplicity/s3-infreq-access
- This adds support for AWS S3's newly announced Infrequent Access
storage class and is intended to implement Blueprint:
https://blueprints.launchpad.net/duplicity/+spec/aws-s3-std-ia-class .
- A new command line option, --s3-use-ia, is added, and boto backend
will automatically use the correct storage class value depending on
whether --s3-use-rrs and --s3-use-ia is set. Command line parser will
prompt error if both --s3-use-ia and --s3-use-rrs are used together,
as they conflict with each other.
- The manpage has been updated giving a short explanation on the new
option. Its wording derives from Amazon's official announcement:
https://aws.amazon.com/about-aws/whats-new/2015/09/announcing-new-\
amazon-s3-storage-class-and-lower-glacier-prices/
* The ptyprocess module no longer supports Python 2.6, so fix tox.ini to
use an older version. Make explicit environs for all tests.
* Upgrade to newest version of pep8 and pylint. Add three ignores
to test_pep8 and one to test_pylint to get the rest to pass. They
* Applied patch from Alexander Zangerl to update to changes in lockfile
API 0.9 and later. Updated README to notify users.
* Modded tox.ini to use the latest lockfile.
* Merged in lp:~ed.so/duplicity/setup.shebang
- Having the python interpreter searched in the PATH is much more
flexible than the /usr/bin/python inserted into our scripts shebang
by setuptools. This patch prevents that. don't touch my shebang! :)
* Cleanup issues around Launchpad build, mainly lockfile >= 0.9.
* Merged in lp:~michal-s/duplicity/duplicity
- WindowsAzureMissingResourceError and WindowsAzureConflictError
changed due to SDK changes.
are all valid in our case.
* Reversed previous changes to lockfile. Now it will take any version
extant in the LP build repository. (PyPi is not avail in LP build).
* Merged in lp:~ed.so/duplicity/tempfile.tempdir
- make sure packages using python's tempfile create temp files in
duplicity's temp dir
* Fixed bug #1511308 - Cannot restore no-encryption, no-compression backup
- Corrected code to include plain file in write_multivolume()
- Added PlainWriteFile() to gpg.py
* Merged in lp:~michal-s/duplicity/duplicity
- Fix azurebackend storage class import
* Merged in lp:~feraudet/duplicity/fix
- Fix missing SWIFT_ENDPOINT_TYPE env var, bug 1519694.
* Fix bug #1520691 - Shell Code Injection in hsi backend
- Replace use of os.popen3() with subprocess equivalent.
- Added code to expand relative program path to full path.
- Fix hisbackend where it expected a list not a string.
* Merged in lp:~noizyland/duplicity/azurebackend-fixes
- Support new version of Azure Storage SDK
- Refactor _list method to support containers with >5000 blobs
* Merged in lp:~matthew-t-bentley/duplicity/b2
- Adds a backed for BackBlaze's (currently beta) B2 backup service.
- This adds backends/b2backend.py, modifies log.py to add an
error code and modifies commandline.py to add the b2://
example to the help text.
* Pep8 corrections for recently released code.
* Fixed bug #1260666 universally by splitting the filelist for
delete before passing to backend.
* Fixed bug #1369243 by adjusting messages to be more readable.
* Fixed bug #1375019 with patch from Eric Bavier (home to tmp).
* Fixed bug #1379575 with patch from Tim Ruffing (shorten webdav response).
* Fixed bug #1492301 with patch from askretov (manually refresh oauth).
New in v0.7.05 (2015/09/15)
---------------------------
* Merged in lp:~aaron-whitehouse/duplicity/fix_patch_error
- Change use of mock.patch in unit tests to accommodate the obsolete
version of python-mock on the build server.
* Fixed Bug 1476019 S3 storage bucket not being automatically created
with patch from abeverley
* Merged in lp:~aaron-whitehouse/duplicity/launchpad_tox_profile
- Add tox testing profile that mimics the packages installed on the
Launchpad build server, to reduce the likelihood of tests passing
our test suite, but failing on the build server (e.g. because of
the out-of-date mock version).
* Merged in lp:~aaron-whitehouse/duplicity/disable_code_tests_for_lpbuildd
- Set RUN_CODE_TESTS to 0 for lpbuildd tox profile, reflecting its value
on the Launchpad build server (and therefore skipping PEP8, 2to3 and
pylint). More accurately reflects the system we are mimicking and saves
approximately 1 minute per test run.
* Fixed Bug 1438170 duplicity crashes on resume when using gpg-agent with
patch from Artur Bodera (abodera). Applied the same patch to incremental
resumes as well.
* Merged in lp:~w.baranowski/duplicity/selection_debug
- This little patch logs debug messages concerning path selection process,
and so allows users to debug their include/exclude configuration.
* Merged in lp:~germar/duplicity/par2removefix
- After reorganisation in revision 981 and the fix for bug #1406173 the
par2backend does not remove .par2 files anymore when removing
duplicity-*.gpg files.
- This banch adds an unfiltered_list() method which is used in
delete() and delete_list()
* Updated man pages to reflect more contributors.
* Fix bug #1493573. Correct option typo in man page.
* Fix bug #1494228 CygWin: TypeError: basis_file must be a (true) file
- The problem that caused the change to tempfile.TemporaryFile was due
to the fact that os.tmpfile always creates its file in the system
temp directory, not in the directory specified. The fix applied was
to use os.tmpfile in cygwin/windows and tempfile.TemporaryFile in all
the rest. This means that cygwin is now broken with respect to temp
file placement of this one file (deleted automatically on close).
* Merged in lp:~bmerry/duplicity/pydrive-id-cache
- This fixes the issue a number of users (including myself) have been
having with duplicity creating files with duplicate filenames on
Google Drive. It keeps a runtime cache of filename to object ID
mappings, so that once it has uploaded an object it won't be fooled
by weakly consistent directory listings.
* Merged in lp:~duplicity-team/duplicity/po-updates
New in v0.7.04 (2015/08/02)
---------------------------
* Merged in lp:~noizyland/duplicity/fix-progress
- Fixes bug 1264744. selection.filelist_globbing_get_sfs leaves the
filelist file object's position at the end of the file. When the
--progress option is used the filelists need to be read twice. On
the second read nothing is read from the file because file has
already been read and the position is EOF. This patch calls seek(0)
on the filelist to reset the position to BOF so that subsequent
read() calls will return data.
* Added pylint ignore error in webdavbackend.py.
* Merged in lp:~bmerry/duplicity/pydrive-regular
- This implements the proposal made by somebody else
(http://lists.gnu.org/archive/html/duplicity-talk/2015-02/msg00037.html)
to allow the pydrive backend to work with a normal drive account instead
of a service account. It seems to be working for me: I was able to migrate
seamlessly from the gdocs backend. It's set up so that a service account
can still be used, depending on which environment variable is set.
The man page is updated to describe how to use the new functionality.
* Merged in lp:~ed.so/duplicity/gdocs.pydrive
- make pydrive new gdocs default backend
- keep gdata backend as gdata+gdocs://
* Merged in lp:~raymii/duplicity/fix-swiftbackend-max-10000-files-in-list
- Swiftclient by default returns at max 10000 files. By adding
full_listing=True we make sure all objects are returned.
Ref: https://lists.nongnu.org/archive/html/duplicity-talk/2015-05/msg00060.html
and http://docs.openstack.org/developer/python-swiftclient/swiftclient.html#swiftclient.client.get_container
* Fix a couple of PEP8 glitches.
* Fixed bug 791794 - description of --gpg-options is misleading, Simply
needed to add the '--' before the options as in "--opt1 --opt2=parm".
* Fixed bug 1465335 - pydrive still use files in trash can - with patch
from Kuang-che Wu to ignore trashed files.
* Fixed bug 1452263 - par2 option not working on small processors - with patch
from Kuang-che Wu to ignore default 30 second timeout.
* Fixed bug 1466160 - pydrive backend is slow to remove old backup set - with
patch from Kuang-che Wu to implement _delete_list().
* Fixed bug 1466582 - reduce unnecessary syscall with --exclude-if-present - with
patch from Kuang-che Wu to make sure resulting path is a directory.
* Merged in lp:~ed.so/duplicity/gpg.binary
- new parameter --gpg-binary allows user to point to a different gpg binary,
not necessarily in path
* Merged in lp:~aaron-whitehouse/duplicity/fix_POTFILES.in_and_run-tests
- Fixed two filename references in po/POTFILES.in, a mistake which crept in in
rev 1093 and caused testing/run-tests to fail with "IndexError: list index
out of range".
* Merged in lp:~aaron-whitehouse/duplicity/reactivate_progress_test
- Re-enable the test of the --progress option (test_exclude_filelist_progress_option),
which was marked as an expected failure. The issue causing this test to fail was
fixed in revision 1095 and the test now passes.
* Fixed bug 1471348 Multi back-end doesn't work with hubiC
- added init of appropriate superclass in both cases.
* Fixed bug 1471348 Multi back-end doesn't work with hubiC (again)
- hubiC should reach up to duplicity.backend.__init__
* Merged in lp:~aaron-whitehouse/duplicity/bug_884371
- Fixed Bug #884371 - Stopped an exclude glob trumping an earlier scan glob, but also
ensured that an exclude glob is not trumped by a later include. This fix is important,
as without it files that are specified to be included are not being backed up as expected.
- Fixed Bug #932482 - a trailing slash at the end of globs no longer prevents them working
as expected.
* Merged in lp:~aaron-whitehouse/duplicity/reenable_tests
- Re-enable unit.test_selection tests that had been temporarily commented out.
* Merged in lp:~aaron-whitehouse/duplicity/trailing_slash_match_dirs
- Made globs with trailing slashes only match directories, not files, fixing Bug #1479545.
* Merged in lp:~aaron-whitehouse/duplicity/improve_tox_and_python2-6_testing
- Testing improvements, particularly in relation to testing against Python version 2.6:
* tox.ini fixed so that it is possible to run individual tests against both Python 2.6 and 2.7;
* updated test_code.py to use unittest2 for Python versions < 2.7 (instead of failing);
* ./run-tests now correctly runs all tests against both Python 2.6 and 2.7; and
* improved testing directions in README-REPO.
* Merged in lp:~dag-stenstad/duplicity/swift_authversion_3_support
- Added support for Openstack Identity v3 in the Swift backend.
* Merged in lp:~aaron-whitehouse/duplicity/fix_2to3_issues
- Fixed 2to3 issues. Updated README-REPO with more test information. Updated pylint and
test_diff2 descriptions to make it clear these require packages to be installed on the
sytem to pass. All tests pass on Python 2.6 and Python 2.7 as at this revision.
New in v0.7.03 (2015/05/11)
---------------------------
* Merged in lp:~aaron-whitehouse/duplicity/filelist_combine
- Merged globbing and non-globbing filelists to use the same code path
and all accept globbing characters. Added deprecation warning to the
--exclude-globbing-filelist and include-globbing-filelist options in
commandline.py and hid them from help output. Updated the manual
(and unit tests) accordingly.
- Note that this does trigger a change in behaviour for duplicity.
Previously, include patterns in include-filelist did not match files
in a directory that was included, so /usr/local in an include file
would not have matched /usr/local/doc. Now, this folder would be
included, as would occur if --include or the old
--include-globbing-filelist was used. Additional lines will therefore
need to be added to filelists to unambiguously exclude unwanted
subfolders, if this is intended.
- Mark --include-filelist-stdin and --exclude-fielist-stdin for
deprecation and hide from --help output.
* Fix bug 1432999 with hint from Antoine Afalo.
- '/'s at end of destination cause problems with onedrivebackend.
* Fix bug 1434702 with help from Robin Nehls
- incorrect response BackendException while downloading signatures file.
* Fix bug 1437789 with patch from pdf
- par2backend.py incorrect syntax in get()
* Merge in lp:~stynor/duplicity/multi-backend
- A new backend that allows use of more than one backend stores (e.g. to
combine the available space from more than one cloud provider to make
a larger store available to duplicity).
* Move requirements section lower in manpage.
* Merge in lp:~cemsbr/duplicity/duplicity
- Fix bug 1432229 in Copy.com backend:
Reply header has no content-type for JSON detection. Now, we also check
whether the content starts with '{'.
* Fixed bug 1444404 with patch from Samu Nuutamo
- rdiffdir patch crashes if a regular file is changed to a non-regular
file (symlink, fifo, ...)
* Fixed bug 1448249 and bug 1449151 thanks to David Coppit.
- When patching, close base file before renaming
- Enable --ignore-errors flag in rdiffdir
* Added ability to get single file status from collection-status with
patch from jitao (bug 1044715), like so:
$ duplicity collection-status --file-changed c1 file://./foo
* Merge in lp:~sjakthol/duplicity/onedrive-error-message
- Add proper error message for OneDrive backend when python-requests or
python-requests-oauthlib is not installed (bug 1453355).
New in v0.7.02 (2015/03/10)
---------------------------
* Merged in lp:~vincegt/duplicity/swift_regionname
- Fixes bug #1376628
- Add mapping of SWIFT_REGIONNAME to select region inside SWIFT when a
provider proposes more than one region.
* Merged in lp:~aaron-whitehouse/duplicity/progress_option_error
- Added test_exclude_globbing_filelist_progress_option into
functional/test_selection.py, which shows the error reported in
Bug #1264744 - that the --exclude-globbing-filelist does not backup
the correct files if the --progress option is used. Test is marked as
an expected failure so as not to cause the test suite to fail.
* Merged in lp:~noizyland/duplicity/fix_azurebackend_container_names
- Azure Backend examples have underscores in the container names. These
are not valid Azure container names. The underscores have been replaced
with hypens and a note about valid container names added to the man page.
- Also corrects a problem where Azure Exceptions were returing unicode
strings that were not being handled correctly.
* Merged in lp:~user3942934/duplicity/pydrive
- Currently duplicity uses gdocs backend for Google Drive backups.
gdocs uses deprecated API and don't allow backups for managed Google
accounts. (see https://bugs.launchpad.net/duplicity/+bug/1315684)
- Added pydrive backend that solves both of those problems. Published
also on https://github.com/westerngateguard/duplicity-pydrive-backend.
* Fixed some tabs/spaces problems that were causing install failures.
* Fixed variable typo in commandline.py that was causing build fails.
* Merged in lp:~duplicity-team/duplicity/po-updates
* Remove 'gs' and 's3+http' from uses_netloc[]. Fixes Bug 1411803.
* Fixed bug # 1414418
- Aligned commandline.py options and help display contents.
- Aligned commandline.py options and manpage contents.
* Changed --s3_multipart_max_timeout to --s3-multipart-max-timeout to be
consistent with commandline option naming conventions.
* Applied patch from Adam Reichold to fix bug # 1413792.
* Merged in lp:~angusgr/duplicity/exclude-older-than
- Add "--exclude-older-than" commandline option, that allows you to only
back up files with a modification date newer than a particular threshold.
* Merged in lp:~aaron-whitehouse/duplicity/bug_884371_asterisks_in_includes
- Added tests to unit/test_selection.py and funtional/test_selection.py
to show the behaviour reported in Bug #884371, i.e. that selection is
incorrect when there is a * or ** on an include line of a filelist or
commandline --include.
* Merged in lp:~aaron-whitehouse/duplicity/bug_932482_trailing_slashes_and_wildcards_error
- Added functional and unit tests to show Bug #932482 - that selection does
not work correctly when excludes (in a filelist or in a commandline option)
contain both a single or double asterisk and a trailing slash.
* Misc fixes for the following PEP8 issues:
- E111, E121, E122, E124, E125, E126, E127, E128, E201, E202, E203,
E231, E241, E251, E261, E262, E271, E272, E301, E302, E303, E401,
E502, E701, E702, E703, E711, E721, W291, W292, W293, W391
- to run pep8 on duplicity use 'pep8 --ignore=E501'
- see http://pep8.readthedocs.org
* Fixes for 2to3 issues
* Fix spelling error in manpage, bug 1419314.
* Fix _librsyncmodule.c compilation, bug 1416344, thanks to Kari Hautio.
* Really fix bug 1416344 based on comment #5 by Roman Tereshonkov.
* Fix for --pydevd debug environment and location under Eclipse.
* Fix for bug where scp was actually working as scp and not working with
rsync.net because of using extraneous test command in restricted shell.
Was trying "test -d 'foo' || mkdir -p 'foo'", now only "mkdir -p foo".
* remove extraneous string format arg in previous scp fix.
New in v0.7.01 (2015/01/11)
---------------------------
Enhancements:
* Undid move of testing/test_code.py. Instead I fixed it
so that it would not run during PPA build. It now needs
the setting RUN_CODE_TESTS=1 in the environment which is
supplied in the tox.ini file.
* Moved testing/test_code.py to testing/manual/code_test.py
so PPA builds would succeed. Should be moved back later.
* Remove valid_extension() check from file_naming.py. It was
causing failed tests for short filenames. Thanks edso.
* Partial fix for PPA build failures, new backend name.
* Merged in lp:~ed.so/duplicity/fix.dpbx.import
- fix dpbx import error import lazily
* Merged in lp:~hooloovoo/duplicity/fix-typo-in-test-description
- Fixed spelling mistake/typo in a description of a test.
* Merged in lp:~mterry/duplicity/missing-unicode-escape
- Convert restore_dir to unicode before printing.
* Merged in lp:~ed.so/duplicity/lftp.ncftp.and.prefixes
- retire --ssh-backend, --use-scp parameters
- introduce scheme prefixes for alternative backend selection
e.g. ncftp+ftp://, see manpage
- scp is now selected via scheme e.g. scp://
- added lftp fish, webdav(s), sftp support
* Merged in lp:~mterry/duplicity/code-nits
- Fix some pylint/pep8 nits that prevented the test_code.py test from passing.
* Merged in lp:~mterry/duplicity/debian-dir
- Add a debian/ directory to make it easier to manage the PPAs for duplicity.
* In webdavbackend.py:
- Fixed bug 1396106 with change by Tim Ruffing, mispelled member.
- Added missing 'self.' before member in error message.
* Merged in lp:~adrien-delhorme/duplicity/hubic
- Add Hubic support through pyrax and a custom pyrax_identity module.
* Fixed bug 1385599 with changes by Yannick Molin. SSL settings are now
conditioned on protocol ftp or ftps.
* Partial fix of bug 1236248 with changes by az, manpage warning about
--extra-clean, however, recovery with missing sig files is broken.
* Fixed bug 1255453 with changes by Gaudenz Steinlin, report backend import
results, both normal and failed, at INFO log level.
* Manually merged in lp:~m4ktub/duplicity/0.6-reliability
- Per fix proposed in Bug #1395341.
* Modded .bzrignore to ignore *.egg test dependencies, normalized, sorted.
* Merged in lp:~ed.so/duplicity/paramiko.identyfile
- fix identity file parsing of --ssh-options for paramiko
- manpage fixes
* Source formatted, using PyDev, all source files to fix some easily fixed
PEP8 issues. Use ignore space when comparing against previous versions.
* Merge in lp:~andol/duplicity/signkeyformat
- Allow --sign-key to use short format, long format alt. full fingerprint.
* Merge in lp:~hooloovoo/duplicity/verify-not-check-source
- Tests to validate that duplicity does not check filesystem source during
verify unless --compare-data is specified
* Merge in lp:~ed.so/duplicity/move_netloc
- move netloc usage definitions into respective backends
- fix "[Question #259173]: rsync backend fails"
https://answers.launchpad.net/duplicity/+question/259173
* Make ssh an unsupported backend scheme
* Temporarily disable RsyncBackendTest and test_verify_changed_source_file
* Merge in lp:~hooloovoo/duplicity/test-verify-improvements
- Fix up test_verify, which was a bit of a mess:
- Simplify test_verify.py to just do a simple backup and verify on a
single file in each test.
- Modify tests to correctly use --compare-data option.
- Add tests for when the source files have atime/mtime manipulated.
* Fix duplicity verify to ignore the file system when globals.compare_data is
False. This means that verify only validates the viability of the backup
itself unless --compare-data is specified.
* Reenable test_verify_changed_source_file test
* Merged in lp:~hooloovoo/duplicity/add-additional-verify-tests-for-corrupted-archives
- Add tests to test_verify.py to test that verify fails if the archive
file is corrupted. Changed file objects to use the with keyword to ensure
that the file is properly closed.
- Small edit to find statement in verify_test.sh to make it work as
expected (enclose string in quotes).
* Merged in lp:~hooloovoo/duplicity/add-else-to-badupload-try-except
- Badupload test previously did not have an else in the try-except. The
test passed if the except was triggered, but would also pass if the
test did not trigger an error at all.
* Fixed bug 1406173 by applying patch supplied in report
- Ignore .par2 files in remote file list
* Removed redundant shell test testing/verify_test.sh
* Misc fixes for the following PEP8 issues:
- E211, E221, E222, E225, E226, E228
- see http://pep8.readthedocs.org
* Fixed bug 1278529 by applying patch supplied in report
- Use get_bucket() rather than lookup() on S3 to get proper error msg.
* Merged in lp:~stapelberg+ubuntu/duplicity/add-onedrive-backend
- Add a Microsoft OneDrive backend
* Merged in lp:~hooloovoo/duplicity/filelist_select_bug_1408411
- Adds functional test cases that fail because of Bug #1408411 (commented
out), to assist in fixing that bug.
* Merged in lp:~hooloovoo/duplicity/process_filelists_for_spaces_etc
- Process filelists to remove imperfections such as blank lines, comments
and leading/trailing whitespace. Also correctly processes quoted folders
containing spaces in their names. Extensive unit and functional tests to
test these changes (and selection more generally).
- The branch does add an additional folder to testfiles.tar.gz called
select2. This included a folder with a trailing space, to test the quote
test. The subfolders also have clearer names than in the "select" folder
(eg "1sub2sub3") which makes it easier to keep track of issues in tests.
* Merged in lp:~9-sa/duplicity/FixBug1408289
- Fix bug #1408289
- Wrong attribute name prevented raise of client exception, working now
* Merged in lp:~noizyland/duplicity/azurebackend
- Add backend for Azure Blob Storage Service
New in v0.7.00 (2014/10/23)
---------------------------
Enhancements:
* Adjust unit tests to expect single FTP backend
* Merged in lp:~moritzm/duplicity/duplicity
- Use lftp for both FTP and FTPS
* Merged in lp:~ed.so/duplicity/0.7-dpbx.importfix
- fix this showstopper with the dropbox backend
"NameError: global name 'rest' is not defined"
* Merged in lp:~jflaker/duplicity/BugFix1325215
- The reference to "--progress_rate" in the man page as a parameter is
incorrect. Should be "--progress-rate".
* Merged in lp:~hooloovoo/duplicity/updated-README-REPO
- Changes to README-REPO to reflect the restructuring of the directories.
* Fixed bug 1375304 with patch supplied by Aleksandar Ivanovic
* Merged in lp:~ed.so/duplicity/webdav200fix-0.7
- webdav backend fix "BackendException: Bad status code 200 reason OK. " when
restarting an interrupted backup and overwriting partially uploaded volumes.
* Merged in lp:~mterry/duplicity/require-2.6
- Require at least Python 2.6.
- Our code base already requires 2.6, because 2.6-isms have crept in. Usually
because we or a contributor didn't think to test with 2.4. And frankly,
I'm not even sure how to test with 2.4 on a modern system.
* Merged in lp:~mterry/duplicity/drop-pexpect
- Drop our local copy of pexpect in favor of a system version.
- It's only used by the pexpect ssh backend (and if you're opting into that,
you probably can expect that you will need pexpect) and the tests.
- I've done a quick smoketest (backed up and restored using
--ssh-backend=pexpect) and it seemed to work fine with a modern version
of pexpect.
* Merged in lp:~mterry/duplicity/2.6isms
- Here's a whole stack of minor syntax modernizations that will become
necessary in python3. They all work in python2.6.
- I've added a new test to keep us honest and prevent backsliding on these
modernizations. It runs 2to3 and will fail the test if 2to3 finds anything
that needs fixing (with a specific set of exceptions carved out).
- This branch has most of the easy 2to3 fixes, the ones with obvious and
safe syntax changes.
- We could just let 2to3 do them for us, but ideally we use 2to3 as little
as possible, since it doesn't always know how to solve a given problem.
I will propose a branch later that actually does use 2to3 to generate
python3 versions of duplicity if they are requested. But this is a first
step to clean up the code base.
* Merged in lp:~mterry/duplicity/drop-static
- Drop static.py.
- This is some of the oldest code in duplicity! A bzr blame says it is
unmodified (except for whitespace / comment changes) since revision 1.
- But it's not needed anymore. Not really even since we updated to python2.4,
which introduced the @staticmethod decorator. So this branch drops it and
its test file.
* Merged in lp:~mterry/duplicity/py3-map-filter
- In py3, map and filter return iterable objects, not lists. So in each case
we use them, I've either imported the future version or switched to a list
comprehension if we really wanted a list.
* Merged in lp:~mterry/duplicity/backend-unification
- Reorganize and simplify backend code. Specifically:
- Formalize the expected API between backends and duplicity. See the new
file duplicity/backends/README for the instructions I've given authors.
- Add some tests for our backend wrapper class as well as some tests for
individual backends. For several backends that have some commands do all
the heavy lifting (hsi, tahoe, ftp), I've added fake little mock commands
so that we can test them locally. This doesn't truly test our integration
with those commands, but at least lets us test the backend glue code.
- Removed a lot of duplicate and unused code which backends were using (or
not using). This branch drops 700 lines of code (~20%)
in duplicity/backends!
- Simplified expectations of backends. Our wrapper code now does all the
retrying, and all the exception handling. Backends can 'fire and forget'
trusting our wrappers to give the user a reasonable error message.
Obviously, backends can also add more details and make nicer error
messages. But they don't *have* to.
- Separate out the backend classes from our wrapper class. Now there is no
possibility of namespace collision. All our API methods use one
underscore. Anything else (zero or two underscores) are for the backend
class's use.
- Added the concept of a 'backend prefix' which is used by par2 and gio
backends to provide generic support for "schema+" in urls -- like par2+
or gio+. I've since marked the '--gio' flag as deprecated, in favor of
'gio+'. Now you can even nest such backends like
par2+gio+file://blah/blah.
- The switch to control which cloudfiles backend had a typo. I fixed this,
but I'm not sure I should have? If we haven't had complaints, maybe we
can just drop the old backend.
- I manually tested all the backends we have (except hsi and tahoe -- but
those are simple wrappers around commands and I did test those via mocks
per above). I also added a bunch more manual backend tests to
./testing/manual/backendtest.py, which can now be run like the above to
test all the files you have configured in config.py or you can pass it a
URL which it will use for testing (useful for backend authors).
* Merged in lp:~mterry/duplicity/py2.6.0
- Support python 2.6.0.
- Without this branch, we only support python >= 2.6.5 because that's when
python's urlparse.py module became its more modern incarnation. (I won't
get into the wisdom of them making such a change in the middle of the
2.6 lifecycle.)
- Also, the version of lockfile that I have (0.8) doesn't work with python
2.6.0 or 2.6.1 due to their implementation of
threading.current_thread().ident returning None unexpectedly. So this
branch tells lockfile not to worry about adding the current thread's
identifier to the lock filename (we don't need a separate lock per thread,
since our locking is per process).
- I've tested with 2.6.0 and 2.7.6 (both extremes of our current support).
* Update shebang line to python2 instead of python to avoid confusion.
* Merged in lp:~3v1n0/duplicity/copy.com-backend
- I've added a backend for Copy.com cloud storage, this supports all the
required operations and works as it should from my tests.
- You can use it by calling duplicity with something like:
copy://account@email.com:your-password@copy.com/duplicity
- The only thing I've concerns with is the optimized support for _delete_list
which can't be enabled here because the test_delete_list tries also to
delete a not-existing files, and it requires the backend not to raise an
exception in that case (is this somewhat wanted or could we do the same as
for _delete or _query?)
* Merged in lp:~ed.so/duplicity/webdav200fix-0.7
- webdav backend fix "BackendException: Bad status code 200 reason OK. " when
restarting an interrupted backup and overwriting partially uploaded volumes.
* Merged in lp:~mterry/duplicity/webdav-fixes
- This branch fixes two issues I saw when testing the webdav backend:
- 1) Errors like the following: "Attempt 1 failed. BackendException: File
/tmp/duplicity-LQ1a0i-tempdir/mktemp-u2aiyX-2 not found locally after get
from backend". These were caused by the _get() method not calling setdata()
on the local path object, so the rest of the code thought it didn't exist.
- 2) Some odd issues from stale responses/data. We have a couple places in
webdavbackend.py where we close the connection before making a request
because of this problem. But I've changed it to do it every time, more
reliably, by putting a _close() call inside the request() method.
- With this, the webdav backend seems fine to me.
* Merged in lp:~antmak/duplicity/0.7-par2-fix
- Useful fix for verbatim par2cmdline options (like "-t" in par2-tbb version)
* Fixed bug 1327550: OverflowError: signed integer is greater than maximum
- Major and minor device numbers are supposed to be one byte each. Someone
has crafted a special system image using OpenVZ where the major and minor
device numbers are much larger (ploop devices). We treat them as (0,0).
* Added sxbacked.py, Skylable backend. Waiting on man page updates.
* Merged in lp:~ed.so/duplicity/manpage.verify
- Clarify verify's functionality as wished for by a user surprised with a big
bandwidth bill from rackspace.
* Merged in lp:~jeffreydavidrogers/duplicity/duplicity
- This change fixes two small typos in the duplicity man page.
* Merged in lp:~johnleach/duplicity/1315437-swift-container-create
- Check to see if the swift container exists before trying to create it,
in case we don't have permissions to create containers. Fixes #1315437
* Merged in lp:~ed.so/duplicity/manpage.blocksize
- add --max_blocksize doc
- reorder 'a note on filename prefixes' into alphabetical order
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
Changes 0.6.26: Enhancements: * Merged in lp:~m4ktub/duplicity/0.6-reliability - Per fix proposed in Bug 1395341. * Modded .bzrignore to ignore *.egg test dependencies, normalized, sorted. * Backport fix for bug 1278529 - Use try/except around get_bucket() rather than bare lookup() * Backport _librsyncmodule.c compilation bug
Move duplicity and rdiff-backup to the newer net/librsync.
Update duplicity to 0.6.25.
Changes from previous:
New in v0.6.25 (2014/10/20)
---------------------------
Enhancements:
* Add deprecation warning for 0.6 series
* Merged in lp:~ed.so/duplicity/0.6-dpbx.importfix
- fix this showstopper with the dropbox backend
"NameError: global name 'rest' is not defined"
* Merged in lp:~jflaker/duplicity/BugFix1325215
- The reference to "--progress_rate" in the man page as a parameter is
incorrect. Should be "--progress-rate".
* Merged in lp:~hooloovoo/duplicity/updated-README-REPO
- Changes to README-REPO to reflect the restructuring of the directories.
* Fixed bug 1375304 with patch supplied by Aleksandar Ivanovic
* Merged in lp:~ed.so/duplicity/webdav200fix-0.6
- webdav backend fix "BackendException: Bad status code 200 reason OK. " when
restarting an interrupted backup and overwriting partially uploaded volumes.
* Merged in lp:~antmak/duplicity/0.6-par2-fix
- Useful fix for verbatim par2cmdline options (like "-t" in par2-tbb version)
* Merged in lp:~jon-haggblad/duplicity/ftps-fix
- Minor bugfix for ftps backend where lftp needs host prefixed by "ftps://".
* Fixed bug 1327550: OverflowError: signed integer is greater than maximum
- Major and minor device numbers are supposed to be one byte each. Someone
has crafted a special system image using OpenVZ where the major and minor
device numbers are much larger (ploop devices). We treat them as (0,0).
* Merged in lp:~jon-haggblad/duplicity/ftps-fix (2nd try)
- Minor bugfix for ftps backend where lftp needs host prefixed by "ftps://".
* Merged in lp:~johnleach/duplicity/1315437-swift-container-create
- Check to see if the swift container exists before trying to create it,
in case we don't have permissions to create containers. Fixes #1315437
Update duplicity to v0.6.24: - improved support for Amazon Glacier - removed support for Ubuntu One, which is closing shop - new locking mechanism to avoid concurrent execution with same cache - many other bugfixes and minor improvements. See CHANGELOG.
Mark packages that are not ready for python-3.3 also not ready for 3.4, until proven otherwise.
Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
update to 0.6.22 changes: -added Dropbox and Mega backends -added progress bar (backend specific) -misc fixes and improvements
update to 0.6.21 changes: -many fixes -new option: Generate encrypted backups without revealing the user's key id via option --hidden-encrypt-key -translation updates -cleanup, doc improvement pkgsrc changes: -added option to use gnupg2 -drop py-boto dependency -- if we had a dependency for each possible backend, it would be just too much. add a MESSAGE pointing to some options and information -minor cleanup
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Update to 0.6.19, based on patch by Steven Sartorius in PR 46903. New in v0.6.19 (2012/05/22) --------------------------- Enhancements: - lots of work on the man page to clean up requirements, etc. - use empty listbody for enhanced webdav compatibility - initial folder creation on backend does not result in a ResponseNotReady anymore - add ssh_config support (/etc/ssh/ssh_config + ~/.ssh/config) to paramiko sshbackend - add missing_host_key prompt to new sshbackend similar to ssh procedure - added --ssh-backend parameter to switch between paramiko,pexpect - allow answering gio mount questions (albeit naively) - if the gio backend wants to ask a question during its mount phase, it previously just aborted. - a couple more warning error codes that Deja Dup is interested in noticing. - ssh paramiko backend respects --num-retries now - set retry delay for ssh backends to 10s - ssh pexpect backend + sftp part does not claim 'Invalid SSH password' although it's only 'Permission denied' now + sftp errors are now more talkative - gpg.py + commented assert which broke otherwise working verify run Bugs closed in this release: 588541 Connection failed, please check your password: Login dialog cancelled Merges: lp:~ed.so/duplicity/0.6-manpage lp:~ed.so/duplicity/0.6-webdav_fixes lp:~carlos-abalde/duplicity/gdocs-backend-gdata-2.0.16.-upgrade. lp:~ed.so/duplicity/0.6-ssh_add_missinghostkey lp:~ed.so/duplicity/0.6-readd_sshpexpect New in v0.6.18 (2012/02/29) --------------------------- Enhancements: - fix extraneous '.py' in botobackend.py include - tests: add delay between backups to avoid assertion error - tests: use backup source that is more likely to be larger than 1M compressed - tests: make other-filesystem check more robust against certain directories being mounts or not - resuming an incremental results in a 'Restarting backup, but current encryption settings do not match original settings' error because curtime is incorrectly set away from previous incremental value - added option to not compress the backup, when no encryption is selected - always delay a little bit when a backend gives us errors - Don't cache TarInfo files. Tests still pass, so I don't believe we need the members cache (and in the old tarfile.py, we didn't cache either). - Adding --file-prefix option so different sets of backups can be stored in the same bucket. See blueprint at https://blueprints.launchpad.net/duplicity/+spec/file-prefix-option - two changes that help the test suite pass - raise log level on backend import failure so it will be visible under default conditions - file /etc/motd may not exist in test environment. Use __file__ instead to point to a known plaintext source file. - some code/import changes to make the ssh and boto backends compatible with Python 2.4. - some changes to make roottest.py compatible with the new dir structure. Bugs closed in this release: 884638 Python 2.5 / boto error 908228 possible memory leak 909031 SSH-Backend: Creating dirs separately causes a permissons-problems 916689 multipart upload fails on python 2.7.2 929465 UnsupportedBackendScheme: scheme not supported in url: scp://u123@u123.example.com/foo/ 930727 ftpsbackend should respect num_retries for ftp commands 931175 duplicity crashes when PYTHONOPTIMIZE is set Merges: lp:~mterry/duplicity/always-delay lp:~mterry/duplicity/memleak lp:~mterry/duplicity/nopexpect lp:~mterry/duplicity/resume-inc lp:~mterry/duplicity/testfixes lp:~nguyenqmai/duplicity/file-prefix-option lp:~tobias-genannt/duplicity/nocompress New in v0.6.17 (2011/11/25) --------------------------- Enhancements: - Added --rsync-options flag to allow user to pass options to rsync at will - Added --s3-use-multiprocessing to select the new s3 multiprocessing backend. Default is to use the single processing backend. A helper, filechunkio.py, requires Python 2.6+, so this option is not usable in earlier versions. Bugs closed in this release: 411145 Misleading error message: "Invalid SSH password" 871875 File ... was corrupted during upload. 878220 UnsupportedBackendScheme: scheme not supported in url: s3+http 878964 Resuming a backup with a different password should throw an error 881070 Bugfix for S3 multipart upload on 0.6.16 881727 duplicity 0.6.16 lists all backup sets as incomplete 885670 Duplicity fails to add incremental backups to chain... Merges: lp:~mterry/duplicity/check-passphrase-on-restart lp:~moss-d/duplicity/rsync-options
Bump PKGREVISION from default python to 2.7.
Update duplicity to 0.6.16. while here, * LICENSE=gnu-gpl-v2 * no need to buildlink with py-boto, simple DEPENDS is sufficient. * no need to depend on py-gnupg, this package contains own one. * fixes locale dir. * distutils package, register egg-info. New in v0.6.16 (2011/10/16)
recursive bump from gettext-lib shlib bump.
Update to duplicity-0.5.20:
New in v0.5.20 (2009/08/28)
---------------------------
Bugs fixed this release:
408059 Failure due to _logger.log failure for content with special
characters: TypeError decoding Unicode not supported
412667 "duplicity remove-older-than" asks for passphrase even though
not required
418170 [PATCH] file names longer then 512 symbols are not supported
New in v0.5.19 (2009/08/06)
---------------------------
Fixed problem where Cygwin was returning -1 for the
hard max open file limit.
On process that complete before waitpid(), log them
and return zero as the process return status.
Make sure 'invalid packet (ctb=14)' from gpg is not
a fatal error.
Copy changes from trunk for duplicity translation.
Allow handling of unicode filenames in log messages.
Ignore unicode() translation errors in log messsages.
Update to duplicity-0.5.18.
New in v0.5.18 (2009/05/20)
---------------------------
Added support for RackSpace's CloudFiles, cf+http.
Added support for Tahoe-LAFS
patch #6743: Tahoe backend for duplicity
Only half of this bug is fixed but it's still useful.
bug #21792: pipe call fails with an error OSError:
[Errno 24] Too many open files
Changed from using ulimit external command to
resource.getrlimit to check open files limit.
New in v0.5.17 (2009/05/04)
---------------------------
Removed one line of code left from some testing that I
did that caused a crash when the target dir was empty
and collection-status was requested.
Moved from using the df command to get temp space
availability to Python's os.statvfs() call. Not all
df commands work the same way.
patch #6813: Making changelist easy to read
patch #6814: Ignore comments in filelists
New in v0.5.16 (2009/04/21)
---------------------------
bug #24825: duplicity warn on insufficient TMPDIR
space availability and low max open
file limits pre-backup.
bug #25594: wrong backup statistics
bug #25976: Password requested when not needed.
patch #6806: More graceful handling of old
--short-filename files
Added tilde and variable expansion to the source or
target argument that is not a URL.
New in v0.5.15 (2009/04/09)
---------------------------
FTP backend was failing on PureFTPd when the "-x ''"
option was removed from the second ncftpls popen, a fix
that was implemented due to bug #24741. This fix does
the ls in one pass by extracting the last entry on the
'ls -l' listing.
If a file is unreadable due to access rights or other
non-fatal errors, put out error message and continue
rather than dying messily with a traceback.
Added tilde '~' expansion and variable expansion in the
options that require a filename. You can now have this
"--archive-dir=~/ArchDir/$SYSNAME" if you need it. No
expansion is applied to the source or target URL's.
Fixed problem I caused, again, where sys.exit() was
trapping instead of exiting. Added big note to not
to do that again.
New in v0.5.14 (2009/04/02)
---------------------------
After email voting among known duplicity contributors,
the decision was reached to revert to the GPL Version 2
license, so with their consensus, duplicity is now under
GPL Version 2.
Revert to calling NcFTP utilities (ls, get, put) directly
rather than scripting ncftp via pexpect by reverting to the
0.5.07 version of ftpbackend.py.
Changed fatal error regarding version 3.2.0 of ncftpput to
warning level since it has been reported that the problem
does not occur on most distributions.
Changed from log.Log with numbered log levels to log.Debug,
log.Info, log.Notice, log.Warn, log.FatalError.
The -vN option has not changed. Verbosity may also be one
of: character [ewnid], or word ['error', 'warning', 'notice',
'info', 'debug']. The default is 4 (Notice). The options
-v4, -vn, and -vnotice are functionally equivalent, as are
the mixed-case versions, -vN, -vNotice, -vNOTICE.
Normalized include statements and tried to insure that all
duplicity includes were from the duplicity module.
patch #6790: Add --exclude-if-present
New in v0.5.13 (2009/03/26)
---------------------------
Add more error detection to FTP backend.
Fix backends so sleep does not occur after last retry.
Fix so BackendException does not cause traceback except when
verbosity is at level 5 or higher (Info level).
Adjust log levels so some errors show up with default verbosity.
Fixed bug where an extra comma caused a traceback during a warning
about unnecessary sig files. Plus fixed print so the real filename
would show up and not a Python object representation.
Add Changelog.GNU to website and distribution to add a bit of detail
showing the CVS changes via rcs2log. Added dist/mkGNUChangelog.sh.
bug #22908: Don't block gpg-agent
To fix the above, --use-agent was added as a command line option.
When this is specified and asymetric encryption is enabled, then all
GnuPG passphrases will come from the gpg-agent or equivalent program
and no passphrase prompt will be issued.
bug #25787: Usernames with escaped @-sign are not handled properly
bug #25976: Password requested when not needed.
patch #6787: import duplicity.GnuPGInterface explicitly
New in v0.5.12 (2009/03/15)
---------------------------
bug #25838: Backup fails / ncftp - remote file already exists
With this fix we also get resume in ftp get/put. If a put or
get fails part of the way through, ncftp will resume on the
next retry.
bug #25853: duplicity fails with boto passwords coming from ~/.boto
patch #6773: Make user name optional in rsync backend
GPG errors will no longer cause tracebacks, but will produce a
log entry, from gpg, similar to the following:
===== Begin GnuPG log =====
gpg: BAD0BAD0: skipped: public key not found
gpg: [stdin]: encryption failed: public key not found
===== End GnuPG log =====
This will let the user know what really caused the GPG process
to fail, and what really caused errors like 'broken pipe'.
New in v0.5.11 (2009/03/08)
---------------------------
bug #25787: Usernames with @-sign are not handled properly
Bug #333057: GnuPGInterface prints exit statuses incorrectly
bug #25696: ncftp error w/0.5.09 -- nested target directories
bug #15664: When restoring backup: "OverflowError:
long int too large to convert to int"
patch #6761: More robust pexpect handling of SSH authentication
patch #6762: Wrong exit() used for 2.3/2.4 Python
Update to duplicity-0.5.10.
New in v0.5.10 (2009/03/01)
---------------------------
The default filename format has changed from W3 style to a long
numeric style, YYYYMMDDTHHMMSSZ, with no delimiters, thus is now
compatible with Windows/Samba filesystems. The time is UTC, not
local, so there will be no timezone or daylight savings time issues.
Duplicity still recognizes the old long filename format, and will
continue incremental backup chains if found. The old format is
still available via the --old-filenames option (pending deprecation).
Users of --short-filenames or --time-separator should stop using these
options on their next full backup. The new filenames are compatible
with your system.
The following options are pending deprecation and will be removed in a
future release:
--time-separator
--short-filenames
--old-filenames
bug #19988: Incompatibility to Samba/SMB share
bug #25097: Allow listing files from any time, not just current time
bug #25550: Error codes do not propagate from log to exit status
bug #25308: Signatures orphaned if from another time zone
Bug #229826: duplicity crashed with ValueError in port()
New in v0.5.09 (2009/02/17)
---------------------------
FTP is now driven with pexpect rather than NcFTP utilities.
This closes the following bugs (and solves other problems):
bug #24741: ncftpls -x '' causes failure on Yahoo FTP server
bug #23516: duplicity/ncftpget not closing unlinked files, ...
bug #25509: Logic error in imapbackend.py [IMAP_SERVER]
bug #25512: [Patch] Retry on Imap failure
bug #25530: commandline passwd not working
New in v0.5.08 (2009/02/02)
---------------------------
Turns out going backwards in the license is not as easy as
forwards. Restoring GPLv3 license until consensus reached.
New in v0.5.07 (2009/01/31)
---------------------------
bug #25293: IOError: [Errno 22] Invalid argument
bug #25379: sys.exit() causes traceback and should not
bug #25403: 0.5.06 "manifests not equal, different volume numbers"
patch #6729: New imap backend. Replaces current gmail backend
patch #6730: Fix timing out for SSH backend
patch #6733: Improve error handling in imapbackend.py
Increase default volume size (--volsize) to 25M from 5M. This
reduces the number of volumes to accomodate larger backups.
Reworked patch 6701 to list collection one at a time rather than
writing all as one huge list. Was causing memeory problems when
the collections got large.
Fix backendtest.py so that empty URL's in config.py cause the
backend test to be skipped rather than erroring. Added notes
in config.py.tmpl explaining the change.
Add/update copyright statements in all distribution source files
and revert duplicity to GPL version 2 license.
Original fix to disallow use of ncftpput 3.2.0 mistyped the ErrorCode
used and resulted in an error rather than an explanation.
New in v0.5.06 (2009/01/09)
---------------------------
Fix to deprecation warnings about sha and md5 modules.
Uses hashlib if available, otherwise original module.
Added loop to run-all-tests.sh to run all tests against all supported
versions of Python if available. Looks for 2.3, 2.4, 2.5, 2.6.
Noah Spurrier has given us permission to distribute pexpect.py along
with duplicity, so this will no longer be an install requirement.
NcFTP version 3.2.0 will not work with duplicity since we require the
use of both -f and -C options on ncftpput. 3.1.9, 3.2.1+ work fine.
I put in error checks for this situation in the FTP backend code.
bug #25230: --include-globbing-filelist only including first entry.
bug #25239: Error during clean, wrong case in duplcicity
patch #6709: Report correct number of volumes when restoring
sr #106583: document the need to use the --force option
New in v0.5.05 (2008/12/30)
---------------------------
bug #25194: Duplicity 5.04 requires python-distutils-extra...
New in v0.5.04 (2008/12/27)
---------------------------
patch #6678: Add progress metering
patch #6686: Add error codes for all fatal errors
bug #25090: Typos and trailing whitespace in duplicity manpage
bug #24889: NCFTP cannot deal with some FTP servers
patch #6692: Print collection status in a machine-readable way
patch #6693: Some FatalError's don't have codes still
patch #6694: Log exceptions
patch #6695: Log filenames
patch #6696: Consolidate get_delta_iter and get_delta_iter_w_sig
patch #6697: Always log at least one progress during dry run
patch #6700: Make duplicity translatable
patch #6701: Make current-list command machine-readable
patch #6702: handle unknown errnos in robust.py
GPG was throwing "gpg: [don't know]: invalid packet (ctb=14)" and apparently
this is non-fatal. There is a fix for this being rolled into GPG 2.x.
http://lists.gnupg.org/pipermail/gnupg-devel/2006-September/023180.html
Copied from collections.py. Fix supplied by Simon Blandford <simon@onepointltd.com>
New in v0.5.03 (2008/11/17)
---------------------------
bug #24731: Documentation error: "if... if" in remove-older-than paragraph
bug #24775: Digest Auth for WebDAV backend
patch #6676: Raw delta stats aren't right for multivolumes
patch #6675: Add modelines
patch #6674: Add --log-* options to man page
patch #6673: Add --dry-run option
patch #6672: makedist doesn't ship util.py
patch #6670: Machine Readable Output
patch #6662: improve s3 backend error reporting
patch #6652: improve asynch scheduler (including the synchronous case)
patch #6642: make ParsedUrl() thread-safe with respect to itself
patch #6638: correct typo in reporting lack of sufficiently new boto backend
sr #106496: put install-from-cvs-notes in CVS-README
sr #106534: GMail backups aren't stored in the correct location
New in v0.5.02 (2008/09/21)
---------------------------
- Add -h option for help
- Change gpg logging so that logs are always collected.
The log is printed in the case of gpg IO errors. Also,
verbosity level 5 or above (-v5) will print the logs.
patch #6297: Add IMAP/s/gmail support
bug #24260: backend.py missing re import
bug #24274: asyncscheduler.py missing sys import
New in v0.5.01 (2008/09/11)
---------------------------
bug #24234: Tabs Present In Source Files
bug #24223: WebDAV backend broken in 0.5.00
bug #24226: WebDAV Does Not Create Collection If Needed
New in v0.5.00 (2008/09/06)
---------------------------
Changes to unit tests:
- resolve circular imports after backend reorg
- resolve exception error import - now in errors.py
- remove need for temp2.tar to be in CVS repository
bug #23988: scp destination fails if no username is specified
bug #23985: --no-encryption option does not work in 0.4.12
patch #6623: slightly augment tempdir cleanup logging
patch #6596: re-organize backend module structure
patch #6589: S3 european bucket support
patch #6353: Concurrency for volume encryption and upload.
update to 0.4.12 changes: -minimize the number of password prompts -bugfixes
update to 0.4.11 changes: -restore a patch which got lost in 0.4.10, for S3 filestore -fix for ssh uris with given portnumbers
Update to duplicity-0.4.10. New in v0.4.10 (2008/03/27): bug #22728: FTP backend fails on empty directory patch #6374: Duplicity --tempdir patch documentation. patch #6375: Duplicity reports the epoch for a nonexistant last full backup date patch #6380: add additional named logging levels patch #6389: Possible Fix for pagefile.sys on Win32 systems patch #6403: Restore by overwriting files/directories by using --force option patch #6449: add additional debug level logging patch #6453: handle absolute urls in webdav backend
Update PYTHON_VERSIONS_COMPATIBLE - assume that Python 2.4 and 2.5 are compatible and allow checking for fallout. - remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+ default. Modify the others to deal with the removals.
Update to version 0.4.9. ChangeLog is extremely verbose; see
${WRKSRC}/CHANGES. With this update comes Amazon S3 support provided
by the newly imported net/py-boto package. This has not been tested yet,
however, as I do not have an S3 account. Please let me know if this update
has resulted in any untoward effects. Thanks.
Update "duplicity" package to version 0.4.3. Changes since version 0.4.2: Move get_password() to Backend class to standardize. - Fix problem with ftpBackend to create target directory if needed. Note: this creates only one level. - Dropped ssh-command and added ssh-options to allow users to add options to the scp and sftp commmands. - Removed use of tempfile.TemporaryFile(). This fixes the restore problem on Windows that was due to Python bug 1776696 reported on Sourceforge. - Fixed Debian Bug#437694: Make bzip2 compression optional. The default is not to do bzip2 compression. To use bzip2 add the following command line option: --gpg-options='--compress-algo=bzip2 --bzip2-compress-level=9' Note: do not add spaces in the string value. - Fixed bug 20764 - unable to use port in ssh backend. https://savannah.nongnu.org/bugs/?20764 - Remove ssh_command option, add ssh_options. This adds options to the scp and sftp commands that are used by the ssh backend. - Change ssh backend to send 'quit' instead of EOF when using sftp. This allows it to run under cron as long as the password is supplied non-interactively. - Change ssh backend to not pass :port part of URL to scp or sftp. We already supply -oPort=xx for port.
Update duplicity to 0.4.2. Patch provided by Martin Wilke via PR 34574. And also work with python24, so add 24 to PYTHON_VERSIONS_ACCEPTED.
Over 1200 files touched but no revisions bumped :) RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
Recursive revision bump / recommended bump for gettext ABI change.
Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in
http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Build Python with thread support by default and turn the existing python*-pth packages into meta-packages which will install the non-pth packages. Bump PKGREVISIONs on the non-pth versions to propagate the thread change, but leave the *-pth versions untouched to not affect existing installations. Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
Initial import of duplicity-0.4.1, an encrypting remote incremental backup utility
Initial revision