[copr] master: Automatic commit of package [copr] release [1.3-1]. (a9574df)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit a9574dfd5cfa6d9479880e6a2a08cb9602b53293
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 16 15:56:39 2013 +0200
Automatic commit of package [copr] release [1.3-1].
>---------------------------------------------------------------
copr.spec | 5 ++++-
rel-eng/packages/copr | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/copr.spec b/copr.spec
index 988fae9..0d383c9 100644
--- a/copr.spec
+++ b/copr.spec
@@ -3,7 +3,7 @@
%endif
Name: copr
-Version: 1.2
+Version: 1.3
Release: 1%{?dist}
Summary: Cool Other Package Repo
@@ -232,6 +232,9 @@ service httpd condrestart
%doc %{_pkgdocdir}/python-doc
%changelog
+* Mon Sep 16 2013 Miroslav Suchý <msuchy(a)redhat.com> 1.3-1
+- be clear how we create tgz
+
* Mon Sep 16 2013 Miroslav Suchý <msuchy(a)redhat.com> 1.2-1
- fix typo
- move frontend data into /var/lib/copr
diff --git a/rel-eng/packages/copr b/rel-eng/packages/copr
index 9d470e1..4c93271 100644
--- a/rel-eng/packages/copr
+++ b/rel-eng/packages/copr
@@ -1 +1 @@
-1.2-1 ./
+1.3-1 ./
10 years, 7 months
[copr] master: Automatic commit of package [copr] release [1.2-1]. (fba6f59)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit fba6f59ceb33a922645be0298ac409196f66e79b
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 16 15:45:46 2013 +0200
Automatic commit of package [copr] release [1.2-1].
>---------------------------------------------------------------
copr.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++++-
rel-eng/packages/copr | 2 +-
2 files changed, 81 insertions(+), 2 deletions(-)
diff --git a/copr.spec b/copr.spec
index 6af16ce..3882feb 100644
--- a/copr.spec
+++ b/copr.spec
@@ -3,7 +3,7 @@
%endif
Name: copr
-Version: 1.1
+Version: 1.2
Release: 1%{?dist}
Summary: Cool Other Package Repo
@@ -226,6 +226,85 @@ service httpd condrestart
%doc %{_pkgdocdir}/python-doc
%changelog
+* Mon Sep 16 2013 Miroslav Suchý <msuchy(a)redhat.com> 1.2-1
+- fix typo
+- move frontend data into /var/lib/copr
+- no need to own /usr/share/copr by copr-fe
+- mark application as executable
+- coprs_frontend does not need to be owned by copr-fe
+- add executable attribute to copr-be.py
+- remove shebang from dispatcher.py
+- squeeze description into 80 chars
+- fix typo
+- frontend need argparse too
+- move results into /var/lib/copr/public_html
+- name of dir is just copr-%%version
+- Remove un-necessary quote that breaks the tests
+- Adjust unit-tests to the new urls
+- Update the URL to be based upon a /user/copr/<action> structure
+- comment config copr-be.conf and add defaults
+- put examples of builderpb.yml and terminatepb.yml into doc dir
+- more detailed description of copr-be.conf
+- move files in config directory not directory itself
+- include copr-be.conf
+- include copr-be.py
+- create copr with lighttpd group
+- edit backend part of copr-setup.txt
+- remove fedora16 and add 19 and 20
+- create -doc subpackage with python documentation
+- add generated documentation on gitignore list
+- add script to generate python documentation
+- copr-setup.txt change to for mock
+- rhel6 do not know _pkgdocdir macro
+- make instruction clear
+- require recent whoosh
+- add support for libravatar
+- include backend in rpm
+- add notes about lighttpd config files and how to deploy them
+- do not list file twice
+- move log file to /var/log
+- change destdir in copr-be.conf.example
+- lightweight is the word and buildsystem has more meaning than 'koji'.
+- restart apache after upgrade of frontend
+- own directory where backend put results
+- removal of hidden-file-or-dir
+ /usr/share/copr/coprs_frontend/coprs/logic/.coprs_logic.py.swo
+- copr-backend.noarch: W: spelling-error %%description -l en_US latests ->
+ latest, latest's, la tests
+- simplify configuration - introduce /etc/copr/copr*.conf
+- Replace "with" statements with @TransactionDecorator decorator
+- add python-flexmock to deps of frontend
+- remove sentence which does not have meaning
+- change api token expiration to 120 days and make it configurable
+- create_chroot must be run as copr-fe user
+- add note that you have to add chroots to db
+- mark config.py as config so it is not overwritten during upgrade
+- own directory data/whooshee/copr_user_whoosheer
+- gcc is not needed
+- sqlite db must be owned by copr-fe user
+- copr does not work with selinux
+- create subdirs under data/openid_store
+- suggest to install frontend as package from copr repository
+- on el6 add python-argparse to BR
+- add python-requests to BR
+- add python-setuptools to BR
+- maintain apache configuration on one place only
+- apache 2.4 changed access control
+- require python-psycopg2
+- postgresql server is not needed
+- document how to create db
+- add to HOWTO how to create db
+- require python-alembic
+- add python-flask-script and python-flask-whooshee to requirements
+- change user in coprs.conf.example to copr-fe
+- fix paths in coprs.conf.example
+- copr is noarch package
+- add note where to configure frontend
+- move frontend to /usr/share/copr/coprs_frontend
+- put production placeholders in coprs_frontend/coprs/config.py
+- put frontend into copr.spec
+- web application should be put in /usr/share/%%{name}
+
* Mon Jun 17 2013 Miroslav Suchý <msuchy(a)redhat.com> 1.1-1
- new package built with tito
diff --git a/rel-eng/packages/copr b/rel-eng/packages/copr
index b21002e..9d470e1 100644
--- a/rel-eng/packages/copr
+++ b/rel-eng/packages/copr
@@ -1 +1 @@
-1.1-1 ./
+1.2-1 ./
10 years, 7 months
[copr] master: do not put email address to each changelog entry (63e58f9)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 63e58f9b2fef09bab906f4c015c91aee2ddf739d
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 16 15:44:57 2013 +0200
do not put email address to each changelog entry
>---------------------------------------------------------------
rel-eng/tito.props | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rel-eng/tito.props b/rel-eng/tito.props
index fb74f3f..0dee893 100644
--- a/rel-eng/tito.props
+++ b/rel-eng/tito.props
@@ -2,4 +2,4 @@
default_builder = tito.builder.Builder
default_tagger = tito.tagger.VersionTagger
changelog_do_not_remove_cherrypick = 0
-changelog_format = %s (%ae)
+changelog_format = %s
10 years, 7 months
[copr] master: fix typo (a34a662)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit a34a662d7d9e7dd1593f329815726e6bf0f2bce7
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 16 15:42:38 2013 +0200
fix typo
copr-frontend.noarch: W: spelling-error %description -l en_US buildsystem -> build system, build-system, subsystem
>---------------------------------------------------------------
copr.spec | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/copr.spec b/copr.spec
index a8b8c7e..6af16ce 100644
--- a/copr.spec
+++ b/copr.spec
@@ -44,7 +44,7 @@ Requires: python-bunch
Requires: python-requests
%description backend
-COPR is lightweight buildsystem. It allows you to create new project in WebUI,
+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.
This package contains backend.
@@ -73,7 +73,7 @@ BuildRequires: python-argparse
%endif
%description frontend
-COPR is lightweight buildsystem. It allows you to create new project in WebUI,
+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.
@@ -86,7 +86,7 @@ Requires: python-argparse
%endif
%description cli
-COPR is lightweight buildsystem. It allows you to create new project in WebUI,
+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 command line interface.
@@ -95,7 +95,7 @@ This package contains command line interface.
Summary: Code documentation for COPR
%description doc
-COPR is lightweight buildsystem. It allows you to create new project in WebUI,
+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 include documentation for COPR code. Mostly useful for developers
10 years, 7 months
[copr] master: move frontend data into /var/lib/copr (d163e0f)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit d163e0fd78c99af98254cff36f40f8e64bad2fa2
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 16 15:38:38 2013 +0200
move frontend data into /var/lib/copr
>---------------------------------------------------------------
copr-setup.txt | 6 +++---
copr.spec | 25 +++++++++++++------------
coprs_frontend/config/copr.conf | 8 ++++----
coprs_frontend/config/copr_devel.conf | 10 +++++-----
coprs_frontend/config/copr_unit_test.conf | 8 ++++----
5 files changed, 29 insertions(+), 28 deletions(-)
diff --git a/copr-setup.txt b/copr-setup.txt
index f4f0f23..09a8d3d 100644
--- a/copr-setup.txt
+++ b/copr-setup.txt
@@ -116,10 +116,10 @@ SQLite
- yum install sqlite
- in file /etc/copr/copr.conf put:
- SQLALCHEMY_DATABASE_URI = 'sqlite:////usr/share/copr/data/copr.db'
-This will use sqlite db file in /usr/share/copr/data/copr.db (manage.py will create that file)
+ SQLALCHEMY_DATABASE_URI = 'sqlite:////var/lib/copr/data/copr.db'
+This will use sqlite db file in /var/lib/copr/data/copr.db (manage.py will create that file)
- Note that you have to either create db as copr-fe user or you have to run:
- chown copr-fe:copr-fe /usr/share/copr/data/copr.db
+ chown copr-fe:copr-fe /var/lib/copr/data/copr.db
after you run "./manage.py create_db"
PostgreSQL
diff --git a/copr.spec b/copr.spec
index 793e9d5..a8b8c7e 100644
--- a/copr.spec
+++ b/copr.spec
@@ -141,18 +141,18 @@ done
#frontend
install -d %{buildroot}%{_sysconfdir}
install -d %{buildroot}%{_datadir}/copr/coprs_frontend
-install -d %{buildroot}%{_datadir}/copr/data/openid_store
-install -d %{buildroot}%{_datadir}/copr/data/openid_store/associations
-install -d %{buildroot}%{_datadir}/copr/data/openid_store/nonces
-install -d %{buildroot}%{_datadir}/copr/data/openid_store/temp
-install -d %{buildroot}%{_datadir}/copr/data/whooshee
-install -d %{buildroot}%{_datadir}/copr/data/whooshee/copr_user_whoosheer
+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}%{_datadir}/copr/data/copr.db
+touch %{buildroot}%{_sharedstatedir}/copr/data/copr.db
#copr-cli
%{__python} coprcli-setup.py install --root %{buildroot}
@@ -198,15 +198,16 @@ service httpd condrestart
%files frontend
%doc LICENSE coprs.conf.example copr-setup.txt
%dir %{_datadir}/copr
+%dir %{_sharedstatedir}/copr
%{_datadir}/copr/coprs_frontend
%defattr(-, copr-fe, copr-fe, -)
-%dir %{_datadir}/copr/data
-%dir %{_datadir}/copr/data/openid_store
-%dir %{_datadir}/copr/data/whooshee
-%dir %{_datadir}/copr/data/whooshee/copr_user_whoosheer
+%dir %{_sharedstatedir}/copr/data
+%dir %{_sharedstatedir}/copr/data/openid_store
+%dir %{_sharedstatedir}/copr/data/whooshee
+%dir %{_sharedstatedir}/copr/data/whooshee/copr_user_whoosheer
-%ghost %{_datadir}/copr/data/copr.db
+%ghost %{_sharedstatedir}/copr/data/copr.db
%defattr(600, copr-fe, copr-fe, 700)
%dir %{_sysconfdir}/copr
diff --git a/coprs_frontend/config/copr.conf b/coprs_frontend/config/copr.conf
index 576db7b..6b3363a 100644
--- a/coprs_frontend/config/copr.conf
+++ b/coprs_frontend/config/copr.conf
@@ -1,8 +1,8 @@
# Directory and files where is stored Copr database files
-#DATA_DIR = '/usr/share/copr/data'
-#DATABASE = '/usr/share/copr/data/copr.db'
-#OPENID_STORE = '/usr/share/copr/data/openid_store'
-#WHOOSHEE_DIR = '/usr/share/copr/data/whooshee'
+#DATA_DIR = '/var/lib/copr/data'
+#DATABASE = '/var/lib/copr/data/copr.db'
+#OPENID_STORE = '/var/lib/copr/data/openid_store'
+#WHOOSHEE_DIR = '/var/lib/copr/data/whooshee'
#SECRET_KEY = 'put_some_secret_here'
#BACKEND_PASSWORD = 'password_here'
diff --git a/coprs_frontend/config/copr_devel.conf b/coprs_frontend/config/copr_devel.conf
index cd9eb32..d357b82 100644
--- a/coprs_frontend/config/copr_devel.conf
+++ b/coprs_frontend/config/copr_devel.conf
@@ -1,8 +1,8 @@
# Directory and files where is stored Copr database files
-#DATA_DIR = '/usr/share/copr/data'
-#DATABASE = '/usr/share/copr/data/copr.db'
-#OPENID_STORE = '/usr/share/copr/data/openid_store'
-#WHOOSHEE_DIR = '/usr/share/copr/data/whooshee'
+#DATA_DIR = '/var/lib/copr/data'
+#DATABASE = '/var/lib/copr/data/copr.db'
+#OPENID_STORE = '/var/lib/copr/data/openid_store'
+#WHOOSHEE_DIR = '/var/lib/copr/data/whooshee'
#SECRET_KEY = 'put_some_secret_here'
#BACKEND_PASSWORD = 'password_here'
@@ -11,7 +11,7 @@
#USE_ALLOWED_USERS = False
#ALLOWED_USERS = ['bonnie', 'clyde']
-#SQLALCHEMY_DATABASE_URI = 'sqlite:////usr/share/copr/data/copr.db'
+#SQLALCHEMY_DATABASE_URI = 'sqlite:////var/lib/copr/data/copr.db'
# Token length, defaults to 30 (max 255)
#API_TOKEN_LENGTH = 30
diff --git a/coprs_frontend/config/copr_unit_test.conf b/coprs_frontend/config/copr_unit_test.conf
index 0efcc07..ffb4d66 100644
--- a/coprs_frontend/config/copr_unit_test.conf
+++ b/coprs_frontend/config/copr_unit_test.conf
@@ -1,8 +1,8 @@
# Directory and files where is stored Copr database files
-#DATA_DIR = '/usr/share/copr/data'
-DATABASE = '/usr/share/copr/coprs_frontend/tests/data/copr.db'
-OPENID_STORE = '/usr/share/copr/coprs_frontend/tests/data/openid_store'
-WHOOSHEE_DIR = '/usr/share/copr/coprs_frontend/tests/data/whooshee'
+#DATA_DIR = '/var/lib/copr/data'
+DATABASE = '/var/lib/copr/coprs_frontend/tests/data/copr.db'
+OPENID_STORE = '/var/lib/copr/coprs_frontend/tests/data/openid_store'
+WHOOSHEE_DIR = '/var/lib/copr/coprs_frontend/tests/data/whooshee'
#SECRET_KEY = 'put_some_secret_here'
#BACKEND_PASSWORD = 'password_here'
10 years, 7 months
[copr] master: no need to own /usr/share/copr by copr-fe (59e470a)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 59e470af9e32dabc02e0a922ebd7dce8ff1d6e38
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 16 15:30:29 2013 +0200
no need to own /usr/share/copr by copr-fe
addressing:
copr-frontend.noarch: W: non-standard-uid /usr/share/copr copr-fe
>---------------------------------------------------------------
copr.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/copr.spec b/copr.spec
index f8396d2..793e9d5 100644
--- a/copr.spec
+++ b/copr.spec
@@ -197,10 +197,10 @@ service httpd condrestart
%files frontend
%doc LICENSE coprs.conf.example copr-setup.txt
+%dir %{_datadir}/copr
%{_datadir}/copr/coprs_frontend
%defattr(-, copr-fe, copr-fe, -)
-%dir %{_datadir}/copr
%dir %{_datadir}/copr/data
%dir %{_datadir}/copr/data/openid_store
%dir %{_datadir}/copr/data/whooshee
10 years, 7 months
[copr] master: mark application as executable (6434516)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 6434516132afb3ae9b1e76980534de89448447b5
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 16 15:28:41 2013 +0200
mark application as executable
addressing:
copr-frontend.noarch: E: non-executable-script /usr/share/copr/coprs_frontend/application 0644L /usr/bin/python
>---------------------------------------------------------------
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/coprs_frontend/application b/coprs_frontend/application
old mode 100644
new mode 100755
10 years, 7 months
[copr] master: coprs_frontend does not need to be owned by copr-fe (b4a71fc)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit b4a71fc707b0d75e891bf95f35f0e5b071980ad5
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 16 15:26:10 2013 +0200
coprs_frontend does not need to be owned by copr-fe
addressing:
...
copr-frontend.noarch: W: non-standard-uid /usr/share/copr/coprs_frontend/coprs/views/misc.pyo copr-fe
copr-frontend.noarch: W: non-standard-gid /usr/share/copr/coprs_frontend/coprs/views/misc.pyo copr-fe
...
>---------------------------------------------------------------
copr.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/copr.spec b/copr.spec
index 62ced8e..f8396d2 100644
--- a/copr.spec
+++ b/copr.spec
@@ -197,6 +197,8 @@ service httpd condrestart
%files frontend
%doc LICENSE coprs.conf.example copr-setup.txt
+%{_datadir}/copr/coprs_frontend
+
%defattr(-, copr-fe, copr-fe, -)
%dir %{_datadir}/copr
%dir %{_datadir}/copr/data
@@ -204,7 +206,6 @@ service httpd condrestart
%dir %{_datadir}/copr/data/whooshee
%dir %{_datadir}/copr/data/whooshee/copr_user_whoosheer
-%{_datadir}/copr/coprs_frontend
%ghost %{_datadir}/copr/data/copr.db
%defattr(600, copr-fe, copr-fe, 700)
10 years, 7 months