From 0cb4819d91ddf35165cd8f439fd801bbf58badac Mon Sep 17 00:00:00 2001 From: manchandavishal Date: Mon, 12 Jul 2021 17:36:04 +0530 Subject: [PATCH] Retire django-openstack-auth ``django_openstack_auth`` code was merged into the main horizon repository during the queens release. This repo is already deprecated and now we can retire it. This patch removes all references of ``django_openstack_auth`` as mentioned in [1]. Also, this patch takes care of step 2(End project Gating) and and step 4(Remove Project) because step 1(Stop requirements syncing) and step3(Remove Project Content) is already handled by If04778ccc99ea92355378d59e616d8794e36ea14 and I74b10a90fe79fc768cfb8de6f68d3cd2f4938e51 respectively. Note: this patch doesn't drop the official-openstack-repo-jobs template and noop-job because noop-job is needs to be defined for the check and gate queues to merge a patch and official-openstack-repo-jobs is needed to syncup the changed in github repo once Ib811fb321d18fc01f3786f8b3ab16b2eda558864 merged we can drop this template and noop-job. [1] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository Change-Id: Ifa691c2d2e7ac8bb502c8fae7dbdcc89fa4ef825 --- .../openstack/django_openstack_auth.config | 29 ------------------- gerrit/projects.yaml | 7 ++--- gerritbot/channels.yaml | 2 -- .../files/release-tools/functions | 2 -- zuul.d/projects.yaml | 1 - 5 files changed, 3 insertions(+), 38 deletions(-) delete mode 100644 gerrit/acls/openstack/django_openstack_auth.config diff --git a/gerrit/acls/openstack/django_openstack_auth.config b/gerrit/acls/openstack/django_openstack_auth.config deleted file mode 100644 index 0b1df38e4e..0000000000 --- a/gerrit/acls/openstack/django_openstack_auth.config +++ /dev/null @@ -1,29 +0,0 @@ -[access] -inheritFrom = openstack/meta-config - -[access "refs/heads/*"] -abandon = group horizon-core -label-Code-Review = -2..+2 group horizon-core -label-Workflow = -1..+1 group horizon-core - -[access "refs/heads/stable/*"] -abandon = group Change Owner -abandon = group Project Bootstrappers -abandon = group horizon-stable-maint -abandon = group stable-maint-core -exclusiveGroupPermissions = abandon label-Code-Review label-Workflow -label-Code-Review = -2..+2 group Project Bootstrappers -label-Code-Review = -2..+2 group horizon-stable-maint -label-Code-Review = -2..+2 group stable-maint-core -label-Code-Review = -1..+1 group Registered Users -label-Workflow = -1..+0 group Change Owner -label-Workflow = -1..+1 group Project Bootstrappers -label-Workflow = -1..+1 group horizon-stable-maint -label-Workflow = -1..+1 group stable-maint-core - -[receive] -requireChangeId = true -requireContributorAgreement = true - -[submit] -mergeContent = true diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml index 790c0884be..0725522c37 100644 --- a/gerrit/projects.yaml +++ b/gerrit/projects.yaml @@ -3022,10 +3022,9 @@ - project: openstack/django_openstack_auth groups: - django-openstack-auth - description: A Django authentication backend for use with the OpenStack Keystone - Identity backend. - options: - - translate + description: RETIRED, A Django authentication backend for use with the OpenStack + Keystone Identity backend. + acl-config: /home/gerrit2/acls/openstack/retired.config - project: openstack/docs-specs description: RETIRED, OpenStack Documentation Specifications acl-config: /home/gerrit2/acls/openstack/retired.config diff --git a/gerritbot/channels.yaml b/gerritbot/channels.yaml index 0d629c8642..02f24cc878 100755 --- a/gerritbot/channels.yaml +++ b/gerritbot/channels.yaml @@ -585,7 +585,6 @@ openstack-horizon: - patchset-created - change-merged projects: - - openstack/django_openstack_auth - openstack/horizon - openstack/ui-cookiecutter - openstack/xstatic-angular @@ -1271,7 +1270,6 @@ openstack-stable: - openstack/debtcollector - openstack/designate - openstack/designate-dashboard - - openstack/django_openstack_auth - openstack/futurist - openstack/glance - openstack/glance_store diff --git a/roles/copy-release-tools-scripts/files/release-tools/functions b/roles/copy-release-tools-scripts/files/release-tools/functions index 2004c149fe..0c7484f3f9 100644 --- a/roles/copy-release-tools-scripts/files/release-tools/functions +++ b/roles/copy-release-tools-scripts/files/release-tools/functions @@ -16,8 +16,6 @@ function lp_project_to_repo { echo $proj elif [[ $proj == glance-store ]]; then echo glance_store - elif [[ $proj == django-openstack-auth ]]; then - echo django_openstack_auth else # Some of the repository names don't match the launchpad names, e.g. # python-stevedore and python-cliff. diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index 285ed53cad..68f6c39c23 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -2383,7 +2383,6 @@ name: openstack/django_openstack_auth templates: - official-openstack-repo-jobs - - publish-to-pypi check: jobs: # It seems at least one job needs to be defined.