Page MenuHomePhabricator

Bugzilla's "Links > Weekly Summary" setup is busted (not an extension)
Closed, DeclinedPublic

Description

It's cute that we have

extensions/WeeklyReport/weekly-bug-summary.cgi 
extensions/WeeklyReport/component-report.cgi

on the server, however it's never loaded and hence ignored.

Instead

/weekly-bug-summary.cgi 
/component-report.cgi

is loaded, so the whole setup is busted.

I realized by trying to sync our code with https://projects.kde.org/projects/websites/bugs-kde-org/repository/changes/weekly-bug-summary.cgi?rev=kde and trying to test it on boogs.wmflabs.org, where clicking "Links > Weekly Summary" in the sidebar triggers a 404. Only after copying it to the root directory via

mv extensions/WeeklyReport/weekly-bug-summary.cgi .

and running ./checksetup.pl it works.


Version: wmf-deployment
Severity: normal

Details

Reference
bz56091

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:30 AM
bzimport set Reference to bz56091.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 13560
diff

Attach the original cleanup/sync diff here so it does not get lost, but it does not make sense to commit before sorting out the mess.

Attached:

<mutante> root@kaulen:/srv/org/wikimedia/bugzilla# file weekly-bug-summary.cgi
weekly-bug-summary.cgi: symbolic link to `extensions/WeeklyReport/weekly-bug-summary.cgi'
<mutante> root@kaulen:/srv/org/wikimedia/bugzilla# file component-report.cgi
component-report.cgi: symbolic link to `extensions/WeeklyReport/component-report.cgi'

Fun fact of the day:
Only one file out of ./extensions/WeeklyReport/template/en/default/weeklyreport/weekly-bug-summary.html.tmpl and ./template/en/custom/reports/weekly-bug-summary.html.tmpl is in use. Find out which one. The files are identical.

Change 113460 had a related patch set uploaded by Aklapper:
Delete unused and duplicated file.

https://gerrit.wikimedia.org/r/113460

Change 113460 merged by Dzahn:
Delete unused and duplicated file.

https://gerrit.wikimedia.org/r/113460

Wikimedia has migrated from Bugzilla to Phabricator. Learn more about it here: https://www.mediawiki.org/wiki/Phabricator/versus_Bugzilla - This task does not make sense anymore in the concept of Phabricator, hence closing as declined.