On 05/19/2017 09:59 PM, Kevin Fenzi wrote:
On 05/19/2017 10:04 AM, Zbigniew Jędrzejewski-Szmek wrote:
> On Fri, May 19, 2017 at 11:48:37AM -0400, Matthew Miller wrote:
>> On Fri, May 19, 2017 at 11:44:57AM -0400, Matthew Miller wrote:
>>> See
https://bugzilla.redhat.com/show_bug.cgi?id=1234930
>>>
>>> It's my understanding this functioanlity is already being worked on in
>>> DNF 2.0, to match the yum functionality of "sudo yum upgrade
>>> --advisory FEDORA-2017-30604deb62"
>>
>> Yeah, I just tested and this works:
>>
>> $ sudo dnf upgrade --advisory FEDORA-2017-f590422f5b
> Oh, that's super nice.
>
> Randy, what about redirecting the effort to support the same for koji
> builds? I think that functionality is missing and it'd be quite useful
> for packagers (e.g. to test that an update will be OK before actually creating
> the update):
> dnf install-koji 886677,886693
> or even
> dnf install-koji package-version,package-version
> ?
I think a koji dnf plugin could be very handy, especially if it tried to
download signed packages for you (if available).
Also possibly handy:
dnf install koji f26-build firefox
(latest firefox in f26-build tag)
dnf update koji f26-build
(update any packages newer from the f26 build tag)
For f26-build it's easy.
cat >/etc/yum.repos.d/koji.repo <<"EOF"
[koji-f26-build]
name=koji-f26-build
baseurl=https://kojipkgs.fedoraproject.org/repos/f26-build/latest/$basearch/
enabled=0
EOF
dnf --enablerepo koji-f26-build install firefox
dnf --enablerepo koji-f26-build update
etc.
But installing arbitrary builds, like Zbyszek wants, it's not that
simple since they are possibly not included in any repos at all...
--
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk