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

Generate spec file for RPM packages #241

Open
UebelAndre opened this issue Sep 29, 2020 · 3 comments
Open

Generate spec file for RPM packages #241

UebelAndre opened this issue Sep 29, 2020 · 3 comments
Assignees
Labels
P3 An issue that we are not working on but will review quarterly

Comments

@UebelAndre
Copy link

This is a feature request for pkg_rpm to have a similar set of attributes to pkg_deb such that the spec file can be generated within the rule. Having this would make it easier to maintain releases and enable users to define a single source of truth for package information without having to write a bunch of genrule magic.

@nacl
Copy link
Collaborator

nacl commented Sep 29, 2020

We've been working on something like this for a while. See the rules in https://github.com/bazelbuild/rules_pkg/tree/main/pkg/experimental. They function more or less correctly, but the interfaces are not yet stable.

This task is ongoing; please feel free to chime in with any questions, comments, or ideas :)

See also #128, #129.

@UebelAndre
Copy link
Author

That's perfect, thank! Any idea when the interface will stabilize?

@nacl
Copy link
Collaborator

nacl commented Oct 1, 2020

We should have a better idea soon, but if I were to make a guess now, I'd say late this year or early next year.

FWIW, the experimental rules are very usable right now, but we've found some potential ways to refine them that can make specifying large packages much easier. We're going to be discussing them and hope to implement them soon. One such option is #238.

@aiuto aiuto added the P3 An issue that we are not working on but will review quarterly label Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 An issue that we are not working on but will review quarterly
Projects
None yet
Development

No branches or pull requests

3 participants