lp:~aaron-whitehouse/duplicity/08-merge-glob-parsers
Move to using a single code path for glob strings whether or not these contain special characters/
Note that a few test cases were changed in this patch, i.e. behaviour of the code has changed. In my view these changes were corrections, where the selection function was returning the incorrect value (e.g. an include, rather than a scan).
- Get this branch:
- bzr branch lp:~aaron-whitehouse/duplicity/08-merge-glob-parsers
Branch merges
- duplicity-team: Pending requested
-
Diff: 431 lines (+159/-135)6 files modifiedduplicity/globmatch.py (+13/-2)
duplicity/selection.py (+7/-66)
testing/functional/test_selection.py (+31/-0)
testing/run-tests-ve (+0/-23)
testing/unit/test_globmatch.py (+39/-23)
testing/unit/test_selection.py (+69/-21)
Branch information
Recent revisions
- 1177. By Aaron Whitehouse
-
Remove time from run-tests, in case this causes any issues (e.g. cross platform support).
- 1175. By Aaron Whitehouse
-
* Removed unused non-globbing code (_glob_
get_filename_ sf and _glob_get_ tuple_sf) .
* Made run-tests time test runs.
* Removed run-tests-ve, which was identical to run-tests. - 1174. By Aaron Whitehouse
-
Move to using single (globing, glob_get_normal_sf) function for glob strings with and without globbing characters. No performance impact.
- 1173. By Aaron Whitehouse
-
* Make globs of "/" work with globbing code.
* Make globs of "/" match everything. - 1172. By Aaron Whitehouse
-
Made _glob_get_
filename_ sf and _glob_get_tuple_sf internal functions to ensure no unit tests depend on them directly. - 1171. By Kenneth Loafman
-
* 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/integratio n_checklist. html - 1169. By Kenneth Loafman
-
* Fixed bug #1655268 "--gpg-binary option not working"
- If gpg binary is specified rebuild gpg profile using new binary location - 1168. By Kenneth Loafman
-
* Merged in lp:~aaron-whitehouse/duplicity/0-8-merge_selection_tests
- Merge in TestExcludeIfPresent from 0.7-series, which tests the behaviour of
duplicity's --exclude-if-present option.
- Move and rename TestTrailingSlash2 test (was duplicate name) as in 0.7-series.
- Fix PEP error on adbackend.py.
- Add jottalib as a tox dep to fix pylint error.
- Remove unnecessary skipUnless Linux as per 0.7-series.
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.8-series