Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NF: command "get" #54

Merged
merged 22 commits into from
Mar 15, 2015
Merged

NF: command "get" #54

merged 22 commits into from
Mar 15, 2015

Conversation

bpoldrack
Copy link
Member

Actual command is present.
Globbing is supported, anything else only if the shell itself expands it, for now.
More tests are needed, but this is a matter of creating fancy testrepos from my point of view and therefore not a topic of this PR.


pathlist = ''
for path in paths:
pathlist += ' ' + path
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and that is where I thought to raise an issue of ... files with spaces in the names. You could extend on of the test repos for testing it or just generate using @with_tree

and above loop is identical to pathlist = ' '.join(paths) but once again we might need at least to guard for spaces... and may be some other interesting characters since it is possible to ahve files with ' or " in the filenames... testcase could help to iron out working use of wrapping etc

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 4d79e57 on bpoldrack:nf-cmd-get into * on datalad:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 8b2cf8a on bpoldrack:nf-cmd-get into * on datalad:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling c35d0ae on bpoldrack:nf-cmd-get into * on datalad:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling fdd513a on bpoldrack:nf-cmd-get into * on datalad:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 22ddc59 on bpoldrack:nf-cmd-get into * on datalad:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling f27ef01 on bpoldrack:nf-cmd-get into * on datalad:master*.

@bpoldrack bpoldrack changed the title WIP: NF: command "get" NF: command "get" Mar 11, 2015
@yarikoptic yarikoptic merged commit f27ef01 into datalad:master Mar 15, 2015
@bpoldrack bpoldrack deleted the nf-cmd-get branch September 2, 2020 10:20
yarikoptic added a commit that referenced this pull request May 3, 2021
Remove unnecessary word.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants