<div dir="ltr">The change itself is OK, but you should update the commit message so that other people won&#39;t get bad idea about how the fetcher works.<div><br></div><div>Also please don&#39;t send meta-oe patches to both lists, it should go just to openembedded-devel (to prevent both patchwork instances picking this change).</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 30, 2018 at 3:19 PM George McCollister &lt;<a href="mailto:george.mccollister@gmail.com">george.mccollister@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, May 30, 2018 at 8:08 AM, Martin Jansa &lt;<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>&gt; wrote:<br>
&gt; This doesn&#39;t just rely on SRCREV (bitbake fetcher would be complaining if<br>
&gt; the SRCREV isn&#39;t found in the branch used in SRC_URI), it relies on this<br>
&gt; SRCREV to be in master branch (which is the default branch for git fetcher):<br>
<br>
Okay, point taken.<br>
<br>
&gt;<br>
&gt; docker-shr @ ~/projects/protobuf $ git branch -a --contains<br>
&gt; b04e5cba356212e4e8c66c61bbe0c3a20537c5b9<br>
&gt; * master<br>
<br>
Since it&#39;s in master the patch should work fine anyway. Should I<br>
update the commit message and add branch=master or just leave it as<br>
is?<br>
<br>
&gt;   remotes/origin/<a href="http://3.5.1.1" rel="noreferrer" target="_blank">3.5.1.1</a><br>
&gt;   remotes/origin/3.5.x<br>
&gt;   remotes/origin/3.6.x<br>
&gt;   remotes/origin/HEAD -&gt; origin/master<br>
&gt;   remotes/origin/cython_protobuf<br>
&gt;   remotes/origin/master<br>
&gt;   remotes/origin/php-generated-dev<br>
&gt;   remotes/origin/python-wheel<br>
&gt;   remotes/origin/python_deps<br>
&gt;<br>
&gt;<br>
&gt; On Wed, May 30, 2018 at 3:01 PM George McCollister<br>
&gt; &lt;<a href="mailto:george.mccollister@gmail.com" target="_blank">george.mccollister@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; The 3.4.x branch was removed upstream but the commit referenced in<br>
&gt;&gt; SRCREV is the 3.4.1 release and is still available:<br>
&gt;&gt; <a href="https://github.com/google/protobuf/releases/tag/v3.4.1" rel="noreferrer" target="_blank">https://github.com/google/protobuf/releases/tag/v3.4.1</a><br>
&gt;&gt;<br>
&gt;&gt; Drop branch=3.4.x from SRC_URI and just rely on SRCREV.<br>
&gt;&gt;<br>
&gt;&gt; Signed-off-by: George McCollister &lt;<a href="mailto:george.mccollister@gmail.com" target="_blank">george.mccollister@gmail.com</a>&gt;<br>
&gt;&gt; ---<br>
&gt;&gt;  meta-oe/recipes-devtools/protobuf/<a href="http://protobuf_3.4.1.bb" rel="noreferrer" target="_blank">protobuf_3.4.1.bb</a> | 2 +-<br>
&gt;&gt;  1 file changed, 1 insertion(+), 1 deletion(-)<br>
&gt;&gt;<br>
&gt;&gt; diff --git a/meta-oe/recipes-devtools/protobuf/<a href="http://protobuf_3.4.1.bb" rel="noreferrer" target="_blank">protobuf_3.4.1.bb</a><br>
&gt;&gt; b/meta-oe/recipes-devtools/protobuf/<a href="http://protobuf_3.4.1.bb" rel="noreferrer" target="_blank">protobuf_3.4.1.bb</a><br>
&gt;&gt; index fae7c18a1..fe28f475a 100644<br>
&gt;&gt; --- a/meta-oe/recipes-devtools/protobuf/<a href="http://protobuf_3.4.1.bb" rel="noreferrer" target="_blank">protobuf_3.4.1.bb</a><br>
&gt;&gt; +++ b/meta-oe/recipes-devtools/protobuf/<a href="http://protobuf_3.4.1.bb" rel="noreferrer" target="_blank">protobuf_3.4.1.bb</a><br>
&gt;&gt; @@ -18,7 +18,7 @@ SRCREV = &quot;b04e5cba356212e4e8c66c61bbe0c3a20537c5b9&quot;<br>
&gt;&gt;<br>
&gt;&gt;  PV = &quot;3.4.1+git${SRCPV}&quot;<br>
&gt;&gt;<br>
&gt;&gt; -SRC_URI = &quot;git://<a href="http://github.com/google/protobuf.git;branch=3.4.x" rel="noreferrer" target="_blank">github.com/google/protobuf.git;branch=3.4.x</a>&quot;<br>
&gt;&gt; +SRC_URI = &quot;git://<a href="http://github.com/google/protobuf.git" rel="noreferrer" target="_blank">github.com/google/protobuf.git</a>&quot;<br>
&gt;&gt;<br>
&gt;&gt;  EXTRA_OECONF += &quot; --with-protoc=echo&quot;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; 2.11.0<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Openembedded-core mailing list<br>
&gt;&gt; <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
&gt;&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
<br>
Regards,<br>
George<br>
</blockquote></div>