From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
IRC: 'dwa' on freenode, in #fedora-ppc | IRC: 'dwa' on freenode, in #fedora-ppc | ||
== Random Miscellany == | |||
=== mis-tagged shadowbuild packages === | |||
* Find packages that shouldn't be there: <pre>ppc-koji latest-pkg SHADOWBUILD-f16-build --all --quiet | grep fc18 | awk {'print $1'} > /tmp/mistagged-pkgs </pre> | |||
* Find the latest versions that should be.: <pre>for i in `awk -F- '{if (NF > 4) {print $1"-"$2"-"$3} else if (NF == 4) {print $1"-"$2} else {print $1}}' /tmp/mistagged-pkgs`; do ppc-koji latest-pkg f16-updates $i --quiet | awk {'print $1'}; done | grep -v Warning > /tmp/shouldbetagged-pkgs</pre> | |||
** 'grep -v Warning' is needed depending on your koji configuration, to supress the pkgurl deprecated option warning. | |||
* Untag the offenders: <pre>ppc-koji untag-pkg SHADOWBUILD-f16-build `cat /tmp/mistagged-pkgs`</pre> | |||
* Tag the right ones: <pre>ppc-koji tag-pkg SHADOWBUILD-f16-build `cat /tmp/shouldbetagged-pkgs`</pre> | |||
* Regen the repo: <pre>ppc-koji regen-repo SHADOWBUILD-f16-build</pre> |
Revision as of 17:37, 27 July 2012
David Aquilina
I'm a release engineer at Red Hat, working on Fedora for POWER.
Contact Info
E-mail: dwa (at) redhat.com
IRC: 'dwa' on freenode, in #fedora-ppc
Random Miscellany
mis-tagged shadowbuild packages
- Find packages that shouldn't be there:
ppc-koji latest-pkg SHADOWBUILD-f16-build --all --quiet | grep fc18 | awk {'print $1'} > /tmp/mistagged-pkgs
- Find the latest versions that should be.:
for i in `awk -F- '{if (NF > 4) {print $1"-"$2"-"$3} else if (NF == 4) {print $1"-"$2} else {print $1}}' /tmp/mistagged-pkgs`; do ppc-koji latest-pkg f16-updates $i --quiet | awk {'print $1'}; done | grep -v Warning > /tmp/shouldbetagged-pkgs
- 'grep -v Warning' is needed depending on your koji configuration, to supress the pkgurl deprecated option warning.
- Untag the offenders:
ppc-koji untag-pkg SHADOWBUILD-f16-build `cat /tmp/mistagged-pkgs`
- Tag the right ones:
ppc-koji tag-pkg SHADOWBUILD-f16-build `cat /tmp/shouldbetagged-pkgs`
- Regen the repo:
ppc-koji regen-repo SHADOWBUILD-f16-build