Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pyfs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pyfs
Commits
cc5c9236
Commit
cc5c9236
authored
Jul 25, 2009
by
rfkelly0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding ChangeLog file
parent
32e8c355
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
39 deletions
+21
-39
ChangeLog
+20
-0
NOTES.txt
+0
-38
setup.py
+1
-1
No files found.
ChangeLog
0 → 100644
View file @
cc5c9236
0.2:
* New FS implementations:
* S3FS: access remote files stored in Amazon S3
* RPCFS: access remote files using a simple XML-RPC protocol
* SFTPFS: access remote files on a SFTP server
* WrapFS: filesystem that wraps an FS object and transparently
modifies its contents (think encryption, compression, ...)
* Ability to expose FS objects to the outside world:
* expose.fuse: expose an FS object using FUSE
* expose.xmlrpc: expose an FS object a simple XML-RPC protocol
* expose.sftp: expose an FS object SFTP
* expose.django_storage: convert FS object to Django Storage object
* fs.remote: utilities for implementing FS classes that interface
with a remote filesystem
* Extended attribute support (getxattr/setxattr/delxattr/listxattrs)
* Renamed "fs.helpers" to "fs.path", and renamed to contained functions
to match those offered by os.path
NOTES.txt
deleted
100644 → 0
View file @
32e8c355
Rename 'helpers' module to 'path' since it's basically an imitation of os.path.
Minify the contained functions:
- make normpath() do more e.g. collapse backrefs
- remove resolvepath() as it just confuses the issue
- resourcename() -> basename() in line with os.path notation
- remove isabsolutepath(), it wasn't used
Put error class definitions in separate submodule 'errors'
- less redundancy (e.g. no more `raise UnsupportedError("UNSUPPORTED")`)
- deeper exception heirachy (e.g. `ParentDirectoryMissingError`)
This is designed to allow me to be more optimistic; rather than checking all
preconditions before trying an action, I can just let it fail and branch on
the exception. Important for reducing the number of accesses to a remote FS.
Remove the notion of hidden files from the base FS class.
- has lead to several bugs with copying/moving directories
- it's not the filesystem's business to decide what files I want to see
- moved the logic into a separate wrapper class "HideDotFiles"
Remove xattr support from base FS class, making it a separate interface.
- has lead to several bugs with copying/moving files and directories
- now defined in fs.xattrs module
- SimulateXAttr wrapper class contains the same logic
- removexattr() -> delxattr() in line with python's get/set/del tradition
Operational changes to the base methods:
- don't require makedir() to support the "mode" argument, since this only
makes sense for OS-level files.
- when copy() is given an existing directory as destination, raise an error
rather than copying into the directory (explicit is better than implicit)
Split up the test definitions a little:
- use a separate FSTestCases mixin rather than subclassing TestOSFS
- path helpers testcases in their own module
- zipfs in its own module since it's different to all the others
- s3fs in its own module since it's very slow and costs money to test
setup.py
View file @
cc5c9236
#!/us
e
r/bin/env python
#!/usr/bin/env python
from
distutils.core
import
setup
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment