From c0ee70a74a32403bd3deb78e9c198acd8760008c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?El=C5=91d=20Ill=C3=A9s?= Date: Mon, 2 May 2022 19:21:52 +0200 Subject: [PATCH] Fix Releases Dashboard link The releases dashboard link does not work properly recently. It seems that there are two problem with the link: * the link does not need the '#' anymore * due to some reason the 'All Releases' query messes up the dashboard (at first place it does not need the 'is:open' part because it's added already with 'foreach', secondly it gives an error message: 'Error 400 (Bad Request): limit of 10 queries'). Nevertheless, 'All Releases' is probably not that important as all the release patches are covered with series sections together with 'Others' section (except deliverables under 'deliverables//*'). So this patch fixes the dashboard by removing 'All Releases' section. Note: This problem comes even under Firefox or Chrome (when signed in). Change-Id: I9226e7b7e9b9594daa11d97bd6a8b4b04c56f596 --- doc/source/_exts/reviewinbox.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/source/_exts/reviewinbox.py b/doc/source/_exts/reviewinbox.py index 51352ebb4d..a033963b4a 100644 --- a/doc/source/_exts/reviewinbox.py +++ b/doc/source/_exts/reviewinbox.py @@ -34,7 +34,7 @@ class ReviewInbox(rst.Directive): has_content = True def run(self): - url = 'https://review.opendev.org/#/dashboard/?' + url = 'https://review.opendev.org/dashboard/?' sections = [] url += escape(urllib_parse.urlencode({ @@ -70,9 +70,6 @@ class ReviewInbox(rst.Directive): r'( project:openstack/releases file:^openstack_releases/.* ) OR ' r'project:openstack/reno)'}))) - sections.append(escape(urllib_parse.urlencode({ - 'All Releases': 'is:open project:openstack/releases'}))) - url += '&'.join(sections) result = sm.ViewList()