GoogleCloudPlatform / storage-signedurls-python

An example Python script that uses PyCrypto and requests to demonstrate using signed URLs
Apache License 2.0
59 stars 21 forks source link

Move to python-docs-samples #9

Open theacodes opened 8 years ago

theacodes commented 8 years ago

Is there any reason why this shouldn't be consolidated into GoogleCloudPlatform/python-docs-samples?

jterrace commented 8 years ago

Sure, I don't see why not.

theacodes commented 8 years ago

Do you happen to know where this sample is used in the docs?

jterrace commented 8 years ago

It's not used in the docs.

theacodes commented 8 years ago

Hmm, what is it used for?

jterrace commented 8 years ago

It's just an example for customers to see how to generate signed URLs.

theacodes commented 8 years ago

Gotcha. So, gcloud-python can now do this for you. Do we still need this repo or can we move it to googlearchive?

jterrace commented 8 years ago

The purpose of the demo is to show how to generate the URLs programmatically, not as a tool for generating them on the command line. I don't think the code in gcloud is easily extractable and re-usable.

theacodes commented 8 years ago

gcloud-python is the client library for Google Cloud APIs, not the command line tool (though I completely understand the confusion).

jterrace commented 8 years ago

Ah, I see. In that case, I think we can archive this repo. However, we should make sure a generate_signed_url example is in our docs.

theacodes commented 8 years ago

Fair enough. I'll make a doc issue for that and I'll deprecate this once that's done.