Commit Graph

1840 Commits

Author SHA1 Message Date
Mitch Bigelow 5ceb67195c fix incorrect _ns variables 2016-03-31 23:56:54 +02:00
Thomas Waldmann cfe664db58 update CHANGES 2016-03-31 22:17:23 +02:00
Mitch Bigelow 6260648266 file stats are packed with 'int_to_bigint' in the archive. Unpack these before passing to llfuse 2016-03-31 22:13:01 +02:00
Thomas Waldmann a051593bfe do not sleep for >60s while waiting for lock, fixes #773 2016-03-31 22:00:00 +02:00
TW 9404718a10 Merge pull request #754 from ThomasWaldmann/0.xx-maint
fix silently ignoring I/O errors
2016-03-16 02:27:46 +01:00
Thomas Waldmann f4e6c72c47 update CHANGES 2016-03-16 02:24:57 +01:00
Marian Beermann 4bc27690af Possible fix to silently skipping EIO and the like? #748 2016-03-16 01:43:30 +01:00
TW f1b4b52173 Merge pull request #647 from ThomasWaldmann/0.xx-maint
0.xx maint
2016-02-08 00:52:50 +01:00
Thomas Waldmann cd6044e85c update CHANGES, prepare 0.30.1 release 2016-02-08 00:39:12 +01:00
TW d6450a6ae8 Merge pull request #646 from ThomasWaldmann/0.xx-maint
require msgpack==0.4.6 - no python 3.2 support in 0.4.7+
2016-02-08 00:17:56 +01:00
Thomas Waldmann ba82a3dc00 update CHANGES 2016-02-08 00:15:48 +01:00
Thomas Waldmann a23f8b8860 Cache: fix exception handling in __init__, release lock, fixes #610 2016-02-07 23:51:10 +01:00
Thomas Waldmann 7204925880 allow llfuse version 0.41.x, fixes #642 2016-02-07 23:38:10 +01:00
Thomas Waldmann 6a1e7328de all FUSE related version requirements in 1 place 2016-02-07 23:38:10 +01:00
Thomas Waldmann b7b18b66be document and automate llfuse requirement 2016-02-07 23:38:10 +01:00
Thomas Waldmann a9f2f65154 require msgpack==0.4.6 - no python 3.2 support in 0.4.7+ 2016-02-07 23:29:54 +01:00
Thomas Waldmann 7e5d30f41a seeking to an invalid position is an IOError in python 3.2
python >= 3.3 raises OSError in this case.
2016-02-01 16:10:42 +01:00
Thomas Waldmann 12c7ef1329 Vagrantfile: avoid pkg-config missing error msg on netbsd 2016-01-23 23:06:05 +01:00
Thomas Waldmann 9ea79d738e add chunks.archive.d trick to FAQ 2016-01-23 22:57:26 +01:00
Thomas Waldmann 74a9e8d52d Vagrantfile: remove python 3.2, use older pip/venv for trusty
pyenv installs latest virtualenv/pip that is not compatible with py 3.2 any more

I did a local python 3.2 tox run - it works.
2016-01-23 22:38:29 +01:00
Thomas Waldmann f4561e813f update CHANGES 2016-01-23 21:43:24 +01:00
Thomas Waldmann dee1d462cc ran setup.py build_usage 2016-01-23 20:54:20 +01:00
Thomas Waldmann 162d94b2e4 ran setup.py build_api 2016-01-23 20:52:04 +01:00
Thomas Waldmann e2f5983eef finer repo check progress indicator
a step size of 5% was way too much, now doing 0.1%
2016-01-23 20:00:03 +01:00
Thomas Waldmann 541bbd4a5b add --list requirement hint 2016-01-23 15:21:38 +01:00
TW f27cbd8c91 Merge pull request #589 from hansmi/chg30
Update changes for shell-style pattern support
2016-01-23 14:19:51 +01:00
Michael Hanselmann 14934dab08 Update changes for shell-style pattern support 2016-01-23 11:05:17 +01:00
Thomas Waldmann a237c1fb53 add virtualenv<14.0 to requirements so tox does not pull in a py32 incompatible one 2016-01-22 23:12:08 +01:00
Thomas Waldmann 69c8edc4e3 require virtualenv<14.0 so we get a py32 compatible pip 2016-01-22 22:14:41 +01:00
TW bceaf71f4b Merge pull request #587 from anarcat/netbsd
add netbsd install instructions
2016-01-22 21:59:33 +01:00
Antoine Beaupré da7bc4af94 add netbsd install instructions 2016-01-22 14:35:53 -05:00
TW 068c68b24c Merge pull request #584 from hansmi/shell-pattern
Add shell-style pattern syntax
2016-01-22 20:14:37 +01:00
TW 297ce6d40a Merge pull request #586 from ThomasWaldmann/fix-rh-docs
add gcc gcc-c++ to redhat/fedora/corora install docs, fixes #583
2016-01-22 14:04:36 +01:00
Thomas Waldmann 92969ea5f1 add gcc gcc-c++ to redhat/fedora/corora install docs 2016-01-22 14:03:48 +01:00
Michael Hanselmann c7fb598ab9 Add shell-style pattern syntax
The fnmatch module in Python's standard library implements a pattern
format for paths which is similar to shell patterns. However, “*”
matches any character including path separators. This newly introduced
pattern syntax with the selector “sh” no longer matches the path
separator with “*”. Instead “**/” can be used to match zero or more
directory levels.
2016-01-21 16:07:24 +01:00
Michael Hanselmann 382b79212b Reformat pattern syntax descriptions as definition list
There are already three different styles and a fourth will be added.
A definition list is easier to navigate when trying to find the
description of a specific style.
2016-01-21 14:24:32 +01:00
TW 2703c6482f Merge pull request #579 from ThomasWaldmann/update-changes
update CHANGES
2016-01-20 20:50:55 +01:00
Thomas Waldmann 854215b7dd mention pp: in CHANGES 2016-01-20 01:00:35 +01:00
TW 3496fc4665 Merge pull request #577 from Profpatsch/master
Fix upgrade without ~/attic/keys existing.
2016-01-20 00:52:30 +01:00
Profpatsch cf0262c8b4 Fix upgrade without ~/attic/keys existing.
fixes #576
2016-01-19 11:29:18 +01:00
Thomas Waldmann 2dde49f0d4 update CHANGES 2016-01-19 01:02:14 +01:00
TW 1e1812c261 Merge pull request #575 from hansmi/extract-pattern-support
Extract pattern support
2016-01-18 23:07:22 +01:00
Michael Hanselmann dad0ba9661 Remove old-style pattern handling functions
Remove the “adjust_pattern” and “exclude_path” functions and replace
them with the recently introduced pattern matcher class.
2016-01-18 21:26:08 +01:00
Michael Hanselmann ceae4a9fa8 Support patterns on extraction, fixes #361
This change implements the functionality requested in issue #361:
extracting files with a given extension. It does so by permitting
patterns to be used instead plain prefix paths. The pattern styles
supported are the same as for exclusions.
2016-01-18 21:26:08 +01:00
Michael Hanselmann 848375e2fe Add and document path prefix as pattern style
The “extract” command supports extracting all files underneath a given
set of prefix paths. The forthcoming support for extracting files using
a pattern (i.e. only files ending in “.zip”) requires the introduction
of path prefixes as a third pattern style, making it also available for
exclusions.
2016-01-18 21:26:08 +01:00
Michael Hanselmann b6362b5963 Flexible default pattern style
A function to parse pattern specifications was introduced in commit
2bafece. Since then it had a hardcoded default style of “fm”, meaning
fnmatch. With the forthcoming support for extracting files using
patterns this default style must be more flexible.
2016-01-18 20:59:09 +01:00
Michael Hanselmann 1fa4d2e516 Use constants for pattern style prefixes
The prefix used for pattern styles should be kept together with the
respective style implementation.
2016-01-18 20:59:08 +01:00
Michael Hanselmann 190107ada7 Replace use of “exclude_path” in tests
The newly added pattern matcher class can replace the “exclude_path”
function. The latter is going to be removed in a later change.
2016-01-18 20:59:08 +01:00
Michael Hanselmann 9747755131 Add pattern matcher wrapper
The utility functions “adjust_patterns” and “exclude_path” produce
respectively use a standard list object containing pattern objects.
With the forthcoming introduction of patterns for filtering files
to be extracted it's better to move the logic of these classes into
a single class.

The wrapper allows adding any number of patterns to an internal list
together with a value to be returned if a match function finds that
one of the patterns matches. A fallback value is returned otherwise.
2016-01-18 20:59:08 +01:00
Michael Hanselmann c1feb4b532 Simplify pattern tests
- Stop using “adjust_pattern” and “exclude_path” as they're utility
  functions not relevant to testing pattern classes
- Cover a few more cases, especially with more than one path separator
  and relative paths
- At least one dedicated test function for each pattern style as opposed
  to a single, big test mixing styles
- Use positive instead of negative matching (i.e. the expected list of
  resulting items is a list of items matching a pattern)
2016-01-18 20:47:22 +01:00