[copr] Update copr to 1.15-1 Resolves: #1030493 - [cli] check that at least one chroot is entered Resolves:

Miroslav Suchý msuchy at fedoraproject.org
Tue Dec 10 17:38:56 UTC 2013


commit 931c1a897762519fbcff68a238095aa33941b88b
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Tue Dec 10 18:38:56 2013 +0100

    Update copr to 1.15-1
    Resolves: #1030493 - [cli] check that at least one chroot is entered
    Resolves: #1028235 - add disclaimer about repos

 .gitignore |    1 +
 copr.spec  |  140 +++++++++++++++++++++++++++++++++++++++++++++++++-----------
 sources    |    2 +-
 3 files changed, 117 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 26e9de8..19828b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /copr-1.8.tar.gz
 /copr-1.12.tar.gz
+/copr-1.15.tar.gz
diff --git a/copr.spec b/copr.spec
index 2a22e77..f0a68ca 100644
--- a/copr.spec
+++ b/copr.spec
@@ -1,24 +1,25 @@
+%global with_test 1
 %if 0%{?rhel} < 7 && 0%{?rhel} > 0
 %global _pkgdocdir %{_docdir}/%{name}-%{version}
 %endif
 %global moduletype apps
 %global modulename copr
 
-Name:		copr
-Version:	1.12
-Release:	1%{?dist}
-Summary:	Cool Other Package Repo
+Name:       copr
+Version:    1.15
+Release:    1%{?dist}
+Summary:    Cool Other Package Repo
 
-Group:		Applications/Productivity
-License:	GPLv2+
-URL:		https://fedorahosted.org/copr/
+Group:      Applications/Productivity
+License:    GPLv2+
+URL:        https://fedorahosted.org/copr/
 # Source is created by
 # git clone https://git.fedorahosted.org/git/copr.git
 # cd copr
 # tito build --tgz
 # content is same as https://git.fedorahosted.org/cgit/copr.git/snapshot/%{name}-%{version}-1.tar.gz
 # but checksum does not match due different metadata
-Source0:	%{name}-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.gz
 
 BuildArch:  noarch
 BuildRequires: asciidoc
@@ -44,7 +45,7 @@ COPR is lightweight build system. It allows you to create new project in WebUI,
 and submit new builds and COPR will create yum repository from latest builds.
 
 %package backend
-Summary:	Backend for COPR
+Summary:    Backend for COPR
 Requires:   ansible >= 1.2
 Requires:   lighttpd
 Requires:   euca2ools
@@ -74,23 +75,25 @@ This package contains backend.
 %package frontend
 Summary:    Frontend for COPR
 Requires:   httpd
-Requires:	mod_wsgi
-Requires:	python-alembic
+Requires:   mod_wsgi
+Requires:   python-alembic
 Requires:   python-flask
 Requires:   python-flask-openid
 Requires:   python-flask-wtf
 Requires:   python-flask-sqlalchemy
 Requires:   python-flask-script
 Requires:   python-flask-whooshee
-#Requires:	python-virtualenv
+#Requires:   python-virtualenv
 Requires:   python-blinker
-Requires:	python-psycopg2
+Requires:   python-markdown
+Requires:   python-psycopg2
 Requires:   python-pylibravatar
-Requires:	python-whoosh >= 2.5.3
+Requires:   python-whoosh >= 2.5.3
 # for tests:
-Requires:	pytest
+Requires:   pytest
 Requires:   python-flexmock
 Requires:   python-decorator
+Requires:   yum
 %if 0%{?rhel} < 7 && 0%{?rhel} > 0
 BuildRequires: python-argparse
 %endif
@@ -103,6 +106,7 @@ BuildRequires: python-flask-whooshee
 BuildRequires: python-pylibravatar
 BuildRequires: python-flask-wtf
 BuildRequires: pytest
+BuildRequires: yum
 BuildRequires: python-flexmock
 BuildRequires: python-decorator
 
@@ -113,8 +117,8 @@ and submit new builds and COPR will create yum repository from latests builds.
 This package contains frontend.
 
 %package cli
-Summary:	Command line interface for COPR
-Requires:	python-requests
+Summary:    Command line interface for COPR
+Requires:   python-requests
 %if 0%{?rhel} < 7 && 0%{?rhel} > 0
 Requires:   python-argparse
 %endif
@@ -136,7 +140,7 @@ This package include documentation for COPR code. Mostly useful for developers
 only.
 
 %package selinux
-Summary:	SELinux module for COPR
+Summary:        SELinux module for COPR
 Requires(post): policycoreutils, libselinux-utils
 Requires(post): policycoreutils-python
 Requires(post): selinux-policy-targeted
@@ -260,12 +264,11 @@ install -p -m 644 man/%{name}-selinux-enable.8 %{buildroot}/%{_mandir}/man8/
 install -p -m 644 man/%{name}-selinux-relabel.8 %{buildroot}/%{_mandir}/man8/
 
 %check
-pushd coprs_frontend
-TMPFILE=$(mktemp)
-COPR_CONFIG="$(pwd)/config/copr_unit_test.conf"  ./manage.py test | tee $TMPFILE
-# remove this when tests are fixed
-grep "1 failed, 65 passed" $TMPFILE 
-popd
+%if ! 0%{?with_test:1}
+    pushd coprs_frontend
+    COPR_CONFIG="$(pwd)/config/copr_unit_test.conf" ./manage.py test
+    popd
+%endif
 
 %pre backend
 getent group copr >/dev/null || groupadd -r copr
@@ -343,6 +346,7 @@ fi
 %files frontend
 %doc LICENSE coprs.conf.example copr-setup.txt
 %dir %{_datadir}/copr
+%dir %{_sysconfdir}/copr
 %dir %{_sharedstatedir}/copr
 %{_datadir}/copr/coprs_frontend
 
@@ -355,7 +359,6 @@ fi
 %ghost %{_sharedstatedir}/copr/data/copr.db
 
 %defattr(600, copr-fe, copr-fe, 700)
-%dir %{_sysconfdir}/copr
 %config(noreplace)  %{_sysconfdir}/copr/copr.conf
 %config(noreplace)  %{_sysconfdir}/copr/copr_devel.conf
 %config(noreplace)  %{_sysconfdir}/copr/copr_unit_test.conf
@@ -380,6 +383,93 @@ fi
 %{_mandir}/man8/%{name}-selinux-relabel.8*
 
 %changelog
+* Tue Dec 10 2013 Miroslav Suchý <msuchy at redhat.com> 1.15-1
+- [frontend] smarter package name parsing
+- [frontend] extend range to allow 0
+- handle default timeout on backend
+- initial support for SCL
+- [backend] create word readable files in result directory
+- [backend] print tracebacks
+- [frontend] monitor: display only pkg name w/o version
+- [doc] update api docs
+- [doc] update copr-cli manpage
+- [cli] list only name, description and instructions
+- [cli] add support for build status & build monitor
+- [frontend] add build status to API
+- [playbook] do not overwrite mockchain
+- [backend] add spece between options
+- [backend] pass mock options correctly
+- [frontend] support markdown in description and instructions
+- [backend] Add macros to mockchain define arguments
+- [backend] Pass copr username and project name to MockRemote
+- [backend] Handle additional macro specification in MockRemote
+- [frontend] monitor: show results per package
+- [frontend] add favicon
+- [backend] quote strings before passing to mockchain
+- send chroots with via callback to frontend
+- [cli] change cli to new api call
+- enhance API documentation
+- add yum_repos to coprs/user API call
+- [frontend] provide link to description of allowed content
+- [backend] we pass just one chroot
+- [backend] - variable play is not defined
+- if createrepo fail, run it again
+- [cron] fix syntax error
+- [man] state that --chroot for create command is required
+- [spec] enable tests
+- [howto] add note about upgrading db schema
+- [frontend]: add copr monitor
+- [tests]: replace test_allowed_one
+- [tests]: fix for BuildChroots & new backend view
+- [frontend] rewrite backend view to use Build <-> Chroot relation
+- [frontend] add Build <-> Chroot relation
+- 1030493 - [cli] check that at least one chroot is entered
+- [frontend] typo
+- fixup! [tests]: fix test_build_logic to handle BuildChroot
+- fixup! [frontend] add ActionsLogic
+- [tests]: fix test_build_logic to handle BuildChroot
+- [spec] enable/disable test using variable
+- add migration script - add table build_chroot
+- [frontend] skip legal-flag actions when dumping waiting actions
+- [frontend] rewrite backend view to use Build <-> Chroot relation
+- [frontend] add ActionsLogic
+- [frontend] create BuildChroot objects on new build
+- [frontend] add Build <-> Chroot relation
+- [frontend] add StatusEnum
+- [frontend] fix name -> coprname typo
+- [frontend] remove unused imports
+- [frontend] add missing json import
+- [backend] rework ip address extraction
+- ownership of /etc/copr should be just normal
+- [backend] - wrap up returning action in "action" blok
+- [backend] rename backend api url
+- [backend] handle "rename" action
+- [backend] handle "delete" action
+- base handling of actions
+- move callback to frontend to separate object
+- secure waiting_actions with password
+- pick only individual builds
+- make address, where we send legal flags, configurable
+- send email to root after legal flag have been raised
+
+* Fri Nov 08 2013 Miroslav Suchý <msuchy at redhat.com> 1.14-1
+- 1028235 - add disclaimer about repos
+- fix pagination
+- fix one failing test
+
+* Wed Nov 06 2013 Miroslav Suchý <msuchy at redhat.com> 1.13-1
+- suggest correct name of repo file
+- we could not use releasever macro
+- no need to capitalize Projects
+- another s/copr/project
+- add link to header for sign-in
+- fix failing tests
+- UX - let textarea will full widht of box
+- UX - make background of hovered builds darker
+- generate yum repo for each chroot of copr
+- align table header same way as ordinary rows
+- enable resulting repo and disable gpgchecks
+
 * Mon Nov 04 2013 Miroslav Suchý <msuchy at redhat.com> 1.12-1
 - do not send parameters when we neither need them nor use them
 - authenticate using api login, not using username
diff --git a/sources b/sources
index 1a9e836..e0287bd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0b233fc062ff7da4c36f3193576103c2  copr-1.12.tar.gz
+8829027e1d94c0a615109afbbf6805d3  copr-1.15.tar.gz


More information about the scm-commits mailing list