Hi, I just upgraded Copr instance to new version.
There is one big change. You can now lower priority of your build. It was introduced to easy rebuild of rubygems and pypi. But it can be used by CI systems later.
Copr-cli from our git, has --background option already. It lowers the priority. But due compatibility reason we will not push the package into main Fedora and we will wait one or two weeks.
If you want to give it try, then you can install it from our copr project.
Mirek
On Thu, Jun 16, 2016 at 3:10 PM, Miroslav Suchy msuchy@redhat.com wrote:
Hi, I just upgraded Copr instance to new version.
There is one big change. You can now lower priority of your build. It was introduced to easy rebuild of rubygems and pypi. But it can be used by CI systems later.
Copr-cli from our git, has --background option already. It lowers the priority. But due compatibility reason we will not push the package into main Fedora and we will wait one or two weeks.
Looks like it was not implemented in client_v2 in python-copr...
If you want to give it try, then you can install it from our copr project.
Mirek _______________________________________________ copr-devel mailing list copr-devel@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/copr-devel@lists.fedorahosted.org
Looks like it was not implemented in client_v2 in python-copr...
Hi Igor, the copr-cli still uses the legacy client, so it was added there. We should really migrate it to client_v2 and let the old one die.
I don't know what are Mirek's plans for next sprints, but maybe I could work on it.
Jakub
----- Original Message ----- From: "Igor Gnatenko" ignatenko@redhat.com To: "Cool Other Package Repositories" copr-devel@lists.fedorahosted.org Sent: Thursday, June 16, 2016 5:26:24 PM Subject: Re: New release of Copr
On Thu, Jun 16, 2016 at 3:10 PM, Miroslav Suchy msuchy@redhat.com wrote:
Hi, I just upgraded Copr instance to new version.
There is one big change. You can now lower priority of your build. It was introduced to easy rebuild of rubygems and pypi. But it can be used by CI systems later.
Copr-cli from our git, has --background option already. It lowers the priority. But due compatibility reason we will not push the package into main Fedora and we will wait one or two weeks.
Looks like it was not implemented in client_v2 in python-copr...
If you want to give it try, then you can install it from our copr project.
Mirek _______________________________________________ copr-devel mailing list copr-devel@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/copr-devel@lists.fedorahosted.org
I am not a fan of letting "the old one" die. The whole package building and manipulation interface as well as lately added commands like buildpypi, buildgem, buildtito, buildmock, watch-build were implemented in the clientv1 and with API1. The reason is that the code for API1 and in the original python copr client is much better structured and development there is significantly easier.
clime
On Thu, Jun 16, 2016 at 9:23 PM, Jakub Kadlcik jkadlcik@redhat.com wrote:
Looks like it was not implemented in client_v2 in python-copr...
Hi Igor, the copr-cli still uses the legacy client, so it was added there. We should really migrate it to client_v2 and let the old one die.
I don't know what are Mirek's plans for next sprints, but maybe I could work on it.
Jakub
----- Original Message ----- From: "Igor Gnatenko" ignatenko@redhat.com To: "Cool Other Package Repositories" copr-devel@lists.fedorahosted.org Sent: Thursday, June 16, 2016 5:26:24 PM Subject: Re: New release of Copr
On Thu, Jun 16, 2016 at 3:10 PM, Miroslav Suchy msuchy@redhat.com wrote:
Hi, I just upgraded Copr instance to new version.
There is one big change. You can now lower priority of your build. It was introduced to easy rebuild of rubygems and pypi. But it can be
used
by CI systems later.
Copr-cli from our git, has --background option already. It lowers the priority. But due compatibility reason we will not push the package into main Fedora and we will wait one or two weeks.
Looks like it was not implemented in client_v2 in python-copr...
If you want to give it try, then you can install it from our copr
project.
Mirek _______________________________________________ copr-devel mailing list copr-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/copr-devel@lists.fedorahosted.org
-- -Igor Gnatenko _______________________________________________ copr-devel mailing list copr-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/copr-devel@lists.fedorahosted.org _______________________________________________ copr-devel mailing list copr-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/copr-devel@lists.fedorahosted.org
On Thursday, June 16, 2016 3:10:04 PM CEST Miroslav Suchy wrote:
Hi, I just upgraded Copr instance to new version.
There is one big change. You can now lower priority of your build. It was introduced to easy rebuild of rubygems and pypi. But it can be used by CI systems later.
Copr-cli from our git, has --background option already. It lowers the priority. But due compatibility reason we will not push the package into main Fedora and we will wait one or two weeks.
If you want to give it try, then you can install it from our copr project.
Sorry I haven't posted earlier, I'm writing while I'm facing one bugreport.
Note that new python-copr library breaks the compatibility with older servers. While trying to submit new build (or request for new copr) from command line, frontend replies with (and copr-cli fails with):
Unknown arguments passed (non-existing chroot probably)"
That's because the new client library sends useless content in POST to frontend. The older frontend was guarded against this. Possibly we should be more careful to not break client/server protocol like that in future :).
Ugly "hot-fix" is attached.
Pavel
Dne 20.6.2016 v 13:49 Pavel Raiskup napsal(a):
On Thursday, June 16, 2016 3:10:04 PM CEST Miroslav Suchy wrote:
Hi, I just upgraded Copr instance to new version.
There is one big change. You can now lower priority of your build. It was introduced to easy rebuild of rubygems and pypi. But it can be used by CI systems later.
Copr-cli from our git, has --background option already. It lowers the priority. But due compatibility reason we will not push the package into main Fedora and we will wait one or two weeks.
If you want to give it try, then you can install it from our copr project.
Sorry I haven't posted earlier, I'm writing while I'm facing one bugreport.
Note that new python-copr library breaks the compatibility with older servers. While trying to submit new build (or request for new copr) from command line, frontend replies with (and copr-cli fails with):
Unknown arguments passed (non-existing chroot probably)"
That's because the new client library sends useless content in POST to frontend. The older frontend was guarded against this. Possibly we should be more careful to not break client/server protocol like that in future :).
Ugly "hot-fix" is attached.
I just talked to Pavel in person and we agreed that best way is to upgrade his instance. But yeah... we will try to focus on backward compatibility next time.
copr-devel@lists.stg.fedorahosted.org