Skip to content

[Storage] improving documentation#16945

Merged
seankane-msft merged 24 commits intoAzure:mohsha-msft/fix-listing-metadata-parsingfrom
seankane-msft:blob-docs
Feb 8, 2022
Merged

[Storage] improving documentation#16945
seankane-msft merged 24 commits intoAzure:mohsha-msft/fix-listing-metadata-parsingfrom
seankane-msft:blob-docs

Conversation

@seankane-msft
Copy link
Contributor

Improving documentation for pkg.go.dev viewers

@seankane-msft seankane-msft self-assigned this Jan 31, 2022
@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Jan 31, 2022
@seankane-msft seankane-msft marked this pull request as draft January 31, 2022 16:21
@kimprice
Copy link
Contributor

kimprice commented Feb 4, 2022

In general, throughout the examples some comments were removed without a replacement. A lot of them were cases like the comments for setting the account information, which may seem redundant/unnecessary after a while, but if people are only looking at one example at a time, it's probably best to just keep them. Are there reasons we would want to remove some comments completely or is it more likely an oversight?

seankane-msft and others added 3 commits February 4, 2022 11:19
Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>
Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>
Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>
seankane-msft and others added 2 commits February 4, 2022 11:22
Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>
Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>
@seankane-msft
Copy link
Contributor Author

In general, throughout the examples some comments were removed without a replacement. A lot of them were cases like the comments for setting the account information, which may seem redundant/unnecessary after a while, but if people are only looking at one example at a time, it's probably best to just keep them. Are there reasons we would want to remove some comments completely or is it more likely an oversight?

@kimprice my goal was to remove excess comments from code on portions that I thought were obvious. I think that's a conversation we should take offline to discuss what knowledge we expect doc readers to already have and which is same to assume they have.

seankane-msft and others added 4 commits February 4, 2022 17:11
Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>
Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>
@seankane-msft seankane-msft changed the base branch from main to mohsha-msft/fix-listing-metadata-parsing February 7, 2022 16:39
@seankane-msft seankane-msft marked this pull request as ready for review February 7, 2022 16:59
@check-enforcer
Copy link

check-enforcer bot commented Feb 7, 2022

This pull request is protected by Check Enforcer.

What is Check Enforcer?

Check Enforcer helps ensure all pull requests are covered by at least one check-run (typically an Azure Pipeline). When all check-runs associated with this pull request pass then Check Enforcer itself will pass.

Why am I getting this message?

You are getting this message because Check Enforcer did not detect any check-runs being associated with this pull request within five minutes. This may indicate that your pull request is not covered by any pipelines and so Check Enforcer is correctly blocking the pull request being merged.

What should I do now?

If the check-enforcer check-run is not passing and all other check-runs associated with this PR are passing (excluding license-cla) then you could try telling Check Enforcer to evaluate your pull request again. You can do this by adding a comment to this pull request as follows:
/check-enforcer evaluate
Typically evaulation only takes a few seconds. If you know that your pull request is not covered by a pipeline and this is expected you can override Check Enforcer using the following command:
/check-enforcer override
Note that using the override command triggers alerts so that follow-up investigations can occur (PRs still need to be approved as normal).

What if I am onboarding a new service?

Often, new services do not have validation pipelines associated with them. In order to bootstrap pipelines for a new service, please perform following steps:

For track 2 SDKs Issue the following command as a pull request comment:

/azp run prepare-pipelines
This will run a pipeline that analyzes the source tree and creates the pipelines necessary to build and validate your pull request. Once the pipeline has been created you can trigger the pipeline using the following comment:
/azp run go - [service] - ci

@seankane-msft
Copy link
Contributor Author

/check-enforcer reset

@seankane-msft seankane-msft merged commit ff89d0a into Azure:mohsha-msft/fix-listing-metadata-parsing Feb 8, 2022
@seankane-msft seankane-msft deleted the blob-docs branch February 8, 2022 19:51
mohsha-msft added a commit that referenced this pull request Feb 9, 2022
* Manual fixes in generated models to adapt azcore 0.21

* Fix SAS Creation + other issue (#16901)

* Fix SAS Creation + other issue

* Added README.md + Fix comment

* Removed Specification File.

* Updated CHANGELOG

* Regenerated Recordings + Ran Live Tests (#16990)

* [Storage] convert options to take pointer (#16978)

* convert to nil

* changelog entry

* adding a comment about nil, changing o to options for better clarity

* Bumped up AzCore to the latest version

* azblob: fix ListBlob to preserve prefix while paging (#16992)

* [Storage] improving documentation (#16945)

* improving documentation

* updating changelog

* ctx -> context.TODO(), simplifying comments

* updating a few more examples

* improving docs further

* Update sdk/storage/azblob/zt_examples_test.go

Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>

* Update sdk/storage/azblob/zt_examples_test.go

Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>

* Update sdk/storage/azblob/zt_examples_test.go

Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>

* Update sdk/storage/azblob/zt_examples_test.go

Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>

* Update sdk/storage/azblob/zt_examples_test.go

Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>

* finished doc updates

* Background -> TODO

* valid container name

* updating readme

* Update sdk/storage/azblob/README.md

Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>

* Update sdk/storage/azblob/README.md

Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>

* removing todos

* more comments and additions

* set env vars with bash

* Azure Storage Blob -> Azure Blob Storage

* Update CHANGELOG.md

* forcing a change

Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>

* Added Release Date in CHANGELOG.

Co-authored-by: Sean Kane <68240067+seankane-msft@users.noreply.github.com>
Co-authored-by: Philip Dubé <serprex@users.noreply.github.com>
Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants