-
Notifications
You must be signed in to change notification settings - Fork 277
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
Release notes automation #4196
Release notes automation #4196
Conversation
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Add markdown parser 'mistune' in Pipfile Python script generates 'release-notes availability' table and URL file for verification Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Add custom heading mapping Fix code format Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
- Handle empty headings - Support multiple formats - Fix naming of 'Opensearch.job Scheduler' Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Reviewed in officehour, suggest @SachinSahu431 to sort the repos based on repo name before adding entries. Thanks. |
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Resolve merge conflict Code cleanup Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Signed-off-by: Sachin Sahu <75629410+SachinSahu431@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @SachinSahu431 for the initial draft, ping @gaiksaya for the co-review of this PR.
Two questions:
- Could you only update new package in pipfile.lock instead of touching others? I remember able to do that in the past but I dont recall the commands I use. Just to make sure we are not upgrading the existing stable versions of other packages.
- You have a lot of .md and .txt in the automation dir, are they needed or just for testing purposes?
- Considering adding some sample commands and descriptions to README file within the new dir you created, see build_workflow for example but this can be done later.
- Can this be part of the existing
release_notes_workflow
dir?
Thanks.
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Directory Restructure Fix Type Checker errors Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
@peterzhuamazon Thank you for the review!
Thanks again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @SachinSahu431 . This will definitely save us a lot of manual effort.
Added some nits and questions. Few suggestions:
- Please replace all print statements with
logging.info
as best practice. - Remove all temp / test files
- Fix test cases and add new ones for new methods.
Please feel free to convert this PR ready for review when you are ready. Looks like tests needs to be fixed and also some comments need to be addressed. |
Add 'results' to gitignore Fix nits Add manifest file for tests Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #4196 +/- ##
==========================================
- Coverage 93.17% 91.24% -1.94%
==========================================
Files 188 188
Lines 5920 6063 +143
==========================================
+ Hits 5516 5532 +16
- Misses 404 531 +127 ☔ View full report in Codecov by Sentry. |
Hi @gaiksaya! I have added tests for the new |
Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
@gaiksaya @peterzhuamazon Can we move ahead with this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like code coverage as commented on the lines missing the test cases. Is it possible for you to add those?
If not, you can take that up as a follow up PR.
@@ -37,3 +37,4 @@ out.txt | |||
vars/ | |||
|
|||
test-report.yml | |||
src/release_notes_workflow/results/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gaiksaya Yes, this is to ignore the folder containing temporary release notes created by script.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can work on missing test cases in a new PR.
Hey @SachinSahu431 Looks like a bug is introduced by this PR #4549 Thanks! |
Description
Python script to automate the process of collecting all plugins' components release notes and creating a consolidated release note.
Issues Resolved
Closes #4009
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.