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

Document Dynamic BuildRequires feature #1359

Open
praiskup opened this issue Apr 12, 2024 · 3 comments
Open

Document Dynamic BuildRequires feature #1359

praiskup opened this issue Apr 12, 2024 · 3 comments
Labels
documentation Wiki, manual page or other documentation fix

Comments

@praiskup
Copy link
Member

This is a pretty complicated feature, and we should document peculiarities, like the one in https://rpm-software-management.github.io/mock/Release-Notes-5.3

The other thing worth documenting is that the output from %generate_buildrequires needs to provide stable output eventually, after doing the N installation iteration steps, no matter N value (may be zero for a cached buildroot).

The #1352 tries to achieve a good goal; WRT %generate_buildrequires -> it seems we could provide guidance that it is not a good idea to modify %prep output (source directory) by %generate_buildrequires. Or expect that such changes are not reverted before the %build starts.

@praiskup praiskup added the documentation Wiki, manual page or other documentation fix label Apr 12, 2024
@github-project-automation github-project-automation bot moved this to Needs triage in CPT Kanban Apr 12, 2024
@praiskup praiskup changed the title Document DynamicBuidlrequires feature Document Dynamic BuildRequires feature Apr 15, 2024
@FrostyX FrostyX moved this from Needs triage to In 3 months in CPT Kanban Apr 17, 2024
@praiskup
Copy link
Member Author

While reporting rpm-software-management/rpm#3120, I noticed there's a good RPM buildprocess documentation now. We should mention it somewhere.

@praiskup
Copy link
Member Author

See also discussion in: rpm-software-management/rpm#3091

@praiskup
Copy link
Member Author

One of the formal facts of the current implementation/optimization: %prep output is never affected by the processing of %generate_buildrequires (thanks @kdudka for the point).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Wiki, manual page or other documentation fix
Projects
None yet
Development

No branches or pull requests

1 participant