-
Notifications
You must be signed in to change notification settings - Fork 2
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
add dpaste plugin #170
add dpaste plugin #170
Conversation
➜ .oh-my-fish git:(rominf-dpaste) dpaste
➜ .oh-my-fish git:(rominf-dpaste) dpaste --help
➜ .oh-my-fish git:(rominf-dpaste) Nothing being printed. Something I'm doing wrong? |
Well, I forgot to add |
My sed does not have
|
|
Writing with standard POSIX regexes is painful as hell (consider: Thank you, @terlar for providing unit testing framework! |
Tests are great! I'll take a look at fish-tank. Why not use |
Well, there is no reason to use |
It hangs forever when |
Do tests work? |
I still need to test this. |
Sorry that I took so long! I really enjoy this plugin.
|
Something I noticed is that there is no completion when you do a |
I wanted to make this plugin user-friendly (in terms of arguments processing). But then I realized that it's harder work than in python, for example, because of lack of argument parsing framework. I will wait until fish-shell/fish-shell#478 will be closed. |
Test script used relative path to the cwd. I fixed it (see last commit). |
Good. Now it's freezing on "# Running: ". I'll try to understand it. Okay, I had to do the following changes to execute the tests: https://dpaste.de/GMzY |
Due scoping I don't know why running Try this version. |
Did you install the latest version of fish-tank BTW? |
For me the tests are passing on If you want to see how to use the test-framework I suggest looking into |
@rominf where are we on this PR? |
@bpinto |
Is this the correct output now?
|
|
Well, I don't understand the meaning of this line (on my PC there is no such line):
Everything else looks good. |
Can you try my tests again? I've included system tests. I believe they check most of aspects of this plugin. Enable detailed output and then run my tests:
|
That is possibly an issue with my fish tank version. Would you like to rebase so we can get it merged? |
What system are you running? Linux, BSD or OSX? This is definately something with the Everything is okay, it is only the run time that is missing because of this issue. |
You can merge it, @bpinto. Now |
@bpinto Thank you! |
Just a dpaste (https://github.com/bartTC/dpaste) wrapper