On 07/06/2010 06:48 PM, Nathan Blackham wrote:
> Koji already has the capability to (sanely) delete a build. It
doesn't
> have its own direct cli subcommand, but you can run it like so:
>
> # brew call deleteBuild fake-1.0-6
>
isn't brew the previous buildsystem that redhat was using. Is there a
way to call this through koji, or do I need to install brew? Just for
future note. I don't need this now.
sorry, make that
# koji call deleteBuild fake-1.0-6
> There are three things that will keep this from going through:
> - build currently tagged
> - build was used in a buildroot of another (non-deleted) build
> - build was used in some other buildroot recently
> If a build has such references, then you probably shouldn't be deleting it.
>
> If there are no such references, then this command will delete the build
> from disk, delete any signature data for it, and mark the build deleted.
> It will still have a small presence in the db as historical data (tag
> history, deleted build entry, etc)