*** fay_ has joined #baserock | 07:21 | |
*** radiofree has quit IRC | 07:31 | |
*** radiofree has joined #baserock | 07:33 | |
*** rdale has joined #baserock | 08:02 | |
*** jonathanmaw has joined #baserock | 08:26 | |
*** locallycompact has joined #baserock | 09:19 | |
jonathanmaw | Hi Baserock folks! I've been working on a tool to convert definitions into bitbake recipes. One major obstacle is that in bitbake it can't find the ref if it's not in "master" or a specified branch. I've been trying to solve this by using unpetrify-ref as the branch, but unpetrify-ref makes no guarantees of being a branch that contains ref. I've spoken to paulsherwood on another channel and he seems to think the right thing t | 09:33 |
---|---|---|
jonathanmaw | o do would be to change unpetrify-ref for offending chunks. What are people's thoughts here? | 09:33 |
jonathanmaw | The alternative is for my tool to clone every definition and programmatically find a branch that contains ref. | 09:33 |
richard_maw | 👍 | 09:33 |
richard_maw | +∞ | 09:33 |
richard_maw | whatever | 09:34 |
richard_maw | depending on how bitbake clones you can make sha1s work by configuring the git server to allow commit fishing | 09:34 |
paulsherwood | i definitely think it's a bug in current/previous definitions | 09:43 |
richard_maw | no, it's an unimplemented feature | 09:44 |
richard_maw | bug implies it was meant to be the ref for the purposes of fetching just that branch | 09:44 |
richard_maw | paulsherwood: if you just called it a bug for brevity that's fine, I just don't want it to be misrepresented | 09:46 |
paulsherwood | richard_maw: i've been listening to bug vs feature arguments since long before you were born :) | 09:47 |
paulsherwood | it's a *problem*, in any case | 09:47 |
paulsherwood | as is demonstrated by the situation jonathanmaw is trying to iron out | 09:48 |
SotK | istr someone once made a script to check that unpetrify-ref contained the ref, for the release process a long time ago | 09:48 |
richard_maw | paulsherwood: I don't disagree with you there. | 09:49 |
paulsherwood | richard_maw: phew :) | 09:49 |
pedroalvarez | this one? http://git.baserock.org/cgit/baserock/baserock/definitions.git/tree/scripts/check-unpetrify-refs.py | 09:50 |
SotK | pedroalvarez: that appears to do what I was thinking, but I think I had some other thing in mind that I don't know the location of | 09:52 |
richard_maw | SotK: this one just checks whether the ref exists, not whether the referenced commit is present in that branch | 09:53 |
SotK | ah, I didn't read it very closely | 09:54 |
* richard_maw _does_ wonder whether bitbake has some magic that complains about not being given a branch | 09:54 | |
CTtpollard | you don't have to specify a branch, but it will default to master | 09:55 |
jonathanmaw | and "master" works for a lot of refs, but not all. | 09:56 |
* richard_maw apologises for ambiguity there | 09:57 | |
* richard_maw meant providing a sha1 instead of a branch | 09:57 | |
pedroalvarez | richard_maw: true | 09:57 |
pedroalvarez | I knew this script did something clever, but not what we are looking for | 09:58 |
CTtpollard | you don't have to give it a sha1 afaik | 09:59 |
CTtpollard | but then it expects a tag/branch but I could be wrong | 09:59 |
radiofree | hi, where do i get morphlib from? | 13:42 |
pedroalvarez | morph | 13:43 |
radiofree | ok | 13:43 |
*** CTtpollard has quit IRC | 13:48 | |
*** CTtpollard has joined #baserock | 14:11 | |
*** locallycompact has quit IRC | 14:42 | |
*** anahuelamo_ has quit IRC | 15:46 | |
*** anahuelamo has joined #baserock | 15:47 | |
*** anahuelamo has quit IRC | 15:52 | |
*** anahuelamo has joined #baserock | 15:52 | |
*** anahuelamo has quit IRC | 16:06 | |
*** anahuelamo has joined #baserock | 16:06 | |
*** anahuelamo has quit IRC | 16:07 | |
*** anahuelamo has joined #baserock | 16:08 | |
*** jonathanmaw has quit IRC | 16:11 | |
*** fay_ has quit IRC | 16:39 | |
*** rdale has quit IRC | 17:31 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!