Skip to content

Serialize bconded BuilRequires to a json file#19

Open
befeleme wants to merge 2 commits intofedora-python:python3.15from
befeleme:bconds-serialize
Open

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

Conversation

@befeleme
Copy link
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
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
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 4 times, most recently from 93c7b99 to 3a22eb5 Compare March 20, 2026 15:20
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
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