Closed Bug 1667731 Opened 4 years ago Closed 4 years ago

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

Production
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pascalc, Assigned: sheehan)

Details

Attachments

(1 file)

The https://hg.mozilla.org/releases page is empty, it only has a gray box at the top.

Interestingly, when examining the source of the page, it seems to have partly rendered and ends on the same unfinished <a href=" block each time. The repos themselves (ie https://hg.mozilla.org/releases/mozilla-esr78/) are still accessible.

Assignee: nobody → sheehan

Looks like this issue is being caused by two different things:

  1. We have entries in the hgweb repo configs that no longer exist on disk, causing hgweb to raise an exception.
  2. Previous versions of Mercurial caught this exception when rendering the /releases page. There seems to be a new bug introduced between Mercurial 5.2.1-5.5.1 (which we upgraded to last week) where a type that was previously a Python bytes is now a memoryview and is raising a separate exception that is not caught and causes the half-rendered page to display.

We can fix 1) immediately, and I'm going to send a patch for that shortly. I'm still working on tracking down the change in behaviour in core Mercurial.

Removes some entries for repositories that no longer exist on hgmo.
The existance of these entries is causing an exception in core
Mercurial code and causes https://hg.mozilla.org/releases to fail
to render.

The upstream issue will need to be addressed too, but this is a quick
fix that we should address in the meantime.

Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/40edba4e0869
hgwsgi: remove dead entries from hgwsgi/releases/hgweb.config r=zeid

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: