lp:~antmak/duplicity/0.6-par2-fix
- Get this branch:
- bzr branch lp:~antmak/duplicity/0.6-par2-fix
Branch merges
- duplicity-team: Pending requested
-
Diff: 69 lines (+15/-4)3 files modifiedduplicity/backends/~par2wrapperbackend.py (+8/-3)
duplicity/commandline.py (+4/-1)
duplicity/globals.py (+3/-0)
Recent revisions
- 980. By Kenneth Loafman
-
* Applied expat fix from edso. See answer #12 in
https://answers. launchpad. net/duplicity/ +question/ 248020 - 976. By Michael Terry
-
* Merged in lp:~mterry/duplicity/encode-exceptions
- Because exceptions often contain file paths, they have the same problem
with Python 2.x's implicit decoding using the 'ascii' encoding that we've
experienced before. So I added a new util.uexc() method that uses the
util.ufn() method to convert an exception to a unicode string and used it
around the place.
- Bugs fixed: 1289288, 1311176, 1313966
* Backported from trunk r982 - 975. By Michael Terry
-
* Fixed bug #1312328 WebDAV backend can't understand 200 OK response to DELETE
- Allow both 200 and 204 as valid response to delete
* Backported from trunk r979 - 974. By Michael Terry
-
* Merged in lp:~mterry/duplicity/more-test-reorg
- Here's another test reorganization / modernization branch. It does the
following things:
- Drop duplicity/misc.py. It is confusing to have both misc.py and util.py
and most of the code in misc.py was no longer used. I moved the one
function that was still used into util.py.
- Consolidated the various ways to run tests into just one. I made tox run
go through ./setup.py test, rather than nosetests. And I made the
./testing/ run-tests scripts just call tox. Now we no longer need nosetes
as a test dependency (although you can still use it if you want).
- Added two more code quality automated tests: a pep8 one and a pylint one
I disabled almost all checks in each program that gave a warning. These
tests just establish a baseline for future improvement.
- Moved the test helper code into TestCase subclasses that all tests can
use. And used more code sharing and setUp/tearDown cleverness to remove
duplicated code.
- Reorganized the tests in ./testing/tests into ./testing/functional and
./testing/ unit -- for whether they drive duplicity as a subprocess or
whether they import and test code directly. Each dir can have specialize
TestCase subclasses now.
- Renamed the files in ./testing/unit to more clearly indicate which file
in ./duplicity they are unit testing.
- Added some helper methods for tests to set environment and globals.*
parameters more safely (i.e. without affecting other tests) by
automatically cleaning up any such changes during test tearDown.
- Removed test_unicode.py, since it is kind of dumb. It used to be more
useful, but now with py2.6, we are just testing that one line of code
in it is actually there.
* Backported from trunk r978
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~duplicity-team/duplicity/0.7-series