[copr/copr] branch master updated (1a2fe80 -> eb08d63)
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 1a2fe80 cli, python, frontend: add command to list all available chroots
add eb08d63 frontend: simplify log level configuration
No new revisions were added by this update.
Summary of changes:
frontend/coprs_frontend/config/copr.conf | 2 +-
frontend/coprs_frontend/config/copr_devel.conf | 2 +-
frontend/coprs_frontend/config/copr_unit_test.conf | 2 +-
frontend/coprs_frontend/coprs/config.py | 2 +-
frontend/coprs_frontend/coprs/log.py | 3 ++-
5 files changed, 6 insertions(+), 5 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 4 months
[copr/copr] branch master updated (5a5d521 -> 1a2fe80)
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 5a5d521 backend: keep worker ID in proc title
add 1a2fe80 cli, python, frontend: add command to list all available chroots
No new revisions were added by this update.
Summary of changes:
cli/copr_cli/main.py | 14 ++++++++++++++
cli/tests/test_cli.py | 12 ++++++++++++
frontend/copr-frontend.spec | 2 ++
frontend/coprs_frontend/coprs/__init__.py | 2 +-
frontend/coprs_frontend/coprs/logic/coprs_logic.py | 4 ++++
.../coprs/views/apiv3_ns/apiv3_mock_chroots.py | 17 +++++++++++++++++
frontend/coprs_frontend/tests/coprs_test_case.py | 6 ++++--
.../tests/test_apiv3/test_mock_chroot.py | 15 +++++++++++++++
python/copr/v3/__init__.py | 2 ++
python/copr/v3/client.py | 2 ++
python/copr/v3/proxies/mock_chroot.py | 18 ++++++++++++++++++
11 files changed, 91 insertions(+), 3 deletions(-)
create mode 100644 frontend/coprs_frontend/coprs/views/apiv3_ns/apiv3_mock_chroots.py
create mode 100644 frontend/coprs_frontend/tests/test_apiv3/test_mock_chroot.py
create mode 100644 python/copr/v3/proxies/mock_chroot.py
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 4 months
[copr/copr] branch master updated (2d55675 -> 5a5d521)
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 2d55675 Automatic commit of package [copr-backend] release [1.130-1].
add 5a5d521 backend: keep worker ID in proc title
No new revisions were added by this update.
Summary of changes:
backend/backend/createrepo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 4 months
[copr/copr] annotated tag copr-backend-1.130-1 created (now 8f0b57e)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a change to annotated tag copr-backend-1.130-1
in repository copr/copr.
at 8f0b57e (tag)
tagging 2d55675279a7ccc3ac9f64288e36790efb014bc5 (commit)
replaces copr-frontend-1.158-1
by Pavel Raiskup
on Fri Dec 6 10:57:28 2019 +0100
- Log -----------------------------------------------------------------
Tagging package [copr-backend] version [copr-backend-1.130-1] in directory [backend/].
-----------------------------------------------------------------------
This annotated tag includes the following new commits:
new 2d55675 Automatic commit of package [copr-backend] release [1.130-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, 4 months
[copr/copr] branch master updated: Automatic commit of package
[copr-backend] release [1.130-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 2d55675 Automatic commit of package [copr-backend] release [1.130-1].
2d55675 is described below
commit 2d55675279a7ccc3ac9f64288e36790efb014bc5
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Fri Dec 6 10:57:28 2019 +0100
Automatic commit of package [copr-backend] release [1.130-1].
Created by command:
/usr/bin/tito tag
---
.tito/packages/copr-backend | 2 +-
backend/copr-backend.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.tito/packages/copr-backend b/.tito/packages/copr-backend
index 54a9cc8..3c54d8f 100644
--- a/.tito/packages/copr-backend
+++ b/.tito/packages/copr-backend
@@ -1 +1 @@
-1.129-1 backend/
+1.130-1 backend/
diff --git a/backend/copr-backend.spec b/backend/copr-backend.spec
index 1eb5501..f770a99 100644
--- a/backend/copr-backend.spec
+++ b/backend/copr-backend.spec
@@ -3,7 +3,7 @@
%endif
Name: copr-backend
-Version: 1.129
+Version: 1.130
Release: 1%{?dist}
Summary: Backend for Copr
@@ -219,6 +219,9 @@ useradd -r -g copr -G lighttpd -s /bin/bash -c "COPR user" copr
%exclude %{_pkgdocdir}/playbooks
%changelog
+* Fri Dec 06 2019 Pavel Raiskup <praiskup(a)redhat.com> 1.130-1
+- backend: execute actions with sane umask=0022
+
* Wed Dec 04 2019 Pavel Raiskup <praiskup(a)redhat.com> 1.129-1
- do not start a build if copr_base is not available yet
- systemd services' restart re-ordering
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 4 months
[copr/copr] annotated tag copr-frontend-1.158-1 created (now
c70b23f)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a change to annotated tag copr-frontend-1.158-1
in repository copr/copr.
at c70b23f (tag)
tagging 702176db95ee49d39c32882d86f89ffa98858eff (commit)
replaces copr-rpmbuild-0.33-1
by Pavel Raiskup
on Fri Dec 6 10:56:55 2019 +0100
- Log -----------------------------------------------------------------
Tagging package [copr-frontend] version [copr-frontend-1.158-1] in directory [frontend/].
-----------------------------------------------------------------------
This annotated tag includes the following new commits:
new 702176d Automatic commit of package [copr-frontend] release [1.158-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, 4 months
[copr/copr] branch master updated: Automatic commit of package
[copr-frontend] release [1.158-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 702176d Automatic commit of package [copr-frontend] release [1.158-1].
702176d is described below
commit 702176db95ee49d39c32882d86f89ffa98858eff
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Fri Dec 6 10:56:55 2019 +0100
Automatic commit of package [copr-frontend] release [1.158-1].
Created by command:
/usr/bin/tito tag
---
.tito/packages/copr-frontend | 2 +-
frontend/copr-frontend.spec | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.tito/packages/copr-frontend b/.tito/packages/copr-frontend
index 3a7ab75..1e3b2a2 100644
--- a/.tito/packages/copr-frontend
+++ b/.tito/packages/copr-frontend
@@ -1 +1 @@
-1.157-1 frontend/
+1.158-1 frontend/
diff --git a/frontend/copr-frontend.spec b/frontend/copr-frontend.spec
index b1318d3..c0eca70 100644
--- a/frontend/copr-frontend.spec
+++ b/frontend/copr-frontend.spec
@@ -43,7 +43,7 @@
}
Name: copr-frontend
-Version: 1.157
+Version: 1.158
Release: 1%{?dist}
Summary: Frontend for Copr
@@ -364,6 +364,10 @@ usermod -L copr-fe
%changelog
+* Fri Dec 06 2019 Pavel Raiskup <praiskup(a)redhat.com> 1.158-1
+- revert wrong optimization in createrepo
+- don't assume all additional repos are copr://
+
* Wed Dec 04 2019 Pavel Raiskup <praiskup(a)redhat.com> 1.157-1
- createrepo action for pull-request copr-dirs
- traceback fix for copr.add form
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 4 months
[copr/copr] annotated tag copr-rpmbuild-0.33-1 created (now 82bc222)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
praiskup pushed a change to annotated tag copr-rpmbuild-0.33-1
in repository copr/copr.
at 82bc222 (tag)
tagging 86adebe902ffde541dbff09ede13dc517105ffd1 (commit)
replaces copr-frontend-1.157-1
by Pavel Raiskup
on Fri Dec 6 10:51:20 2019 +0100
- Log -----------------------------------------------------------------
Tagging package [copr-rpmbuild] version [copr-rpmbuild-0.33-1] in directory [rpmbuild/].
-----------------------------------------------------------------------
This annotated tag includes the following new commits:
new 86adebe Automatic commit of package [copr-rpmbuild] release [0.33-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, 4 months
[copr/copr] branch master updated: Automatic commit of package
[copr-rpmbuild] release [0.33-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 86adebe Automatic commit of package [copr-rpmbuild] release [0.33-1].
86adebe is described below
commit 86adebe902ffde541dbff09ede13dc517105ffd1
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Fri Dec 6 10:51:20 2019 +0100
Automatic commit of package [copr-rpmbuild] release [0.33-1].
Created by command:
/usr/bin/tito tag
---
.tito/packages/copr-rpmbuild | 2 +-
rpmbuild/copr-rpmbuild.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.tito/packages/copr-rpmbuild b/.tito/packages/copr-rpmbuild
index 97ac38b..d290e25 100644
--- a/.tito/packages/copr-rpmbuild
+++ b/.tito/packages/copr-rpmbuild
@@ -1 +1 @@
-0.32-1 rpmbuild/
+0.33-1 rpmbuild/
diff --git a/rpmbuild/copr-rpmbuild.spec b/rpmbuild/copr-rpmbuild.spec
index c09883b..b6a80d9 100644
--- a/rpmbuild/copr-rpmbuild.spec
+++ b/rpmbuild/copr-rpmbuild.spec
@@ -18,7 +18,7 @@ Requires: %1 \
%{expand: %%global latest_requires_packages %1 %%{?latest_requires_packages}}
Name: copr-rpmbuild
-Version: 0.32
+Version: 0.33
Summary: Run COPR build tasks
Release: 1%{?dist}
URL: https://pagure.io/copr/copr
@@ -208,6 +208,9 @@ install -p -m 755 copr-update-builder %buildroot%_bindir
%changelog
+* Fri Dec 06 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.33-1
+- rpmbuild: skip_if_unavailable=1 for non-ACR projects
+
* Wed Dec 04 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.32-1
- fix custom method for F31's nspawn (--console=pipe is not default)
- buildrequires: add qemu-user-static for building armhfp
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 4 months
[copr/copr] branch master updated: frontend: revert wrong
optimization in createrepo
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 99e008b frontend: revert wrong optimization in createrepo
99e008b is described below
commit 99e008bc5581c121c8a3b294453664cf4039c7a8
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Thu Dec 5 21:50:14 2019 +0100
frontend: revert wrong optimization in createrepo
CoprChrootsLogic.new_from_names() mistakenly filtered the createrepo
action by "chroots" using "dirnames" logic. So the code then naturally
claimed something like "there's no such CoprDir=fedora-rawhide-x86_64".
We indeed want to filter by chroot on that place, but it will be done
later.
So drop the unused main_only argument from send_createrepo(), and
uncomment 'raise exceptions.NotFoundException' - it should help us
diagnose mistakenly called send_createrepo() in future.
Merges: #1146
---
frontend/coprs_frontend/coprs/logic/actions_logic.py | 14 +++++---------
frontend/coprs_frontend/coprs/logic/coprs_logic.py | 8 ++++----
2 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/logic/actions_logic.py b/frontend/coprs_frontend/coprs/logic/actions_logic.py
index 09fa201..85a2517 100644
--- a/frontend/coprs_frontend/coprs/logic/actions_logic.py
+++ b/frontend/coprs_frontend/coprs/logic/actions_logic.py
@@ -70,21 +70,17 @@ class ActionsLogic(object):
db.session.add(action)
@classmethod
- def send_createrepo(cls, copr, dirnames=None, main_only=True):
- possible_dirnames = [copr_dir.name for copr_dir in copr.dirs
- if not main_only or copr_dir.main]
-
+ def send_createrepo(cls, copr, dirnames=None):
+ possible_dirnames = [copr_dir.name for copr_dir in copr.dirs]
if not dirnames:
# by default we createrepo for all of them
dirnames = possible_dirnames
else:
missing = set(dirnames) - set(possible_dirnames)
if missing:
- # TODO: we should raise NotFoundException here
- #raise exceptions.NotFoundException(
- # "Can't createrepo for {} in {}".format(
- # missing, copr.full_name))
- pass
+ raise exceptions.NotFoundException(
+ "Can't createrepo for {} dirnames in {} project".format(
+ missing, copr.full_name))
data_dict = {
"ownername": copr.owner_name,
"projectname": copr.name,
diff --git a/frontend/coprs_frontend/coprs/logic/coprs_logic.py b/frontend/coprs_frontend/coprs/logic/coprs_logic.py
index cabc9b2..6abcc43 100644
--- a/frontend/coprs_frontend/coprs/logic/coprs_logic.py
+++ b/frontend/coprs_frontend/coprs/logic/coprs_logic.py
@@ -526,7 +526,7 @@ class CoprDirsLogic(object):
copr_dir = models.CoprDir(
name=dirname, copr=copr, main=main)
- ActionsLogic.send_createrepo(copr, dirnames=[dirname], main_only=False)
+ ActionsLogic.send_createrepo(copr, dirnames=[dirname])
db.session.add(copr_dir)
return copr_dir
@@ -701,15 +701,15 @@ class CoprChrootsLogic(object):
current_chroots = copr.mock_chroots
new_chroots = cls.mock_chroots_from_names(names)
# add non-existing
- run_createrepo = []
+ run_createrepo = False
for mock_chroot in new_chroots:
if mock_chroot not in current_chroots:
db.session.add(
models.CoprChroot(copr=copr, mock_chroot=mock_chroot))
- run_createrepo.append(mock_chroot.name)
+ run_createrepo = True
if run_createrepo:
- ActionsLogic.send_createrepo(copr, dirnames=run_createrepo)
+ ActionsLogic.send_createrepo(copr)
# delete no more present
to_remove = []
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 4 months