-
Notifications
You must be signed in to change notification settings - Fork 278
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
[RPM M1] Assemble artifacts based on distribution not file extension #1659
[RPM M1] Assemble artifacts based on distribution not file extension #1659
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1659 +/- ##
============================================
- Coverage 94.69% 94.46% -0.23%
Complexity 14 14
============================================
Files 163 165 +2
Lines 3447 3471 +24
Branches 21 21
============================================
+ Hits 3264 3279 +15
- Misses 180 189 +9
Partials 3 3
Continue to review full report at Codecov.
|
Signed-off-by: Peter Zhu <[email protected]>
8c40000
to
c3e2840
Compare
Signed-off-by: Peter Zhu <[email protected]>
@dblock need some help on the mypy error:
My test case is able to call the function and it exists in the code:
The reason I call If you have any experience on this or any advice, please let me know about it. Thanks. |
tests/tests_assemble_workflow/data/artifacts/dist/opensearch-1.3.0/opensearch.txt
Show resolved
Hide resolved
tests/tests_assemble_workflow/data/opensearch-dashboards-build-windows-1.3.0.yml
Show resolved
Hide resolved
@peternied do you have any experience on this situation? Thanks. Thanks. |
Signed-off-by: Peter Zhu <[email protected]>
tests/tests_assemble_workflow/data/artifacts/dist/opensearch-1.3.0/opensearch.txt
Show resolved
Hide resolved
What about making It is anti-pythonic to create private methods as there is a notion that call code can be seen / used, see this SO post for additional opinions. |
Will take a look on that, never thought about this aspect in Python. |
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.
LGTM! The comment above doesn't feel like a must have, but tests must pass to merge.
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: Peter Zhu [email protected]
Description
Hi,
This PR is to assemble artifacts based on distribution value in build manifest.
Instead of based on build workflow artifact file extension.
We will use distribution value in build manifest to assemble artifact.
This is the PR to follow up on #1629, as a pre-requisite to add RPM distribution extract/install/assemble.
Thanks.
Issues Resolved
Part of #1544
Check List
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.