Skip to content

[Storage] az storage blob upload: make --name optional#3886

Open
calvinhzy wants to merge 5 commits into
Azure:mainfrom
calvinhzy:storage-blob-upload-without-name
Open

[Storage] az storage blob upload: make --name optional#3886
calvinhzy wants to merge 5 commits into
Azure:mainfrom
calvinhzy:storage-blob-upload-without-name

Conversation

@calvinhzy

Copy link
Copy Markdown
Member

Description

Previously, the --name parameter is required even when the file path has been passed. For customers' convenience, it can be optional. This PR is to match #19553 in the main repo.

Testing Guide

Previously -n is required
az storage blob upload -f {file-path} -c {container-name} -n {blob-name}
Now the name would be inferred from the file-path
az storage blob upload -f {file-path} -c {container-name}


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

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

@calvinhzy calvinhzy requested a review from Juliehzl as a code owner September 14, 2021 04:23
@calvinhzy calvinhzy self-assigned this Sep 14, 2021
@calvinhzy calvinhzy requested a review from evelyn-ys September 14, 2021 04:25
@yonzhan

yonzhan commented Sep 14, 2021

Copy link
Copy Markdown
Collaborator

Storage

@yonzhan yonzhan added this to the Sep 2021 (2021-10-05) milestone Sep 14, 2021
@calvinhzy calvinhzy changed the title [Storage] az storage blob upload: make --name optional [Storage] az storage blob upload: make --name optional Sep 16, 2021
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