-
Notifications
You must be signed in to change notification settings - Fork 179
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
Provide more examples for pkg_rpm() #823
Conversation
This will help us be a bit more organized as we add a few more RPM-based examples for rules_pkg.
One we moved this into a subdirectory it was broke because of how it uses rules_pkg as a local repository.
The latter seems to be more the norm, so renaming for consistency and visibility.
This adds a bit more detail the description of the `prebuilt_rpmbuild` example so that someone can understand it a bit more.
This example is essentially the same as the prebuilt_rpmbuild example except that it uses find_system_rpmbuild() to register the local version of `rpmbuild` as the toolchain to use.
This is very similar to the non-bzlmod version except we've replaced the WORKSPACE file with a MODULE.bazel file.
This example uses pkg_rpm() to generate the full rpm in lieu of using a standalone specfile.
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.
This looks good to me. I noticed that CI is failing on Windows. @aiuto is that a flaky test?
i wlll look when i get back from vacation
…On Sat, Feb 24, 2024 at 11:32 AM Chuck Grindel ***@***.***> wrote:
***@***.**** approved this pull request.
This looks good to me. I noticed that CI is failing on Windows. @aiuto
<https://github.com/aiuto> is that a flaky test?
—
Reply to this email directly, view it on GitHub
<#823 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC22ZWLBKMSTA5YBFDTPRODYVIBYRAVCNFSM6AAAAABDWAXBAGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQOJZGUYTSMRWGI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Looks like the failure was in pulling the repo, which I assume to be unrelated to my changes. |
Thanks. |
This PR does three things:
pkg_rpm()
with no specfile