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

gdrive support #833

Merged
merged 2 commits into from
Dec 9, 2019
Merged

gdrive support #833

merged 2 commits into from
Dec 9, 2019

Conversation

maxhora
Copy link
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.

Copy link
Member

@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
Contributor Author

maxhora commented Dec 5, 2019

@shcheklein @efiop updated, thanks!

Copy link
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
Member

@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
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
Member

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
Member

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
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
Contributor

Choose a reason for hiding this comment

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

Addressed in d9ab97f

@shcheklein
Copy link
Member

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

@maxhora
Copy link
Contributor Author

maxhora commented Dec 8, 2019

@shcheklein hopefully, no others blocking things

@shcheklein shcheklein merged commit 310bbdf into iterative:master Dec 9, 2019
@shcheklein
Copy link
Member

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

@jorgeorpinel
Copy link
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