<div dir="ltr">Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 4:40 PM, Andoni Morales <span dir="ltr"><<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sure, you can do it using the property recipes_commits:<br>
<br>
recipes_commits = {<br>
'gst-plugins-bad': 'origin/v1.5.0',<br>
}<br>
<br>
It's a dicctionary with the recipe name as key and the commit as value.<br>
<br>
What you can't do is adding new remotes, so it must point to a valid<br>
commit in the remotes set by the recipe.<br>
<span class="HOEnZb"><font color="#888888"><br>
Andoni<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
2015-04-07 15:19 GMT+02:00 pablo platt <<a href="mailto:pablo.platt@gmail.com">pablo.platt@gmail.com</a>>:<br>
> Can we override the commit in cerbero.cbc instead of the recepie?<br>
><br>
> On Tue, Apr 7, 2015 at 4:14 PM, Andoni Morales <<a href="mailto:ylatuya@gmail.com">ylatuya@gmail.com</a>> wrote:<br>
>><br>
>> The Git source backend uses the following properties:<br>
>> * remotes: allows you setting different remotes as you would do with<br>
>> "git remote add"<br>
>> * commit: lets you point to a commit description used for the build<br>
>> as you would do with git reset --hard <COMMIT>. This can be a hash, a<br>
>> branch, a tag (any valid commit description)<br>
>><br>
>> As an example you can take a look at gas-preprocessor.recipe:<br>
>> remotes = {'origin': 'git://<a href="http://github.com/ylatuya/gas-preprocessor.git" target="_blank">github.com/ylatuya/gas-preprocessor.git</a>'}<br>
>> commit = 'origin/master'<br>
>><br>
>> Andoni<br>
>><br>
>> 2015-04-06 10:55 GMT+02:00 Forzaferrarileo <<a href="mailto:leonardo.ferroro@gmail.com">leonardo.ferroro@gmail.com</a>>:<br>
>> > Hi, it's possible to fetch a specific branch of a git repo within a<br>
>> > cerbero<br>
>> > recipe?<br>
>> ><br>
>> > Leonardo<br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > View this message in context:<br>
>> > <a href="http://gstreamer-devel.966125.n4.nabble.com/Cerbero-fetch-branch-tp4671461.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Cerbero-fetch-branch-tp4671461.html</a><br>
>> > Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
>> > _______________________________________________<br>
>> > gstreamer-devel mailing list<br>
>> > <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
>> > <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Andoni Morales Alastruey<br>
>><br>
>> LongoMatch:The Digital Coach<br>
>> <a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a><br>
>> _______________________________________________<br>
>> gstreamer-devel mailing list<br>
>> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
<br>
<br>
<br>
--<br>
Andoni Morales Alastruey<br>
<br>
LongoMatch:The Digital Coach<br>
<a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>