46bdce2
%if 0%{?rhel} < 7 && 0%{?rhel} > 0
46bdce2
%global _pkgdocdir %{_docdir}/%{name}-%{version}
46bdce2
%endif
46bdce2
46bdce2
Name:       copr-backend
46bdce2
Version:    1.32
46bdce2
Release:    1%{?dist}
46bdce2
Summary:    Backend for Copr
46bdce2
46bdce2
Group:      Applications/Productivity
46bdce2
License:    GPLv2+
46bdce2
URL:        https://fedorahosted.org/copr/
46bdce2
# Source is created by
46bdce2
# git clone https://git.fedorahosted.org/git/copr.git
46bdce2
# cd copr/backend
46bdce2
# tito build --tgz
46bdce2
Source0: %{name}-%{version}.tar.gz
46bdce2
46bdce2
BuildArch:  noarch
46bdce2
BuildRequires: asciidoc
46bdce2
BuildRequires: libxslt
46bdce2
BuildRequires: util-linux
46bdce2
BuildRequires: python-setuptools
46bdce2
BuildRequires: python-requests
46bdce2
BuildRequires: python2-devel
46bdce2
BuildRequires: systemd
46bdce2
%if 0%{?rhel} < 7 && 0%{?rhel} > 0
46bdce2
BuildRequires: python-argparse
46bdce2
%endif
46bdce2
#for doc package
46bdce2
BuildRequires: epydoc
46bdce2
BuildRequires: graphviz
46bdce2
46bdce2
Requires:   ansible >= 1.2
46bdce2
Requires:   lighttpd
46bdce2
Requires:   euca2ools
46bdce2
Requires:   rsync
46bdce2
Requires:   openssh-clients
46bdce2
Requires:   mock
46bdce2
Requires:   yum-utils
46bdce2
Requires:   createrepo_c >= 0.2.1-3
46bdce2
Requires:   python-bunch
46bdce2
Requires:   python-daemon
46bdce2
Requires:   python-lockfile
46bdce2
Requires:   python-requests
46bdce2
Requires:   python-setproctitle
46bdce2
Requires:   logrotate
46bdce2
Requires:   fedmsg
46bdce2
Requires:   gawk
46bdce2
Requires:   crontabs
46bdce2
Requires(post): systemd
46bdce2
Requires(preun): systemd
46bdce2
Requires(postun): systemd
46bdce2
46bdce2
%description
46bdce2
COPR is lightweight build system. It allows you to create new project in WebUI,
46bdce2
and submit new builds and COPR will create yum repository from latest builds.
46bdce2
46bdce2
This package contains backend.
46bdce2
46bdce2
%package doc
46bdce2
Summary:    Code documentation for COPR backend
46bdce2
46bdce2
%description doc
46bdce2
COPR is lightweight build system. It allows you to create new project in WebUI,
46bdce2
and submit new builds and COPR will create yum repository from latests builds.
46bdce2
46bdce2
This package include documentation for COPR code. Mostly useful for developers
46bdce2
only.
46bdce2
46bdce2
%prep
46bdce2
%setup -q
46bdce2
46bdce2
46bdce2
%build
46bdce2
# build documentation
46bdce2
pushd documentation
46bdce2
make %{?_smp_mflags} python
46bdce2
popd
46bdce2
46bdce2
%install
46bdce2
46bdce2
install -d %{buildroot}%{_sharedstatedir}/copr
46bdce2
install -d %{buildroot}%{_sharedstatedir}/copr/jobs
46bdce2
install -d %{buildroot}%{_sharedstatedir}/copr/public_html/results
46bdce2
install -d %{buildroot}%{_var}/log/copr
46bdce2
install -d %{buildroot}%{_var}/log/copr/workers/
46bdce2
install -d %{buildroot}%{_pkgdocdir}/lighttpd/
46bdce2
install -d %{buildroot}%{_datadir}/copr/backend
46bdce2
install -d %{buildroot}%{_sysconfdir}/copr
46bdce2
install -d %{buildroot}%{_sysconfdir}/logrotate.d/
46bdce2
install -d %{buildroot}%{_unitdir}
46bdce2
install -d %{buildroot}/%{_var}/log/copr-backend
46bdce2
install -d %{buildroot}/%{_var}/run/copr-backend/
46bdce2
install -d %{buildroot}/%{_tmpfilesdir}
46bdce2
install -d %{buildroot}/%{_sbindir}
46bdce2
install -d %{buildroot}%{_sysconfdir}/cron.daily
46bdce2
46bdce2
cp -a backend/* %{buildroot}%{_datadir}/copr/backend
46bdce2
cp -a copr-be.py %{buildroot}%{_datadir}/copr/
46bdce2
cp -a copr-be.conf.example %{buildroot}%{_sysconfdir}/copr/copr-be.conf
46bdce2
install -p -m 755 copr-prune-repo %{buildroot}%{_sbindir}/copr-prune-repo
46bdce2
install -p -m 755 crontab/copr-backend %{buildroot}%{_sysconfdir}/cron.daily/copr-backend
46bdce2
46bdce2
cp -a dist/lighttpd/* %{buildroot}%{_pkgdocdir}/lighttpd/
46bdce2
cp -a logrotate/* %{buildroot}%{_sysconfdir}/logrotate.d/
46bdce2
cp -a tmpfiles.d/* %{buildroot}/%{_tmpfilesdir}
46bdce2
46bdce2
# for ghost files
46bdce2
touch %{buildroot}%{_var}/log/copr/copr.log
46bdce2
for i in `seq 7`; do
46bdce2
    touch %{buildroot}%{_var}/log/copr/workers/worker-$i.log
46bdce2
done
46bdce2
touch %{buildroot}%{_var}/run/copr-backend/copr-be.pid
46bdce2
46bdce2
install -m 0644 copr-backend.service %{buildroot}/%{_unitdir}/
46bdce2
46bdce2
#doc
46bdce2
cp -a documentation/python-doc %{buildroot}%{_pkgdocdir}/
46bdce2
cp -a playbooks %{buildroot}%{_pkgdocdir}/
46bdce2
46bdce2
%pre
46bdce2
getent group copr >/dev/null || groupadd -r copr
46bdce2
getent passwd copr >/dev/null || \
46bdce2
useradd -r -g copr -G lighttpd -s /bin/bash -c "COPR user" copr
46bdce2
/usr/bin/passwd -l copr >/dev/null
46bdce2
46bdce2
%post
46bdce2
%systemd_post copr-backend.service
46bdce2
46bdce2
%preun
46bdce2
%systemd_preun copr-backend.service
46bdce2
46bdce2
%postun
46bdce2
%systemd_postun_with_restart copr-backend.service
46bdce2
46bdce2
%files
46bdce2
%doc LICENSE
46bdce2
%dir %{_datadir}/copr
46bdce2
%dir %{_sharedstatedir}/copr
46bdce2
%dir %attr(0755, copr, copr) %{_sharedstatedir}/copr/jobs/
46bdce2
%dir %attr(0755, copr, copr) %{_sharedstatedir}/copr/public_html/
46bdce2
%dir %attr(0755, copr, copr) %{_sharedstatedir}/copr/public_html/results
46bdce2
%dir %attr(0755, copr, copr) %{_var}/log/copr
46bdce2
%dir %attr(0755, copr, copr) %{_var}/log/copr/workers
46bdce2
%dir %attr(0755, copr, copr) %{_var}/run/copr-backend
46bdce2
46bdce2
%ghost %{_var}/log/copr/copr.log
46bdce2
%ghost %{_var}/log/copr/workers/worker-*.log
46bdce2
%ghost %{_var}/run/copr-backend/copr-be.pid
46bdce2
46bdce2
%config(noreplace) %{_sysconfdir}/logrotate.d/copr-backend
46bdce2
%dir %{_pkgdocdir}
46bdce2
%doc %{_pkgdocdir}/lighttpd
46bdce2
%doc %{_pkgdocdir}/playbooks
46bdce2
%dir %{_sysconfdir}/copr
46bdce2
%config(noreplace) %attr(0640, root, copr) %{_sysconfdir}/copr/copr-be.conf
46bdce2
%{_unitdir}/copr-backend.service
46bdce2
%{_tmpfilesdir}/copr-backend.conf
46bdce2
%{_sbindir}/copr-prune-repo
46bdce2
%config(noreplace) %{_sysconfdir}/cron.daily/copr-backend
46bdce2
46bdce2
%{_datadir}/copr/backend
46bdce2
%{_datadir}/copr/copr-be.py*
46bdce2
46bdce2
%files doc
46bdce2
%doc LICENSE
46bdce2
%doc %{_pkgdocdir}/python-doc
46bdce2
%exclude %{_pkgdocdir}/lighttpd
46bdce2
%exclude %{_pkgdocdir}/playbooks
46bdce2
46bdce2
%changelog
46bdce2
* Thu Apr 10 2014 Miroslav Suchý <msuchy@redhat.com> 1.32-1
46bdce2
- include ec2rc in service unit file
46bdce2
46bdce2
* Wed Apr 09 2014 Miroslav Suchý <msuchy@redhat.com> 1.31-1
46bdce2
- 1077791 - set perm of cronfile to 755
46bdce2
- 1077791 - add LICENSE to -doc subpackage
46bdce2
- 1077791 - remove make as BR
46bdce2
46bdce2
* Tue Mar 18 2014 Miroslav Suchý <msuchy@redhat.com> 1.30-1
46bdce2
- [backend] exclude files which are part of main package
46bdce2
- copr-backend.src:113: W: mixed-use-of-spaces-and-tabs (spaces: line 5, tab:
46bdce2
  line 113)
46bdce2
46bdce2
* Tue Mar 18 2014 Miroslav Suchý <msuchy@redhat.com> 1.29-1
46bdce2
- move backend into separate package
46bdce2
46bdce2
* Thu Feb 27 2014 Miroslav Suchý <msuchy@redhat.com> 1.28-1
46bdce2
- [backend] - pass lock to Actions
46bdce2
46bdce2
* Wed Feb 26 2014 Miroslav Suchý <msuchy@redhat.com> 1.27-1
46bdce2
- [frontend] update to jquery 1.11.0
46bdce2
- [fronted] link username to fas
46bdce2
- [cli] allow to build into projects of other users
46bdce2
- [backend] do not create repo in destdir
46bdce2
- [backend] ensure that only one createrepo is running at the same time
46bdce2
- [cli] allow to get data from sent build
46bdce2
- temporary workaround for BZ 1065251
46bdce2
- Chroot details API now uses GET instead of POST
46bdce2
- when deleting/canceling task, go to same page
46bdce2
- add copr modification to web api
46bdce2
- 1063311 - admin should be able to delete task
46bdce2
- [frontend] Stray end tag h4.
46bdce2
- [frontend] another s/coprs/projects/ rename
46bdce2
- [frontend] provide info about last successfull build
46bdce2
- [spec] rhel5 needs group definition even in subpackage
46bdce2
- [frontend] move 'you agree' text to dd
46bdce2
- [frontend] add margin to chroots-set
46bdce2
- [frontend] add margin to field label
46bdce2
- [frontend] put disclaimer to paragraph tags
46bdce2
- [frontend] use black font color
46bdce2
- [frontend] use default filter instead of *_not_filled
46bdce2
- [frontend] use markdown template filter
46bdce2
- [frontend] use isdigit instead of is_int
46bdce2
- [frontend] move Serializer to helpers
46bdce2
- [frontend] fix coding style and py3 compatibility
46bdce2
- [cli] fix coding style and py3 compatibility
46bdce2
- [backend] fix coding style and py3 compatibility
46bdce2
46bdce2
* Tue Jan 28 2014 Miroslav Suchý <miroslav@suchy.cz> 1.26-1
46bdce2
- lower testing date
46bdce2
- move localized_time into filters
46bdce2
- [frontend] update user data after login
46bdce2
- [frontend] use iso-8601 date
46bdce2
46bdce2
* Mon Jan 27 2014 Miroslav Suchý <msuchy@redhat.com> 1.25-1
46bdce2
- 1044085 - move timezone modification out of template and make it actually
46bdce2
  work
46bdce2
- clean up temp data if any
46bdce2
- [db] timezone can be nullable
46bdce2
- [frontend] actually save the timezone to model
46bdce2
- fix colision of revision id
46bdce2
- 1044085 - frontend: display time in user timezone
46bdce2
- [frontend] rebuild stuck task
46bdce2
- disable test on i386
46bdce2
- use experimental createrepo_c to get rid of lock on temp files
46bdce2
- [frontend] - do not throw ISE when build_id is malformed
46bdce2
- [tests] add test for BuildLogic.add
46bdce2
- [tests] add test for build resubmission
46bdce2
- [frontend] permission checking is done in BuildLogic.add
46bdce2
- [frontend] remove BuildLogic.new, use BL.add only
46bdce2
- [api] fix validation error handling
46bdce2
- [cli] fix initial_pkgs and repos not sent to backend
46bdce2
- [frontend] fix BuildsLogic.new not assigning copr to build
46bdce2
- [frontend] allow resubmitting builds from monitor
46bdce2
- [frontend] allow GET on repeat_build
46bdce2
- [frontend] 1050904 - monitor shows not submitted chroots
46bdce2
- [frontend] rename active_mock_chroots to active_chroots
46bdce2
- [frontend] rename MockChroot.chroot_name to .name
46bdce2
- [frontend] 1054474 - drop Copr.build_count nonsense
46bdce2
- [tests] fix https and repo generation
46bdce2
- [tests] return exit code from manage.py test
46bdce2
- 1054472 - Fix deleting multiple SRPMs
46bdce2
- [spec] tighten acl on copr-be.conf
46bdce2
- [backend] - add missing import
46bdce2
- 1054082 - general: encode to utf8 if err in mimetext
46bdce2
- [backend] lock log file before writing
46bdce2
- 1055594 - mockremote: always unquote pkg url
46bdce2
- 1054086 - change vendor tag
46bdce2
- mockremote: rawhide instead of $releasever in repos when in rawhide chroot
46bdce2
- 1055499 - do not replace version with $releasever on rawhide
46bdce2
- 1055119 - do not propagate https until it is properly signed
46bdce2
- fix spellings on chroot edit page
46bdce2
- 1054341 - be more verbose about allowed licenses
46bdce2
- 1054594 - temporary disable https in repo file
46bdce2
46bdce2
* Thu Jan 16 2014 Miroslav Suchý <msuchy@redhat.com> 1.24-1
46bdce2
- add BR python-markdown
46bdce2
- [fronted] don't add description to .repo files
46bdce2
- [spec] fix with_tests conditional
46bdce2
- add build deletion
46bdce2
- 1044158 - do not require fas username prior to login
46bdce2
- replace http with https in copr-cli and in generated repo file
46bdce2
- [cli] UX changes - explicitely state that pkgs is URL
46bdce2
- 1053142 - only build copr-cli on el6
46bdce2
- [frontend] correctly handle mangled chroot
46bdce2
- [frontend] do not traceback when user malform url
46bdce2
- [frontend] change default description and instructions to sound more
46bdce2
  dangerously
46bdce2
- 1052075 - do not set chroots on repeated build
46bdce2
- 1052071 - do not throw ISE when copr does not exist
46bdce2
46bdce2
* Mon Jan 13 2014 Miroslav Suchý <msuchy@redhat.com> 1.23-1
46bdce2
- [backend] rhel7-beta do not have comps
46bdce2
- 1052073 - correctly parse malformed chroot
46bdce2
46bdce2
* Fri Jan 10 2014 Miroslav Suchý <msuchy@redhat.com> 1.22-1
46bdce2
- [backend] if we could not spawn VM, wait a moment and try again
46bdce2
- [backend] use createrepo_c instead of createrepo
46bdce2
- 1050952 - check if copr_url exist in config
46bdce2
- [frontend] replace newlines in description by space in repo file
46bdce2
46bdce2
* Wed Jan 08 2014 Miroslav Suchý <msuchy@redhat.com> 1.21-1
46bdce2
- 1049460 - correct error message
46bdce2
- [cron] manualy clean /var/tmp after createrepo
46bdce2
46bdce2
* Wed Jan 08 2014 Miroslav Suchý <msuchy@redhat.com> 1.20-1
46bdce2
- [cli] no need to set const with action=store_true
46bdce2
- [cli] code cleanup
46bdce2
- 1049460 - print nice error when projects does not exist
46bdce2
- 1049392 - require python-setuptools
46bdce2
- [backend] add --verbose to log to stderr
46bdce2
- [backend] handle KeyboardInterrupt without tons of tracebacks
46bdce2
- 1048508 - fix links at projects lists
46bdce2
- [backend] in case of error the output is in e.output
46bdce2
- [selinux] allow httpd to search
46bdce2
- [backend] set number of worker in name of process
46bdce2
- [logrotate] rotate every week unconditionally
46bdce2
- [backend] do not traceback if jobfile is mangled
46bdce2
- [backend] print error messages to stderr
46bdce2
- [cli] do not require additional arguments for --nowait
46bdce2
- [backend] replace procname with setproctitle
46bdce2
- [cli] use copr.fedoraproject.org as default url
46bdce2
- [frontend] show monitor even if last build have been canceled
46bdce2
- [backend] call correct function
46bdce2
- [cli] print errors to stderr
46bdce2
- 1044136 - do not print TB if config in mangled
46bdce2
- 1044165 - Provide login and token information in the same form as entered to
46bdce2
  ~/.config-copr
46bdce2
- [frontend] code cleanup
46bdce2
- [frontend] move rendering of .repo file to helpers
46bdce2
- 1043649 - in case of Fedora use $releasever in repo file
46bdce2
- [frontend] condition should be in reverse
46bdce2
46bdce2
* Mon Dec 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.19-1
46bdce2
- [backend] log real cause if ansible crash
46bdce2
- [frontend] try again if whoosh does not get lock
46bdce2
- [backend] if frontend does not respond, repeat
46bdce2
- print yum repos nicely
46bdce2
- Bump the copr-cli release to 0.2.0 with all the changes made
46bdce2
- Refer to the man page for more information about the configuration file for
46bdce2
  copr-cli
46bdce2
- Rework the layout of the list command
46bdce2
- Fix parsing the copr_url from the configuration file
46bdce2
- [backend] run createrepo as copr user
46bdce2
- 1040615 - wrap lines with long URL
46bdce2
46bdce2
* Wed Dec 11 2013 Miroslav Suchý <msuchy@redhat.com> 1.18-1
46bdce2
- [frontend] inicialize variable
46bdce2
46bdce2
* Wed Dec 11 2013 Miroslav Suchý <msuchy@redhat.com> 1.17-1
46bdce2
- [frontend] fix latest build variable overwrite
46bdce2
46bdce2
* Wed Dec 11 2013 Miroslav Suchý <msuchy@redhat.com> 1.16-1
46bdce2
- [backend] store jobs in id-chroot.json file
46bdce2
- [frontend] handle unknown build/chroot status
46bdce2
- use newstyle ansible variables
46bdce2
46bdce2
* Tue Dec 10 2013 Miroslav Suchý <msuchy@redhat.com> 1.15-1
46bdce2
- [frontend] smarter package name parsing
46bdce2
- [frontend] extend range to allow 0
46bdce2
- handle default timeout on backend
46bdce2
- initial support for SCL
46bdce2
- [backend] create word readable files in result directory
46bdce2
- [backend] print tracebacks
46bdce2
- [frontend] monitor: display only pkg name w/o version
46bdce2
- [doc] update api docs
46bdce2
- [doc] update copr-cli manpage
46bdce2
- [cli] list only name, description and instructions
46bdce2
- [cli] add support for build status & build monitor
46bdce2
- [frontend] add build status to API
46bdce2
- [playbook] do not overwrite mockchain
46bdce2
- [backend] add spece between options
46bdce2
- [backend] pass mock options correctly
46bdce2
- [frontend] support markdown in description and instructions
46bdce2
- [backend] Add macros to mockchain define arguments
46bdce2
- [backend] Pass copr username and project name to MockRemote
46bdce2
- [backend] Handle additional macro specification in MockRemote
46bdce2
- [frontend] monitor: show results per package
46bdce2
- [frontend] add favicon
46bdce2
- [backend] quote strings before passing to mockchain
46bdce2
- send chroots with via callback to frontend
46bdce2
- [cli] change cli to new api call
46bdce2
- enhance API documentation
46bdce2
- add yum_repos to coprs/user API call
46bdce2
- [frontend] provide link to description of allowed content
46bdce2
- [backend] we pass just one chroot
46bdce2
- [backend] - variable play is not defined
46bdce2
- if createrepo fail, run it again
46bdce2
- [cron] fix syntax error
46bdce2
- [man] state that --chroot for create command is required
46bdce2
- [spec] enable tests
46bdce2
- [howto] add note about upgrading db schema
46bdce2
- [frontend]: add copr monitor
46bdce2
- [tests]: replace test_allowed_one
46bdce2
- [tests]: fix for BuildChroots & new backend view
46bdce2
- [frontend] rewrite backend view to use Build <-> Chroot relation
46bdce2
- [frontend] add Build <-> Chroot relation
46bdce2
- 1030493 - [cli] check that at least one chroot is entered
46bdce2
- [frontend] typo
46bdce2
- fixup! [tests]: fix test_build_logic to handle BuildChroot
46bdce2
- fixup! [frontend] add ActionsLogic
46bdce2
- [tests]: fix test_build_logic to handle BuildChroot
46bdce2
- [spec] enable/disable test using variable
46bdce2
- add migration script - add table build_chroot
46bdce2
- [frontend] skip legal-flag actions when dumping waiting actions
46bdce2
- [frontend] rewrite backend view to use Build <-> Chroot relation
46bdce2
- [frontend] add ActionsLogic
46bdce2
- [frontend] create BuildChroot objects on new build
46bdce2
- [frontend] add Build <-> Chroot relation
46bdce2
- [frontend] add StatusEnum
46bdce2
- [frontend] fix name -> coprname typo
46bdce2
- [frontend] remove unused imports
46bdce2
- [frontend] add missing json import
46bdce2
- [backend] rework ip address extraction
46bdce2
- ownership of /etc/copr should be just normal
46bdce2
- [backend] - wrap up returning action in "action" blok
46bdce2
- [backend] rename backend api url
46bdce2
- [backend] handle "rename" action
46bdce2
- [backend] handle "delete" action
46bdce2
- base handling of actions
46bdce2
- move callback to frontend to separate object
46bdce2
- secure waiting_actions with password
46bdce2
- pick only individual builds
46bdce2
- make address, where we send legal flags, configurable
46bdce2
- send email to root after legal flag have been raised
46bdce2
46bdce2
* Fri Nov 08 2013 Miroslav Suchý <msuchy@redhat.com> 1.14-1
46bdce2
- 1028235 - add disclaimer about repos
46bdce2
- fix pagination
46bdce2
- fix one failing test
46bdce2
46bdce2
* Wed Nov 06 2013 Miroslav Suchý <msuchy@redhat.com> 1.13-1
46bdce2
- suggest correct name of repo file
46bdce2
- we could not use releasever macro
46bdce2
- no need to capitalize Projects
46bdce2
- another s/copr/project
46bdce2
- add link to header for sign-in
46bdce2
- fix failing tests
46bdce2
- UX - let textarea will full widht of box
46bdce2
- UX - make background of hovered builds darker
46bdce2
- generate yum repo for each chroot of copr
46bdce2
- align table header same way as ordinary rows
46bdce2
- enable resulting repo and disable gpgchecks
46bdce2
46bdce2
* Mon Nov 04 2013 Miroslav Suchý <msuchy@redhat.com> 1.12-1
46bdce2
- do not send parameters when we neither need them nor use them
46bdce2
- authenticate using api login, not using username
46bdce2
- disable editing name of project
46bdce2
- Add commented out WTF_CSRF_ENABLED = True to configs
46bdce2
- Use new session for each test
46bdce2
- fix test_coprs_general failures
46bdce2
- fix test_coprs_builds failures
46bdce2
- Add WTF_CSRF_ENABLED = False to unit test config
46bdce2
- PEP8 fixes
46bdce2
- Fix compatibility with wtforms 0.9
46bdce2
- typo s/submited/submitted/
46bdce2
- UX - show details of build only after click
46bdce2
- add link to FAQ to footer
46bdce2
- UX - add placeholders
46bdce2
- UX - add asterisk to required fields
46bdce2
- dynamicly generate url for home
46bdce2
- add footer
46bdce2
46bdce2
* Sat Oct 26 2013 Miroslav Suchý <msuchy@redhat.com> 1.11-1
46bdce2
- catch IOError from libravatar if there is no network
46bdce2
46bdce2
* Fri Oct 25 2013 Miroslav Suchý <msuchy@redhat.com> 1.10-1
46bdce2
- do not normalize url
46bdce2
- specify full prefix of http
46bdce2
- execute playbook using /usr/bin/ansible-playbook
46bdce2
- use ssh transport
46bdce2
- check after connection is made
46bdce2
- add notes about debuging mockremote
46bdce2
- clean up instance even when worker fails
46bdce2
- normalize paths before using
46bdce2
- do not use exception variable
46bdce2
- operator should be preceded and followed by space
46bdce2
- remove trailing whitespace
46bdce2
- convert comment to docstring
46bdce2
- use ssh transport
46bdce2
- do not create new ansible connection, reuse self.conn
46bdce2
- run copr-be.py as copr
46bdce2
- s/Copr/Project/ where we use copr in meaning of projects
46bdce2
- number will link to those coprs, to which it refers
46bdce2
- run log and jobgrab as copr user
46bdce2
- log event to log file
46bdce2
- convert comment into docstring
46bdce2
- use unbufferred output for copr-be.py
46bdce2
- hint how to set ec2 variables
46bdce2
- document sleeptime
46bdce2
- document copr_url for copr-cli
46bdce2
- document how to set api key for copr-cli
46bdce2
- do not create list of list
46bdce2
- document SECRET_KEY variable
46bdce2
- make note how to become admin
46bdce2
- instruct people to install selinux with frontend
46bdce2
46bdce2
* Thu Oct 03 2013 Miroslav Suchý <msuchy@redhat.com> 1.9-1
46bdce2
- prune old builds
46bdce2
- require python-decorator
46bdce2
- remove requirements.txt
46bdce2
- move TODO-backend to our wiki
46bdce2
- create pid file in /var/run/copr-backend
46bdce2
- add backend service file for systemd
46bdce2
- remove daemonize option in config
46bdce2
- use python logging
46bdce2
- create pid file in /var/run by default
46bdce2
- do not create destdir
46bdce2
- use daemon module instead of home brew function
46bdce2
- fix default location of copr-be.conf
46bdce2
- 2 tests fixed, one still failing
46bdce2
- fix failing test test_fail_on_missing_dash
46bdce2
- fixing test_fail_on_nonexistent_copr test
46bdce2
- run frontend unit tests when building package
46bdce2
- Adjust URLs in the unit-tests to their new structure
46bdce2
- Adjust the CLI to call the adjuste endpoint of the API
46bdce2
- Adjust API endpoint to reflects the UI endpoints in their url structure
46bdce2
- First pass at adding fedmsg hooks.
46bdce2
46bdce2
* Tue Sep 24 2013 Miroslav Suchý <msuchy@redhat.com> 1.8-1
46bdce2
- 1008532 - require python2-devel
46bdce2
- add note about ssh keys to copr-setup.txt
46bdce2
- set home of copr user to system default
46bdce2
46bdce2
* Mon Sep 23 2013 Miroslav Suchý <msuchy@redhat.com> 1.7-1
46bdce2
- 1008532 - backend should own _pkgdocdir
46bdce2
- 1008532 - backend should owns /etc/copr as well
46bdce2
- 1008532 - require logrotate
46bdce2
- 1008532 - do not distribute empty copr.if
46bdce2
- 1008532 - use %%{?_smp_mflags} macro with make
46bdce2
- move jobsdir to /var/lib/copr/jobs
46bdce2
- correct playbooks path
46bdce2
- selinux with enforce can be used for frontend
46bdce2
46bdce2
* Wed Sep 18 2013 Miroslav Suchý <msuchy@redhat.com> 1.6-1
46bdce2
- add BR python-devel
46bdce2
- generate selinux type for /var/lib/copr and /var/log/copr
46bdce2
- clean up backend setup instructions
46bdce2
- initial selinux subpackage
46bdce2
46bdce2
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.5-1
46bdce2
- 1008532 - use __python2 instead of __python
46bdce2
- 1008532 - do not mark man page as doc
46bdce2
- 1008532 - preserve timestamp
46bdce2
46bdce2
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.4-1
46bdce2
- add logrotate file
46bdce2
46bdce2
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.3-1
46bdce2
- be clear how we create tgz
46bdce2
46bdce2
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.2-1
46bdce2
- fix typo
46bdce2
- move frontend data into /var/lib/copr
46bdce2
- no need to own /usr/share/copr by copr-fe
46bdce2
- mark application as executable
46bdce2
- coprs_frontend does not need to be owned by copr-fe
46bdce2
- add executable attribute to copr-be.py
46bdce2
- remove shebang from dispatcher.py
46bdce2
- squeeze description into 80 chars
46bdce2
- fix typo
46bdce2
- frontend need argparse too
46bdce2
- move results into /var/lib/copr/public_html
46bdce2
- name of dir is just copr-%%version
46bdce2
- Remove un-necessary quote that breaks the tests
46bdce2
- Adjust unit-tests to the new urls
46bdce2
- Update the URL to be based upon a /user/copr/<action> structure
46bdce2
- comment config copr-be.conf and add defaults
46bdce2
- put examples of builderpb.yml and terminatepb.yml into doc dir
46bdce2
- more detailed description of copr-be.conf
46bdce2
- move files in config directory not directory itself
46bdce2
- include copr-be.conf
46bdce2
- include copr-be.py
46bdce2
- create copr with lighttpd group
46bdce2
- edit backend part of copr-setup.txt
46bdce2
- remove fedora16 and add 19 and 20
46bdce2
- create -doc subpackage with python documentation
46bdce2
- add generated documentation on gitignore list
46bdce2
- add script to generate python documentation
46bdce2
- copr-setup.txt change to for mock
46bdce2
- rhel6 do not know _pkgdocdir macro
46bdce2
- make instruction clear
46bdce2
- require recent whoosh
46bdce2
- add support for libravatar
46bdce2
- include backend in rpm
46bdce2
- add notes about lighttpd config files and how to deploy them
46bdce2
- do not list file twice
46bdce2
- move log file to /var/log
46bdce2
- change destdir in copr-be.conf.example
46bdce2
- lightweight is the word and buildsystem has more meaning than 'koji'.
46bdce2
- restart apache after upgrade of frontend
46bdce2
- own directory where backend put results
46bdce2
- removal of hidden-file-or-dir
46bdce2
  /usr/share/copr/coprs_frontend/coprs/logic/.coprs_logic.py.swo
46bdce2
- copr-backend.noarch: W: spelling-error %%description -l en_US latests ->
46bdce2
  latest, latest's, la tests
46bdce2
- simplify configuration - introduce /etc/copr/copr*.conf
46bdce2
- Replace "with" statements with @TransactionDecorator decorator
46bdce2
- add python-flexmock to deps of frontend
46bdce2
- remove sentence which does not have meaning
46bdce2
- change api token expiration to 120 days and make it configurable
46bdce2
- create_chroot must be run as copr-fe user
46bdce2
- add note that you have to add chroots to db
46bdce2
- mark config.py as config so it is not overwritten during upgrade
46bdce2
- own directory data/whooshee/copr_user_whoosheer
46bdce2
- gcc is not needed
46bdce2
- sqlite db must be owned by copr-fe user
46bdce2
- copr does not work with selinux
46bdce2
- create subdirs under data/openid_store
46bdce2
- suggest to install frontend as package from copr repository
46bdce2
- on el6 add python-argparse to BR
46bdce2
- add python-requests to BR
46bdce2
- add python-setuptools to BR
46bdce2
- maintain apache configuration on one place only
46bdce2
- apache 2.4 changed access control
46bdce2
- require python-psycopg2
46bdce2
- postgresql server is not needed
46bdce2
- document how to create db
46bdce2
- add to HOWTO how to create db
46bdce2
- require python-alembic
46bdce2
- add python-flask-script and python-flask-whooshee to requirements
46bdce2
- change user in coprs.conf.example to copr-fe
46bdce2
- fix paths in coprs.conf.example
46bdce2
- copr is noarch package
46bdce2
- add note where to configure frontend
46bdce2
- move frontend to /usr/share/copr/coprs_frontend
46bdce2
- put production placeholders in coprs_frontend/coprs/config.py
46bdce2
- put frontend into copr.spec
46bdce2
- web application should be put in /usr/share/%%{name}
46bdce2
46bdce2
* Mon Jun 17 2013 Miroslav Suchý <msuchy@redhat.com> 1.1-1
46bdce2
- new package built with tito
46bdce2
46bdce2