From 462c6b5ff3a1de6eaa5b6cf3f4dfd592101854a5 Mon Sep 17 00:00:00 2001 From: Fabricio Aguiar Date: Fri, 3 Dec 2021 12:22:42 +0000 Subject: [PATCH] Make debug = False closes #528 --- CHANGES/528.misc | 1 + plugin-template | 2 +- templates/github/.github/workflows/scripts/before_install.sh.j2 | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 CHANGES/528.misc diff --git a/CHANGES/528.misc b/CHANGES/528.misc new file mode 100644 index 00000000..af8f6442 --- /dev/null +++ b/CHANGES/528.misc @@ -0,0 +1 @@ +Disabled the debugging mode. diff --git a/plugin-template b/plugin-template index dbbc7c37..777fc18a 100755 --- a/plugin-template +++ b/plugin-template @@ -49,7 +49,7 @@ DEFAULT_SETTINGS = { "plugin_snake": None, "publish_docs_to_pulpprojectdotorg": False, "pulp_settings": None, - "pulpcore_branch": "master", + "pulpcore_branch": "main", "pulpcore_revision": None, "pulpcore_pip_version_specifier": None, "pulpprojectdotorg_key_id": None, diff --git a/templates/github/.github/workflows/scripts/before_install.sh.j2 b/templates/github/.github/workflows/scripts/before_install.sh.j2 index a73858ed..ea26bb6e 100755 --- a/templates/github/.github/workflows/scripts/before_install.sh.j2 +++ b/templates/github/.github/workflows/scripts/before_install.sh.j2 @@ -166,7 +166,6 @@ then exit $s fi -sed -i -e 's/DEBUG = False/DEBUG = True/' pulpcore/pulpcore/app/settings.py {%- if not tasking_allow_async_unsafe %} # Patch DJANGO_ALLOW_ASYNC_UNSAFE out of the pulpcore tasking_system # Don't let it fail. Be opportunistic.