[copr/copr] branch master updated: update token url
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a commit to branch master
in repository copr/copr.
The following commit(s) were added to refs/heads/master by this push:
new f994ff3 update token url
f994ff3 is described below
commit f994ff323d2b2a1e3515f3c523b93584ac362649
Author: Marcin Szydelski <marcin(a)szydelscy.pl>
AuthorDate: Sun Sep 29 14:21:12 2019 +0000
update token url
Manual pointed to not-working url.
Merges: #1034
---
cli/man/copr-cli.1.asciidoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cli/man/copr-cli.1.asciidoc b/cli/man/copr-cli.1.asciidoc
index 54359e5..9ec479c 100644
--- a/cli/man/copr-cli.1.asciidoc
+++ b/cli/man/copr-cli.1.asciidoc
@@ -752,7 +752,7 @@ Normally, the exit code is 0 when everything goes well. But if not, we could get
API KEY
-------
-Visit the page https://copr.fedoraproject.org/api/ to obtain an API token.
+Visit the page https://copr.fedorainfracloud.org/api/ to obtain an API token.
This token must be saved in the file `~/.config/copr` in the following
format:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 6 months
[copr/copr] branch master updated (10e4a67 -> 29cbb29)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
msuchy pushed a change to branch master
in repository copr/copr.
from 10e4a67 python, keygen: drop comments after %endif
add 29cbb29 python: enable dynamic buildrequires
No new revisions were added by this update.
Summary of changes:
python/pyproject.toml | 3 +++
python/python-copr.spec | 19 +++++++++++++++++++
2 files changed, 22 insertions(+)
create mode 100644 python/pyproject.toml
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 6 months
[copr/copr] branch master updated (3bb4a1f -> 10e4a67)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a change to branch master
in repository copr/copr.
from 3bb4a1f doc: add database ER diagram
new c5e543c releng: add epel8 to "client" releasers
new 10e4a67 python, keygen: drop comments after %endif
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.tito/releasers.conf | 2 +-
keygen/copr-keygen.spec | 2 +-
python/python-copr.spec | 10 +++++-----
3 files changed, 7 insertions(+), 7 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 6 months
[copr/copr] branch master updated: doc: add database ER diagram
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a commit to branch master
in repository copr/copr.
The following commit(s) were added to refs/heads/master by this push:
new 3bb4a1f doc: add database ER diagram
3bb4a1f is described below
commit 3bb4a1f3f9381bedc2881f4cfcece46a47759e71
Author: Dominik Turecek <dturecek(a)redhat.com>
AuthorDate: Wed Sep 25 17:46:05 2019 +0200
doc: add database ER diagram
Fixes: #988
Merges: #1023
---
doc/Makefile | 9 ++++++++-
doc/database_erd.rst | 7 +++++++
doc/developer_documentation.rst | 2 +-
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/doc/Makefile b/doc/Makefile
index 73658c9..e1d11cf 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -13,6 +13,7 @@ PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+ERDFILE = _static/db-erd.png
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
@@ -41,7 +42,13 @@ help:
clean:
-rm -rf $(BUILDDIR)/*
-html:
+$(ERDFILE): ../frontend/coprs_frontend/coprs/models.py
+ export PYTHONPATH=`pwd`/../frontend/coprs_frontend/; \
+ export COPR_CONFIG=`pwd`/../frontend/coprs_frontend/config/copr_unit_test.conf; \
+ python3 -c "from eralchemy import render_er; from coprs import db; \
+ render_er(db.metadata, '$@')"
+
+html: $(ERDFILE)
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
diff --git a/doc/database_erd.rst b/doc/database_erd.rst
new file mode 100644
index 0000000..f0e9147
--- /dev/null
+++ b/doc/database_erd.rst
@@ -0,0 +1,7 @@
+.. _database-erd:
+
+Database ER diagram
+===================
+
+.. image:: _static/db-erd.png
+ :scale: 30%
diff --git a/doc/developer_documentation.rst b/doc/developer_documentation.rst
index b7113c3..7e3c665 100644
--- a/doc/developer_documentation.rst
+++ b/doc/developer_documentation.rst
@@ -24,7 +24,7 @@ Working with the code
How to work with Git (the version control system for Copr project) <git_guide>
Do you prefer sending patches? <patch_process>
Building Copr packages (backend, frontend, ...) <building_package>
- Database schema <http://miroslav.suchy.cz/copr/coprdb/>
+ Database schema <database_erd>
Documentation of python code (or check copr-frontend-doc.rpm and copr-backend-doc.rpm) <http://miroslav.suchy.cz/copr/python-doc/>
History
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 7 months
[copr/copr] branch master updated (6f56490 -> a44227c)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a change to branch master
in repository copr/copr.
from 6f56490 Automatic commit of package [python-copr] release [1.97-1].
add 5a25f95 backend: don't fake the list of tests
add ac366a2 backend: typofix in action error handling
add 89530f4 backend, frontend: parallel handling of actions
add a44227c backend: ask for auto_createrepo once per project
No new revisions were added by this update.
Summary of changes:
backend/backend/actions.py | 109 ++++++---
backend/backend/createrepo.py | 20 +-
backend/backend/daemons/action_dispatcher.py | 71 +++---
backend/backend/frontend.py | 24 +-
backend/backend/helpers.py | 10 +-
backend/backend/mockremote/__init__.py | 18 +-
backend/backend/worker_manager.py | 235 ++++++++++++++++++
backend/conf/copr-be.conf.example | 4 +
backend/run/copr-backend-process-action | 112 +++++++++
backend/run/copr_prune_results.py | 9 +-
backend/run/copr_sign_unsigned.py | 24 +-
backend/run_tests.sh | 40 ++-
backend/tests/action-processor.py | 44 ++++
backend/tests/daemons/test_backend.py | 30 +--
backend/tests/daemons/test_dispatcher.py | 53 +++-
backend/tests/daemons/test_vm_master.py | 7 +-
.../{test_job_grab.py => unused_test_job_grab.py} | 0
backend/tests/mockremote/test_builder.py | 60 +++--
backend/tests/mockremote/test_mockremote.py | 11 +-
backend/tests/run/test_copr_prune_results.py | 23 +-
backend/tests/test_action.py | 15 +-
backend/tests/test_createrepo.py | 9 +-
backend/tests/test_worker_manager.py | 271 +++++++++++++++++++++
backend/tests/vm_manager/test_check.py | 10 +-
backend/tests/vm_manager/test_event_handle.py | 6 +-
backend/tests/vm_manager/test_spawn.py | 5 +-
backend/tests/vm_manager/test_terminate.py | 4 +-
.../copr-cli-basic-operations/auto-createrepo.sh | 31 +++
.../Sanity/copr-cli-basic-operations/runtest.sh | 13 +-
.../coprs/views/backend_ns/backend_general.py | 15 ++
.../test_backend_ns/test_backend_general.py | 46 +++-
31 files changed, 1109 insertions(+), 220 deletions(-)
create mode 100644 backend/backend/worker_manager.py
create mode 100755 backend/run/copr-backend-process-action
create mode 100755 backend/tests/action-processor.py
rename backend/tests/daemons/{test_job_grab.py => unused_test_job_grab.py} (100%)
create mode 100644 backend/tests/test_worker_manager.py
create mode 100755 beaker-tests/Sanity/copr-cli-basic-operations/auto-createrepo.sh
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 7 months
[copr/copr] annotated tag python-copr-1.97-1 created (now cb2c246)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a change to annotated tag python-copr-1.97-1
in repository copr/copr.
at cb2c246 (tag)
tagging 6f564904fb5c44dd29e291475cbc569e45ec96bd (commit)
replaces copr-frontend-1.153-1
by Pavel Raiskup
on Thu Sep 26 09:20:22 2019 +0200
- Log -----------------------------------------------------------------
Tagging package [python-copr] version [python-copr-1.97-1] in directory [python/].
-----------------------------------------------------------------------
This annotated tag includes the following new commits:
new 6f56490 Automatic commit of package [python-copr] release [1.97-1].
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 7 months
[copr/copr] branch master updated: Automatic commit of package
[python-copr] release [1.97-1].
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a commit to branch master
in repository copr/copr.
The following commit(s) were added to refs/heads/master by this push:
new 6f56490 Automatic commit of package [python-copr] release [1.97-1].
6f56490 is described below
commit 6f564904fb5c44dd29e291475cbc569e45ec96bd
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Thu Sep 26 09:20:22 2019 +0200
Automatic commit of package [python-copr] release [1.97-1].
Created by command:
/usr/bin/tito tag
---
.tito/packages/python-copr | 2 +-
python/python-copr.spec | 6 +++++-
python/setup.py | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/.tito/packages/python-copr b/.tito/packages/python-copr
index 86fa4e8..103bafe 100644
--- a/.tito/packages/python-copr
+++ b/.tito/packages/python-copr
@@ -1 +1 @@
-1.96-1 python/
+1.97-1 python/
diff --git a/python/python-copr.spec b/python/python-copr.spec
index 2a75cc2..42620de 100644
--- a/python/python-copr.spec
+++ b/python/python-copr.spec
@@ -15,7 +15,7 @@
%endif
Name: python-copr
-Version: 1.96
+Version: 1.97
Release: 1%{?dist}
Summary: Python interface for Copr
@@ -217,6 +217,10 @@ cp -a docs/_build/html %{buildroot}%{_pkgdocdir}/
%doc %{_pkgdocdir}
%changelog
+* Thu Sep 26 2019 Pavel Raiskup <praiskup(a)redhat.com> 1.97-1
+- python: fix API for marshmallow 3+ (#934)
+- frontend, cli, python: support multilib projects (#1)
+
* Mon Jul 29 2019 Pavel Raiskup <praiskup(a)redhat.com> 1.96-1
- use plain %%setup to fix FTBFS
diff --git a/python/setup.py b/python/setup.py
index 970f088..1c89ca5 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -29,7 +29,7 @@ __url__ = "https://pagure.io/copr/copr"
setup(
name='copr',
- version="1.96",
+ version="1.97",
description=__description__,
long_description=long_description,
author=__author__,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 7 months
[copr/copr] branch master updated (9c4818a -> 9db51f7)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a change to branch master
in repository copr/copr.
from 9c4818a messaging: rename 'stomp_consumer' module to 'stomp'
add 9db51f7 python: fix API for marshmallow 3+
No new revisions were added by this update.
Summary of changes:
python/copr/client_v2/entities.py | 29 ++++++++++++++++++++---------
python/copr/client_v2/resources.py | 18 ++++++++++++------
python/copr/test/client_v2/test_entities.py | 2 +-
python/copr/test/client_v2/test_handlers.py | 4 ++--
4 files changed, 35 insertions(+), 18 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 7 months
[copr/copr] branch master updated: messaging: rename
'stomp_consumer' module to 'stomp'
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a commit to branch master
in repository copr/copr.
The following commit(s) were added to refs/heads/master by this push:
new 9c4818a messaging: rename 'stomp_consumer' module to 'stomp'
9c4818a is described below
commit 9c4818a351d2d834a2d2b88623222ed5bd6ddddc
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Fri Sep 13 08:33:55 2019 +0200
messaging: rename 'stomp_consumer' module to 'stomp'
Previously I thought it would be better to not clash with default
'import stomp' module, but naming it just 'stop' is much nicer.
Merges: #1001
---
messaging/copr_messaging/{stomp_consumer.py => stomp.py} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/messaging/copr_messaging/stomp_consumer.py b/messaging/copr_messaging/stomp.py
similarity index 100%
rename from messaging/copr_messaging/stomp_consumer.py
rename to messaging/copr_messaging/stomp.py
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 7 months
[copr/copr] branch master updated: backend: fix
/bin/copr-compress-live-logs
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a commit to branch master
in repository copr/copr.
The following commit(s) were added to refs/heads/master by this push:
new a6d8ecd backend: fix /bin/copr-compress-live-logs
a6d8ecd is described below
commit a6d8ecd097b4fdfdada43e98f6b641fdd0c35ddf
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Wed Sep 18 09:24:39 2019 +0200
backend: fix /bin/copr-compress-live-logs
Fix wrongly used `-mtime` option, we needed s/7/+7/. While touching the
script, make it a bit more verbose.
Merges: #1009
---
backend/run/copr-compress-live-logs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/backend/run/copr-compress-live-logs b/backend/run/copr-compress-live-logs
index 98eff8b..37b7d8f 100755
--- a/backend/run/copr-compress-live-logs
+++ b/backend/run/copr-compress-live-logs
@@ -4,6 +4,7 @@
# and gzip them (or remove, if the corresponding gzipped file already exists).
die() { echo "$0: FATAL: $*" ; exit 1 ; }
+info() { echo "$0: INFO: $*" ; }
test "$#" -lt 1 && die "<dir> argument expected"
@@ -12,12 +13,14 @@ dir=$1
test -d "$dir" || die "'$dir' is not a directory"
# make sure we use -mtime to not hit logs for actually running builds
-find "$dir" -name builder-live.log -mtime 7 -type f | \
+find "$dir" -name builder-live.log -mtime +7 -type f | \
while read -r uncompressed; do
compressed="$uncompressed.gz"
if test -f "$compressed"; then
+ info "removing uncompressed file: $uncompressed"
rm -f "$uncompressed"
else
+ info "gzipping old file: $uncompressed"
gzip "$uncompressed"
fi
done
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 7 months