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

Ability to edit remotes #248

Open
JAP1st opened this issue Sep 8, 2019 · 2 comments
Open

Ability to edit remotes #248

JAP1st opened this issue Sep 8, 2019 · 2 comments

Comments

@JAP1st
Copy link

JAP1st commented Sep 8, 2019

Hi, it would be great to be able to edit existing remotes within the app itself or with some sort of internal command line. I would find this very useful when making minor modifications without needing to recreate the remote, or when updating the refresh token using oauth2.

There are currently some workarounds, such as having to delete and recreate a remote or having to import an already existing configuration file. However, the first method means more steps to the user and the second needs an extra installation on another device (which is probably the case for most users but perhaps not all, and it also poses errors for Box which does not allow to use the same token in two devices: https://rclone.org/box/#invalid-refresh-token).

Thanks for all the great work!

@x0b
Copy link
Contributor

x0b commented Sep 8, 2019

A bit of background: The underlying problem here is that rclone does not have a machine-usable config interface. This means that in addition to remote type specific config wizards we would also need remote type specific config edit options that set your options on the interactive rclone command line.

There has already been some discussion on how to improve rclone, but this is a non-trivial feature and it will probably be some time before it is ready.

I've also thought about providing power users with an internal command line, but again, this would need some degree of terminal emulation and is non trivial.

Now, onto the specific problem: Box' behavior of invalidating tokens on multiple devices makes this problem worse, but we need a general solution. The current idea is to add a menu option to (re)authorize remotes. This should work for your issue, right?

@JAP1st
Copy link
Author

JAP1st commented Sep 16, 2019

Hi, thanks a lot for the explanation. Yes, a menu option to reauthorise remotes would be great. Thank you!

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

No branches or pull requests

2 participants