Dne 7.1.2016 v 17:10 Ken Dreyer napsal(a):
> This should be a part of fermig! :)
There is
https://github.com/fedora-ruby/fermig/pull/5/files
So this is merged now. You can use the '-u' command line parameter to
rebuild just your packages.
Vít
Not sure how to integrate it yet (some command line switch probably?
Pavel?) ... but you can take the file from PR and modify:
https://github.com/fedora-ruby/fermig/blob/master/all.rb#L5
for the moment.
Vít
> On Thu, Jan 7, 2016 at 8:55 AM, Pavel Valena <pvalena(a)redhat.com> wrote:
>> Hi again,
>>
>>> $ ruby -e "puts (\`pkgdb-cli list --user $USER | tr -s ' ' |
grep -vE '^Total: ' | cut -d' ' -f2\`.lines - \`dnf repoquery -q
--disablerepo='*' --enablerepo=rawhide-source --arch=src --qf '%{name}'
--whatrequires 'ruby-devel'\`.lines).sort.uniq"
>> I am very sorry, but there is an error in sign('-'), between the two
outputs. It should be &.
>>
>> To get the correct list of your packages which very likely need to be rebuild:
>>
>> $ ruby -e "puts (\`pkgdb-cli list --user $USER | tr -s ' ' | grep
-vE '^Total: ' | cut -d' ' -f2\`.lines & \`dnf repoquery -q
--disablerepo='*' --enablerepo=rawhide-source --arch=src --qf '%{name}'
--whatrequires 'ruby-devel'\`.lines).sort.uniq"
>>
>> Pavel Valena
>> Associate Software Engineer
>> Brno, Czech Republic
>>
>> RED HAT | TRIED. TESTED. TRUSTED.
>> All of the airlines in the Fortune Global 500 rely on Red Hat.
>> Find out why at Trusted | Red Hat
>>
>> <
http://www.redhat.com/en/about/trusted>
>>
>>
>> ----- Original Message -----
>> From: "Pavel Valena" <pvalena(a)redhat.com>
>> To: "Ruby SIG mailing list" <ruby-sig(a)lists.fedoraproject.org>
>> Sent: Thursday, January 7, 2016 4:21:19 PM
>> Subject: Re: Ruby 2.3 - Mass rebuild
>>
>> Hi,
>>
>>> What does it means? This is the list of packages which very likely needs
>>> to be rebuild:
>>>
>>> $ dnf repoquery --disablerepo=* --enablerepo=rawhide
>>> --enablerepo=rawhide-source --arch=src --whatrequires 'ruby-devel' |
>>> sort | uniq
>> To get package names, you can use:
>>
>> $ dnf repoquery -q --disablerepo='*' --enablerepo=rawhide-source
--arch=src --qf '%{name}' --whatrequires 'ruby-devel' | sort -u
>>
>> Also, to get list of your packages (assumes $USER is your FAS name):
>>
>> $ pkgdb-cli list --user $USER | tr -s ' ' | grep -vE "^Total: "
| cut -d' ' -f2
>>
>> To get the list of your packages which very likely need to be rebuild:
>>
>> $ ruby -e "puts (\`pkgdb-cli list --user $USER | tr -s ' ' | grep
-vE '^Total: ' | cut -d' ' -f2\`.lines - \`dnf repoquery -q
--disablerepo='*' --enablerepo=rawhide-source --arch=src --qf '%{name}'
--whatrequires 'ruby-devel'\`.lines).sort.uniq"
>>
>> Pavel Valena
>> Associate Software Engineer
>> Brno, Czech Republic
>>
>> RED HAT | TRIED. TESTED. TRUSTED.
>> All of the airlines in the Fortune Global 500 rely on Red Hat.
>> Find out why at Trusted | Red Hat
>>
>> <
http://www.redhat.com/en/about/trusted>
>>
>>
>> ----- Original Message -----
>> From: "Vít Ondruch" <vondruch(a)redhat.com>
>> To: "Ruby SIG mailing list" <ruby-sig(a)lists.fedoraproject.org>
>> Sent: Wednesday, January 6, 2016 5:21:42 PM
>> Subject: Ruby 2.3 - Mass rebuild
>>
>> Hi all,
>>
>> You have probably noticed, that Ruby 2.3 was released during Christmas
>> so we can move forward with the change proposal [1] and get Ruby 2.3 for
>> F24. Actually, I already obtained build target for Ruby 2.3 [2] and
>> build ruby-2.3 package and now its time for you to help :)
>>
>> What does it means? This is the list of packages which very likely needs
>> to be rebuild:
>>
>> $ dnf repoquery --disablerepo=* --enablerepo=rawhide
>> --enablerepo=rawhide-source --arch=src --whatrequires 'ruby-devel' |
>> sort | uniq
>>
>> You can take the and just fire rebuild, but please, you should be using
>> f24-ruby build target, i.e. the build command should look like:
>>
>> $ fedpkg build --target f24-ruby
>>
>> If you forget to specify the target, you'll do build against Ruby 2.2,
>> which is not what you want.
>>
>> If you don't make it soon enough, I'll very likely rebuild your package
>> sooner or later. I'll be using fermig [4] to do that as I did during
>> previous rebuilds. If you don't like me to touch you package for
>> whatever reason, please let me know (Mamoru, I suppose you are going to
>> rebuild your packages yourself, right?).
>>
>> You can follow the progress at:
>>
>>
http://koji.fedoraproject.org/koji/builds?inherited=0&tagID=331&o...
>>
>> or using:
>>
>> $ koji list-tagged f24-ruby
>>
>>
>> As always, any help/testing/feedback is welcome.
>>
>>
>> Vít
>>
>>
>>
>> [1]
https://fedoraproject.org/wiki/Changes/Ruby_2.3
>> [2]
https://fedorahosted.org/rel-eng/ticket/6324
>> [3]
https://koji.fedoraproject.org/koji/buildinfo?buildID=709430
>> [4]
https://github.com/fedora-ruby/fermig
>> _______________________________________________
>> ruby-sig mailing list
>> ruby-sig(a)lists.fedoraproject.org
>>
http://lists.fedoraproject.org/admin/lists/ruby-sig@lists.fedoraproject.org
>> _______________________________________________
>> ruby-sig mailing list
>> ruby-sig(a)lists.fedoraproject.org
>>
http://lists.fedoraproject.org/admin/lists/ruby-sig@lists.fedoraproject.org
>> _______________________________________________
>> ruby-sig mailing list
>> ruby-sig(a)lists.fedoraproject.org
>>
http://lists.fedoraproject.org/admin/lists/ruby-sig@lists.fedoraproject.org
> _______________________________________________
> ruby-sig mailing list
> ruby-sig(a)lists.fedoraproject.org
>
http://lists.fedoraproject.org/admin/lists/ruby-sig@lists.fedoraproject.org
_______________________________________________
ruby-sig mailing list
ruby-sig(a)lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/ruby-sig@lists.fedoraproject.org