[copr/copr] branch master updated: [frontend] allow us to create
temporary aliases for chroots
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 c765ab8 [frontend] allow us to create temporary aliases for chroots
c765ab8 is described below
commit c765ab8c6a8018ba55175662eb6bf6dd96f7b599
Author: Jakub Kadlčík <frostyx(a)email.cz>
AuthorDate: Mon May 27 23:22:58 2019 +0200
[frontend] allow us to create temporary aliases for chroots
See #727 (comment-568671)
See BZ 1705912
This change will allow us to simply solve the BZ:1705912 by configuring
`CHROOT_NAME_RELEASE_ALIAS` to `{"epel-8": "rhelbeta-8"}`, which will
effectively redirect requests for "epel-8" repo to "rhelbeta-8" repo.
---
frontend/coprs_frontend/coprs/config.py | 6 ++++++
frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py | 1 +
2 files changed, 7 insertions(+)
diff --git a/frontend/coprs_frontend/coprs/config.py b/frontend/coprs_frontend/coprs/config.py
index 21530ba..1fc6ec4 100644
--- a/frontend/coprs_frontend/coprs/config.py
+++ b/frontend/coprs_frontend/coprs/config.py
@@ -81,6 +81,12 @@ class Config(object):
# When the data in EOL chroots should be deleted (in days)
DELETE_EOL_CHROOTS_AFTER = 180
+ # We may have a (temporary) chroot that doesn't correspond with /etc/os-release
+ # on a client system, e.g. "rhelbeta-8" chroots in Copr which doesn't match to
+ # any real system, instead it is a temporary alias for "epel-8". In such case,
+ # set this to {"epel-8": "rhelbeta-8"}
+ CHROOT_NAME_RELEASE_ALIAS = {}
+
class ProductionConfig(Config):
DEBUG = False
diff --git a/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py b/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py
index 3d3d0aa..ebce28b 100644
--- a/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py
+++ b/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py
@@ -710,6 +710,7 @@ def generate_repo_file(copr_dirname, name_release, repofile, username=None, grou
def render_generate_repo_file(copr_dir, name_release):
+ name_release = app.config["CHROOT_NAME_RELEASE_ALIAS"].get(name_release, name_release)
mock_chroot = coprs_logic.MockChrootsLogic.get_from_name(name_release, noarch=True).first()
if not mock_chroot:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 10 months
[copr/copr] branch master updated (9054917 -> 11b7859)
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 9054917 [frontend] delete builds in temporary projects
add 11b7859 docs: how_to_upgrade_builders.rst update
No new revisions were added by this update.
Summary of changes:
doc/how_to_upgrade_builders.rst | 67 +++++++++++++++++++++++++++++------------
1 file changed, 47 insertions(+), 20 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 10 months
[copr/copr] branch master updated (06378ff -> 9054917)
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 06378ff [frontend] Now shows only forks that are not deleted.
add 9054917 [frontend] delete builds in temporary projects
No new revisions were added by this update.
Summary of changes:
.../commands/clean_expired_projects.py | 4 +--
.../coprs_frontend/coprs/logic/complex_logic.py | 34 ++++++++++++++++++---
frontend/coprs_frontend/coprs/logic/coprs_logic.py | 14 ---------
.../tests/test_logic/test_complex_logic.py | 35 ++++++++++++++++++++++
.../tests/test_logic/test_coprs_logic.py | 21 -------------
5 files changed, 67 insertions(+), 41 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 10 months
[copr/copr] branch master updated (7f06e4a -> 06378ff)
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 7f06e4a [beaker-tests] cleanup projects created by runtest-modules.sh
add 06378ff [frontend] Now shows only forks that are not deleted.
No new revisions were added by this update.
Summary of changes:
frontend/coprs_frontend/coprs/models.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 10 months
[copr/copr] branch master updated (5e2c722 -> 7f06e4a)
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 5e2c722 [frontend] add command to delete orphaned builds and packages
add 7f06e4a [beaker-tests] cleanup projects created by runtest-modules.sh
No new revisions were added by this update.
Summary of changes:
beaker-tests/Sanity/copr-cli-basic-operations/runtest-modules.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 10 months
[copr/copr] branch master updated (dde79d4 -> 5e2c722)
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 dde79d4 [dist-git] add script to clear lookaside cache of old sources
add 5e2c722 [frontend] add command to delete orphaned builds and packages
No new revisions were added by this update.
Summary of changes:
frontend/coprs_frontend/commands/delete_orphans.py | 13 +++++++++++++
frontend/coprs_frontend/coprs/logic/actions_logic.py | 6 +++++-
frontend/coprs_frontend/coprs/logic/builds_logic.py | 18 ++++++++++++++++++
frontend/coprs_frontend/coprs/logic/packages_logic.py | 17 +++++++++++++++++
frontend/coprs_frontend/manage.py | 1 +
5 files changed, 54 insertions(+), 1 deletion(-)
create mode 100644 frontend/coprs_frontend/commands/delete_orphans.py
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 10 months
[copr/copr] branch master updated (35425fb -> dde79d4)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
dturecek pushed a change to branch master
in repository copr/copr.
from 35425fb [frontend] Added link to RSS feed into site navigation
add dde79d4 [dist-git] add script to clear lookaside cache of old sources
No new revisions were added by this update.
Summary of changes:
dist-git/copr-dist-git.spec | 2 +
dist-git/run/clear_lookaside_cache.py | 15 +++++++
dist-git/run/remove_unused_sources | 83 +++++++++++++++++++++++++++++++++++
3 files changed, 100 insertions(+)
create mode 100755 dist-git/run/clear_lookaside_cache.py
create mode 100755 dist-git/run/remove_unused_sources
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 10 months
[copr/copr] branch master updated (d3ae6f6 -> 35425fb)
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 d3ae6f6 [rpmbuild] make_srpm: don't use --private-users=pick
add 35425fb [frontend] Added link to RSS feed into site navigation
No new revisions were added by this update.
Summary of changes:
frontend/coprs_frontend/coprs/templates/layout.html | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 10 months
[copr/copr] annotated tag copr-rpmbuild-0.28-1 created (now b2f0c0b)
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.28-1
in repository copr/copr.
at b2f0c0b (tag)
tagging d3ae6f6a200458c3b0a4e86851a7e55a3952af0f (commit)
replaces copr-frontend-1.150-1
by Pavel Raiskup
on Mon May 27 14:00:08 2019 +0200
- Log -----------------------------------------------------------------
Commits: copr-rpmbuild-0.27-1..HEAD
- don't use --private-users=pick
-----------------------------------------------------------------------
No new revisions were added by this update.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 10 months
[copr/copr] branch master updated (c1bf122 -> d3ae6f6)
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 c1bf122 [beaker-tests] modules: remove module repo once we are done
add d3ae6f6 [rpmbuild] make_srpm: don't use --private-users=pick
No new revisions were added by this update.
Summary of changes:
rpmbuild/make_srpm_mock.cfg | 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, 10 months