Comment 4 for bug 1269718

Revision history for this message
Stuart Bishop (stub) wrote : Re: [Bug 1269718] Re: fetch.add_source silently ignores unknown source

On Fri, Jan 17, 2014 at 10:11 PM, Ryan Harper
<email address hidden> wrote:
> When invoking apt-add-repository --yes, there is no validation of the
> url at all. Currently add_source rejects https, but the MP will address
> that.
>
> Once add_source supports https urls, I don't think we can raise an
> exception when add-apt-repository is doing real work and doesn't error.

I used https: in the example as it was the most obvious case.

We still can warn or raise an exception if add_source doesn't
understand its input at all, such as a misspelled keyword like
'proposed\n'.

--
Stuart Bishop <email address hidden>