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

Couple of changes to cmd.js #600

Closed
wants to merge 12 commits into from
Closed

Couple of changes to cmd.js #600

wants to merge 12 commits into from

Conversation

@zcecc22
Copy link

zcecc22 commented Feb 6, 2016

Commits documented and signed off. Ready to discuss as needed.

Vincent Frentzel added 12 commits Feb 6, 2016
Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
- Removed peer overview unless --verbose passed.
- Redraw interval increased to 2s.

Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
- Use of 6881 as default value.
- Alias -c defined..

Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
Vincent Frentzel
Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
Vincent Frentzel
Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
Vincent Frentzel
Style.
Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
Vincent Frentzel
Style.
Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
Vincent Frentzel
Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
@feross

This comment has been minimized.

Copy link
Member

feross commented Feb 7, 2016

I'm curious why you need the --exit option. The auto-closing behavior seems to work fine for me. What's your use case?

'{green:Blocked peers:} {bold:' + torrent.numBlockedPeers + '} ' +
'{green:Hotswaps:} {bold:' + hotswaps + '}'
)

This comment has been minimized.

Copy link
@feross

feross Feb 7, 2016

Member

This is pretty advanced information. Why do you want to show it to all users?

@zcecc22

This comment has been minimized.

Copy link
Author

zcecc22 commented Feb 7, 2016

Seeding the torrent when done downloading.

So far the only work around Ive found was to relaunch with seed instead of
download which is not efficient on several gb torrents (long rehash).

Is'nt it best practice to keep sharing by default?

BR,
V

On Sun, 7 Feb 2016 at 21:35, Feross Aboukhadijeh notifications@github.com
wrote:

I'm curious why you need the --exit option? The auto-closing behavior
seems to work fine for me. What's your use case?


Reply to this email directly or view it on GitHub
#600 (comment).

@feross

This comment has been minimized.

Copy link
Member

feross commented Feb 7, 2016

Yeah, you make a good point. My concern is that lots of folks use the command line to fetch files and then do other things with them. Example:

webtorrent magnet_uri --stdout | some-other-program

We can make it so that --stdout implies --exit.

In the future, please send separate PRs for each change you want to make so they can be discussed and merged individually.

@feross

This comment has been minimized.

Copy link
Member

feross commented Feb 7, 2016

I like this PR, except for the changes you made to the UI. Can you remove those? It doesn't make sense to me to hide the detailed peer info under --verbose when we're already clearing the entire terminal and taking up the whole terminal buffer.

In another PR/issue, I'm open to making a more minimalist download UI similar to the npm3 one:

And we can hide the current one behind --verbose.

Sound good?

@zcecc22

This comment has been minimized.

Copy link
Author

zcecc22 commented Feb 7, 2016

Sounds good.

I ll open new PRs for the port and exit including the implicit for stdout.

Feel free to drop this one.

Cheers,
V
On Sun, 7 Feb 2016 at 21:51, Feross Aboukhadijeh notifications@github.com
wrote:

I like this PR, except for the changes you made to the UI. Can you remove
those? It doesn't make sense to me to hide the detailed peer info under
--verbose when we're already clearing the entire terminal and taking up
the whole terminal buffer.

In another PR/issue, I'm open to making a more minimalist download UI
similar to the npm3 one:

https://camo.githubusercontent.com/4bf12754e72cf475c5e00a864744ffeaf6c06c19/687474703a2f2f69312d6e6577732e736f667470656469612d7374617469632e636f6d2f696d616765732f6e657773322f6e706d2d332d302d626574612d69732d6f75742d616464732d70726f67726573732d626172732d746f2d7468652d7061636b6167652d696e7374616c6c6174696f6e2d73637265656e2d3438353437342d332e6a7067

And we can hide the current one behind --verbose.

Sound good?


Reply to this email directly or view it on GitHub
#600 (comment).

@feross

This comment has been minimized.

Copy link
Member

feross commented Feb 7, 2016

Thanks for opening new PRs. That's really awesome of you. I'll look for those.

@feross feross closed this Feb 7, 2016
@lock

This comment has been minimized.

Copy link

lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.