<div class="gmail_quote">On Wed, Feb 1, 2012 at 11:19, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org">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">
<div class="im">As discussed on IRC, I think some of the code here should really be</div>
integrated into the bitbake git fetcher to ensure we have a<br>
clean/consistent API for fetcher functionality. The interface I&#39;m<br>
thinking about would be similar to SRCPV:<br>
<br>
SRCPV = &quot;${@bb.fetch2.get_srcrev(d)}&quot;<br>
<br>
with a new fetcher call being added such as get_simplified_srcrev(d).<br>
Switching between the simplified revision and the description could be<br>
governed by a variable setting similar to some of the existing variables<br>
that control fetcher behaviour.<br></blockquote><div><br></div><div>I fully agree that having some of the code here ought to be in bitbake git fetcher but I&#39;d like to work on this after this code has been merge onto OE-Core mostly because this will blocker on newer bitbake version requirement and some layers are using it but now depending on meta-oe just because of this class.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There has been substantial work done to improve the fetcher APIs and<br>
clean up the various corner cases and this would seem a logical<br>
continuation of that, in keeping with the objectives of OE-Core.</blockquote><div><br></div><div>Can this be merged and afterwareds I refactor it moving part of this code onto bitbake? I am not used to bitbake code and I don&#39;t have enough time to learn it in following week or so.</div>
<div><br></div></div>-- <br>Otavio Salvador                             O.S. Systems<br>E-mail: <a href="mailto:otavio@ossystems.com.br" target="_blank">otavio@ossystems.com.br</a>  <a href="http://www.ossystems.com.br" target="_blank">http://www.ossystems.com.br</a><br>
Mobile: +55 53 9981-7854              <a href="http://projetos.ossystems.com.br" target="_blank">http://projetos.ossystems.com.br</a><br><br>