Skip to content

gdrive support#833

Merged
shcheklein merged 2 commits into
treeverse:masterfrom
maxhora:gdrive-remote
Dec 9, 2019
Merged

gdrive support#833
shcheklein merged 2 commits into
treeverse:masterfrom
maxhora:gdrive-remote

Conversation

@maxhora
Copy link
Copy Markdown
Contributor

@maxhora maxhora commented Dec 4, 2019

Fix #381

  • List of supported remotes is extended with Google Drive (gdrive).
  • Step by step guide to create and configure Google Project to access user's Google Drive.
  • Description of client id and client secret config options for gdrive remote.

Comment thread static/docs/command-reference/remote/add.md Outdated
Comment thread static/docs/user-guide/contributing/core.md Outdated
Comment thread static/docs/command-reference/remote/add.md Outdated
Copy link
Copy Markdown
Contributor

@shcheklein shcheklein left a comment

Choose a reason for hiding this comment

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

Looks awesome, @Maxris ! Please, check some comments to address.

@maxhora
Copy link
Copy Markdown
Contributor Author

maxhora commented Dec 5, 2019

@shcheklein @efiop updated, thanks!

Copy link
Copy Markdown
Contributor

@efiop efiop left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@shcheklein shcheklein left a comment

Choose a reason for hiding this comment

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

Looks good to me! Pending @jorgeorpinel 's review before we merge.

Comment on lines +256 to +257
❗Do not share Google Drive access token with anyone to avoid unauthorized usage
of your Google Drive.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Continuation of #833 (review)

But is it DVC's responsibility to alert about G Drive security? If not, maybe just a note (md quote starting with >) will suffice after all @shcheklein?

Regardless, please use this text:

Please remember that Google Drive access tokens are personal credentials and should not be shared with anyone, otherwise risking unauthorized usage of the Google Drive.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think it's good to have this for GD - it not a common knowledge with all these tokens involved into GD.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

quotes with > are not visible. they defeat the purpose to some extent for notes like this. I'm fine with > though. I don't like when we mix > with some Note! or something -they look not very clean to me.

But tbh - I'm fine with all of these option. Jorge, I think we'll let you decide on this :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree notes with > are not visible and perhaps we shouldn't mix with bold "Note!". That's kind of contradictory! Opened #848 for this.

in this case though, while I like having the note, I do see it as a side-note that could be completely omitted and not something that DVC can really control. So for that reason and since we don't really have emojis ATM, I'm going to take it back to a > note...

Should we open an issue to apply some basic emoji symbols throughout with some consistency though? This could be a nice improvement to our docs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Addressed in d9ab97f

Comment thread pages/features.js
Comment thread src/Diagram/index.js
Comment thread static/docs/command-reference/remote/modify.md
Comment thread static/docs/understanding-dvc/core-features.md
Comment thread static/docs/user-guide/contributing/core.md
@shcheklein
Copy link
Copy Markdown
Contributor

@jorgeorpinel @Maxris hey guys, besides the consistency in order point is there anything else that is blocking this from merging?

@maxhora
Copy link
Copy Markdown
Contributor Author

maxhora commented Dec 8, 2019

@shcheklein hopefully, no others blocking things

@shcheklein shcheklein merged commit 310bbdf into treeverse:master Dec 9, 2019
@shcheklein
Copy link
Copy Markdown
Contributor

@jorgeorpinel have merged this, let's address the order consistency (a minor issue anyways) as a separate ticket.

@jorgeorpinel
Copy link
Copy Markdown
Contributor

Yeah thanks, I was a little out of pocket last week. I'll just address the small details myself in a quick PR. Soon

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.

Google Drive remote documentation

4 participants