IRC logs for #baserock for Wednesday, 2016-07-13

*** fay_ has joined #baserock07:21
*** radiofree has quit IRC07:31
*** radiofree has joined #baserock07:33
*** rdale has joined #baserock08:02
*** jonathanmaw has joined #baserock08:26
*** locallycompact has joined #baserock09:19
jonathanmawHi 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 t09:33
jonathanmawo do would be to change unpetrify-ref for offending chunks. What are people's thoughts here?09:33
jonathanmawThe 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_mawwhatever09:34
richard_mawdepending on how bitbake clones you can make sha1s work by configuring the git server to allow commit fishing09:34
paulsherwoodi definitely think it's a bug in current/previous definitions09:43
richard_mawno, it's an unimplemented feature09:44
richard_mawbug implies it was meant to be the ref for the purposes of fetching just that branch09:44
richard_mawpaulsherwood: if you just called it a bug for brevity that's fine, I just don't want it to be misrepresented09:46
paulsherwoodrichard_maw: i've been listening to bug vs feature arguments since long before you were born :)09:47
paulsherwoodit's a *problem*, in any case09:47
paulsherwoodas is demonstrated by the situation jonathanmaw is trying to iron out09:48
SotKistr someone once made a script to check that unpetrify-ref contained the ref, for the release process a long time ago09:48
richard_mawpaulsherwood: I don't disagree with you there.09:49
paulsherwoodrichard_maw: phew :)09:49
pedroalvarezthis one? http://git.baserock.org/cgit/baserock/baserock/definitions.git/tree/scripts/check-unpetrify-refs.py09:50
SotKpedroalvarez: 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 of09:52
richard_mawSotK: this one just checks whether the ref exists, not whether the referenced commit is present in that branch09:53
SotKah, I didn't read it very closely09:54
* richard_maw _does_ wonder whether bitbake has some magic that complains about not being given a branch09:54
CTtpollardyou don't have to specify a branch, but it will default to master09:55
jonathanmawand "master" works for a lot of refs, but not all.09:56
* richard_maw apologises for ambiguity there09:57
* richard_maw meant providing a sha1 instead of a branch09:57
pedroalvarezrichard_maw: true09:57
pedroalvarezI knew this script did something clever, but not what we are looking for09:58
CTtpollardyou don't have to give it a sha1 afaik09:59
CTtpollardbut then it expects a tag/branch but I could be wrong09:59
radiofreehi, where do i get morphlib from?13:42
pedroalvarezmorph13:43
radiofreeok13:43
*** CTtpollard has quit IRC13:48
*** CTtpollard has joined #baserock14:11
*** locallycompact has quit IRC14:42
*** anahuelamo_ has quit IRC15:46
*** anahuelamo has joined #baserock15:47
*** anahuelamo has quit IRC15:52
*** anahuelamo has joined #baserock15:52
*** anahuelamo has quit IRC16:06
*** anahuelamo has joined #baserock16:06
*** anahuelamo has quit IRC16:07
*** anahuelamo has joined #baserock16:08
*** jonathanmaw has quit IRC16:11
*** fay_ has quit IRC16:39
*** rdale has quit IRC17:31

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!