[copr/copr] branch master updated: [frontend] make 'alembic
revision --autogenerate' pylint-clean
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 1652271 [frontend] make 'alembic revision --autogenerate' pylint-clean
new d47c96f Merge #647 `[frontend] make 'alembic revision --autogenerate' pylint-clean`
1652271 is described below
commit 1652271fd34c860b2d775fd7feee24d0912b8ee8
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Sat Apr 6 05:37:22 2019 +0200
[frontend] make 'alembic revision --autogenerate' pylint-clean
---
.../coprs_frontend/alembic/fedora/script.py.mako | 23 +---------------------
.../coprs_frontend/alembic/schema/script.py.mako | 14 ++++++-------
frontend/pylintrc | 6 +++---
3 files changed, 10 insertions(+), 33 deletions(-)
diff --git a/frontend/coprs_frontend/alembic/fedora/script.py.mako b/frontend/coprs_frontend/alembic/fedora/script.py.mako
deleted file mode 100644
index 9570201..0000000
--- a/frontend/coprs_frontend/alembic/fedora/script.py.mako
+++ /dev/null
@@ -1,22 +0,0 @@
-"""${message}
-
-Revision ID: ${up_revision}
-Revises: ${down_revision}
-Create Date: ${create_date}
-
-"""
-
-# revision identifiers, used by Alembic.
-revision = ${repr(up_revision)}
-down_revision = ${repr(down_revision)}
-
-from alembic import op
-import sqlalchemy as sa
-${imports if imports else ""}
-
-def upgrade():
- ${upgrades if upgrades else "pass"}
-
-
-def downgrade():
- ${downgrades if downgrades else "pass"}
diff --git a/frontend/coprs_frontend/alembic/fedora/script.py.mako b/frontend/coprs_frontend/alembic/fedora/script.py.mako
new file mode 120000
index 0000000..db4cbc3
--- /dev/null
+++ b/frontend/coprs_frontend/alembic/fedora/script.py.mako
@@ -0,0 +1 @@
+../schema/script.py.mako
\ No newline at end of file
diff --git a/frontend/coprs_frontend/alembic/schema/script.py.mako b/frontend/coprs_frontend/alembic/schema/script.py.mako
index 9570201..1955cdc 100644
--- a/frontend/coprs_frontend/alembic/schema/script.py.mako
+++ b/frontend/coprs_frontend/alembic/schema/script.py.mako
@@ -1,22 +1,20 @@
-"""${message}
+"""
+${message}
Revision ID: ${up_revision}
Revises: ${down_revision}
Create Date: ${create_date}
-
"""
-# revision identifiers, used by Alembic.
-revision = ${repr(up_revision)}
-down_revision = ${repr(down_revision)}
-
-from alembic import op
import sqlalchemy as sa
+from alembic import op
${imports if imports else ""}
+revision = ${repr(up_revision)}
+down_revision = ${repr(down_revision)}
+
def upgrade():
${upgrades if upgrades else "pass"}
-
def downgrade():
${downgrades if downgrades else "pass"}
diff --git a/frontend/pylintrc b/frontend/pylintrc
index 420bf0d..a6fb9dc 100644
--- a/frontend/pylintrc
+++ b/frontend/pylintrc
@@ -5,8 +5,8 @@
# Pickle collected data for later comparisons.
persistent=no
-extension-pkg-whitelist=SQLAlchemy
-ignored-modules = SQLAlchemy
+extension-pkg-whitelist = SQLAlchemy
+ignored-modules = alembic*, sqlalchemy, SQLAlchemy
[MESSAGES CONTROL]
@@ -56,7 +56,7 @@ dummy-variables-rgx=_|dummy
# Regular expression which should only match correct module names
#module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
-module-rgx=([a-zA-Z_][a-zA-Z0-9_]+)$
+module-rgx=(([a-zA-Z_][a-zA-Z0-9_]+)|([a-f0-9]{12}_[a-zA-Z0-9_]+))$
# Regular expression which should only match correct module level names
const-rgx=(([a-zA-Z_][a-zA-Z0-9_]*)|(__.*__))$
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years
[copr/copr] branch master updated (2d1b9ff -> b7d6c16)
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 2d1b9ff [frontend] pagure-events: accept [copr-build] key in PR message
new 90f0701 [frontend] private tables for user and copr
new b00197b [frontend] remove private columns from user and copr
new 8522f2e [frontend] fix migration sequence by putting private table migrations on top
new 29d7e50 add CoprPrivate to join
new 8372327 [frontend] de-duplicate *_private ids
new ff82f0a [frontend] simplify *_private tables
new 8eff635 [frontend] don't ignore constraints when moving data to *_private
new b7d6c16 [frontend] *_private migration is irreversible
The 8 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:
...2bde564_separate_private_stuff_into_private_.py | 41 ++++++++++
...d580c625_copy_private_data_to_private_tables.py | 26 ++++++
...emove_now_private_columns_from_user_and_copr.py | 27 ++++++
frontend/coprs_frontend/coprs/models.py | 95 +++++++++++++++++-----
4 files changed, 169 insertions(+), 20 deletions(-)
create mode 100644 frontend/coprs_frontend/alembic/schema/versions/29c352bde564_separate_private_stuff_into_private_.py
create mode 100644 frontend/coprs_frontend/alembic/schema/versions/7723d580c625_copy_private_data_to_private_tables.py
create mode 100644 frontend/coprs_frontend/alembic/schema/versions/b8a8a1345ed9_remove_now_private_columns_from_user_and_copr.py
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years
[copr/copr] branch master updated (c745401 -> 2d1b9ff)
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 c745401 Add 'tags' and '.pytest_cache' to .gitignore
add f237539 [frontend] fix Pagure-triggered Package builds
add 3363b74 [frontend] better parse Pagure's PR messages
add 0ac135d [frontend] pagure-events: allow duplicate builds
add 2d1b9ff [frontend] pagure-events: accept [copr-build] key in PR message
No new revisions were added by this update.
Summary of changes:
.../coprs_frontend/coprs/logic/packages_logic.py | 8 ++-
.../coprs/templates/coprs/detail/build.html | 4 +-
frontend/coprs_frontend/run/pagure-events.py | 68 +++++++++++++---------
3 files changed, 45 insertions(+), 35 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years
[copr/copr] branch master updated: Add 'tags' and '.pytest_cache'
to .gitignore
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 c745401 Add 'tags' and '.pytest_cache' to .gitignore
c745401 is described below
commit c745401854390bdaad2752afc008676692d09a64
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Fri Apr 5 13:25:14 2019 +0200
Add 'tags' and '.pytest_cache' to .gitignore
Fixes: PR#643
---
.gitignore | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.gitignore b/.gitignore
index eb29409..2c1817f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,7 @@ _venv/
_report/
_tmp/
.cache/
+.pytest_cache/
backend/docs/build
@@ -31,3 +32,6 @@ _redis.log
.vagrant
.DS_Store
+
+# Exuberant Ctags
+tags
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years
[copr/copr] branch master updated (1ec4c33 -> 048cf12)
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 1ec4c33 repaired import in builds_logic Closes #644
add 048cf12 [frontend] linter for alembic revisions
No new revisions were added by this update.
Summary of changes:
frontend/build_aux/check-alembic-revisions | 71 ++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
create mode 100755 frontend/build_aux/check-alembic-revisions
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years
[copr/copr] branch master updated (663df8a -> 1ec4c33)
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 663df8a [frontend] increase the build timeout limit because of chromium
add 1ec4c33 repaired import in builds_logic Closes #644
No new revisions were added by this update.
Summary of changes:
frontend/coprs_frontend/coprs/logic/builds_logic.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years
[copr/copr] branch master updated (18d2350 -> 663df8a)
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 18d2350 [backend] run sign command without sudo to fix #636
add 663df8a [frontend] increase the build timeout limit because of chromium
No new revisions were added by this update.
Summary of changes:
frontend/coprs_frontend/coprs/constants.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years
[copr/copr] branch master updated (043f50b -> 18d2350)
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 043f50b [frontend] reset config changes after each test method
add 18d2350 [backend] run sign command without sudo to fix #636
No new revisions were added by this update.
Summary of changes:
backend/backend/sign.py | 6 +++---
backend/tests/test_sign.py | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years
[copr/copr] branch master updated (1c785d3 -> 043f50b)
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 1c785d3 [frontend] UI: say "SRPM log" instead of "Import log"
add 043f50b [frontend] reset config changes after each test method
No new revisions were added by this update.
Summary of changes:
frontend/coprs_frontend/tests/coprs_test_case.py | 3 +++
frontend/coprs_frontend/tests/test_logic/test_users_logic.py | 4 ++++
.../tests/test_views/test_coprs_ns/test_coprs_general.py | 9 +++++----
3 files changed, 12 insertions(+), 4 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 1 month
[copr/copr] branch master updated (d83f265 -> 1c785d3)
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 d83f265 [frontend] disallow root to execute ./manage.py
add 1c785d3 [frontend] UI: say "SRPM log" instead of "Import log"
No new revisions were added by this update.
Summary of changes:
frontend/coprs_frontend/coprs/templates/coprs/detail/build.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 1 month