Code Monkey home page Code Monkey logo

dantalian's People

Contributors

darkfeline avatar pakharev avatar yzhs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dantalian's Issues

Library init fails

When attempting to perform dantalian init myLib the init fails with the following (note the ^ indicator is positioned under the = sign):

Traceback (most recent call last):
File "/usr/local/bin/dantalian", line 6, in
from dantalian import commands
File "/usr/local/lib/python2.7/dist-packages/dantalian/commands.py", line 11, in
from dantalian import library
File "/usr/local/lib/python2.7/dist-packages/dantalian/library.py", line 8, in
from dantalian import mount
File "/usr/local/lib/python2.7/dist-packages/dantalian/mount.py", line 24, in
from dantalian import tree
File "/usr/local/lib/python2.7/dist-packages/dantalian/tree.py", line 81
class BorderNode(FSNode, metaclass=abc.ABCMeta):
^
SyntaxError: invalid syntax

Feature: Nested tags in Fuse mounted directory

Hi,

A thing that would be great to enhance the fuse-mounted fs would be to have nested tags to simulate AND requests.

For instance, if we have these files with these tags:

file1: tag1 tag2 tag3
file2: tag3
file3: tag1 tag3

The directory would look something like that:

tag1
-tag2
--file1
-tag3
--file1
--file3
-file1
-file3
tag2
-tag1
--file 1
-tag 3
--file 1
-file1
...

That would greatly enhance the usage of the mounted directory

What do you think ?

Cannot mount directory

Hi,

I've tried your tool and I failed to mount the FUSE directory:

$ dantalian mount mnt

Traceback (most recent call last):
File "/home/wichtounet/.virtualenvs/dantalian/bin/dantalian", line 5, in
pkg_resources.run_script('dantalian==0.5', 'dantalian')
File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/pkg_resources.py", line 534, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/pkg_resources.py", line 1441, in run_script
exec(script_code, namespace, namespace)
File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/dantalian-0.5-py3.3.egg/EGG-INFO/scripts/dantalian", line 23, in
File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/dantalian-0.5-py3.3.egg/dantalian/commands.py", line 196, in mount
File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/dantalian-0.5-py3.3.egg/dantalian/library.py", line 577, in maketree
File "/home/wichtounet/.virtualenvs/dantalian/lib/python3.3/site-packages/dantalian-0.5-py3.3.egg/dantalian/tree.py", line 218, in init
TypeError: 'str' object is not callable

I am missing something ?

Thanks

Links in readme

in README.md, findutils links to the fuse home page and fuse links to the findutils page.

dantalian in more than one file system

As you mention in your excellent documentation and I can state it, one of the requirements is "Everything under the root directory must be on one file system".

Could you give me any clue on where to start hacking the code to be able to have dantalian working on more than one file system? In which module or function? Is it due to limitations of FUSE or GNU findutils?

Thanks!

Trailing slash makes assertion fail

I just noticed this bug in 0.4.1, however looking at the code it should also occur in the current master: When dantalian tag sometag/ somefile is called the assertion

assert path == os.path.abspath(path)

in tagpath fails as os.path.abspath(path) strips the trailing slash. I noticed this as bash adds the trailing slash by default when using tab completion. I think simply changing the line to

assert path.rstrip('/') == os.path.abspath(path)

should work without breaking anything.

Isn't there a "mount" option on the last release?

As title says.

I do enjoy the elegant solution of using hard links, but I noticed that on the last available release there's no "mount" fuse option as I've seen referred in previous releases. That's really sad, considering that one cannot make effective usage of the tags structure if its not possible to use the relations among them ( (tagA AND tagB) OR tagC, or whatever).

Is there any chance to at least make this feature available in this release, so that the tool becomes usable, even if the project is discontinued?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.