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

[storage-preview] Azcopy- release blob delete/upload/download commands #587

Merged
merged 14 commits into from
Mar 21, 2019

Conversation

williexu
Copy link
Contributor

@williexu williexu commented Mar 20, 2019


  • also fixes bug with static checking python script

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Have you run ./scripts/ci/test_static.sh locally? (pip install pylint flake8 required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

@williexu williexu requested a review from limingu March 21, 2019 00:14
@williexu williexu merged commit 3ae5ed1 into Azure:master Mar 21, 2019
# with self.argument_context('storage azcopy blob sync') as c:
# c.argument('destination', options_list=['--destination', '-d'],
# validator=validate_azcopy_container_destination_url)
# c.argument('source', options_list=['--source', '-s'])
Copy link
Member

Choose a reason for hiding this comment

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

Why these are commented out? Not ready or not working?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because of: Azure/azure-storage-azcopy#255. When azcopy releases again, we can re-test and add the functionality if it is in a good state.


# def storage_blob_download_batch(cmd, client, source, destination):
# azcopy = _azcopy_blob_client(cmd, client)
# azcopy.copy(_add_url_sas(source, azcopy.creds.sas_token), destination, flags=['--recursive'])
Copy link
Member

Choose a reason for hiding this comment

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

These comments out are because they are not working as well?

alexeldeib pushed a commit to alexeldeib/azure-cli-extensions that referenced this pull request Mar 26, 2019
Azure#587)

* added azcopy and call

* abstract azcopy from operating system

* implemented basic upload batch for non oauth flow

* initial oauth wiring

new executables with app id refresh token fix

add upload command

* add run-command, and cleaned up upload and download code

* finished logic for up/downloads and run-command

* add 10.0.8 files

* simplified upload/download and added delete

* small fixes and testing

* pylint

* fixed test

* flake8

* fix bug with python script

* add examples for new commands
ShreyaAnand pushed a commit to ShreyaAnand/azure-cli-extensions that referenced this pull request Dec 31, 2024
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.

2 participants