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

Avocado should validate readme tag follow yyyy-mm-dd format. #92

Open
ruowan opened this issue Nov 15, 2022 · 0 comments
Open

Avocado should validate readme tag follow yyyy-mm-dd format. #92

ruowan opened this issue Nov 15, 2022 · 0 comments
Assignees

Comments

@ruowan
Copy link
Member

ruowan commented Nov 15, 2022

The severity should be warning. There is Microsoft API guideline rule. The api-version should follow this format. So we also need to validate readme tag to make sure the tag follow this format.

For example, https://github.com/Azure/azure-rest-api-specs/edit/main/specification/cognitiveservices/data-plane/Language/readme.md

For this readme, we should both validate the tag title and tag value.

The tag value of this readme is
[
'release_2022_10_01_preview',
'release_2022_07_01_preview',
'release_2022_05_15_preview',
'release_2022_05_01',
'release_2022_03_01_preview',
'release_2022_02_01_preview',
'release_2021_11_01_preview',
'release_2021_10_01',
'release_2021_07_15_preview',
'release_2021_05_01_preview'
]

Which is following our expected. should be like package-2022-10-01-preview

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

No branches or pull requests

3 participants