I put in copr.git/dnf-plugin/copr_hook.py first version of DNF plugin, which I wrote during DevConf.cz I did not test it yet. I'm just putting it here because I know that Igor want to contribute it.
This is just temporary place. Once it will be working I will send it to AKozumplik to include in DNF and next development will continue there.
On 02/11/2014 03:47 PM, Miroslav Suchý wrote:
I put in copr.git/dnf-plugin/copr_hook.py first version of DNF plugin, which I wrote during DevConf.cz I did not test it yet. I'm just putting it here because I know that Igor want to contribute it.
This is just temporary place. Once it will be working I will send it to AKozumplik to include in DNF and next development will continue there.
OK. This plugin is now functional. You can test it by: cp dnf-plugin/copr_hook.py /usr/lib/python2.7/site-packages/dnf-plugins/
and run e.g.: dnf copr enable msuchy fedora-19-x86_64
Please test and report problems.
FYI: Igor should be working on "dnf copr search" functionality.
dnf copr enable msuchy fedora-19-x86_64
I don't get it. What repo does this enable? All of your (msuchy) repos? Why do I have to specify the Fedora version and architecture?
I'd except something like:
dnf copr enable msuchy foobar
To enable http://copr.fedoraproject.org/coprs/msuchy/foobar/
Am I missing something or was this a wrongly typed example?
-- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok
On Wed, 2014-02-12 at 11:56 +0100, Miro Hrončok wrote:
dnf copr enable msuchy fedora-19-x86_64
I don't get it. What repo does this enable? All of your (msuchy) repos? Why do I have to specify the Fedora version and architecture?
I'd except something like:
dnf copr enable msuchy foobar
To enable http://copr.fedoraproject.org/coprs/msuchy/foobar/
Am I missing something or was this a wrongly typed example?
Miroslav proposes to use fedora-20-x86_64..
I fixed this, but have not sent yet.
https://github.com/ignatenkobrain/copr/commit/b14f196ad9f743433b06ca7a1afc47...
-- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok _______________________________________________ copr-devel mailing list copr-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/copr-devel
https://github.com/ignatenkobrain/copr/commit/b14f196ad9f743433b06ca7a1afc47...
From the doc string, it looks like before it was:
dnf copr enable msuchy/foobar fedora-20-x86_64
And after your fix it is:
dnf copr enable msuchy/foobar
Is that right?
-- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok
On Wed, 2014-02-12 at 12:03 +0100, Miro Hrončok wrote:
https://github.com/ignatenkobrain/copr/commit/b14f196ad9f743433b06ca7a1afc47...
From the doc string, it looks like before it was:
dnf copr enable msuchy/foobar fedora-20-x86_64
And after your fix it is:
dnf copr enable msuchy/foobar
Is that right?
yes. it will automatically detect you platform. for EL* it will enable epel* repo, for fedora fedora* repos.
-- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok _______________________________________________ copr-devel mailing list copr-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/copr-devel
On 02/12/2014 11:58 AM, Igor Gnatenko wrote:
I fixed this, but have not sent yet.
https://github.com/ignatenkobrain/copr/commit/b14f196ad9f743433b06ca7a1afc47...
Nice. But I would like to see having chroot as optional parameter, because I may be on F18. Project only provides F19,F20. I know that F19 repo works for me, so I want to enable F19 repo even if I'm runnign on F18.
Happened to me dozen of times.
On Feb 12, 2014 3:32 PM, "Miroslav Suchý" msuchy@redhat.com wrote:
On 02/12/2014 11:58 AM, Igor Gnatenko wrote:
I fixed this, but have not sent yet.
https://github.com/ignatenkobrain/copr/commit/b14f196ad9f743433b06ca7a1afc47...
Nice. But I would like to see having chroot as optional parameter, because I
may be on F18. Project only provides F19,F20. I know that F19 repo works for me, so I want to enable F19 repo even if I'm runnign on F18. Okay! I will add this parameter as optional today and will send patches.
Happened to me dozen of times.
-- Miroslav Suchy, RHCE, RHCDS Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys _______________________________________________ copr-devel mailing list copr-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/copr-devel
On Feb 12, 2014 3:32 PM, "Miroslav Suchý" msuchy@redhat.com wrote:
On 02/12/2014 11:58 AM, Igor Gnatenko wrote:
I fixed this, but have not sent yet.
https://github.com/ignatenkobrain/copr/commit/b14f196ad9f743433b06ca7a1afc47...
Nice. But I would like to see having chroot as optional parameter, because I
may be on F18. Project only provides F19,F20. I know that F19 repo works for me, so I want to enable F19 repo even if I'm runnign on F18. Hm. Actually it doesn't make sense. Repofiles for f18, f19, etc. is similar. It contains releasever. Makes sense only rawhide/non-rawhide.
Happened to me dozen of times.
-- Miroslav Suchy, RHCE, RHCDS Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys _______________________________________________ copr-devel mailing list copr-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/copr-devel
On 02/12/2014 12:38 PM, Igor Gnatenko wrote:
Hm. Actually it doesn't make sense. Repofiles for f18, f19, etc. is similar. It contains releasever. Makes sense only rawhide/non-rawhide.
Or epel7 repo if you are running on F20 :)
copr-devel@lists.fedorahosted.org