Is it possible to safely redirect mxr to dxr?

When I use my awesomebar and type "docshell", it pulls up https://mxr.mozilla.org/mozilla-central/source/docshell/base/nsDocShell.cpp. I click enter and end up at the mxr error page. So instead I do a dxr search for docshell and scroll through a list of results, none of which seem to give me a link to nsDocShell.cpp. It would be great if the mxr link sent me directly to https://dxr.mozilla.org/mozilla-central/source/docshell/base/nsDocShell.cpp.

Alternatively, I could create an addon that does this or try and write a script that would change my history entries.

Thanks!

~Tanvi

On 6/22/16 11:30 AM, Lawrence Mandel wrote:

Mozilla Cross-Reference, better known as MXR (https://mxr.mozilla.org), was taken offline on June 13, 2016, to investigate a potential security issue. After careful review of the codebase, we have decided to accelerate the planned transition from MXR to its more modern equivalent, DXR (https://dxr.mozilla.org), instead of bringing MXR back online. As far as we know there was never a security compromise, but the unsupported legacy codebase (forked from an old version of LXR) would require significant time and effort to rewrite and bring up to spec.


Our transition plan is as follows:


 *

    Add an interstitial web page at https://mxr.mozilla.orgthat
    displays a best-guess URL for the equivalent
    https://dxr.mozilla.orgfile data. This will help interactive users
    retrieve data from historical links in applications like Bugzilla.

 *

    Redirect certdata.txt and effective_tld_names.dat to their
    canonical source code repositories instead of DXR. All other
    search queries and automatic pulling of raw files by third parties
    will no longer be supported at the https://mxr.mozilla.orgURL.

 *

    Index the remaining repos listed in MXR in DXR for data parity,
    using bug 1281443 to track progress. Repos will be indexed in the
    order listed unless otherwise specified. If you need to prioritize
    the indexing of specific repos, please open a bug and block
    against bug 1281443.


Our expectation is that the interstitial page will be in place and the following remaining high-priority repos will be indexed by June 24th, 2016:

 *

    add-ons

 *

    servo

 *

    l10n


If you have concerns, questions, or requests, please open a new bug and mark it as blocking bug 1281443 or add a comment to one of its existing dependent bugs. Additional status updates will also be posted to bug 1281443 and its dependent bugs.


Lawrence



_______________________________________________
firefox-dev mailing list
firefox-...@mozilla.org
https://mail.mozilla.org/listinfo/firefox-dev

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to