How do I remove or clean out a build repo/tag from koji to start over with a new build tag?
- Steve
On 01/28/2011 04:43 PM, steve.webb@beatport.com wrote:
How do I remove or clean out a build repo/tag from koji to start over with a new build tag?
You could list everything with "koji list-tagged <tag>" and then "koji untag-pkg" all of them. But it's probably easier to just create a new tag/target. You can remove the old tag/target (koji remove-tag|remove-target) as well, if you want to.
Is there a way to remove a single package?
- Steve
On Fri, 28 Jan 2011, Mike Bonnet wrote:
On 01/28/2011 04:43 PM, steve.webb@beatport.com wrote:
How do I remove or clean out a build repo/tag from koji to start over with a new build tag?
You could list everything with "koji list-tagged <tag>" and then "koji untag-pkg" all of them. But it's probably easier to just create a new tag/target. You can remove the old tag/target (koji remove-tag|remove-target) as well, if you want to. -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys
On 01/28/2011 05:26 PM, steve.webb@beatport.com wrote:
Is there a way to remove a single package?
You can remove a build from a tag by untagging it. Untagged builds can be removed by running the garbage collector on a regular basis. If you're too impatient for that, you can call the deleteBuild xmlrpc handler directly.
That's how I delete a build. Is there a way to remove a package?
- Steve
On Tue, 1 Feb 2011, Mike McLean wrote:
On 01/28/2011 05:26 PM, steve.webb@beatport.com wrote:
Is there a way to remove a single package?
You can remove a build from a tag by untagging it. Untagged builds can be removed by running the garbage collector on a regular basis. If you're too impatient for that, you can call the deleteBuild xmlrpc handler directly. -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys
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?
- Steve
On Tue, Feb 1, 2011 at 5: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?
I'm fairly sure that requires an admin to access and modify the postgresql DB directly. There are a number of checks in place before you can delete it, but if they are met you should be able to delete that row from the package table.
josh
Hello,
If you have admin access to the koji pgsql DB... I don't know if it's adapted to your koji db schema but I have found this: http://wiki.linux-kernel.at/index.php/Koji#Deleting_a_complete_package_from_...
Regards, Pierre
2011/2/2 Josh Boyer jwboyer@gmail.com
On Tue, Feb 1, 2011 at 5: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?
I'm fairly sure that requires an admin to access and modify the postgresql DB directly. There are a number of checks in place before you can delete it, but if they are met you should be able to delete that row from the package table.
josh
buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys
Hey,
http://wiki.linux-kernel.at/index.php/Koji#Deleting_a_complete_package_from_...
IIRC this has been stated dangerous.
In this list, search for :
From: mikem@redhat.com Subject: Re: Remove a package with no builds Date: 07/07/2010 02:47 AM
Thomas
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@lists.fedoraproject.org