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

Add support for generating lockfiles to rpmtree #80

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kellyma2
Copy link

This change introduces the necessary bits for producing lockfiles using rpmtree in lieu of having to hand craft them. It also tweaks the rpmtree() invocation in the BUILD file so that it correctly points at the lockfile derived repos.

This change introduces generation of the lockfile from the rpmtree
command.

Following the previous patterns with the other bazel files, this adds
some helper methods to bazel.go and creates a handler object to wrap
this up for rpmtree.

Worth noting is that to make this work we also have to tweak AddTree()
to take the configuration name because the generated repos are
different when using the lockfile.

This change leaves the MODULE.bazel configuration up to the user as
there may be some additional configuration for bazeldnf that is beyond
the scope of what rpmtree is doing and we don't want to interfere with
that.
@kellyma2
Copy link
Author

@rmohr are you able to take a look at this?

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.

1 participant