On Sat, 2008-02-09 at 11:08 +0100, Michael Schwendt wrote: > On Fri, 08 Feb 2008 17:00:30 -0800, Fernando Lopez-Lezcano wrote: > > > Would this be the right list for this question? > > > > I have a mock/plague build system I'm just configuring and I wonder how > > can I get rid of old builds? (ie: erase all related files and clean up > > the database). Should be simple[*], I must be missing something obvious... > > > > Thanks for any help... > > > > [*] something like "plague-remove <jobid>" > > It's not implemented. > > I think any stuff surrounding "what to do with successful builds in > needsign?" is undefined and missing. There's "plague finish <jobid>", but > it only marks a job as "finished", which does not trigger anything > else than that finished jobs are not displayed in the www ui. > > Because a huge jobs database slows down Plague significantly (e.g. remote > users see RPC timeouts for simple job status queries and would need to > work around that with more complex queries), I've run the attached script > periodically. Later, so none of the EPEL signers need to still run that, > I've merged the following code into the buildsys: > http://mschwendt.fedorapeople.org/plague-0.4.4.1-pushscript-extras.patch > It deletes failed or finished jobs after two weeks and also marks > anything, which is gone from plague-results directory, as finished. > > Maybe it's something you can use, too.
Yes, thanks a lot, it will definitely help to keep the old builds from growing without bounds. -- Fernando -- Fedora-buildsys-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
