It would be really nice if kojira could monitor the external repos in use and trigger repo regens when they change. Otherwise, they only automatically update when the internal koji content changes (which in some cases could be rarely or never).
PR #516
Ooh, nice! Last year I wrote my own tool (gojira) to do just this. I can share if desired, but it's probably less than ideal as it's all based around the koji CLI since I was too lazy to delve that deeply into the koji/kojira internals ... and I wanted to write it all in Python 3. It does work solidly however.
@jflorian At least for inspiration :-). I'm not so happy about kojira being blocked on network, especially in installations with lots of external repos.
@tkopecek Network blocking is probably bad for someone. I maintain two Koji deployments. At work http is blocked and must use a proxy but all our ext. repos are kept as local mirrors. At home, I don't have any such blocking, but my bandwidth is dismal so mirroring is again essential.
Metadata Update from @dgregor: - Custom field Size adjusted to None - Issue set to the milestone: 1.21
Metadata Update from @jcupova: - Issue tagged with: testing-ready
I just stumbled back onto this ticket. FWIW, I do have Gojira published now. It's part of my koji-helpers project, but I think the code should be rather easy to follow. As I mentioned before, I avoided direct API calls and used the CLI instead so I didn't have to wait on Py3 readiness. I suspect the general gist would be easy to translate.
Feel free to ask any questions about Gojira -- I'd be happy to answer them.
Doh! Now I see the PR and testing-ready flag. My prior comment likely can be ignored.
Commit 9639f78c fixes this issue
Commit 751862f1 fixes this issue
Metadata Update from @mfilip: - Issue tagged with: testing-done
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/512
Please continue any further discussion there.