Skip to content

Serialize bconded BuilRequires to a json file#19

Merged
befeleme merged 2 commits intofedora-python:python3.15from
befeleme:bconds-serialize
Mar 25, 2026
Merged

Serialize bconded BuilRequires to a json file#19
befeleme merged 2 commits intofedora-python:python3.15from
befeleme:bconds-serialize

Conversation

@befeleme
Copy link
Copy Markdown
Collaborator

Load it from the file when running jobs.py
(This can be suppressed by --no-cache option)
Merge cache on update (only update newer entries). Remove items from cache if they are not defined in config.toml (prevents data rotting).

Tested the happy path, so far it looks quite ok.

@hroncok
Copy link
Copy Markdown
Member

hroncok commented Mar 19, 2026

What happens if I don't have the SRPMs, but they are in the cache and I want to run bconds.py? Ideally, no new scratchbuidl should be submitted if it's not needed, but I don't see that part. (That's not a blocker, just asking for clarification.)

@befeleme
Copy link
Copy Markdown
Collaborator Author

Ha, that's a good question. At first, I assumed bconds.py is a script that always does the one thing (if you don't want to spawn builds, just don't run it in the default mode; run it e.g. with argument), but it's a reasonable modification of its behavior. Added in a new commit.

@befeleme befeleme force-pushed the bconds-serialize branch 5 times, most recently from 3a22eb5 to 2467b1f Compare March 20, 2026 17:31
Load it from the file when running jobs.py
(This can be suppressed by `--no-cache` option)
Merge cache on update (only update newer entries).
Remove items from cache if they are not defined in config.toml (prevents
data rotting).

Assisted-By: claude 4.5 sonnet
@befeleme befeleme merged commit f7c952a into fedora-python:python3.15 Mar 25, 2026
@befeleme befeleme deleted the bconds-serialize branch March 25, 2026 07:59
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.

2 participants