[copr/copr] branch master updated (9b75d94 -> e14b1b2)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
frostyx pushed a change to branch master
in repository copr/copr.
from 9b75d94 [frontend] notify outdated chroots with 80 days interval
add afd9dfe [frontend] automatize outdated chroots notifications and deletion
add e14b1b2 [doc] describe outdated chroots automatization
No new revisions were added by this update.
Summary of changes:
doc/how_to_delete_outdated_chroots.rst | 11 +++++++++++
frontend/conf/cron.daily/copr-frontend-optional | 6 ++++++
frontend/copr-frontend.spec | 1 +
3 files changed, 18 insertions(+)
create mode 100644 frontend/conf/cron.daily/copr-frontend-optional
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 11 months
[copr/copr] branch master updated (3322f2a -> 9b75d94)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
frostyx pushed a change to branch master
in repository copr/copr.
from 3322f2a [frontend] don't unselect inactive chroots in project edit; fix #712
add 9b75d94 [frontend] notify outdated chroots with 80 days interval
No new revisions were added by this update.
Summary of changes:
frontend/coprs_frontend/commands/notify_outdated_chroots.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 11 months
[copr/copr] branch master updated: [frontend] don't unselect
inactive chroots in project edit; fix #712
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 3322f2a [frontend] don't unselect inactive chroots in project edit; fix #712
3322f2a is described below
commit 3322f2a83730876a124971804a584ade360dccc7
Author: Jakub Kadlčík <frostyx(a)email.cz>
AuthorDate: Mon Apr 29 21:14:27 2019 +0200
[frontend] don't unselect inactive chroots in project edit; fix #712
When editting project settings, the chroots are processed in the
following matter. First, we figure out what chroots are currently
enabled (this list would contain even inactive chroots), then we
figure out what chroots has been selected in the submitted form.
And finally, we add selected chroots that aren't currently enabled
and ... remove currently enabled chroots, that are not in the
submitted form (the form doesn't contain inactive chroots, so
obviously, they disappear and cause #712).
Merges: PR#719
---
frontend/coprs_frontend/coprs/logic/coprs_logic.py | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/logic/coprs_logic.py b/frontend/coprs_frontend/coprs/logic/coprs_logic.py
index 8eee09b..21c0030 100644
--- a/frontend/coprs_frontend/coprs/logic/coprs_logic.py
+++ b/frontend/coprs_frontend/coprs/logic/coprs_logic.py
@@ -713,10 +713,13 @@ class CoprChrootsLogic(object):
# delete no more present
to_remove = []
for mock_chroot in current_chroots:
- if mock_chroot not in new_chroots:
- # can't delete here, it would change current_chroots and break
- # iteration
- to_remove.append(mock_chroot)
+ if mock_chroot in new_chroots:
+ continue
+ if not mock_chroot.is_active:
+ continue
+ # can't delete here, it would change current_chroots and break
+ # iteration
+ to_remove.append(mock_chroot)
for mc in to_remove:
copr.mock_chroots.remove(mc)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 11 months
[copr/copr] branch master updated: [frontend] print soon-to-remove
outdated chroots in red; see #593
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 c08e472 [frontend] print soon-to-remove outdated chroots in red; see #593
c08e472 is described below
commit c08e472601805a0b543c6a0b90be9d075e1d2317
Author: Jakub Kadlčík <frostyx(a)email.cz>
AuthorDate: Mon Apr 29 11:19:30 2019 +0200
[frontend] print soon-to-remove outdated chroots in red; see #593
Merges: PR#715
---
.../coprs/templates/coprs/detail/settings/repositories.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/frontend/coprs_frontend/coprs/templates/coprs/detail/settings/repositories.html b/frontend/coprs_frontend/coprs/templates/coprs/detail/settings/repositories.html
index c65da61..85ee0c4 100644
--- a/frontend/coprs_frontend/coprs/templates/coprs/detail/settings/repositories.html
+++ b/frontend/coprs_frontend/coprs/templates/coprs/detail/settings/repositories.html
@@ -34,7 +34,8 @@
{% if not chroot.delete_after_days %}
To be removed in next cleanup
{% else %}
- {{ chroot.delete_after_days }} days
+ {% set color = 'danger' if chroot.delete_after_days < 20 else 'secondary' %}
+ <span class="text-{{ color }}">{{ chroot.delete_after_days }} days</span>
{% endif %}
</td>
<td>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 11 months
[copr/copr] branch master updated (8f8abaa -> 053c4a5)
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 8f8abaa [frontend] cron: call 'clean_expired_projects' correctly
add 7dfb269 [rpmbuild] download srpm/spec if url contains query string
add 053c4a5 [rpmbuild] use six.moves.urllib.parse
No new revisions were added by this update.
Summary of changes:
rpmbuild/copr-rpmbuild.spec | 4 +++
rpmbuild/copr_rpmbuild/helpers.py | 5 +--
rpmbuild/copr_rpmbuild/providers/scm.py | 6 ++--
rpmbuild/copr_rpmbuild/providers/spec.py | 11 ++++---
rpmbuild/main.py | 10 +-----
rpmbuild/tests/__init__.py | 5 +++
rpmbuild/tests/test_spec.py | 54 ++++++++++++++++++++++++++++++--
7 files changed, 72 insertions(+), 23 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 11 months
[copr/copr] branch master updated (ecb1c67 -> 8f8abaa)
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 ecb1c67 [frontend] traceback when forked_from project deleted
add 8f8abaa [frontend] cron: call 'clean_expired_projects' correctly
No new revisions were added by this update.
Summary of changes:
frontend/conf/cron.daily/copr-frontend | 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, 11 months
[copr/copr] branch master updated: [frontend] traceback when
forked_from project deleted
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 ecb1c67 [frontend] traceback when forked_from project deleted
ecb1c67 is described below
commit ecb1c6736fa1ece9508e368deb4cdec94310a2a9
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Thu Apr 25 11:26:39 2019 +0200
[frontend] traceback when forked_from project deleted
Fixes: #700, PR#701
---
frontend/coprs_frontend/coprs/models.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/frontend/coprs_frontend/coprs/models.py b/frontend/coprs_frontend/coprs/models.py
index 38eab30..c83e7bd 100644
--- a/frontend/coprs_frontend/coprs/models.py
+++ b/frontend/coprs_frontend/coprs/models.py
@@ -1295,6 +1295,8 @@ class BuildChroot(db.Model, helpers.Serializer):
def dist_git_url(self):
if app.config["DIST_GIT_URL"]:
if self.state == "forked":
+ if self.build.copr.forked_from.deleted:
+ return None
copr_dirname = self.build.copr.forked_from.main_dir.full_name
else:
copr_dirname = self.build.copr_dir.full_name
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 11 months
[copr/copr] branch master updated (2d1fd82 -> 5096a89)
by pagure@pagure.io
This is an automated email from the git hooks/post-receive script.
frostyx pushed a change to branch master
in repository copr/copr.
from 2d1fd82 [doc] use version without release number for PyPI
add 5096a89 [frontend] disable "expire now" button when chroot is already expired
No new revisions were added by this update.
Summary of changes:
.../coprs/templates/coprs/detail/settings/repositories.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 11 months
[copr/copr] branch master updated (eb2507e -> 2d1fd82)
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 eb2507e [frontend] NameError: name 'unicode' is not defined
new d4a251d [doc] use alembic-3 command instead of alembic
new 0d49867 [doc] add a link to MODIFIED bugzillas
new 2d1fd82 [doc] use version without release number for PyPI
The 3 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:
doc/how_to_release_copr.rst | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
4 years, 11 months
[copr/copr] branch master updated (9a3ee58 -> eb2507e)
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 9a3ee58 [beaker-tests-sanity] use https for copr-config-bad
add eb2507e [frontend] NameError: name 'unicode' is not defined
No new revisions were added by this update.
Summary of changes:
frontend/coprs_frontend/coprs/rest_api/util.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, 12 months