**** BEGIN LOGGING AT Mon Feb 08 03:01:12 2021 Feb 08 07:38:00 good morning Feb 08 10:14:28 is there an up-to-date recommended template for bitbake recipes, or perhaps a "best practices" document on how to write recipes correctly? i am referring to details like SRCREVs before / after SRC_URIs, tabs or spaces inside multiline strings, what metadata (descriptions, summary, ...) to always incldue etc. Feb 08 11:02:25 Wrote few words about this year FOSDEM: https://marcin.juszkiewicz.com.pl/2021/02/08/fosdem-2021-was-the-best-online-event-ever/ Feb 08 14:59:46 if I have a recipe called libfoobar_0.3.21.bb , and inside the recipe, I want to programmatically get the major & minor version ("0" and "3" in this example), is this possible? Feb 08 15:00:02 anything is possible Feb 08 15:00:33 well .. how? Feb 08 15:00:59 in which context? Feb 08 15:01:52 I want it in the recipe Feb 08 15:02:06 SOMEVAR = "ABC-${MAJORVERSION}-${MINORVERSION}" for example Feb 08 15:02:31 right now I have to manually edit that if the version changes because in this example it would be hardcoded to SOMEVAR = "ABC-0-3" Feb 08 15:04:41 dv_: You can use anon python to get it: MAJORVERSION = "${@d.getVar('PV').split('.')[0]}" Feb 08 15:04:51 heh, beat me to it Feb 08 15:05:13 yeah, that's my first thought as well Feb 08 15:05:38 don't know if there's some helper function already made for such things Feb 08 15:05:59 right, that was something I was thinking of too, I was just wondering if yocto has something specific for this Feb 08 15:06:02 alright, thanks Feb 08 15:06:06 "git grep PV | grep @" in oe-core shows some use of a oe.utils.trim_version function Feb 08 15:06:36 ah good find Feb 08 15:06:38 https://www.openembedded.org/pipermail/openembedded-core/2013-May/078991.html Feb 08 21:58:53 * armpit where did winter go? Feb 08 22:01:56 here Feb 09 01:52:19 Crofton|cloud, ping Feb 09 01:52:30 piong Feb 09 01:52:33 ping Feb 09 01:52:37 jesus Feb 09 01:52:56 oe.org cert just expired Feb 09 01:53:20 2/8/2021, 5:35:41 PM PST Feb 09 01:53:57 tolk Halstead about it. not sure who renews it Feb 09 01:54:30 urg, I think he has been watching them Feb 09 01:54:42 hmm Feb 09 01:55:20 atleast its not Friday even ; ) Feb 09 01:55:35 lol Feb 09 01:55:36 yeah Feb 09 01:56:29 expect emails from community soon Feb 09 01:56:37 thanks for warning me Feb 09 02:21:03 armpit, Crofton|cloud replied elsewhere. A new cert was issued on Jan 9th and it's installed now. Feb 09 02:21:59 thanks **** ENDING LOGGING AT Tue Feb 09 03:00:29 2021