Skip to content

Better handling the metadata#3642

Merged
1 commit merged intoAzure:mainfrom
sima-zhu:fix_metadata_string
Jul 13, 2022
Merged

Better handling the metadata#3642
1 commit merged intoAzure:mainfrom
sima-zhu:fix_metadata_string

Conversation

@sima-zhu
Copy link
Contributor

The PR is to have better handling of metadata string. It does not break anything existence. Also no affect on Java PR except the RepositoryLink rename

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

Set-Content -Path $readmePath -Value "$metadataString$readmeContent" -NoNewline
return
$restContent = $readmeContent
$metadata = ""
Copy link
Member

Choose a reason for hiding this comment

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

Just be sure that your help method correctly handles metadata if it is empty.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here is the code to handle empty case:
image

Will test it as well.

@ghost
Copy link

ghost commented Jul 13, 2022

Hello @azure-sdk!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 65a8304 into Azure:main Jul 13, 2022
@sima-zhu sima-zhu deleted the fix_metadata_string branch July 13, 2022 22:08
This pull request was closed.
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.

3 participants