-
Notifications
You must be signed in to change notification settings - Fork 394
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
gdrive: add gdrive_user_credentials_file description #1192
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions and questions
`.dvc/tmp/gdrive-user-credentials.json` and they will be used automatically next | ||
time you run DVC. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`.dvc/tmp/gdrive-user-credentials.json` and they will be used automatically next | |
time you run DVC. | |
`.dvc/tmp/gdrive-user-credentials.json` by default, and they will be loaded | |
automatically next time you use the same GDrive remote. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not exactly true, they can be used for multiple remotes if you don't specify an option gdrive_user_credentials_file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. But "run DVC" doesn't sound exact either. How about
`.dvc/tmp/gdrive-user-credentials.json` and they will be used automatically next | |
time you run DVC. | |
`.dvc/tmp/gdrive-user-credentials.json` by default, and they will be loaded | |
automatically next time you use this or other GDrive remotes. |
Maybe even continue this paragraph with the explanation about how to overwrite it, instead of a separate paragraph that repeats the file name.
Co-Authored-By: Jorge Orpinel <[email protected]>
If you use multiple GDrive remotes, by default they will be sharing the same | ||
`.dvc/tmp/gdrive-user-credentials.json` credentials file. It can be overridden |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we don't need to repeat the file name since it's mentioned in in the previous paragraph (before the warning).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just thing the part around the credentials file name and how to overwrite it could be merged into a single paragraph or something like that to avoid repetition and going back and forth on the same idea.
Corresponding core DVC PR iterative/dvc#3686
❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.
🐛 Please make sure to mention
Fix #issue
(if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.Please chose to allow us to edit your branch when creating the PR.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏