Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 5be287b82ea044d8cbbc2fab547969add126f144
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Mar 18 10:25:04 2014 +0100
move frontend into separate package
---------------------------------------------------------------
copr.spec | 105 -----------
LICENSE => frontend/LICENSE | 0
.../copr-frontend.spec | 190 +++++++++-----------
.../coprs_frontend}/CONTRIBUTION_GUIDELINES | 0
.../coprs_frontend}/alembic.ini | 0
.../coprs_frontend}/alembic/env.py | 0
.../coprs_frontend}/alembic/script.py.mako | 0
...4b45f5476_remove_fulltext_in_favor_of_whoosh.py | 0
.../versions/246fd2dbf398_add_legal_flag.py | 0
.../versions/294405dfc7c0_add_action_data_fiel.py | 0
.../versions/2a75f0a06d90_add_a_api_login_fiel.py | 0
.../versions/2e30169e58ce_change_api_token_len.py | 0
.../versions/2fa80e062525_add_mock_chroots.py | 0
.../versions/32ba137a3d56_add_token_informatio.py | 0
.../versions/3a035889852c_add_copr_fulltext.py | 0
.../versions/3a415c6392bc_add_buildroot_pkgs_c.py | 0
.../3c3cce7a5fe0_add_copr_desc_and_instruct.py | 0
.../versions/451e9507b866_generalize_action.py | 0
.../versions/4837ad1d96ea_drop_copr_build_coun.py | 0
.../versions/498884ac47db_add_timezone_field.py | 0
.../versions/52e53e7b413e_add_build_chroot.py | 0
.../alembic/versions/544873aa3ba1_add_action.py | 0
.../versions/595a31c145fb_initial_db_setup.py | 0
.../d062c3d9c00_backend_result_to_result.py | 0
.../coprs_frontend}/application | 0
.../coprs_frontend}/config/copr.conf | 0
.../coprs_frontend}/config/copr_devel.conf | 0
.../coprs_frontend}/config/copr_unit_test.conf | 0
.../coprs_frontend}/coprs.conf.example | 0
.../coprs_frontend}/coprs/__init__.py | 0
.../coprs_frontend}/coprs/config.py | 0
.../coprs_frontend}/coprs/constants.py | 0
.../coprs_frontend}/coprs/exceptions.py | 0
.../coprs_frontend}/coprs/filters.py | 0
.../coprs_frontend}/coprs/forms.py | 0
.../coprs_frontend}/coprs/helpers.py | 0
.../coprs_frontend}/coprs/log.py | 0
.../coprs_frontend}/coprs/logic/__init__.py | 0
.../coprs_frontend}/coprs/logic/actions_logic.py | 0
.../coprs_frontend}/coprs/logic/builds_logic.py | 0
.../coprs_frontend}/coprs/logic/coprs_logic.py | 0
.../coprs_frontend}/coprs/logic/users_logic.py | 0
.../coprs_frontend}/coprs/models.py | 0
.../coprs_frontend}/coprs/signals.py | 0
.../coprs_frontend}/coprs/static/README | 0
.../coprs_frontend}/coprs/static/copr.css | 0
.../coprs_frontend}/coprs/static/copr.js | 0
.../coprs_frontend}/coprs/static/copr_logo.png | Bin 3411 -> 3411 bytes
.../coprs_frontend}/coprs/static/default_user.png | Bin 1961 -> 1961 bytes
.../coprs_frontend}/coprs/static/favicon.ico | Bin 3638 -> 3638 bytes
.../coprs/static/header_background.png | Bin 195 -> 195 bytes
.../coprs_frontend}/coprs/static/pink_arrow.png | Bin 382 -> 382 bytes
.../coprs_frontend}/coprs/templates/404.html | 0
.../coprs_frontend}/coprs/templates/_helpers.html | 0
.../coprs/templates/admin/index.html | 0
.../coprs/templates/admin/layout.html | 0
.../coprs/templates/admin/legal-flag.html | 0
.../coprs_frontend}/coprs/templates/api.html | 0
.../coprs/templates/coprs/_coprs_forms.html | 0
.../coprs_frontend}/coprs/templates/coprs/add.html | 0
.../coprs/templates/coprs/copr.repo | 0
.../coprs/templates/coprs/detail.html | 0
.../templates/coprs/detail/_builds_forms.html | 0
.../templates/coprs/detail/_builds_table.html | 0
.../templates/coprs/detail/_permissions_table.html | 0
.../coprs/templates/coprs/detail/add_build.html | 0
.../coprs/templates/coprs/detail/builds.html | 0
.../coprs/templates/coprs/detail/delete.html | 0
.../coprs/templates/coprs/detail/edit.html | 0
.../coprs/templates/coprs/detail/edit2.html | 0
.../coprs/templates/coprs/detail/edit_chroot.html | 0
.../coprs/templates/coprs/detail/monitor.html | 0
.../coprs/templates/coprs/detail/overview.html | 0
.../coprs/templates/coprs/detail/permissions.html | 0
.../coprs/templates/coprs/show.html | 0
.../coprs_frontend}/coprs/templates/layout.html | 0
.../coprs_frontend}/coprs/templates/login.html | 0
.../coprs_frontend}/coprs/views/__init__.py | 0
.../coprs/views/admin_ns/__init__.py | 0
.../coprs/views/admin_ns/admin_general.py | 0
.../coprs_frontend}/coprs/views/api_ns/__init__.py | 0
.../coprs/views/api_ns/api_general.py | 0
.../coprs/views/backend_ns/__init__.py | 0
.../coprs/views/backend_ns/backend_general.py | 0
.../coprs/views/coprs_ns/__init__.py | 0
.../coprs/views/coprs_ns/coprs_builds.py | 0
.../coprs/views/coprs_ns/coprs_chroots.py | 0
.../coprs/views/coprs_ns/coprs_general.py | 0
.../coprs_frontend}/coprs/views/misc.py | 0
.../coprs_frontend}/coprs/whoosheers.py | 0
.../coprs_frontend}/manage.py | 0
.../coprs_frontend}/tests/__init__.py | 0
.../coprs_frontend}/tests/coprs_test_case.py | 0
.../coprs_frontend}/tests/test_helpers.py | 0
.../tests/test_logic/test_builds_logic.py | 0
.../tests/test_logic/test_coprs_logic.py | 0
.../test_views/test_admin/test_admin_general.py | 0
.../test_backend_ns/test_backend_general.py | 0
.../tests/test_views/test_coprs_ns/__init__.py | 0
.../test_views/test_coprs_ns/test_coprs_builds.py | 0
.../test_views/test_coprs_ns/test_coprs_general.py | 0
{backend => frontend}/documentation/Makefile | 2 +-
.../how-to-generate-documentation.txt | 0
103 files changed, 90 insertions(+), 207 deletions(-)
diff --git a/copr.spec b/copr.spec
index c6afb14..c88085f 100644
--- a/copr.spec
+++ b/copr.spec
@@ -1,4 +1,3 @@
-%global with_test 1
%global with_server 1
%if 0%{?rhel} < 7 && 0%{?rhel} > 0
%global _pkgdocdir %{_docdir}/%{name}-%{version}
@@ -51,55 +50,6 @@ BuildRequires: policycoreutils >= %{POLICYCOREUTILSVER}
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.
-%if %{with_server}
-%package frontend
-Summary: Frontend for COPR
-Requires: httpd
-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-blinker
-Requires: python-markdown
-Requires: python-psycopg2
-Requires: python-pylibravatar
-Requires: python-whoosh >= 2.5.3
-Requires: pytz
-# for tests:
-Requires: pytest
-Requires: python-flexmock
-Requires: python-decorator
-Requires: yum
-%if 0%{?rhel} < 7 && 0%{?rhel} > 0
-BuildRequires: python-argparse
-%endif
-# check
-BuildRequires: python-flask
-BuildRequires: python-flask-script
-BuildRequires: python-flask-sqlalchemy
-BuildRequires: python-flask-openid
-BuildRequires: python-flask-whooshee
-BuildRequires: python-pylibravatar
-BuildRequires: python-flask-wtf
-BuildRequires: pytest
-BuildRequires: yum
-BuildRequires: python-flexmock
-BuildRequires: python-decorator
-BuildRequires: python-markdown
-BuildRequires: pytz
-
-%description frontend
-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 latests builds.
-
-This package contains frontend.
-%endif # with_server
-
%package cli
Summary: Command line interface for COPR
Requires: python-requests
@@ -174,24 +124,6 @@ popd
%install
-%if %{with_server}
-#frontend
-install -d %{buildroot}%{_sysconfdir}
-install -d %{buildroot}%{_datadir}/copr/coprs_frontend
-install -d %{buildroot}%{_sharedstatedir}/copr/data/openid_store
-install -d %{buildroot}%{_sharedstatedir}/copr/data/openid_store/associations
-install -d %{buildroot}%{_sharedstatedir}/copr/data/openid_store/nonces
-install -d %{buildroot}%{_sharedstatedir}/copr/data/openid_store/temp
-install -d %{buildroot}%{_sharedstatedir}/copr/data/whooshee
-install -d %{buildroot}%{_sharedstatedir}/copr/data/whooshee/copr_user_whoosheer
-
-cp -a coprs_frontend/* %{buildroot}%{_datadir}/copr/coprs_frontend
-mv %{buildroot}%{_datadir}/copr/coprs_frontend/coprs.conf.example ./
-mv %{buildroot}%{_datadir}/copr/coprs_frontend/config/* %{buildroot}%{_sysconfdir}/copr
-rm %{buildroot}%{_datadir}/copr/coprs_frontend/CONTRIBUTION_GUIDELINES
-touch %{buildroot}%{_sharedstatedir}/copr/data/copr.db
-%endif # with_server
-
#copr-cli
%{__python2} coprcli-setup.py install --root %{buildroot}
install -d %{buildroot}%{_mandir}/man1
@@ -200,7 +132,6 @@ install -p -m 644 man/copr-cli.1 %{buildroot}/%{_mandir}/man1/
%if %{with_server}
#doc
cp -a documentation/python-doc %{buildroot}%{_pkgdocdir}/
-cp -a playbooks %{buildroot}%{_pkgdocdir}/
#selinux
for selinuxvariant in targeted; do
@@ -222,24 +153,7 @@ install -p -m 644 man/%{name}-selinux-enable.8
%{buildroot}/%{_mandir}/man8/
install -p -m 644 man/%{name}-selinux-relabel.8 %{buildroot}/%{_mandir}/man8/
%endif
-%check
-%if %{with_test} && %{with_server} && %{_arch} == "x86_64"
- pushd coprs_frontend
- rm -rf /tmp/copr.db /tmp/whooshee || :
- COPR_CONFIG="$(pwd)/config/copr_unit_test.conf" ./manage.py test
- popd
-%endif
-
%if %{with_server}
-%pre frontend
-getent group copr-fe >/dev/null || groupadd -r copr-fe
-getent passwd copr-fe >/dev/null || \
-useradd -r -g copr-fe -G copr-fe -d %{_datadir}/copr/coprs_frontend -s /bin/bash -c
"COPR frontend user" copr-fe
-/usr/bin/passwd -l copr-fe >/dev/null
-
-%post frontend
-service httpd condrestart
-
%post selinux
if /usr/sbin/selinuxenabled ; then
%{_sbindir}/%{name}-selinux-enable
@@ -260,25 +174,6 @@ if [ $1 -eq 0 ]; then
fi
%{sbinpath}/restorecon -rvvi %{_sharedstatedir}/copr
-%files frontend
-%doc LICENSE coprs.conf.example copr-setup.txt
-%dir %{_datadir}/copr
-%dir %{_sysconfdir}/copr
-%dir %{_sharedstatedir}/copr
-%{_datadir}/copr/coprs_frontend
-
-%defattr(-, copr-fe, copr-fe, -)
-%dir %{_sharedstatedir}/copr/data
-%dir %{_sharedstatedir}/copr/data/openid_store
-%dir %{_sharedstatedir}/copr/data/whooshee
-%dir %{_sharedstatedir}/copr/data/whooshee/copr_user_whoosheer
-
-%ghost %{_sharedstatedir}/copr/data/copr.db
-
-%defattr(600, copr-fe, copr-fe, 700)
-%config(noreplace) %{_sysconfdir}/copr/copr.conf
-%config(noreplace) %{_sysconfdir}/copr/copr_devel.conf
-%config(noreplace) %{_sysconfdir}/copr/copr_unit_test.conf
%endif # with_server
%files cli
diff --git a/LICENSE b/frontend/LICENSE
similarity index 100%
copy from LICENSE
copy to frontend/LICENSE
diff --git a/backend/copr-backend.spec b/frontend/copr-frontend.spec
similarity index 84%
copy from backend/copr-backend.spec
copy to frontend/copr-frontend.spec
index 2d96f8e..d064a61 100644
--- a/backend/copr-backend.spec
+++ b/frontend/copr-frontend.spec
@@ -1,18 +1,20 @@
+%global with_test 1
%if 0%{?rhel} < 7 && 0%{?rhel} > 0
%global _pkgdocdir %{_docdir}/%{name}-%{version}
+%global __python2 %{__python}
%endif
-Name: copr-backend
-Version: 1.29
+Name: copr-frontend
+Version: 1.28
Release: 1%{?dist}
-Summary: Backend for Copr
+Summary: Frontend for 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/backend
+# cd copr/frontend
# tito build --tgz
Source0: %{name}-%{version}.tar.gz
@@ -32,35 +34,53 @@ BuildRequires: epydoc
BuildRequires: graphviz
BuildRequires: make
-Requires: ansible >= 1.2
-Requires: lighttpd
-Requires: euca2ools
-Requires: rsync
-Requires: openssh-clients
-Requires: mock
-Requires: yum-utils
-Requires: createrepo_c >= 0.2.1-3
-Requires: python-bunch
-Requires: python-daemon
-Requires: python-lockfile
-Requires: python-requests
-Requires: python-setproctitle
-Requires: logrotate
-Requires: fedmsg
-Requires: gawk
-Requires: crontabs
-Requires(post): systemd
-Requires(preun): systemd
-Requires(postun): systemd
+Requires: httpd
+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-blinker
+Requires: python-markdown
+Requires: python-psycopg2
+Requires: python-pylibravatar
+Requires: python-whoosh >= 2.5.3
+Requires: pytz
+# for tests:
+Requires: pytest
+Requires: python-flexmock
+Requires: python-decorator
+Requires: yum
+%if 0%{?rhel} < 7 && 0%{?rhel} > 0
+BuildRequires: python-argparse
+%endif
+# check
+BuildRequires: python-flask
+BuildRequires: python-flask-script
+BuildRequires: python-flask-sqlalchemy
+BuildRequires: python-flask-openid
+BuildRequires: python-flask-whooshee
+BuildRequires: python-pylibravatar
+BuildRequires: python-flask-wtf
+BuildRequires: pytest
+BuildRequires: yum
+BuildRequires: python-flexmock
+BuildRequires: python-decorator
+BuildRequires: python-markdown
+BuildRequires: pytz
%description
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.
+and submit new builds and COPR will create yum repository from latests builds.
-This package contains backend.
+This package contains frontend.
%package doc
-Summary: Code documentation for COPR backend
+Summary: Code documentation for COPR
%description doc
COPR is lightweight build system. It allows you to create new project in WebUI,
@@ -81,96 +101,64 @@ popd
%install
-install -d %{buildroot}%{_sharedstatedir}/copr
-install -d %{buildroot}%{_sharedstatedir}/copr/jobs
-install -d %{buildroot}%{_sharedstatedir}/copr/public_html/results
-install -d %{buildroot}%{_var}/log/copr
-install -d %{buildroot}%{_var}/log/copr/workers/
-install -d %{buildroot}%{_pkgdocdir}/lighttpd/
-install -d %{buildroot}%{_datadir}/copr/backend
install -d %{buildroot}%{_sysconfdir}/copr
-install -d %{buildroot}%{_sysconfdir}/logrotate.d/
-install -d %{buildroot}%{_unitdir}
-install -d %{buildroot}/%{_var}/log/copr-backend
-install -d %{buildroot}/%{_var}/run/copr-backend/
-install -d %{buildroot}/%{_tmpfilesdir}
-install -d %{buildroot}/%{_sbindir}
-install -d %{buildroot}%{_sysconfdir}/cron.daily
-
-cp -a backend/* %{buildroot}%{_datadir}/copr/backend
-cp -a copr-be.py %{buildroot}%{_datadir}/copr/
-cp -a copr-be.conf.example %{buildroot}%{_sysconfdir}/copr/copr-be.conf
-install -p -m 755 copr-prune-repo %{buildroot}%{_sbindir}/copr-prune-repo
-install -p -m 750 crontab/copr-backend
%{buildroot}%{_sysconfdir}/cron.daily/copr-backend
-
-cp -a dist/lighttpd/* %{buildroot}%{_pkgdocdir}/lighttpd/
-cp -a logrotate/* %{buildroot}%{_sysconfdir}/logrotate.d/
-cp -a tmpfiles.d/* %{buildroot}/%{_tmpfilesdir}
-
-# for ghost files
-touch %{buildroot}%{_var}/log/copr/copr.log
-for i in `seq 7`; do
- touch %{buildroot}%{_var}/log/copr/workers/worker-$i.log
-done
-touch %{buildroot}%{_var}/run/copr-backend/copr-be.pid
-
-install -m 0644 copr-backend.service %{buildroot}/%{_unitdir}/
-
-#doc
+install -d %{buildroot}%{_datadir}/copr/coprs_frontend
+install -d %{buildroot}%{_sharedstatedir}/copr/data/openid_store
+install -d %{buildroot}%{_sharedstatedir}/copr/data/openid_store/associations
+install -d %{buildroot}%{_sharedstatedir}/copr/data/openid_store/nonces
+install -d %{buildroot}%{_sharedstatedir}/copr/data/openid_store/temp
+install -d %{buildroot}%{_sharedstatedir}/copr/data/whooshee
+install -d %{buildroot}%{_sharedstatedir}/copr/data/whooshee/copr_user_whoosheer
+
+cp -a coprs_frontend/* %{buildroot}%{_datadir}/copr/coprs_frontend
+mv %{buildroot}%{_datadir}/copr/coprs_frontend/coprs.conf.example ./
+mv %{buildroot}%{_datadir}/copr/coprs_frontend/config/* %{buildroot}%{_sysconfdir}/copr
+rm %{buildroot}%{_datadir}/copr/coprs_frontend/CONTRIBUTION_GUIDELINES
+touch %{buildroot}%{_sharedstatedir}/copr/data/copr.db
+
cp -a documentation/python-doc %{buildroot}%{_pkgdocdir}/
-cp -a playbooks %{buildroot}%{_pkgdocdir}/
+
+%check
+%if %{with_test} && %{_arch} == "x86_64"
+ pushd coprs_frontend
+ rm -rf /tmp/copr.db /tmp/whooshee || :
+ COPR_CONFIG="$(pwd)/config/copr_unit_test.conf" ./manage.py test
+ popd
+%endif
%pre
-getent group copr >/dev/null || groupadd -r copr
-getent passwd copr >/dev/null || \
-useradd -r -g copr -G lighttpd -s /bin/bash -c "COPR user" copr
-/usr/bin/passwd -l copr >/dev/null
+getent group copr-fe >/dev/null || groupadd -r copr-fe
+getent passwd copr-fe >/dev/null || \
+useradd -r -g copr-fe -G copr-fe -d %{_datadir}/copr/coprs_frontend -s /bin/bash -c
"COPR frontend user" copr-fe
+/usr/bin/passwd -l copr-fe >/dev/null
%post
-%systemd_post copr-backend.service
-
-%preun
-%systemd_preun copr-backend.service
-
-%postun
-%systemd_postun_with_restart copr-backend.service
+service httpd condrestart
%files
-%doc LICENSE
+%doc LICENSE coprs.conf.example
%dir %{_datadir}/copr
-%dir %{_sharedstatedir}/copr
-%dir %attr(0755, copr, copr) %{_sharedstatedir}/copr/jobs/
-%dir %attr(0755, copr, copr) %{_sharedstatedir}/copr/public_html/
-%dir %attr(0755, copr, copr) %{_sharedstatedir}/copr/public_html/results
-%dir %attr(0755, copr, copr) %{_var}/log/copr
-%dir %attr(0755, copr, copr) %{_var}/log/copr/workers
-%dir %attr(0755, copr, copr) %{_var}/run/copr-backend
-
-%ghost %{_var}/log/copr/copr.log
-%ghost %{_var}/log/copr/workers/worker-*.log
-%ghost %{_var}/run/copr-backend/copr-be.pid
-
-%config(noreplace) %{_sysconfdir}/logrotate.d/copr-backend
-%dir %{_pkgdocdir}
-%doc %{_pkgdocdir}/lighttpd
-%doc %{_pkgdocdir}/playbooks
%dir %{_sysconfdir}/copr
-%config(noreplace) %attr(0640, root, copr) %{_sysconfdir}/copr/copr-be.conf
-%{_unitdir}/copr-backend.service
-%{_tmpfilesdir}/copr-backend.conf
-%{_sbindir}/copr-prune-repo
-%config(noreplace) %{_sysconfdir}/cron.daily/copr-backend
+%dir %{_sharedstatedir}/copr
+%{_datadir}/copr/coprs_frontend
-%{_datadir}/copr/backend
-%{_datadir}/copr/copr-be.py*
+%defattr(-, copr-fe, copr-fe, -)
+%dir %{_sharedstatedir}/copr/data
+%dir %{_sharedstatedir}/copr/data/openid_store
+%dir %{_sharedstatedir}/copr/data/whooshee
+%dir %{_sharedstatedir}/copr/data/whooshee/copr_user_whoosheer
+
+%ghost %{_sharedstatedir}/copr/data/copr.db
+
+%defattr(600, copr-fe, copr-fe, 700)
+%config(noreplace) %{_sysconfdir}/copr/copr.conf
+%config(noreplace) %{_sysconfdir}/copr/copr_devel.conf
+%config(noreplace) %{_sysconfdir}/copr/copr_unit_test.conf
%files doc
%doc %{_pkgdocdir}/python-doc
%changelog
-* Tue Mar 18 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.29-1
-- move backend into separate package
-
* Thu Feb 27 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.28-1
- [backend] - pass lock to Actions
diff --git a/coprs_frontend/CONTRIBUTION_GUIDELINES
b/frontend/coprs_frontend/CONTRIBUTION_GUIDELINES
similarity index 100%
rename from coprs_frontend/CONTRIBUTION_GUIDELINES
rename to frontend/coprs_frontend/CONTRIBUTION_GUIDELINES
diff --git a/coprs_frontend/alembic.ini b/frontend/coprs_frontend/alembic.ini
similarity index 100%
rename from coprs_frontend/alembic.ini
rename to frontend/coprs_frontend/alembic.ini
diff --git a/coprs_frontend/alembic/env.py b/frontend/coprs_frontend/alembic/env.py
similarity index 100%
rename from coprs_frontend/alembic/env.py
rename to frontend/coprs_frontend/alembic/env.py
diff --git a/coprs_frontend/alembic/script.py.mako
b/frontend/coprs_frontend/alembic/script.py.mako
similarity index 100%
rename from coprs_frontend/alembic/script.py.mako
rename to frontend/coprs_frontend/alembic/script.py.mako
diff --git
a/coprs_frontend/alembic/versions/1ee4b45f5476_remove_fulltext_in_favor_of_whoosh.py
b/frontend/coprs_frontend/alembic/versions/1ee4b45f5476_remove_fulltext_in_favor_of_whoosh.py
similarity index 100%
rename from
coprs_frontend/alembic/versions/1ee4b45f5476_remove_fulltext_in_favor_of_whoosh.py
rename to
frontend/coprs_frontend/alembic/versions/1ee4b45f5476_remove_fulltext_in_favor_of_whoosh.py
diff --git a/coprs_frontend/alembic/versions/246fd2dbf398_add_legal_flag.py
b/frontend/coprs_frontend/alembic/versions/246fd2dbf398_add_legal_flag.py
similarity index 100%
rename from coprs_frontend/alembic/versions/246fd2dbf398_add_legal_flag.py
rename to frontend/coprs_frontend/alembic/versions/246fd2dbf398_add_legal_flag.py
diff --git a/coprs_frontend/alembic/versions/294405dfc7c0_add_action_data_fiel.py
b/frontend/coprs_frontend/alembic/versions/294405dfc7c0_add_action_data_fiel.py
similarity index 100%
rename from coprs_frontend/alembic/versions/294405dfc7c0_add_action_data_fiel.py
rename to frontend/coprs_frontend/alembic/versions/294405dfc7c0_add_action_data_fiel.py
diff --git a/coprs_frontend/alembic/versions/2a75f0a06d90_add_a_api_login_fiel.py
b/frontend/coprs_frontend/alembic/versions/2a75f0a06d90_add_a_api_login_fiel.py
similarity index 100%
rename from coprs_frontend/alembic/versions/2a75f0a06d90_add_a_api_login_fiel.py
rename to frontend/coprs_frontend/alembic/versions/2a75f0a06d90_add_a_api_login_fiel.py
diff --git a/coprs_frontend/alembic/versions/2e30169e58ce_change_api_token_len.py
b/frontend/coprs_frontend/alembic/versions/2e30169e58ce_change_api_token_len.py
similarity index 100%
rename from coprs_frontend/alembic/versions/2e30169e58ce_change_api_token_len.py
rename to frontend/coprs_frontend/alembic/versions/2e30169e58ce_change_api_token_len.py
diff --git a/coprs_frontend/alembic/versions/2fa80e062525_add_mock_chroots.py
b/frontend/coprs_frontend/alembic/versions/2fa80e062525_add_mock_chroots.py
similarity index 100%
rename from coprs_frontend/alembic/versions/2fa80e062525_add_mock_chroots.py
rename to frontend/coprs_frontend/alembic/versions/2fa80e062525_add_mock_chroots.py
diff --git a/coprs_frontend/alembic/versions/32ba137a3d56_add_token_informatio.py
b/frontend/coprs_frontend/alembic/versions/32ba137a3d56_add_token_informatio.py
similarity index 100%
rename from coprs_frontend/alembic/versions/32ba137a3d56_add_token_informatio.py
rename to frontend/coprs_frontend/alembic/versions/32ba137a3d56_add_token_informatio.py
diff --git a/coprs_frontend/alembic/versions/3a035889852c_add_copr_fulltext.py
b/frontend/coprs_frontend/alembic/versions/3a035889852c_add_copr_fulltext.py
similarity index 100%
rename from coprs_frontend/alembic/versions/3a035889852c_add_copr_fulltext.py
rename to frontend/coprs_frontend/alembic/versions/3a035889852c_add_copr_fulltext.py
diff --git a/coprs_frontend/alembic/versions/3a415c6392bc_add_buildroot_pkgs_c.py
b/frontend/coprs_frontend/alembic/versions/3a415c6392bc_add_buildroot_pkgs_c.py
similarity index 100%
rename from coprs_frontend/alembic/versions/3a415c6392bc_add_buildroot_pkgs_c.py
rename to frontend/coprs_frontend/alembic/versions/3a415c6392bc_add_buildroot_pkgs_c.py
diff --git a/coprs_frontend/alembic/versions/3c3cce7a5fe0_add_copr_desc_and_instruct.py
b/frontend/coprs_frontend/alembic/versions/3c3cce7a5fe0_add_copr_desc_and_instruct.py
similarity index 100%
rename from coprs_frontend/alembic/versions/3c3cce7a5fe0_add_copr_desc_and_instruct.py
rename to
frontend/coprs_frontend/alembic/versions/3c3cce7a5fe0_add_copr_desc_and_instruct.py
diff --git a/coprs_frontend/alembic/versions/451e9507b866_generalize_action.py
b/frontend/coprs_frontend/alembic/versions/451e9507b866_generalize_action.py
similarity index 100%
rename from coprs_frontend/alembic/versions/451e9507b866_generalize_action.py
rename to frontend/coprs_frontend/alembic/versions/451e9507b866_generalize_action.py
diff --git a/coprs_frontend/alembic/versions/4837ad1d96ea_drop_copr_build_coun.py
b/frontend/coprs_frontend/alembic/versions/4837ad1d96ea_drop_copr_build_coun.py
similarity index 100%
rename from coprs_frontend/alembic/versions/4837ad1d96ea_drop_copr_build_coun.py
rename to frontend/coprs_frontend/alembic/versions/4837ad1d96ea_drop_copr_build_coun.py
diff --git a/coprs_frontend/alembic/versions/498884ac47db_add_timezone_field.py
b/frontend/coprs_frontend/alembic/versions/498884ac47db_add_timezone_field.py
similarity index 100%
rename from coprs_frontend/alembic/versions/498884ac47db_add_timezone_field.py
rename to frontend/coprs_frontend/alembic/versions/498884ac47db_add_timezone_field.py
diff --git a/coprs_frontend/alembic/versions/52e53e7b413e_add_build_chroot.py
b/frontend/coprs_frontend/alembic/versions/52e53e7b413e_add_build_chroot.py
similarity index 100%
rename from coprs_frontend/alembic/versions/52e53e7b413e_add_build_chroot.py
rename to frontend/coprs_frontend/alembic/versions/52e53e7b413e_add_build_chroot.py
diff --git a/coprs_frontend/alembic/versions/544873aa3ba1_add_action.py
b/frontend/coprs_frontend/alembic/versions/544873aa3ba1_add_action.py
similarity index 100%
rename from coprs_frontend/alembic/versions/544873aa3ba1_add_action.py
rename to frontend/coprs_frontend/alembic/versions/544873aa3ba1_add_action.py
diff --git a/coprs_frontend/alembic/versions/595a31c145fb_initial_db_setup.py
b/frontend/coprs_frontend/alembic/versions/595a31c145fb_initial_db_setup.py
similarity index 100%
rename from coprs_frontend/alembic/versions/595a31c145fb_initial_db_setup.py
rename to frontend/coprs_frontend/alembic/versions/595a31c145fb_initial_db_setup.py
diff --git a/coprs_frontend/alembic/versions/d062c3d9c00_backend_result_to_result.py
b/frontend/coprs_frontend/alembic/versions/d062c3d9c00_backend_result_to_result.py
similarity index 100%
rename from coprs_frontend/alembic/versions/d062c3d9c00_backend_result_to_result.py
rename to
frontend/coprs_frontend/alembic/versions/d062c3d9c00_backend_result_to_result.py
diff --git a/coprs_frontend/application b/frontend/coprs_frontend/application
similarity index 100%
rename from coprs_frontend/application
rename to frontend/coprs_frontend/application
diff --git a/coprs_frontend/config/copr.conf b/frontend/coprs_frontend/config/copr.conf
similarity index 100%
rename from coprs_frontend/config/copr.conf
rename to frontend/coprs_frontend/config/copr.conf
diff --git a/coprs_frontend/config/copr_devel.conf
b/frontend/coprs_frontend/config/copr_devel.conf
similarity index 100%
rename from coprs_frontend/config/copr_devel.conf
rename to frontend/coprs_frontend/config/copr_devel.conf
diff --git a/coprs_frontend/config/copr_unit_test.conf
b/frontend/coprs_frontend/config/copr_unit_test.conf
similarity index 100%
rename from coprs_frontend/config/copr_unit_test.conf
rename to frontend/coprs_frontend/config/copr_unit_test.conf
diff --git a/coprs_frontend/coprs.conf.example
b/frontend/coprs_frontend/coprs.conf.example
similarity index 100%
rename from coprs_frontend/coprs.conf.example
rename to frontend/coprs_frontend/coprs.conf.example
diff --git a/coprs_frontend/coprs/__init__.py b/frontend/coprs_frontend/coprs/__init__.py
similarity index 100%
rename from coprs_frontend/coprs/__init__.py
rename to frontend/coprs_frontend/coprs/__init__.py
diff --git a/coprs_frontend/coprs/config.py b/frontend/coprs_frontend/coprs/config.py
similarity index 100%
rename from coprs_frontend/coprs/config.py
rename to frontend/coprs_frontend/coprs/config.py
diff --git a/coprs_frontend/coprs/constants.py
b/frontend/coprs_frontend/coprs/constants.py
similarity index 100%
rename from coprs_frontend/coprs/constants.py
rename to frontend/coprs_frontend/coprs/constants.py
diff --git a/coprs_frontend/coprs/exceptions.py
b/frontend/coprs_frontend/coprs/exceptions.py
similarity index 100%
rename from coprs_frontend/coprs/exceptions.py
rename to frontend/coprs_frontend/coprs/exceptions.py
diff --git a/coprs_frontend/coprs/filters.py b/frontend/coprs_frontend/coprs/filters.py
similarity index 100%
rename from coprs_frontend/coprs/filters.py
rename to frontend/coprs_frontend/coprs/filters.py
diff --git a/coprs_frontend/coprs/forms.py b/frontend/coprs_frontend/coprs/forms.py
similarity index 100%
rename from coprs_frontend/coprs/forms.py
rename to frontend/coprs_frontend/coprs/forms.py
diff --git a/coprs_frontend/coprs/helpers.py b/frontend/coprs_frontend/coprs/helpers.py
similarity index 100%
rename from coprs_frontend/coprs/helpers.py
rename to frontend/coprs_frontend/coprs/helpers.py
diff --git a/coprs_frontend/coprs/log.py b/frontend/coprs_frontend/coprs/log.py
similarity index 100%
rename from coprs_frontend/coprs/log.py
rename to frontend/coprs_frontend/coprs/log.py
diff --git a/coprs_frontend/coprs/logic/__init__.py
b/frontend/coprs_frontend/coprs/logic/__init__.py
similarity index 100%
rename from coprs_frontend/coprs/logic/__init__.py
rename to frontend/coprs_frontend/coprs/logic/__init__.py
diff --git a/coprs_frontend/coprs/logic/actions_logic.py
b/frontend/coprs_frontend/coprs/logic/actions_logic.py
similarity index 100%
rename from coprs_frontend/coprs/logic/actions_logic.py
rename to frontend/coprs_frontend/coprs/logic/actions_logic.py
diff --git a/coprs_frontend/coprs/logic/builds_logic.py
b/frontend/coprs_frontend/coprs/logic/builds_logic.py
similarity index 100%
rename from coprs_frontend/coprs/logic/builds_logic.py
rename to frontend/coprs_frontend/coprs/logic/builds_logic.py
diff --git a/coprs_frontend/coprs/logic/coprs_logic.py
b/frontend/coprs_frontend/coprs/logic/coprs_logic.py
similarity index 100%
rename from coprs_frontend/coprs/logic/coprs_logic.py
rename to frontend/coprs_frontend/coprs/logic/coprs_logic.py
diff --git a/coprs_frontend/coprs/logic/users_logic.py
b/frontend/coprs_frontend/coprs/logic/users_logic.py
similarity index 100%
rename from coprs_frontend/coprs/logic/users_logic.py
rename to frontend/coprs_frontend/coprs/logic/users_logic.py
diff --git a/coprs_frontend/coprs/models.py b/frontend/coprs_frontend/coprs/models.py
similarity index 100%
rename from coprs_frontend/coprs/models.py
rename to frontend/coprs_frontend/coprs/models.py
diff --git a/coprs_frontend/coprs/signals.py b/frontend/coprs_frontend/coprs/signals.py
similarity index 100%
rename from coprs_frontend/coprs/signals.py
rename to frontend/coprs_frontend/coprs/signals.py
diff --git a/coprs_frontend/coprs/static/README
b/frontend/coprs_frontend/coprs/static/README
similarity index 100%
rename from coprs_frontend/coprs/static/README
rename to frontend/coprs_frontend/coprs/static/README
diff --git a/coprs_frontend/coprs/static/copr.css
b/frontend/coprs_frontend/coprs/static/copr.css
similarity index 100%
rename from coprs_frontend/coprs/static/copr.css
rename to frontend/coprs_frontend/coprs/static/copr.css
diff --git a/coprs_frontend/coprs/static/copr.js
b/frontend/coprs_frontend/coprs/static/copr.js
similarity index 100%
rename from coprs_frontend/coprs/static/copr.js
rename to frontend/coprs_frontend/coprs/static/copr.js
diff --git a/coprs_frontend/coprs/static/copr_logo.png
b/frontend/coprs_frontend/coprs/static/copr_logo.png
similarity index 100%
rename from coprs_frontend/coprs/static/copr_logo.png
rename to frontend/coprs_frontend/coprs/static/copr_logo.png
diff --git a/coprs_frontend/coprs/static/default_user.png
b/frontend/coprs_frontend/coprs/static/default_user.png
similarity index 100%
rename from coprs_frontend/coprs/static/default_user.png
rename to frontend/coprs_frontend/coprs/static/default_user.png
diff --git a/coprs_frontend/coprs/static/favicon.ico
b/frontend/coprs_frontend/coprs/static/favicon.ico
similarity index 100%
rename from coprs_frontend/coprs/static/favicon.ico
rename to frontend/coprs_frontend/coprs/static/favicon.ico
diff --git a/coprs_frontend/coprs/static/header_background.png
b/frontend/coprs_frontend/coprs/static/header_background.png
similarity index 100%
rename from coprs_frontend/coprs/static/header_background.png
rename to frontend/coprs_frontend/coprs/static/header_background.png
diff --git a/coprs_frontend/coprs/static/pink_arrow.png
b/frontend/coprs_frontend/coprs/static/pink_arrow.png
similarity index 100%
rename from coprs_frontend/coprs/static/pink_arrow.png
rename to frontend/coprs_frontend/coprs/static/pink_arrow.png
diff --git a/coprs_frontend/coprs/templates/404.html
b/frontend/coprs_frontend/coprs/templates/404.html
similarity index 100%
rename from coprs_frontend/coprs/templates/404.html
rename to frontend/coprs_frontend/coprs/templates/404.html
diff --git a/coprs_frontend/coprs/templates/_helpers.html
b/frontend/coprs_frontend/coprs/templates/_helpers.html
similarity index 100%
rename from coprs_frontend/coprs/templates/_helpers.html
rename to frontend/coprs_frontend/coprs/templates/_helpers.html
diff --git a/coprs_frontend/coprs/templates/admin/index.html
b/frontend/coprs_frontend/coprs/templates/admin/index.html
similarity index 100%
rename from coprs_frontend/coprs/templates/admin/index.html
rename to frontend/coprs_frontend/coprs/templates/admin/index.html
diff --git a/coprs_frontend/coprs/templates/admin/layout.html
b/frontend/coprs_frontend/coprs/templates/admin/layout.html
similarity index 100%
rename from coprs_frontend/coprs/templates/admin/layout.html
rename to frontend/coprs_frontend/coprs/templates/admin/layout.html
diff --git a/coprs_frontend/coprs/templates/admin/legal-flag.html
b/frontend/coprs_frontend/coprs/templates/admin/legal-flag.html
similarity index 100%
rename from coprs_frontend/coprs/templates/admin/legal-flag.html
rename to frontend/coprs_frontend/coprs/templates/admin/legal-flag.html
diff --git a/coprs_frontend/coprs/templates/api.html
b/frontend/coprs_frontend/coprs/templates/api.html
similarity index 100%
rename from coprs_frontend/coprs/templates/api.html
rename to frontend/coprs_frontend/coprs/templates/api.html
diff --git a/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
b/frontend/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/_coprs_forms.html
rename to frontend/coprs_frontend/coprs/templates/coprs/_coprs_forms.html
diff --git a/coprs_frontend/coprs/templates/coprs/add.html
b/frontend/coprs_frontend/coprs/templates/coprs/add.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/add.html
rename to frontend/coprs_frontend/coprs/templates/coprs/add.html
diff --git a/coprs_frontend/coprs/templates/coprs/copr.repo
b/frontend/coprs_frontend/coprs/templates/coprs/copr.repo
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/copr.repo
rename to frontend/coprs_frontend/coprs/templates/coprs/copr.repo
diff --git a/coprs_frontend/coprs/templates/coprs/detail.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/_builds_forms.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/_builds_forms.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/_builds_forms.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/_builds_forms.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/_builds_table.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/_builds_table.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/_builds_table.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/_builds_table.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/_permissions_table.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/_permissions_table.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/_permissions_table.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/_permissions_table.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/add_build.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/add_build.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/add_build.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/add_build.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/builds.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/builds.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/builds.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/builds.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/delete.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/delete.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/delete.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/delete.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/edit.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/edit.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/edit.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/edit.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/edit2.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/edit2.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/edit2.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/edit2.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/edit_chroot.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/edit_chroot.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/edit_chroot.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/edit_chroot.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/monitor.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/monitor.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/monitor.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/monitor.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/overview.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/overview.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/overview.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/overview.html
diff --git a/coprs_frontend/coprs/templates/coprs/detail/permissions.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/permissions.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/detail/permissions.html
rename to frontend/coprs_frontend/coprs/templates/coprs/detail/permissions.html
diff --git a/coprs_frontend/coprs/templates/coprs/show.html
b/frontend/coprs_frontend/coprs/templates/coprs/show.html
similarity index 100%
rename from coprs_frontend/coprs/templates/coprs/show.html
rename to frontend/coprs_frontend/coprs/templates/coprs/show.html
diff --git a/coprs_frontend/coprs/templates/layout.html
b/frontend/coprs_frontend/coprs/templates/layout.html
similarity index 100%
rename from coprs_frontend/coprs/templates/layout.html
rename to frontend/coprs_frontend/coprs/templates/layout.html
diff --git a/coprs_frontend/coprs/templates/login.html
b/frontend/coprs_frontend/coprs/templates/login.html
similarity index 100%
rename from coprs_frontend/coprs/templates/login.html
rename to frontend/coprs_frontend/coprs/templates/login.html
diff --git a/coprs_frontend/coprs/views/__init__.py
b/frontend/coprs_frontend/coprs/views/__init__.py
similarity index 100%
rename from coprs_frontend/coprs/views/__init__.py
rename to frontend/coprs_frontend/coprs/views/__init__.py
diff --git a/coprs_frontend/coprs/views/admin_ns/__init__.py
b/frontend/coprs_frontend/coprs/views/admin_ns/__init__.py
similarity index 100%
rename from coprs_frontend/coprs/views/admin_ns/__init__.py
rename to frontend/coprs_frontend/coprs/views/admin_ns/__init__.py
diff --git a/coprs_frontend/coprs/views/admin_ns/admin_general.py
b/frontend/coprs_frontend/coprs/views/admin_ns/admin_general.py
similarity index 100%
rename from coprs_frontend/coprs/views/admin_ns/admin_general.py
rename to frontend/coprs_frontend/coprs/views/admin_ns/admin_general.py
diff --git a/coprs_frontend/coprs/views/api_ns/__init__.py
b/frontend/coprs_frontend/coprs/views/api_ns/__init__.py
similarity index 100%
rename from coprs_frontend/coprs/views/api_ns/__init__.py
rename to frontend/coprs_frontend/coprs/views/api_ns/__init__.py
diff --git a/coprs_frontend/coprs/views/api_ns/api_general.py
b/frontend/coprs_frontend/coprs/views/api_ns/api_general.py
similarity index 100%
rename from coprs_frontend/coprs/views/api_ns/api_general.py
rename to frontend/coprs_frontend/coprs/views/api_ns/api_general.py
diff --git a/coprs_frontend/coprs/views/backend_ns/__init__.py
b/frontend/coprs_frontend/coprs/views/backend_ns/__init__.py
similarity index 100%
rename from coprs_frontend/coprs/views/backend_ns/__init__.py
rename to frontend/coprs_frontend/coprs/views/backend_ns/__init__.py
diff --git a/coprs_frontend/coprs/views/backend_ns/backend_general.py
b/frontend/coprs_frontend/coprs/views/backend_ns/backend_general.py
similarity index 100%
rename from coprs_frontend/coprs/views/backend_ns/backend_general.py
rename to frontend/coprs_frontend/coprs/views/backend_ns/backend_general.py
diff --git a/coprs_frontend/coprs/views/coprs_ns/__init__.py
b/frontend/coprs_frontend/coprs/views/coprs_ns/__init__.py
similarity index 100%
rename from coprs_frontend/coprs/views/coprs_ns/__init__.py
rename to frontend/coprs_frontend/coprs/views/coprs_ns/__init__.py
diff --git a/coprs_frontend/coprs/views/coprs_ns/coprs_builds.py
b/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_builds.py
similarity index 100%
rename from coprs_frontend/coprs/views/coprs_ns/coprs_builds.py
rename to frontend/coprs_frontend/coprs/views/coprs_ns/coprs_builds.py
diff --git a/coprs_frontend/coprs/views/coprs_ns/coprs_chroots.py
b/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_chroots.py
similarity index 100%
rename from coprs_frontend/coprs/views/coprs_ns/coprs_chroots.py
rename to frontend/coprs_frontend/coprs/views/coprs_ns/coprs_chroots.py
diff --git a/coprs_frontend/coprs/views/coprs_ns/coprs_general.py
b/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py
similarity index 100%
rename from coprs_frontend/coprs/views/coprs_ns/coprs_general.py
rename to frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py
diff --git a/coprs_frontend/coprs/views/misc.py
b/frontend/coprs_frontend/coprs/views/misc.py
similarity index 100%
rename from coprs_frontend/coprs/views/misc.py
rename to frontend/coprs_frontend/coprs/views/misc.py
diff --git a/coprs_frontend/coprs/whoosheers.py
b/frontend/coprs_frontend/coprs/whoosheers.py
similarity index 100%
rename from coprs_frontend/coprs/whoosheers.py
rename to frontend/coprs_frontend/coprs/whoosheers.py
diff --git a/coprs_frontend/manage.py b/frontend/coprs_frontend/manage.py
similarity index 100%
rename from coprs_frontend/manage.py
rename to frontend/coprs_frontend/manage.py
diff --git a/coprs_frontend/tests/__init__.py b/frontend/coprs_frontend/tests/__init__.py
similarity index 100%
rename from coprs_frontend/tests/__init__.py
rename to frontend/coprs_frontend/tests/__init__.py
diff --git a/coprs_frontend/tests/coprs_test_case.py
b/frontend/coprs_frontend/tests/coprs_test_case.py
similarity index 100%
rename from coprs_frontend/tests/coprs_test_case.py
rename to frontend/coprs_frontend/tests/coprs_test_case.py
diff --git a/coprs_frontend/tests/test_helpers.py
b/frontend/coprs_frontend/tests/test_helpers.py
similarity index 100%
rename from coprs_frontend/tests/test_helpers.py
rename to frontend/coprs_frontend/tests/test_helpers.py
diff --git a/coprs_frontend/tests/test_logic/test_builds_logic.py
b/frontend/coprs_frontend/tests/test_logic/test_builds_logic.py
similarity index 100%
rename from coprs_frontend/tests/test_logic/test_builds_logic.py
rename to frontend/coprs_frontend/tests/test_logic/test_builds_logic.py
diff --git a/coprs_frontend/tests/test_logic/test_coprs_logic.py
b/frontend/coprs_frontend/tests/test_logic/test_coprs_logic.py
similarity index 100%
rename from coprs_frontend/tests/test_logic/test_coprs_logic.py
rename to frontend/coprs_frontend/tests/test_logic/test_coprs_logic.py
diff --git a/coprs_frontend/tests/test_views/test_admin/test_admin_general.py
b/frontend/coprs_frontend/tests/test_views/test_admin/test_admin_general.py
similarity index 100%
rename from coprs_frontend/tests/test_views/test_admin/test_admin_general.py
rename to frontend/coprs_frontend/tests/test_views/test_admin/test_admin_general.py
diff --git a/coprs_frontend/tests/test_views/test_backend_ns/test_backend_general.py
b/frontend/coprs_frontend/tests/test_views/test_backend_ns/test_backend_general.py
similarity index 100%
rename from coprs_frontend/tests/test_views/test_backend_ns/test_backend_general.py
rename to
frontend/coprs_frontend/tests/test_views/test_backend_ns/test_backend_general.py
diff --git a/coprs_frontend/tests/test_views/test_coprs_ns/__init__.py
b/frontend/coprs_frontend/tests/test_views/test_coprs_ns/__init__.py
similarity index 100%
rename from coprs_frontend/tests/test_views/test_coprs_ns/__init__.py
rename to frontend/coprs_frontend/tests/test_views/test_coprs_ns/__init__.py
diff --git a/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_builds.py
b/frontend/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_builds.py
similarity index 100%
rename from coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_builds.py
rename to frontend/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_builds.py
diff --git a/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_general.py
b/frontend/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_general.py
similarity index 100%
rename from coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_general.py
rename to frontend/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_general.py
diff --git a/backend/documentation/Makefile b/frontend/documentation/Makefile
similarity index 96%
copy from backend/documentation/Makefile
copy to frontend/documentation/Makefile
index 06216f0..1cfd8ec 100644
--- a/backend/documentation/Makefile
+++ b/frontend/documentation/Makefile
@@ -13,7 +13,7 @@ BUILD_DIR := build
EPYDOC_BIN := `which epydoc`
EPYDOC_SWITCHES := --inheritance listed --graph all --html
PYTHON_DOC_DIR := python-doc
-PYTHON_DIRS := ../
+PYTHON_DIRS := ../coprs_frontend
# TARGETS
# schema is not incldued here, since you need a live db
diff --git a/backend/documentation/how-to-generate-documentation.txt
b/frontend/documentation/how-to-generate-documentation.txt
similarity index 100%
copy from backend/documentation/how-to-generate-documentation.txt
copy to frontend/documentation/how-to-generate-documentation.txt