I've use you command, it's ok:

------------------------------------------
[r...@build ~]# koji untag-pkg tms2.0 system-config-language-1.3.2-6.1.moblin2
[r...@build ~]# koji call deleteBuild system-config-language-1.3.2-6.1.moblin2 
tms2.0
GenericError: Cannot delete build, tagged: [{'id': 11, 'name': 'moblin2-devel'}]
[r...@build ~]# koji untag-pkg moblin2-devel 
system-config-language-1.3.2-6.1.moblin2
[r...@build ~]# koji call deleteBuild system-config-language-1.3.2-6.1.moblin2 
tms2.0
True
==================================================

And the pkgs remove also :

-----------------------
[r...@build ~]# ll /data/koji/packages/system-config-language/1.3.2/
total 8
drwxr-xr-x 5 apache apache 4096 Jun  9 17:15 6.1.tms2
============================================================

I'll try other peope's ideal,

Thanks,


Steve Traylen <st...@traylen.net> writes:

> On Fri, Jun 19, 2009 at 5:54 AM, Jian Lee<lijian....@gmail.com> wrote:
>>
>> Hello, everyone
>>
>> I want to delete a build from a tag, How should I do ?
>>
>> example, the tag tms2.0 have following build:
>>
>> -------------------------------------------------
>> b43-fwcutter-011-5.tms2  michaelw  2009-06-19  09:52:18  complete
>> =================================================================
>>
>> I first try to delete the build from tms2.0 tag by following cmd:
>>
>> ----------------
>> # koji call deleteBuild b43-fwcutter-011-5.tms2 tms2.0
>> GenericError: Cannot delete build, tagged: [{'id': 10, 'name': 'tms2.0'}]
>> ==================================================
> Jian,
>
> You can untag a build from tag. i.e
>
> koji untag-pkg tms2.0 b43-fwcutter-011-5
>
> and then your command may work.
> Steve
>
>>
>> Did a use a wrong api ? or did I can delete a build from a tag use
>> kojihub api ? Must to direct do on postgresql ?
>>
>> Any help i'll appreciate !
>>
>> Thanks,
>>
>> --
>> Fedora-buildsys-list mailing list
>> Fedora-buildsys-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
>>

-- 

Jian Lee
MSN : lijian....@gmail.com

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Reply via email to