2015-02-19 11:28 GMT+01:00 Sven Van Caekenberghe <[email protected]>:

>
> > On 19 Feb 2015, at 11:20, Thierry Goubier <[email protected]>
> wrote:
> >
>
....

> > Yes! I want an end to that big switch !
> >
> > (I had to write an override to that to get gitfiletree:// urls to work,
> as well as two or three other spots in Zn where known url protocols are
> hardcoded).
>
> Yes, you told me that at the Pharo Days, maybe you could show me what you
> had to override and what was bothering you ?
>

Hum: The overrides I have are:

ZnUrl class>>defaultPortForScheme:

(I think it appears on error paths through Zn)

ZnUrl>>McRepositoryAsUser:withPassword:

(Where things missing would also be the github:// and the bibucket://
urls... I believe you can't use them via Gofer because of that).

and ZnUrl>>asFileReference

(Where there is an assert).

I believe ZnUrl>>enforceKnownScheme is also problematic.

I just searched through all ZnURL methods containing #http :)

Thierry

Reply via email to