On 11/02/2011 09:44 PM, xuejinze wrote: > hello! > some questions need you help, thanks! > 1` you know the `koji call<name>` command, is there a list of what i can call?
Call is mostly intended as a debug tool for experts who know the koji api. You can examine the api with koji list-api, or by reading the source. > 2` how to drop a build to trash? can i submit a same build(same version and > release) while the build is in trash? The trashcan is just a tag that is managed by the koji-gc tool. You can read more about garbage collection here: https://fedoraproject.org/wiki/Koji/GarbageCollection You can delete builds manually also, as long as they are unreferenced. This is intended to be a rare occurrence. It is better to come up with a good gc policy and run koji-gc regularly. If you must delete a build manually, you can do so with 'koji call deleteBuild <nvr>' which is admin-only and will fail if the build is tagged or has buildroot references. HOWEVER... In koji nvrs are forever, mostly. You can rebuild over a failed or canceled build, but even a deleted build still blocks a rebuild of the same nvr. It is not difficult to bump a release value. Just do that; your life will be easier. > 3` is there a elegent way to submit a list of build, with a better order? I'm not sure what you mean, but it sounds like you might be looking for the chain-build command. -- buildsys mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/buildsys
