Re: URL translation map Re: MXR permanently offline, please transition to DXR

2016-07-06 Thread Mike Hoye

On 2016-07-06 11:08 AM, Tim Guan-tin Chien wrote:
I didn't file the bug because I don't know if it make sense to rewrite 
on the source tree (instead of implementing the rewrite). Feel free to 
file. Thanks.

Bug 1284887 filed, thanks.

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


Re: URL translation map Re: MXR permanently offline, please transition to DXR

2016-07-06 Thread Tim Guan-tin Chien
I didn't file the bug because I don't know if it make sense to rewrite on
the source tree (instead of implementing the rewrite). Feel free to file.
Thanks.

On Wed, Jul 6, 2016 at 9:38 PM, Mike Hoye  wrote:

> On 2016-07-06 1:46 AM, Tim Guan-tin Chien wrote:
>
> We really need to get the vanilla redirect done at least, since,
> ironically, "mxr.mozilla.org" is even referenced in the code base!
>
>
> https://dxr.mozilla.org/mozilla-central/search?q=mxr.mozilla.org=false
>
>
> Cleaning those up is a good first bug, I think. Is that one filed yet? If
> not, I'll file it directly.
>
> - mhoye
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: URL translation map Re: MXR permanently offline, please transition to DXR

2016-07-06 Thread Mike Hoye

On 2016-07-06 1:46 AM, Tim Guan-tin Chien wrote:
We really need to get the vanilla redirect done at least, since, 
ironically, "mxr.mozilla.org " is even 
referenced in the code base!


https://dxr.mozilla.org/mozilla-central/search?q=mxr.mozilla.org=false


Cleaning those up is a good first bug, I think. Is that one filed yet? 
If not, I'll file it directly.


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


Re: URL translation map Re: MXR permanently offline, please transition to DXR

2016-07-06 Thread glob

Tim Guan-tin Chien wrote:

A lot of code (including add-ons) out there also rely on MXR URL to fetch,
for example, the public suffix list.

https://github.com/search?q=https%3A%2F%2Fmxr.mozilla.org%2Fmozilla-central%2Fsource%2Fnetwerk%2Fdns%2Feffective_tld_names.dat=searchresults=Code=%E2%9C%93

We would not be able to update these code effectively.

(Yes, I know the right URL to hit should be
https://publicsuffix.org/list/public_suffix_list.dat )


redirects are already in place for public_suffix_list.dat, as well as 
well as certdata.txt.


https://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1

http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1

(via https://bugzilla.mozilla.org/show_bug.cgi?id=1281389)


-glob




--
byron jones :: glob.com.au 
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: URL translation map Re: MXR permanently offline, please transition to DXR

2016-07-04 Thread Mike Hoye

On 2016-06-30 9:50 PM, Karl Dubost wrote:

Gregory,

Le 1 juil. 2016 à 09:33, Gregory Szorc  a écrit :

I want the site to publish a "URL translation map"
for URL patterns so whole URL namespaces can be bulk updated.

Interesting idea.

Probably something to explain in a wiki page somewhere on 
https://wiki.mozilla.org/ with use cases and examples how you would see it 
working.

This sounds like Apache's "Redirect" or "RedirectMatch" config options.

More powerfully, Apache's mod_rewrite can be made to return a 301 and 
redirect you to one of a series of regex-modified rewrites of the 
inbound URL.




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


URL translation map Re: MXR permanently offline, please transition to DXR

2016-06-30 Thread Karl Dubost
Gregory,

Le 1 juil. 2016 à 09:33, Gregory Szorc  a écrit :
> I want the site to publish a "URL translation map"
> for URL patterns so whole URL namespaces can be bulk updated.

Interesting idea.

Probably something to explain in a wiki page somewhere on 
https://wiki.mozilla.org/ with use cases and examples how you would see it 
working.


-- 
Karl Dubost, Mozilla
http://www.la-grange.net/karl/moz

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