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

builderv2: do package init-cache automatically #9515

Open
marmarek opened this issue Oct 17, 2024 · 1 comment
Open

builderv2: do package init-cache automatically #9515

marmarek opened this issue Oct 17, 2024 · 1 comment
Labels
C: builder Qubes Builder P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.

Comments

@marmarek
Copy link
Member

How to file a helpful issue

The problem you're addressing (if any)

Normally builder creates the whole build env from scratch each time. Twice for a given package ("prep" and "build" stages). That takes time.

The solution you'd like

Automatically do init-cache stage if cache isn't there already. Skip the automatic init-cache, if it's created already. Do not skip it, if user explicitly requested to re-create the cache. The re-creating can require extra option, but the message about skipping init-cache should include info how to force re-create.

The value to a user, and who that user might be

Faster build times.

Completion criteria checklist

(This section is for developer use only. Please do not modify it.)

@marmarek marmarek added T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. C: builder Qubes Builder P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. labels Oct 17, 2024
@marmarek
Copy link
Member Author

For similar UX reasons, maybe it should not remove old cache if init-cache fails?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: builder Qubes Builder P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.
Projects
Status: Ready
Development

No branches or pull requests

1 participant