New Copr deployed
by Miroslav Suchý
I just deployed new version of Copr.
There are just two small bugfixes, but one biggest improvement - add db indexes :) which make the service much faster.
Additionaly Adam is working on set of Beaker tests - currently not public, but I would like them to move to Fedora
Beaker one day.
The benefit is that we can now test not just copr-frontend, but also copr-backend in staging environment before going live.
--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
9 years, 5 months
Playground DNF plugin
by Miroslav Suchý
Hi,
I created first prototype of Playground repo (you know - release early...).
The playground repo is just set of Copr repositories. I.e. some Copr
projects can have attribute "playground" set to true (currently no
interface, only directly in DB). I choosed randomly several projects and
set the flag to true.
There is an API call to get list of those projects:
http://copr.fedoraproject.org/api/playground/list/
(currently undocumented, because I plan to make some changes).
I wrote DNF plugin (based on Copr DNF plugin). You can test it by:
curl
https://raw.githubusercontent.com/akozumpl/dnf-plugins-core/master/plugin...
> /usr/lib/python2.7/site-packages/dnf-plugins/copr.py
and you can do:
dnf playground enable
which will enable all Copr project, which are marked as part of
Playground and store them in
/etc/yum.repos.d/_playground_<owner>_<projectname>.repo
and:
dnf playground upgrade
which will fetch new repos (by removing all old repos and fetch all
playground repos).
and:
dnf playground disable
which will delete all /etc/yum.repos.d/_playground_*.repo
As I said, this is first prototype (although functional) and it have
some glitches. But you can get the idea.
Is this the path we want to follow? Questions? Comments?
Mirek Suchy
9 years, 5 months
New Copr release
by Miroslav Suchý
Hi,
I just deployed new version of Copr.
https://copr.fedoraproject.org/
Changes:
* a lot of small bugfixes
* each src.rpm have separate task now - you can still submit bunch of
src.rpm, but the list of src.rpm are split and each src.rpm is submitted
to builders as one task. This means that Monitor and deleting is more
predictable.
* you can submit src.rpm only to subset of chroots you selected for your
project.
* when someone request permission on your project, then copr sends you
notification via email now.
* repo files now have better URL (which ends with .repo suffix), which
should make yours wget happy.
* new API calls:
* call for fulltext searching (this is first step to "dnf copr search")
* you add "additional repos" to project via API call now
* when submitting src.rpm, then you get list of ids instead of one id.
The last change will probably break old 'copr-cli'. When you submit
src.rpm it will be sucesfully sent, but then copr-cli query the status
of build and in this phase old clients will throw error.
It is not fatal, your packages will be build, but you will have to check
the status on WebUI. Or upgrade to newer 'copr-cli' which I just sent to
updates-testing.
I wish you happy building.
--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
9 years, 5 months
https://copr
by Miroslav Suchý
All Copr machines (both frontend and backend) are now accessible using
https protocol.
Please report problems if you find some.
I will slowly start to modify copr-cli and other tools to use https.
And after all this modification will be released I will set up redirect
from http to https.
Mirek
9 years, 6 months