FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 02-03-2011, 05:27 PM
Mike McLean
 
Default How do I remove a package from koji?

On 02/01/2011 05:56 PM, steve.webb@beatport.com wrote:
>> Remove a package in what sense? Can you give me an example of what you
>> want to accomplish?
>
> We used "add-pkg" to add a package using the full name i.e.
> blah-1.0.1-1.el5.yadda.yadda.yadda and we want to remove that because it
> was added by accident. How do we do that?

In practice it is harmless to have such a meaningless entry.

You could remove the package from the whichever tag(s) you added it to
by running: koji call packageListRemove <tag> <pkg>

This will still leave a bogus entry in your package table, but it will
not be attached to any of your tags. If you feel you must completely
expunge the bogus entry, then follow the instructions that Thomas mentioned:
http://lists.fedoraproject.org/pipermail/buildsys/2010-July/003168.html
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 09-06-2012, 06:10 AM
"=?gb18030?b?ye7Atg==?="
 
Default How do I remove a package from koji?

How do I remove a package from koji?

i want remove some old package from koji ,i already remove ervery tag in koji!--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 09-10-2012, 09:51 AM
Thomas
 
Default How do I remove a package from koji?

On Thu, Sep 6, 2012 at 8:10 AM, 深蓝 <manbuzhe2009@qq.com> wrote:
>
> How do I remove a package from koji?
>
> i want remove some old package from koji ,i already remove ervery tag in
> koji!
> --
> buildsys mailing list
> buildsys@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys

I am using this :
http://pastebin.com/dgWDW0GA

backup your koji instance before testing



--
Thomas
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 09-12-2012, 02:27 PM
Mike McLean
 
Default How do I remove a package from koji?

On 09/06/2012 02:10 AM, 深蓝 wrote:

How do I remove a package from koji?

i want remove some old package from koji ,i already remove ervery tag in koji!


So let's clarify first. Do you want to remove a package or a build?

Builds (i.e. the result of a build task) are removed by running koji-gc
regularly. You can read more about garbage collection here:


https://fedoraproject.org/wiki/Koji/GarbageCollection

If you're too impatient for that, you can call the deleteBuild xmlrpc
handler directly.

In Koji, the term package refers to an unversioned package name, i.e.
simply kernel or glibc. These are simply references in a name index
table and there is no official mechanism to remove them.

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 09-12-2012, 03:04 PM
Mike McLean
 
Default How do I remove a package from koji?

On 09/10/2012 05:51 AM, Thomas wrote:

On Thu, Sep 6, 2012 at 8:10 AM, 深蓝 <manbuzhe2009@qq.com> wrote:


How do I remove a package from koji?

i want remove some old package from koji ,i already remove ervery tag in
koji!
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


I am using this :
http://pastebin.com/dgWDW0GA

backup your koji instance before testing


This is a highly destructive operation. You remove not only the builds,
but all the history data regarding them.


I do not recommend this approach. The safest way to remove builds is by
using the koji-gc utility.

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 09-12-2012, 04:32 PM
Thomas
 
Default How do I remove a package from koji?

I need to clarify why *I* need to delete package.
It is mainly because I have many users and people don't read the docs.
So I end up with these kind of packages (from today logs) :
"qpid-cpp-mrg"
../build/SRPMS/m4-1.4.8-2.src.rpm
/llinux/cern/slc5X/updates/SRPMS/libpng-1.2.10-15.el5_7.src.rpm

So for me it is relevant to have a way to delete packages and
hopefully one day it will make it to koji cli

--
Thomas
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 07:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org