Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
commit 82c0c8ebefae5fe6ec37b4bee6601fa3853c0afe Author: Valentin Gologuzov vgologuz@redhat.com Date: Fri Nov 7 14:44:55 2014 +0100
[backend] changed source layout: moved all configuration files into the `conf` dir
backend/{ => conf}/copr-be.conf.example | 0 backend/{ => conf}/copr-be.local.conf | 0 backend/{dist => conf}/copr.sudoers.d | 0 backend/{ => conf}/crontab/copr-backend | 0 backend/{dist => conf}/lighttpd/dirlisting.conf | 0 backend/{dist => conf}/lighttpd/mime.conf | 0 backend/{ => conf}/logrotate/copr-backend | 0 backend/{ => conf}/playbooks/builderpb-i386.yml | 0 backend/{ => conf}/playbooks/builderpb-x86_64.yml | 0 backend/{ => conf}/playbooks/builderpb.yml.ec2 | 0 backend/{ => conf}/playbooks/terminatepb.yml | 0 backend/{ => conf}/playbooks/terminatepb.yml.ec2 | 0 backend/{dist => conf}/sign/sign.conf.example | 0 backend/{ => conf}/tmpfiles.d/copr-backend.conf | 0 backend/copr-backend.spec | 14 +++++++------- 15 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/backend/copr-be.conf.example b/backend/conf/copr-be.conf.example similarity index 100% rename from backend/copr-be.conf.example rename to backend/conf/copr-be.conf.example diff --git a/backend/copr-be.local.conf b/backend/conf/copr-be.local.conf similarity index 100% rename from backend/copr-be.local.conf rename to backend/conf/copr-be.local.conf diff --git a/backend/dist/copr.sudoers.d b/backend/conf/copr.sudoers.d similarity index 100% rename from backend/dist/copr.sudoers.d rename to backend/conf/copr.sudoers.d diff --git a/backend/crontab/copr-backend b/backend/conf/crontab/copr-backend similarity index 100% rename from backend/crontab/copr-backend rename to backend/conf/crontab/copr-backend diff --git a/backend/dist/lighttpd/dirlisting.conf b/backend/conf/lighttpd/dirlisting.conf similarity index 100% rename from backend/dist/lighttpd/dirlisting.conf rename to backend/conf/lighttpd/dirlisting.conf diff --git a/backend/dist/lighttpd/mime.conf b/backend/conf/lighttpd/mime.conf similarity index 100% rename from backend/dist/lighttpd/mime.conf rename to backend/conf/lighttpd/mime.conf diff --git a/backend/logrotate/copr-backend b/backend/conf/logrotate/copr-backend similarity index 100% rename from backend/logrotate/copr-backend rename to backend/conf/logrotate/copr-backend diff --git a/backend/playbooks/builderpb-i386.yml b/backend/conf/playbooks/builderpb-i386.yml similarity index 100% rename from backend/playbooks/builderpb-i386.yml rename to backend/conf/playbooks/builderpb-i386.yml diff --git a/backend/playbooks/builderpb-x86_64.yml b/backend/conf/playbooks/builderpb-x86_64.yml similarity index 100% rename from backend/playbooks/builderpb-x86_64.yml rename to backend/conf/playbooks/builderpb-x86_64.yml diff --git a/backend/playbooks/builderpb.yml.ec2 b/backend/conf/playbooks/builderpb.yml.ec2 similarity index 100% rename from backend/playbooks/builderpb.yml.ec2 rename to backend/conf/playbooks/builderpb.yml.ec2 diff --git a/backend/playbooks/terminatepb.yml b/backend/conf/playbooks/terminatepb.yml similarity index 100% rename from backend/playbooks/terminatepb.yml rename to backend/conf/playbooks/terminatepb.yml diff --git a/backend/playbooks/terminatepb.yml.ec2 b/backend/conf/playbooks/terminatepb.yml.ec2 similarity index 100% rename from backend/playbooks/terminatepb.yml.ec2 rename to backend/conf/playbooks/terminatepb.yml.ec2 diff --git a/backend/dist/sign/sign.conf.example b/backend/conf/sign/sign.conf.example similarity index 100% rename from backend/dist/sign/sign.conf.example rename to backend/conf/sign/sign.conf.example diff --git a/backend/tmpfiles.d/copr-backend.conf b/backend/conf/tmpfiles.d/copr-backend.conf similarity index 100% rename from backend/tmpfiles.d/copr-backend.conf rename to backend/conf/tmpfiles.d/copr-backend.conf diff --git a/backend/copr-backend.spec b/backend/copr-backend.spec index 8b9a8c6..15f3c2a 100644 --- a/backend/copr-backend.spec +++ b/backend/copr-backend.spec @@ -105,13 +105,13 @@ install -d %{buildroot}%{_sysconfdir}/sudoers.d
cp -a backend/* %{buildroot}%{_datadir}/copr/backend cp -a run/* %{buildroot}%{_datadir}/copr/ -cp -a copr-be.conf.example %{buildroot}%{_sysconfdir}/copr/copr-be.conf +cp -a conf/copr-be.conf.example %{buildroot}%{_sysconfdir}/copr/copr-be.conf
-install -p -m 755 crontab/copr-backend %{buildroot}%{_sysconfdir}/cron.daily/copr-backend +install -p -m 755 conf/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} +cp -a conf/lighttpd/* %{buildroot}%{_pkgdocdir}/lighttpd/ +cp -a conf/logrotate/* %{buildroot}%{_sysconfdir}/logrotate.d/ +cp -a conf/tmpfiles.d/* %{buildroot}/%{_tmpfilesdir}
# for ghost files touch %{buildroot}%{_var}/log/copr/copr.log @@ -123,11 +123,11 @@ done touch %{buildroot}%{_var}/run/copr-backend/copr-be.pid
install -m 0644 copr-backend.service %{buildroot}/%{_unitdir}/ -install -m 0644 dist/copr.sudoers.d %{buildroot}%{_sysconfdir}/sudoers.d/copr +install -m 0644 conf/copr.sudoers.d %{buildroot}%{_sysconfdir}/sudoers.d/copr
#doc cp -a documentation/python-doc %{buildroot}%{_pkgdocdir}/ -cp -a playbooks %{buildroot}%{_pkgdocdir}/ +cp -a conf/playbooks %{buildroot}%{_pkgdocdir}/
%pre getent group copr >/dev/null || groupadd -r copr
copr-commits@lists.fedorahosted.org