Valentin Gologuzov ce6e1f2
%global with_test 1
Valentin Gologuzov ce6e1f2
%if 0%{?rhel} < 7 && 0%{?rhel} > 0
Valentin Gologuzov ce6e1f2
%global _pkgdocdir %{_docdir}/%{name}-%{version}
Valentin Gologuzov ce6e1f2
%global __python2 %{__python}
Valentin Gologuzov ce6e1f2
%endif
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Name:       copr-keygen
clime ecc10c7
Version:    1.72
c79298f
Release:    2%{?dist}
Valentin Gologuzov ce6e1f2
Summary:    Part of Copr build system. Aux service that generate keys for signd
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
License:    GPLv2+
clime e8b7ee4
URL:        https://pagure.io/copr/copr
clime ecc10c7
# Source is created by:
clime e8b7ee4
# git clone https://pagure.io/copr/copr.git
clime ecc10c7
# git checkout copr-keygen-1.72
Valentin Gologuzov ce6e1f2
# cd copr/keygen
clime ecc10c7
# rpkg spec --sources
clime ecc10c7
Source0:    copr-keygen-1.72.tar.gz
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
BuildArch:  noarch
Valentin Gologuzov ce6e1f2
BuildRequires: util-linux
Valentin Gologuzov ce6e1f2
BuildRequires: systemd
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
BuildRequires: python3-devel
Valentin Gologuzov ce6e1f2
BuildRequires: python3-setuptools
Valentin Gologuzov ce6e1f2
BuildRequires: python3-six
Valentin Gologuzov ce6e1f2
BuildRequires: python3-flask
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
# for tests
Valentin Gologuzov ce6e1f2
BuildRequires: python3-pytest
Valentin Gologuzov ce6e1f2
BuildRequires: python3-pytest-cov
Valentin Gologuzov ce6e1f2
BuildRequires: python3-mock
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Requires:   haveged
clime ecc10c7
Requires:   gnupg2
Valentin Gologuzov ce6e1f2
Requires:   python3-mod_wsgi
Valentin Gologuzov ce6e1f2
Requires:   httpd
Valentin Gologuzov ce6e1f2
Requires:   obs-signd
Valentin Gologuzov ce6e1f2
Requires:   passwd
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Requires:   logrotate
Valentin Gologuzov ce6e1f2
Requires:   python3-setuptools
Valentin Gologuzov ce6e1f2
Requires:   python3-six
Valentin Gologuzov ce6e1f2
Requires:   python3-flask
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
# tests
Valentin Gologuzov ce6e1f2
Requires:   python3-pytest
Valentin Gologuzov ce6e1f2
Requires:   python3-pytest-cov
Valentin Gologuzov ce6e1f2
Requires:   python3-mock
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%description -n copr-keygen
Valentin Gologuzov ce6e1f2
COPR is lightweight build system. It allows you to create new project in WebUI,
Valentin Gologuzov ce6e1f2
and submit new builds and COPR will create yum repository from latest builds.
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
This package contains aux service that generate keys for package signing.
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%if 0%{?fedora}
Valentin Gologuzov ce6e1f2
%package -n copr-keygen-doc
Valentin Gologuzov ce6e1f2
Summary:    Code documentation for copr-keygen component of Copr buildsystem
Valentin Gologuzov ce6e1f2
Obsoletes:  copr-doc < 1.38
Valentin Gologuzov ce6e1f2
clime 98f0914
BuildRequires: python3-devel
clime 98f0914
BuildRequires: python3-setuptools
clime 98f0914
BuildRequires: python3-mock
clime 98f0914
BuildRequires: python3-requests
clime 98f0914
BuildRequires: python3-six
clime 98f0914
BuildRequires: python3-flask
clime 98f0914
BuildRequires: python3-sphinx
clime 98f0914
BuildRequires: python3-sphinxcontrib-httpdomain
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%description doc
Valentin Gologuzov ce6e1f2
COPR is lightweight build system. It allows you to create new project in WebUI,
Valentin Gologuzov ce6e1f2
and submit new builds and COPR will create yum repository from latests builds.
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
This package contains document for copr-keygen service.
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%endif # ?fedora
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%prep
89f762b
%setup -q
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%build
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
CFLAGS="%{optflags}" %{__python3} setup.py build
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%if 0%{?fedora}
Valentin Gologuzov ce6e1f2
# build documentation
Valentin Gologuzov ce6e1f2
pushd docs
Valentin Gologuzov ce6e1f2
make %{?_smp_mflags} html
Valentin Gologuzov ce6e1f2
rm _build/html/.buildinfo
Valentin Gologuzov ce6e1f2
popd
Valentin Gologuzov ce6e1f2
%endif # ?fedora
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%install
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%{__python3} setup.py install --skip-build --root %{buildroot}
Valentin Gologuzov ce6e1f2
find %{buildroot}%{python3_sitelib} -name '*.exe' | xargs rm -f
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
install -d %{buildroot}%{_sysconfdir}/copr-keygen
Valentin Gologuzov ce6e1f2
install -d %{buildroot}%{_sysconfdir}/sudoers.d
Valentin Gologuzov ce6e1f2
install -d %{buildroot}%{_pkgdocdir}
Valentin Gologuzov ce6e1f2
install -d %{buildroot}%{_pkgdocdir}/httpd
Valentin Gologuzov ce6e1f2
install -d %{buildroot}%{_pkgdocdir}/sign
Valentin Gologuzov ce6e1f2
install -d %{buildroot}%{_datadir}/copr-keygen
Valentin Gologuzov ce6e1f2
install -d %{buildroot}%{_bindir}
Valentin Gologuzov ce6e1f2
install -d -m 500 %{buildroot}%{_sharedstatedir}/copr-keygen/phrases
Valentin Gologuzov ce6e1f2
install -d -m 500 %{buildroot}%{_sharedstatedir}/copr-keygen/gnupg
Valentin Gologuzov ce6e1f2
install -d %{buildroot}%{_localstatedir}/log/copr-keygen
Valentin Gologuzov ce6e1f2
install -d %{buildroot}%{_sysconfdir}/logrotate.d/
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%{__install} -p -m 0755 run/gpg_copr.sh %{buildroot}/%{_bindir}/gpg_copr.sh
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%{__install} -p -m 0755 run/application.py %{buildroot}%{_datadir}/copr-keygen/
Valentin Gologuzov ce6e1f2
%{__install} -p -m 0644 configs/httpd/copr-keygen.conf.example %{buildroot}%{_pkgdocdir}/httpd/
Valentin Gologuzov ce6e1f2
%{__install} -p -m 0644 configs/logrotate %{buildroot}%{_sysconfdir}/logrotate.d/copr-keygen
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%{__install} -p -m 0644 configs/sign/sign.conf.example %{buildroot}%{_pkgdocdir}/sign/sign.conf.example
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
cp -a configs/sudoers/copr_signer %{buildroot}%{_sysconfdir}/sudoers.d/copr_signer
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
# docs
Valentin Gologuzov ce6e1f2
%if 0%{?fedora}
Valentin Gologuzov ce6e1f2
cp -a docs/_build/html %{buildroot}%{_pkgdocdir}/
Valentin Gologuzov ce6e1f2
%endif
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%check
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
PYTHONPATH=./src:$PYTHONPATH %{__python3} -m pytest  --cov-report term-missing --cov ./src tests
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%pre
Valentin Gologuzov ce6e1f2
getent group copr-signer >/dev/null || groupadd -r copr-signer
Valentin Gologuzov ce6e1f2
getent passwd copr-signer >/dev/null || \
Valentin Gologuzov ce6e1f2
  useradd -r -g copr-signer -G copr-signer -d %{_datadir}/copr-keygen -s /bin/bash -c "Copr rpm signer" copr-signer
Valentin Gologuzov ce6e1f2
/usr/bin/passwd -l copr-signer >/dev/null
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%post
89f762b
semanage fcontext -a -t httpd_log_t '/var/log/copr-keygen(/.*)?'
89f762b
restorecon -rv /var/log/copr-keygen/
89f762b
89f762b
semanage fcontext -a -t httpd_var_lib_t '/var/lib/copr-keygen(/.*)?'
89f762b
restorecon -rv /var/lib/copr-keygen/
89f762b
Valentin Gologuzov ce6e1f2
service httpd condrestart
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%postun
Valentin Gologuzov ce6e1f2
service httpd condrestart
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%files
89f762b
%license LICENSE
89f762b
%doc docs/INSTALL.rst docs/README.rst
Valentin Gologuzov ce6e1f2
%doc configs/local_settings.py.example
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%{_datadir}/copr-keygen/*
Valentin Gologuzov ce6e1f2
%{python3_sitelib}/*
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%{_bindir}/gpg_copr.sh
Valentin Gologuzov ce6e1f2
%config(noreplace)  %{_sysconfdir}/sudoers.d/copr_signer
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%defattr(600, copr-signer, copr-signer, 700)
Valentin Gologuzov ce6e1f2
%{_sharedstatedir}/copr-keygen
Valentin Gologuzov ce6e1f2
%config(noreplace) %{_sysconfdir}/copr-keygen
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%{_sysconfdir}/logrotate.d/copr-keygen
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%dir %{_localstatedir}/log/copr-keygen
Valentin Gologuzov ce6e1f2
%ghost %{_localstatedir}/log/copr-keygen/main.log
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%files -n copr-keygen-doc
Valentin Gologuzov ce6e1f2
%doc %{_pkgdocdir}
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
%changelog
c79298f
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.72-2
c79298f
- Rebuilt for Python 3.7
c79298f
clime ecc10c7
* Fri May 18 2018 clime <clime@redhat.com> 1.72-1
clime ecc10c7
- fix gnupg2 requirement
clime ecc10c7
- rpkg deployment into COPR - containers + releng continuation
clime ecc10c7
clime 22a7b5c
* Fri Feb 23 2018 clime <clime@redhat.com> 1.71-1
clime 22a7b5c
- remove Group tag
clime 22a7b5c
clime 71bdff6
* Mon Feb 19 2018 clime <clime@redhat.com> 1.70-1
clime 71bdff6
- Shebangs cleanup
clime 71bdff6
clime 98f0914
* Sun Feb 18 2018 clime <clime@redhat.com> 1.69-1
clime 98f0914
- update doc generation to python3
35dd5c4
clime dc042c9
* Fri Sep 15 2017 clime <clime@redhat.com> 1.68-1
clime dc042c9
- Spelling fixes
6b58d1d
clime e8b7ee4
* Wed Apr 19 2017 clime <clime@redhat.com> 1.67-1
clime e8b7ee4
- replace fedorahosted links
14f20cf
e1fd3fa
* Thu Apr 28 2016 Miroslav Suchý <msuchy@redhat.com> 1.66-1
e1fd3fa
- 1330322 - quote email when we query gpg db
e1fd3fa
89f762b
* Mon Mar 14 2016 Jakub Kadlčík <jkadlcik@redhat.com> 1.65-1
89f762b
- GnuPG 2.1 compatibility - key creation fix
89f762b
89f762b
* Mon Nov 16 2015 Miroslav Suchý <msuchy@redhat.com> 1.64-1
89f762b
- Fixed invalid classifiers
82a23ba
89f762b
* Thu Jul 02 2015 Valentin Gologuzov <vgologuz@redhat.com> 1.63-1
89f762b
- fix race condition during key-pair creation, now should be safe with
89f762b
  file locking.
029804c
89f762b
* Wed May 20 2015 Valentin Gologuzov <vgologuz@redhat.com> 1.62-1
89f762b
- [keygen] set selinux context httpd_var_lib_t to /var/lib/copr-keygen
47891d2
89f762b
* Fri May 15 2015 Miroslav Suchý <msuchy@redhat.com> 1.61-1
clime dc042c9
- [keygen] fix SELinux context for /var/log/copr-keygen/ to be accessible by
89f762b
  httpd process
89f762b
- mark license as license in spec
89f762b
- [backend] refactored mockremote
89f762b
- [PEP8] cleanup done
7a3880a
Valentin Gologuzov ce6e1f2
* Fri Oct 24 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.60-1
Valentin Gologuzov ce6e1f2
- [keygen] added option "--no-auto-check-trustdb" to gpg wrapper
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Tue Oct 21 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.59-1
Valentin Gologuzov ce6e1f2
- [keygen] replaced Python RotatedFileHandler with logrotate.d
Valentin Gologuzov ce6e1f2
- [keygen] [.spec] fixes to follow Fedora packaging guidelines
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Oct 01 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.58-1
Valentin Gologuzov ce6e1f2
- [keygen] python3 bugfix,  added logging
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Sep 24 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.57-1
Valentin Gologuzov ce6e1f2
- [keygen] changed shebang in run scripts to #!/usr/bin/python3, Requires:
Valentin Gologuzov ce6e1f2
  {,python3-}mod_wsgi
Valentin Gologuzov ce6e1f2
- [keygen] package only python3 version, targeting f19+
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Sep 22 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.56-1
Valentin Gologuzov ce6e1f2
- [keygen] .spec: run tests, build py3 version for fedora
Valentin Gologuzov ce6e1f2
- [keygen] py3 compatibility
Valentin Gologuzov ce6e1f2
- [keygen] added unittests
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Thu Sep 18 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.55-1
Valentin Gologuzov ce6e1f2
- [keygen] cleanup in .spec
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Thu Sep 18 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.54-1
Valentin Gologuzov ce6e1f2
- [keygen] minor fixes/typos
Valentin Gologuzov ce6e1f2
- [keygen] fixed BuildRequeres in .spec; added requirements.txt
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Sep 17 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.53-1
Valentin Gologuzov ce6e1f2
- new package [copr-keygen] built with tito
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Aug 27 2014 Miroslav Suchý <msuchy@redhat.com> 1.44-1
Valentin Gologuzov ce6e1f2
- fix spec parsing on arm
Valentin Gologuzov ce6e1f2
-  'manage.py update_indexes' and search fix
Valentin Gologuzov ce6e1f2
- [RHBZ:1131286] RFE: API endpoint for a project's "monitor" status
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Aug 25 2014 Adam Samalik <asamalik@redhat.com> 1.43-1
Valentin Gologuzov ce6e1f2
- [frontend] bugfix: context_processor shouldn't return None
Valentin Gologuzov ce6e1f2
- [frontend] task queue sorting fix
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Fri Aug 22 2014 Adam Samalik <asamalik@redhat.com> 1.42-1
Valentin Gologuzov ce6e1f2
- [frontend] make all html tags to have the same left-padding
Valentin Gologuzov ce6e1f2
- [frontend][RHBZ:1128602] RFE: define banner for local instance
Valentin Gologuzov ce6e1f2
- [frontend][RHBZ:1131186] Use https URLs to install copr repo file
Valentin Gologuzov ce6e1f2
- [frontend] [RHBZ:1128231] Show list of recent builds owned by user ( for
Valentin Gologuzov ce6e1f2
  logged in users).
Valentin Gologuzov ce6e1f2
- [API] friendly notification about invalid/expired token
Valentin Gologuzov ce6e1f2
- [frontend] project name can not be just number
Valentin Gologuzov ce6e1f2
- [frontend] starting builds highlighted on the waiting list
Valentin Gologuzov ce6e1f2
- [frontend] [BZ:1128231] RFE: frontend user interface like koji: added
Valentin Gologuzov ce6e1f2
  `/recent` page which list of ended builds.
Valentin Gologuzov ce6e1f2
- [frontend] fixed SQLa ordering queries.
Valentin Gologuzov ce6e1f2
- [frontend] paginator fix
Valentin Gologuzov ce6e1f2
- [frontend] build states list
Valentin Gologuzov ce6e1f2
- [frontend] minor bugfix: fixed api method `cancel build`.
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Aug 13 2014 Miroslav Suchý <msuchy@redhat.com> 1.41-1
Valentin Gologuzov ce6e1f2
- [frontend] bugifx: for some projects API doesn't return last-modified time in
Valentin Gologuzov ce6e1f2
  detail resource.
Valentin Gologuzov ce6e1f2
- new queue for backend
Valentin Gologuzov ce6e1f2
- [frontend] new waiting queue
Valentin Gologuzov ce6e1f2
- [frontend] sorting packages on the Monitor view
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Tue Jul 22 2014 Miroslav Suchý <msuchy@redhat.com> 1.40-1
Valentin Gologuzov ce6e1f2
- [frontend] status page fix
Valentin Gologuzov ce6e1f2
- [frontend] How to enable a repo on a Overview page
Valentin Gologuzov ce6e1f2
- [frontend] build listing fix
Valentin Gologuzov ce6e1f2
- [frontend] status page extension - running tasks
Valentin Gologuzov ce6e1f2
- [frontend] modified chroots in overview
Valentin Gologuzov ce6e1f2
- FrontendCallback prettified
Valentin Gologuzov ce6e1f2
- Starting state implemented, cancelling fixed
Valentin Gologuzov ce6e1f2
- [frontend] new build status: Starting
Valentin Gologuzov ce6e1f2
- [frontend] db migration
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Tue Jul 15 2014 Miroslav Suchý <msuchy@redhat.com> 1.39-1
Valentin Gologuzov ce6e1f2
- frontend: add f21 chroot
Valentin Gologuzov ce6e1f2
- 1118829 - suggest owners to entry link to reporting web
Valentin Gologuzov ce6e1f2
- small changes after review
Valentin Gologuzov ce6e1f2
- better and safer deleting of builds
Valentin Gologuzov ce6e1f2
- [frontend] build's ended_on time fix
Valentin Gologuzov ce6e1f2
- [frontend] built pkgs info - include subpackages
Valentin Gologuzov ce6e1f2
- deleting of failed builds fixed
Valentin Gologuzov ce6e1f2
- [frontend] api build details extended
Valentin Gologuzov ce6e1f2
- pkg name on the build page
Valentin Gologuzov ce6e1f2
- [frontend] pkg version on the Monitor page
Valentin Gologuzov ce6e1f2
- [frontend] pkg name and version on the build page
Valentin Gologuzov ce6e1f2
- [frontend] pkg name and version support
Valentin Gologuzov ce6e1f2
- [frontend] skipped state support
Valentin Gologuzov ce6e1f2
- Ansible playbok to generate frontend db documentation
Valentin Gologuzov ce6e1f2
- obsolete copr-doc
Valentin Gologuzov ce6e1f2
- [frontend] repeat build button in all states of build except pending
Valentin Gologuzov ce6e1f2
- [frontend] project update by admin fix
Valentin Gologuzov ce6e1f2
- get rid of multi assigment
Valentin Gologuzov ce6e1f2
- [frontend] repofiles without specifying architecture
Valentin Gologuzov ce6e1f2
- api search fix
Valentin Gologuzov ce6e1f2
- WSGIPassAuthorization needs to be on
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Fri May 30 2014 Miroslav Suchý <msuchy@redhat.com> 1.38-1
Valentin Gologuzov ce6e1f2
- [frontend] running build can not be deleted
Valentin Gologuzov ce6e1f2
- [frontend] cancel status set to all chroots
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Fri May 30 2014 Miroslav Suchý <msuchy@redhat.com> 1.37-1
Valentin Gologuzov ce6e1f2
- [frontend] monitor table design unified
Valentin Gologuzov ce6e1f2
- [frontend] skipping bad package urls
Valentin Gologuzov ce6e1f2
- builders can delete their builds
Valentin Gologuzov ce6e1f2
- css fix
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed May 21 2014 Miroslav Suchý <msuchy@redhat.com> 1.36-1
Valentin Gologuzov ce6e1f2
- 1077794 - add LICENSE to -doc subpackage
Valentin Gologuzov ce6e1f2
- 1077794 - own /usr/share/doc/copr-frontend
Valentin Gologuzov ce6e1f2
- 1077794 - remove BR make
Valentin Gologuzov ce6e1f2
- 1077794 - require passwd
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed May 21 2014 Miroslav Suchý <msuchy@redhat.com> 1.35-1
Valentin Gologuzov ce6e1f2
- build detail and new builds table
Valentin Gologuzov ce6e1f2
- admin/playground page
Valentin Gologuzov ce6e1f2
- Use "https" in API template
Valentin Gologuzov ce6e1f2
- Use flask_openid safe_roots to mitigate Covert Redirect.
Valentin Gologuzov ce6e1f2
- add newline at the end of repo file
Valentin Gologuzov ce6e1f2
- [cli & api] delete a project
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Thu Apr 24 2014 Miroslav Suchý <msuchy@redhat.com> 1.34-1
Valentin Gologuzov ce6e1f2
- add indexes
Valentin Gologuzov ce6e1f2
- 1086729 - make build tab friendly for users without JS
Valentin Gologuzov ce6e1f2
- copr-cli cancel fix
Valentin Gologuzov ce6e1f2
- correctly print chroots
Valentin Gologuzov ce6e1f2
- [frontend] SEND_EMAILS config correction
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Tue Apr 15 2014 Miroslav Suchý <msuchy@redhat.com> 1.33-1
Valentin Gologuzov ce6e1f2
- api: add chroots to playground api call
Valentin Gologuzov ce6e1f2
- check if chroot exist for specified project
Valentin Gologuzov ce6e1f2
- better explain additional yum repos
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Thu Apr 10 2014 Miroslav Suchý <msuchy@redhat.com> 1.32-1
Valentin Gologuzov ce6e1f2
- send permissions request to admin not to requestee
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Apr 09 2014 Miroslav Suchý <msuchy@redhat.com> 1.31-1
Valentin Gologuzov ce6e1f2
- validate chroots in POST requests with API
Valentin Gologuzov ce6e1f2
- add /playground/list/ api call
Valentin Gologuzov ce6e1f2
- add playground column to copr table
Valentin Gologuzov ce6e1f2
- Make repo urls nicer so that last part matches filename
Valentin Gologuzov ce6e1f2
- fixes and documentation for 66287cc8
Valentin Gologuzov ce6e1f2
- use https for gravatar urls
Valentin Gologuzov ce6e1f2
- We can choose chroots for new builds
Valentin Gologuzov ce6e1f2
- [frontend] delete all builds with their project
Valentin Gologuzov ce6e1f2
- [frontend] config comments
Valentin Gologuzov ce6e1f2
- [frontend] sending emails when perms change
Valentin Gologuzov ce6e1f2
- [frontend] typo s/Coper/Copr/
Valentin Gologuzov ce6e1f2
- api: fix coprs.models.User usage in search
Valentin Gologuzov ce6e1f2
- status page fix: long time
Valentin Gologuzov ce6e1f2
- status page fix: project's owner
Valentin Gologuzov ce6e1f2
- building pkgs separately
Valentin Gologuzov ce6e1f2
- [frontend] let apache log in default location
Valentin Gologuzov ce6e1f2
- api: fix KeyError in search
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Mar 19 2014 Miroslav Suchý <msuchy@redhat.com> 1.30-1
Valentin Gologuzov ce6e1f2
- Fix typo in API doc HTML
Valentin Gologuzov ce6e1f2
- white background
Valentin Gologuzov ce6e1f2
- status page
Valentin Gologuzov ce6e1f2
- create _pkgdocdir
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Tue Mar 18 2014 Miroslav Suchý <msuchy@redhat.com> 1.29-1
Valentin Gologuzov ce6e1f2
- move frontend to standalone package
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Thu Feb 27 2014 Miroslav Suchý <msuchy@redhat.com> 1.28-1
Valentin Gologuzov ce6e1f2
- [backend] - pass lock to Actions
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Feb 26 2014 Miroslav Suchý <msuchy@redhat.com> 1.27-1
Valentin Gologuzov ce6e1f2
- [frontend] update to jquery 1.11.0
Valentin Gologuzov ce6e1f2
- [fronted] link username to fas
Valentin Gologuzov ce6e1f2
- [cli] allow to build into projects of other users
Valentin Gologuzov ce6e1f2
- [backend] do not create repo in destdir
Valentin Gologuzov ce6e1f2
- [backend] ensure that only one createrepo is running at the same time
Valentin Gologuzov ce6e1f2
- [cli] allow to get data from sent build
Valentin Gologuzov ce6e1f2
- temporary workaround for BZ 1065251
Valentin Gologuzov ce6e1f2
- Chroot details API now uses GET instead of POST
Valentin Gologuzov ce6e1f2
- when deleting/canceling task, go to same page
Valentin Gologuzov ce6e1f2
- add copr modification to web api
Valentin Gologuzov ce6e1f2
- 1063311 - admin should be able to delete task
Valentin Gologuzov ce6e1f2
- [frontend] Stray end tag h4.
Valentin Gologuzov ce6e1f2
- [frontend] another s/coprs/projects/ rename
clime dc042c9
- [frontend] provide info about last successful build
Valentin Gologuzov ce6e1f2
- [spec] rhel5 needs group definition even in subpackage
Valentin Gologuzov ce6e1f2
- [frontend] move 'you agree' text to dd
Valentin Gologuzov ce6e1f2
- [frontend] add margin to chroots-set
Valentin Gologuzov ce6e1f2
- [frontend] add margin to field label
Valentin Gologuzov ce6e1f2
- [frontend] put disclaimer to paragraph tags
Valentin Gologuzov ce6e1f2
- [frontend] use black font color
Valentin Gologuzov ce6e1f2
- [frontend] use default filter instead of *_not_filled
Valentin Gologuzov ce6e1f2
- [frontend] use markdown template filter
Valentin Gologuzov ce6e1f2
- [frontend] use isdigit instead of is_int
Valentin Gologuzov ce6e1f2
- [frontend] move Serializer to helpers
Valentin Gologuzov ce6e1f2
- [frontend] fix coding style and py3 compatibility
Valentin Gologuzov ce6e1f2
- [cli] fix coding style and py3 compatibility
Valentin Gologuzov ce6e1f2
- [backend] fix coding style and py3 compatibility
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Tue Jan 28 2014 Miroslav Suchý <miroslav@suchy.cz> 1.26-1
Valentin Gologuzov ce6e1f2
- lower testing date
Valentin Gologuzov ce6e1f2
- move localized_time into filters
Valentin Gologuzov ce6e1f2
- [frontend] update user data after login
Valentin Gologuzov ce6e1f2
- [frontend] use iso-8601 date
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Jan 27 2014 Miroslav Suchý <msuchy@redhat.com> 1.25-1
Valentin Gologuzov ce6e1f2
- 1044085 - move timezone modification out of template and make it actually
Valentin Gologuzov ce6e1f2
  work
Valentin Gologuzov ce6e1f2
- clean up temp data if any
Valentin Gologuzov ce6e1f2
- [db] timezone can be nullable
Valentin Gologuzov ce6e1f2
- [frontend] actually save the timezone to model
Valentin Gologuzov ce6e1f2
- fix colision of revision id
Valentin Gologuzov ce6e1f2
- 1044085 - frontend: display time in user timezone
Valentin Gologuzov ce6e1f2
- [frontend] rebuild stuck task
Valentin Gologuzov ce6e1f2
- disable test on i386
Valentin Gologuzov ce6e1f2
- use experimental createrepo_c to get rid of lock on temp files
Valentin Gologuzov ce6e1f2
- [frontend] - do not throw ISE when build_id is malformed
Valentin Gologuzov ce6e1f2
- [tests] add test for BuildLogic.add
Valentin Gologuzov ce6e1f2
- [tests] add test for build resubmission
Valentin Gologuzov ce6e1f2
- [frontend] permission checking is done in BuildLogic.add
Valentin Gologuzov ce6e1f2
- [frontend] remove BuildLogic.new, use BL.add only
Valentin Gologuzov ce6e1f2
- [api] fix validation error handling
Valentin Gologuzov ce6e1f2
- [cli] fix initial_pkgs and repos not sent to backend
Valentin Gologuzov ce6e1f2
- [frontend] fix BuildsLogic.new not assigning copr to build
Valentin Gologuzov ce6e1f2
- [frontend] allow resubmitting builds from monitor
Valentin Gologuzov ce6e1f2
- [frontend] allow GET on repeat_build
Valentin Gologuzov ce6e1f2
- [frontend] 1050904 - monitor shows not submitted chroots
Valentin Gologuzov ce6e1f2
- [frontend] rename active_mock_chroots to active_chroots
Valentin Gologuzov ce6e1f2
- [frontend] rename MockChroot.chroot_name to .name
Valentin Gologuzov ce6e1f2
- [frontend] 1054474 - drop Copr.build_count nonsense
Valentin Gologuzov ce6e1f2
- [tests] fix https and repo generation
Valentin Gologuzov ce6e1f2
- [tests] return exit code from manage.py test
Valentin Gologuzov ce6e1f2
- 1054472 - Fix deleting multiple SRPMs
Valentin Gologuzov ce6e1f2
- [spec] tighten acl on copr-be.conf
Valentin Gologuzov ce6e1f2
- [backend] - add missing import
Valentin Gologuzov ce6e1f2
- 1054082 - general: encode to utf8 if err in mimetext
Valentin Gologuzov ce6e1f2
- [backend] lock log file before writing
Valentin Gologuzov ce6e1f2
- 1055594 - mockremote: always unquote pkg url
Valentin Gologuzov ce6e1f2
- 1054086 - change vendor tag
Valentin Gologuzov ce6e1f2
- mockremote: rawhide instead of $releasever in repos when in rawhide chroot
Valentin Gologuzov ce6e1f2
- 1055499 - do not replace version with $releasever on rawhide
Valentin Gologuzov ce6e1f2
- 1055119 - do not propagate https until it is properly signed
Valentin Gologuzov ce6e1f2
- fix spellings on chroot edit page
Valentin Gologuzov ce6e1f2
- 1054341 - be more verbose about allowed licenses
Valentin Gologuzov ce6e1f2
- 1054594 - temporary disable https in repo file
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Thu Jan 16 2014 Miroslav Suchý <msuchy@redhat.com> 1.24-1
Valentin Gologuzov ce6e1f2
- add BR python-markdown
Valentin Gologuzov ce6e1f2
- [fronted] don't add description to .repo files
Valentin Gologuzov ce6e1f2
- [spec] fix with_tests conditional
Valentin Gologuzov ce6e1f2
- add build deletion
Valentin Gologuzov ce6e1f2
- 1044158 - do not require fas username prior to login
Valentin Gologuzov ce6e1f2
- replace http with https in copr-cli and in generated repo file
clime dc042c9
- [cli] UX changes - explicitly state that pkgs is URL
Valentin Gologuzov ce6e1f2
- 1053142 - only build copr-cli on el6
Valentin Gologuzov ce6e1f2
- [frontend] correctly handle mangled chroot
Valentin Gologuzov ce6e1f2
- [frontend] do not traceback when user malform url
Valentin Gologuzov ce6e1f2
- [frontend] change default description and instructions to sound more
Valentin Gologuzov ce6e1f2
  dangerously
Valentin Gologuzov ce6e1f2
- 1052075 - do not set chroots on repeated build
Valentin Gologuzov ce6e1f2
- 1052071 - do not throw ISE when copr does not exist
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Jan 13 2014 Miroslav Suchý <msuchy@redhat.com> 1.23-1
Valentin Gologuzov ce6e1f2
- [backend] rhel7-beta do not have comps
Valentin Gologuzov ce6e1f2
- 1052073 - correctly parse malformed chroot
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Fri Jan 10 2014 Miroslav Suchý <msuchy@redhat.com> 1.22-1
Valentin Gologuzov ce6e1f2
- [backend] if we could not spawn VM, wait a moment and try again
Valentin Gologuzov ce6e1f2
- [backend] use createrepo_c instead of createrepo
Valentin Gologuzov ce6e1f2
- 1050952 - check if copr_url exist in config
Valentin Gologuzov ce6e1f2
- [frontend] replace newlines in description by space in repo file
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Jan 08 2014 Miroslav Suchý <msuchy@redhat.com> 1.21-1
Valentin Gologuzov ce6e1f2
- 1049460 - correct error message
clime dc042c9
- [cron] manually clean /var/tmp after createrepo
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Jan 08 2014 Miroslav Suchý <msuchy@redhat.com> 1.20-1
Valentin Gologuzov ce6e1f2
- [cli] no need to set const with action=store_true
Valentin Gologuzov ce6e1f2
- [cli] code cleanup
Valentin Gologuzov ce6e1f2
- 1049460 - print nice error when projects does not exist
Valentin Gologuzov ce6e1f2
- 1049392 - require python-setuptools
Valentin Gologuzov ce6e1f2
- [backend] add --verbose to log to stderr
Valentin Gologuzov ce6e1f2
- [backend] handle KeyboardInterrupt without tons of tracebacks
Valentin Gologuzov ce6e1f2
- 1048508 - fix links at projects lists
Valentin Gologuzov ce6e1f2
- [backend] in case of error the output is in e.output
Valentin Gologuzov ce6e1f2
- [selinux] allow httpd to search
Valentin Gologuzov ce6e1f2
- [backend] set number of worker in name of process
Valentin Gologuzov ce6e1f2
- [logrotate] rotate every week unconditionally
Valentin Gologuzov ce6e1f2
- [backend] do not traceback if jobfile is mangled
Valentin Gologuzov ce6e1f2
- [backend] print error messages to stderr
Valentin Gologuzov ce6e1f2
- [cli] do not require additional arguments for --nowait
Valentin Gologuzov ce6e1f2
- [backend] replace procname with setproctitle
Valentin Gologuzov ce6e1f2
- [cli] use copr.fedoraproject.org as default url
Valentin Gologuzov ce6e1f2
- [frontend] show monitor even if last build have been canceled
Valentin Gologuzov ce6e1f2
- [backend] call correct function
Valentin Gologuzov ce6e1f2
- [cli] print errors to stderr
Valentin Gologuzov ce6e1f2
- 1044136 - do not print TB if config in mangled
Valentin Gologuzov ce6e1f2
- 1044165 - Provide login and token information in the same form as entered to
Valentin Gologuzov ce6e1f2
  ~/.config-copr
Valentin Gologuzov ce6e1f2
- [frontend] code cleanup
Valentin Gologuzov ce6e1f2
- [frontend] move rendering of .repo file to helpers
Valentin Gologuzov ce6e1f2
- 1043649 - in case of Fedora use $releasever in repo file
Valentin Gologuzov ce6e1f2
- [frontend] condition should be in reverse
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Dec 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.19-1
Valentin Gologuzov ce6e1f2
- [backend] log real cause if ansible crash
Valentin Gologuzov ce6e1f2
- [frontend] try again if whoosh does not get lock
Valentin Gologuzov ce6e1f2
- [backend] if frontend does not respond, repeat
Valentin Gologuzov ce6e1f2
- print yum repos nicely
Valentin Gologuzov ce6e1f2
- Bump the copr-cli release to 0.2.0 with all the changes made
Valentin Gologuzov ce6e1f2
- Refer to the man page for more information about the configuration file for
Valentin Gologuzov ce6e1f2
  copr-cli
Valentin Gologuzov ce6e1f2
- Rework the layout of the list command
Valentin Gologuzov ce6e1f2
- Fix parsing the copr_url from the configuration file
Valentin Gologuzov ce6e1f2
- [backend] run createrepo as copr user
Valentin Gologuzov ce6e1f2
- 1040615 - wrap lines with long URL
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Dec 11 2013 Miroslav Suchý <msuchy@redhat.com> 1.18-1
Valentin Gologuzov ce6e1f2
- [frontend] inicialize variable
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Dec 11 2013 Miroslav Suchý <msuchy@redhat.com> 1.17-1
Valentin Gologuzov ce6e1f2
- [frontend] fix latest build variable overwrite
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Dec 11 2013 Miroslav Suchý <msuchy@redhat.com> 1.16-1
Valentin Gologuzov ce6e1f2
- [backend] store jobs in id-chroot.json file
Valentin Gologuzov ce6e1f2
- [frontend] handle unknown build/chroot status
Valentin Gologuzov ce6e1f2
- use newstyle ansible variables
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Tue Dec 10 2013 Miroslav Suchý <msuchy@redhat.com> 1.15-1
Valentin Gologuzov ce6e1f2
- [frontend] smarter package name parsing
Valentin Gologuzov ce6e1f2
- [frontend] extend range to allow 0
Valentin Gologuzov ce6e1f2
- handle default timeout on backend
Valentin Gologuzov ce6e1f2
- initial support for SCL
Valentin Gologuzov ce6e1f2
- [backend] create word readable files in result directory
Valentin Gologuzov ce6e1f2
- [backend] print tracebacks
Valentin Gologuzov ce6e1f2
- [frontend] monitor: display only pkg name w/o version
Valentin Gologuzov ce6e1f2
- [doc] update api docs
Valentin Gologuzov ce6e1f2
- [doc] update copr-cli manpage
Valentin Gologuzov ce6e1f2
- [cli] list only name, description and instructions
Valentin Gologuzov ce6e1f2
- [cli] add support for build status & build monitor
Valentin Gologuzov ce6e1f2
- [frontend] add build status to API
Valentin Gologuzov ce6e1f2
- [playbook] do not overwrite mockchain
Valentin Gologuzov ce6e1f2
- [backend] add spece between options
Valentin Gologuzov ce6e1f2
- [backend] pass mock options correctly
Valentin Gologuzov ce6e1f2
- [frontend] support markdown in description and instructions
Valentin Gologuzov ce6e1f2
- [backend] Add macros to mockchain define arguments
Valentin Gologuzov ce6e1f2
- [backend] Pass copr username and project name to MockRemote
Valentin Gologuzov ce6e1f2
- [backend] Handle additional macro specification in MockRemote
Valentin Gologuzov ce6e1f2
- [frontend] monitor: show results per package
Valentin Gologuzov ce6e1f2
- [frontend] add favicon
Valentin Gologuzov ce6e1f2
- [backend] quote strings before passing to mockchain
Valentin Gologuzov ce6e1f2
- send chroots with via callback to frontend
Valentin Gologuzov ce6e1f2
- [cli] change cli to new api call
Valentin Gologuzov ce6e1f2
- enhance API documentation
Valentin Gologuzov ce6e1f2
- add yum_repos to coprs/user API call
Valentin Gologuzov ce6e1f2
- [frontend] provide link to description of allowed content
Valentin Gologuzov ce6e1f2
- [backend] we pass just one chroot
Valentin Gologuzov ce6e1f2
- [backend] - variable play is not defined
Valentin Gologuzov ce6e1f2
- if createrepo fail, run it again
Valentin Gologuzov ce6e1f2
- [cron] fix syntax error
Valentin Gologuzov ce6e1f2
- [man] state that --chroot for create command is required
Valentin Gologuzov ce6e1f2
- [spec] enable tests
Valentin Gologuzov ce6e1f2
- [howto] add note about upgrading db schema
Valentin Gologuzov ce6e1f2
- [frontend]: add copr monitor
Valentin Gologuzov ce6e1f2
- [tests]: replace test_allowed_one
Valentin Gologuzov ce6e1f2
- [tests]: fix for BuildChroots & new backend view
Valentin Gologuzov ce6e1f2
- [frontend] rewrite backend view to use Build <-> Chroot relation
Valentin Gologuzov ce6e1f2
- [frontend] add Build <-> Chroot relation
Valentin Gologuzov ce6e1f2
- 1030493 - [cli] check that at least one chroot is entered
Valentin Gologuzov ce6e1f2
- [frontend] typo
Valentin Gologuzov ce6e1f2
- fixup! [tests]: fix test_build_logic to handle BuildChroot
Valentin Gologuzov ce6e1f2
- fixup! [frontend] add ActionsLogic
Valentin Gologuzov ce6e1f2
- [tests]: fix test_build_logic to handle BuildChroot
Valentin Gologuzov ce6e1f2
- [spec] enable/disable test using variable
Valentin Gologuzov ce6e1f2
- add migration script - add table build_chroot
Valentin Gologuzov ce6e1f2
- [frontend] skip legal-flag actions when dumping waiting actions
Valentin Gologuzov ce6e1f2
- [frontend] rewrite backend view to use Build <-> Chroot relation
Valentin Gologuzov ce6e1f2
- [frontend] add ActionsLogic
Valentin Gologuzov ce6e1f2
- [frontend] create BuildChroot objects on new build
Valentin Gologuzov ce6e1f2
- [frontend] add Build <-> Chroot relation
Valentin Gologuzov ce6e1f2
- [frontend] add StatusEnum
Valentin Gologuzov ce6e1f2
- [frontend] fix name -> coprname typo
Valentin Gologuzov ce6e1f2
- [frontend] remove unused imports
Valentin Gologuzov ce6e1f2
- [frontend] add missing json import
Valentin Gologuzov ce6e1f2
- [backend] rework ip address extraction
Valentin Gologuzov ce6e1f2
- ownership of /etc/copr should be just normal
Valentin Gologuzov ce6e1f2
- [backend] - wrap up returning action in "action" blok
Valentin Gologuzov ce6e1f2
- [backend] rename backend api url
Valentin Gologuzov ce6e1f2
- [backend] handle "rename" action
Valentin Gologuzov ce6e1f2
- [backend] handle "delete" action
Valentin Gologuzov ce6e1f2
- base handling of actions
Valentin Gologuzov ce6e1f2
- move callback to frontend to separate object
Valentin Gologuzov ce6e1f2
- secure waiting_actions with password
Valentin Gologuzov ce6e1f2
- pick only individual builds
Valentin Gologuzov ce6e1f2
- make address, where we send legal flags, configurable
Valentin Gologuzov ce6e1f2
- send email to root after legal flag have been raised
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Fri Nov 08 2013 Miroslav Suchý <msuchy@redhat.com> 1.14-1
Valentin Gologuzov ce6e1f2
- 1028235 - add disclaimer about repos
Valentin Gologuzov ce6e1f2
- fix pagination
Valentin Gologuzov ce6e1f2
- fix one failing test
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Nov 06 2013 Miroslav Suchý <msuchy@redhat.com> 1.13-1
Valentin Gologuzov ce6e1f2
- suggest correct name of repo file
Valentin Gologuzov ce6e1f2
- we could not use releasever macro
Valentin Gologuzov ce6e1f2
- no need to capitalize Projects
Valentin Gologuzov ce6e1f2
- another s/copr/project
Valentin Gologuzov ce6e1f2
- add link to header for sign-in
Valentin Gologuzov ce6e1f2
- fix failing tests
Valentin Gologuzov ce6e1f2
- UX - let textarea will full widht of box
Valentin Gologuzov ce6e1f2
- UX - make background of hovered builds darker
Valentin Gologuzov ce6e1f2
- generate yum repo for each chroot of copr
Valentin Gologuzov ce6e1f2
- align table header same way as ordinary rows
Valentin Gologuzov ce6e1f2
- enable resulting repo and disable gpgchecks
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Nov 04 2013 Miroslav Suchý <msuchy@redhat.com> 1.12-1
Valentin Gologuzov ce6e1f2
- do not send parameters when we neither need them nor use them
Valentin Gologuzov ce6e1f2
- authenticate using api login, not using username
Valentin Gologuzov ce6e1f2
- disable editing name of project
Valentin Gologuzov ce6e1f2
- Add commented out WTF_CSRF_ENABLED = True to configs
Valentin Gologuzov ce6e1f2
- Use new session for each test
Valentin Gologuzov ce6e1f2
- fix test_coprs_general failures
Valentin Gologuzov ce6e1f2
- fix test_coprs_builds failures
Valentin Gologuzov ce6e1f2
- Add WTF_CSRF_ENABLED = False to unit test config
Valentin Gologuzov ce6e1f2
- PEP8 fixes
Valentin Gologuzov ce6e1f2
- Fix compatibility with wtforms 0.9
Valentin Gologuzov ce6e1f2
- typo s/submited/submitted/
Valentin Gologuzov ce6e1f2
- UX - show details of build only after click
Valentin Gologuzov ce6e1f2
- add link to FAQ to footer
Valentin Gologuzov ce6e1f2
- UX - add placeholders
Valentin Gologuzov ce6e1f2
- UX - add asterisk to required fields
Valentin Gologuzov ce6e1f2
- dynamicly generate url for home
Valentin Gologuzov ce6e1f2
- add footer
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Sat Oct 26 2013 Miroslav Suchý <msuchy@redhat.com> 1.11-1
Valentin Gologuzov ce6e1f2
- catch IOError from libravatar if there is no network
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Fri Oct 25 2013 Miroslav Suchý <msuchy@redhat.com> 1.10-1
Valentin Gologuzov ce6e1f2
- do not normalize url
Valentin Gologuzov ce6e1f2
- specify full prefix of http
Valentin Gologuzov ce6e1f2
- execute playbook using /usr/bin/ansible-playbook
Valentin Gologuzov ce6e1f2
- use ssh transport
Valentin Gologuzov ce6e1f2
- check after connection is made
Valentin Gologuzov ce6e1f2
- add notes about debuging mockremote
Valentin Gologuzov ce6e1f2
- clean up instance even when worker fails
Valentin Gologuzov ce6e1f2
- normalize paths before using
Valentin Gologuzov ce6e1f2
- do not use exception variable
Valentin Gologuzov ce6e1f2
- operator should be preceded and followed by space
Valentin Gologuzov ce6e1f2
- remove trailing whitespace
Valentin Gologuzov ce6e1f2
- convert comment to docstring
Valentin Gologuzov ce6e1f2
- use ssh transport
Valentin Gologuzov ce6e1f2
- do not create new ansible connection, reuse self.conn
Valentin Gologuzov ce6e1f2
- run copr-be.py as copr
Valentin Gologuzov ce6e1f2
- s/Copr/Project/ where we use copr in meaning of projects
Valentin Gologuzov ce6e1f2
- number will link to those coprs, to which it refers
Valentin Gologuzov ce6e1f2
- run log and jobgrab as copr user
Valentin Gologuzov ce6e1f2
- log event to log file
Valentin Gologuzov ce6e1f2
- convert comment into docstring
Valentin Gologuzov ce6e1f2
- use unbufferred output for copr-be.py
Valentin Gologuzov ce6e1f2
- hint how to set ec2 variables
Valentin Gologuzov ce6e1f2
- document sleeptime
Valentin Gologuzov ce6e1f2
- document copr_url for copr-cli
Valentin Gologuzov ce6e1f2
- document how to set api key for copr-cli
Valentin Gologuzov ce6e1f2
- do not create list of list
Valentin Gologuzov ce6e1f2
- document SECRET_KEY variable
Valentin Gologuzov ce6e1f2
- make note how to become admin
Valentin Gologuzov ce6e1f2
- instruct people to install selinux with frontend
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Thu Oct 03 2013 Miroslav Suchý <msuchy@redhat.com> 1.9-1
Valentin Gologuzov ce6e1f2
- prune old builds
Valentin Gologuzov ce6e1f2
- require python-decorator
Valentin Gologuzov ce6e1f2
- remove requirements.txt
Valentin Gologuzov ce6e1f2
- move TODO-backend to our wiki
Valentin Gologuzov ce6e1f2
- create pid file in /var/run/copr-backend
Valentin Gologuzov ce6e1f2
- add backend service file for systemd
Valentin Gologuzov ce6e1f2
- remove daemonize option in config
Valentin Gologuzov ce6e1f2
- use python logging
Valentin Gologuzov ce6e1f2
- create pid file in /var/run by default
Valentin Gologuzov ce6e1f2
- do not create destdir
Valentin Gologuzov ce6e1f2
- use daemon module instead of home brew function
Valentin Gologuzov ce6e1f2
- fix default location of copr-be.conf
Valentin Gologuzov ce6e1f2
- 2 tests fixed, one still failing
Valentin Gologuzov ce6e1f2
- fix failing test test_fail_on_missing_dash
Valentin Gologuzov ce6e1f2
- fixing test_fail_on_nonexistent_copr test
Valentin Gologuzov ce6e1f2
- run frontend unit tests when building package
Valentin Gologuzov ce6e1f2
- Adjust URLs in the unit-tests to their new structure
Valentin Gologuzov ce6e1f2
- Adjust the CLI to call the adjuste endpoint of the API
Valentin Gologuzov ce6e1f2
- Adjust API endpoint to reflects the UI endpoints in their url structure
Valentin Gologuzov ce6e1f2
- First pass at adding fedmsg hooks.
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Tue Sep 24 2013 Miroslav Suchý <msuchy@redhat.com> 1.8-1
Valentin Gologuzov ce6e1f2
- 1008532 - require python2-devel
Valentin Gologuzov ce6e1f2
- add note about ssh keys to copr-setup.txt
Valentin Gologuzov ce6e1f2
- set home of copr user to system default
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Sep 23 2013 Miroslav Suchý <msuchy@redhat.com> 1.7-1
Valentin Gologuzov ce6e1f2
- 1008532 - backend should own _pkgdocdir
Valentin Gologuzov ce6e1f2
- 1008532 - backend should owns /etc/copr as well
Valentin Gologuzov ce6e1f2
- 1008532 - require logrotate
Valentin Gologuzov ce6e1f2
- 1008532 - do not distribute empty copr.if
Valentin Gologuzov ce6e1f2
- 1008532 - use %%{?_smp_mflags} macro with make
Valentin Gologuzov ce6e1f2
- move jobsdir to /var/lib/copr/jobs
Valentin Gologuzov ce6e1f2
- correct playbooks path
Valentin Gologuzov ce6e1f2
- selinux with enforce can be used for frontend
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Wed Sep 18 2013 Miroslav Suchý <msuchy@redhat.com> 1.6-1
Valentin Gologuzov ce6e1f2
- add BR python-devel
Valentin Gologuzov ce6e1f2
- generate selinux type for /var/lib/copr and /var/log/copr
Valentin Gologuzov ce6e1f2
- clean up backend setup instructions
Valentin Gologuzov ce6e1f2
- initial selinux subpackage
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.5-1
Valentin Gologuzov ce6e1f2
- 1008532 - use __python2 instead of __python
Valentin Gologuzov ce6e1f2
- 1008532 - do not mark man page as doc
Valentin Gologuzov ce6e1f2
- 1008532 - preserve timestamp
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.4-1
Valentin Gologuzov ce6e1f2
- add logrotate file
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.3-1
Valentin Gologuzov ce6e1f2
- be clear how we create tgz
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.2-1
Valentin Gologuzov ce6e1f2
- fix typo
Valentin Gologuzov ce6e1f2
- move frontend data into /var/lib/copr
Valentin Gologuzov ce6e1f2
- no need to own /usr/share/copr by copr-fe
Valentin Gologuzov ce6e1f2
- mark application as executable
Valentin Gologuzov ce6e1f2
- coprs_frontend does not need to be owned by copr-fe
Valentin Gologuzov ce6e1f2
- add executable attribute to copr-be.py
Valentin Gologuzov ce6e1f2
- remove shebang from dispatcher.py
Valentin Gologuzov ce6e1f2
- squeeze description into 80 chars
Valentin Gologuzov ce6e1f2
- fix typo
Valentin Gologuzov ce6e1f2
- frontend need argparse too
Valentin Gologuzov ce6e1f2
- move results into /var/lib/copr/public_html
Valentin Gologuzov ce6e1f2
- name of dir is just copr-%%version
Valentin Gologuzov ce6e1f2
- Remove un-necessary quote that breaks the tests
Valentin Gologuzov ce6e1f2
- Adjust unit-tests to the new urls
Valentin Gologuzov ce6e1f2
- Update the URL to be based upon a /user/copr/<action> structure
Valentin Gologuzov ce6e1f2
- comment config copr-be.conf and add defaults
Valentin Gologuzov ce6e1f2
- put examples of builderpb.yml and terminatepb.yml into doc dir
Valentin Gologuzov ce6e1f2
- more detailed description of copr-be.conf
Valentin Gologuzov ce6e1f2
- move files in config directory not directory itself
Valentin Gologuzov ce6e1f2
- include copr-be.conf
Valentin Gologuzov ce6e1f2
- include copr-be.py
Valentin Gologuzov ce6e1f2
- create copr with lighttpd group
Valentin Gologuzov ce6e1f2
- edit backend part of copr-setup.txt
Valentin Gologuzov ce6e1f2
- remove fedora16 and add 19 and 20
Valentin Gologuzov ce6e1f2
- create -doc subpackage with python documentation
Valentin Gologuzov ce6e1f2
- add generated documentation on gitignore list
Valentin Gologuzov ce6e1f2
- add script to generate python documentation
Valentin Gologuzov ce6e1f2
- copr-setup.txt change to for mock
Valentin Gologuzov ce6e1f2
- rhel6 do not know _pkgdocdir macro
Valentin Gologuzov ce6e1f2
- make instruction clear
Valentin Gologuzov ce6e1f2
- require recent whoosh
Valentin Gologuzov ce6e1f2
- add support for libravatar
Valentin Gologuzov ce6e1f2
- include backend in rpm
Valentin Gologuzov ce6e1f2
- add notes about lighttpd config files and how to deploy them
Valentin Gologuzov ce6e1f2
- do not list file twice
Valentin Gologuzov ce6e1f2
- move log file to /var/log
Valentin Gologuzov ce6e1f2
- change destdir in copr-be.conf.example
Valentin Gologuzov ce6e1f2
- lightweight is the word and buildsystem has more meaning than 'koji'.
Valentin Gologuzov ce6e1f2
- restart apache after upgrade of frontend
Valentin Gologuzov ce6e1f2
- own directory where backend put results
Valentin Gologuzov ce6e1f2
- removal of hidden-file-or-dir
Valentin Gologuzov ce6e1f2
  /usr/share/copr/coprs_frontend/coprs/logic/.coprs_logic.py.swo
Valentin Gologuzov ce6e1f2
- copr-backend.noarch: W: spelling-error %%description -l en_US latests ->
Valentin Gologuzov ce6e1f2
  latest, latest's, la tests
Valentin Gologuzov ce6e1f2
- simplify configuration - introduce /etc/copr/copr*.conf
Valentin Gologuzov ce6e1f2
- Replace "with" statements with @TransactionDecorator decorator
Valentin Gologuzov ce6e1f2
- add python-flexmock to deps of frontend
Valentin Gologuzov ce6e1f2
- remove sentence which does not have meaning
Valentin Gologuzov ce6e1f2
- change api token expiration to 120 days and make it configurable
Valentin Gologuzov ce6e1f2
- create_chroot must be run as copr-fe user
Valentin Gologuzov ce6e1f2
- add note that you have to add chroots to db
Valentin Gologuzov ce6e1f2
- mark config.py as config so it is not overwritten during upgrade
Valentin Gologuzov ce6e1f2
- own directory data/whooshee/copr_user_whoosheer
Valentin Gologuzov ce6e1f2
- gcc is not needed
Valentin Gologuzov ce6e1f2
- sqlite db must be owned by copr-fe user
Valentin Gologuzov ce6e1f2
- copr does not work with selinux
Valentin Gologuzov ce6e1f2
- create subdirs under data/openid_store
Valentin Gologuzov ce6e1f2
- suggest to install frontend as package from copr repository
Valentin Gologuzov ce6e1f2
- on el6 add python-argparse to BR
Valentin Gologuzov ce6e1f2
- add python-requests to BR
Valentin Gologuzov ce6e1f2
- add python-setuptools to BR
Valentin Gologuzov ce6e1f2
- maintain apache configuration on one place only
Valentin Gologuzov ce6e1f2
- apache 2.4 changed access control
Valentin Gologuzov ce6e1f2
- require python-psycopg2
Valentin Gologuzov ce6e1f2
- postgresql server is not needed
Valentin Gologuzov ce6e1f2
- document how to create db
Valentin Gologuzov ce6e1f2
- add to HOWTO how to create db
Valentin Gologuzov ce6e1f2
- require python-alembic
Valentin Gologuzov ce6e1f2
- add python-flask-script and python-flask-whooshee to requirements
Valentin Gologuzov ce6e1f2
- change user in coprs.conf.example to copr-fe
Valentin Gologuzov ce6e1f2
- fix paths in coprs.conf.example
Valentin Gologuzov ce6e1f2
- copr is noarch package
Valentin Gologuzov ce6e1f2
- add note where to configure frontend
Valentin Gologuzov ce6e1f2
- move frontend to /usr/share/copr/coprs_frontend
Valentin Gologuzov ce6e1f2
- put production placeholders in coprs_frontend/coprs/config.py
Valentin Gologuzov ce6e1f2
- put frontend into copr.spec
Valentin Gologuzov ce6e1f2
- web application should be put in /usr/share/%%{name}
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2
* Mon Jun 17 2013 Miroslav Suchý <msuchy@redhat.com> 1.1-1
Valentin Gologuzov ce6e1f2
- new package built with tito
Valentin Gologuzov ce6e1f2
Valentin Gologuzov ce6e1f2