<div class="gmail_quote">On Tue, Jul 10, 2012 at 4:33 PM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On Tue, 2012-07-10 at 14:15 +0300, Andrei Gherzan wrote:<br>
&gt; Andrei Gherzan (5):<br>
&gt;   fetch2/bzr.py: Use &quot;protocol&quot; parameter and warn user if recipe is<br>
&gt;     using &quot;proto&quot;<br>
&gt;   fetch2/git.py: Use &quot;protocol&quot; parameter and warn user if recipe is<br>
&gt;     using &quot;proto&quot;<br>
&gt;   fetch2/hg.py: Use &quot;protocol&quot; parameter and warn user if recipe is<br>
&gt;     using &quot;proto&quot;<br>
&gt;   fetch2/osc.py: Use &quot;protocol&quot; parameter and warn user if recipe is<br>
&gt;     using &quot;proto&quot;<br>
&gt;   fetch2/svn.py: Use &quot;protocol&quot; parameter and warn user if recipe is<br>
&gt;     using &quot;proto&quot;<br>
&gt;<br>
&gt;  bitbake/lib/bb/fetch2/bzr.py |    7 ++++++-<br>
&gt;  bitbake/lib/bb/fetch2/git.py |    4 ++++<br>
&gt;  bitbake/lib/bb/fetch2/hg.py  |    7 ++++++-<br>
&gt;  bitbake/lib/bb/fetch2/osc.py |    7 ++++++-<br>
&gt;  bitbake/lib/bb/fetch2/svn.py |    7 ++++++-<br>
&gt;  5 files changed, 28 insertions(+), 4 deletions(-)<br>
<br>
How about putting this check into __init__.py and then just setting the<br>
protocol parameter instead if its used? We can then change the backends<br>
just to use procotol right now.<br><br></blockquote><div> </div><div>I can add the warning in init but how would i define the local proto value to the one defined with parameter &quot;proto&quot;? </div><div><br></div><div>

@g</div></div>