IRC log for #oe on 20210208

00:53.18*** join/#oe moldorcoder7 (~moldorcod@206.166.251.59)
04:12.05*** join/#oe davidlt (~davidlt@78-63-27-146.static.zebra.lt)
06:42.12*** join/#oe AndersD (~AndersD@h83-209-96-136.cust.a3fiber.se)
06:46.27*** join/#oe AndersD (~AndersD@h83-209-96-136.cust.a3fiber.se)
06:46.32*** join/#oe eFfeM (~fmeulenbr@a97014.upc-a.chello.nl)
06:48.39*** join/#oe AndersD_ (~AndersD@h83-209-96-136.cust.a3fiber.se)
07:11.07*** join/#oe rob_w (~bob@unaffiliated/rob-w/x-1112029)
07:13.54*** join/#oe leon-anavi (~Leon@78.130.197.211)
07:37.51mckoangood morning
07:48.19*** join/#oe cpriouzeau (~cpriouzea@165.225.94.93)
07:49.16*** join/#oe LetoThe2nd (uid453638@gateway/web/irccloud.com/x-cttrkoxgkjpgxcst)
08:06.40*** join/#oe frsc (~frsc@p50937620.dip0.t-ipconnect.de)
08:07.18*** join/#oe ao2 (~ao2@host-79-35-138-11.retail.telecomitalia.it)
08:20.48*** join/#oe florian_kc (~florian_k@Maemo/community/contributor/florian)
09:43.38*** join/#oe creich (~creich@p200300f6af24e910000000000000039b.dip0.t-ipconnect.de)
10:14.28dv_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.
11:02.26hrwWrote few words about this year FOSDEM: https://marcin.juszkiewicz.com.pl/2021/02/08/fosdem-2021-was-the-best-online-event-ever/
11:22.18*** join/#oe Net147_ (~Net147@unaffiliated/net147)
12:26.40*** join/#oe tgoodwin (~tgoodwin@static-96-234-151-198.bltmmd.fios.verizon.net)
12:37.50*** join/#oe georgem_home (uid210681@gateway/web/irccloud.com/x-suazxvmlfvgytbdz)
13:17.25*** join/#oe eFfeM (~fmeulenbr@a97014.upc-a.chello.nl)
13:28.40*** join/#oe ukembedded (sid304355@gateway/web/irccloud.com/x-pjyvemfgzsoertyo)
13:28.41*** join/#oe rsalveti (uid117878@gateway/web/irccloud.com/x-muydfmiamowthcje)
13:28.43*** join/#oe georgem_home (uid210681@gateway/web/irccloud.com/x-pgwdambebfcbwbjf)
13:28.49*** join/#oe roxell (sid330443@gateway/web/irccloud.com/x-wwixvwcbqkfmdogf)
13:29.46*** join/#oe ullbeking (sid5364@gateway/web/irccloud.com/x-ipclufakygdrvtos)
13:29.58*** join/#oe smurray (sid98062@gateway/web/irccloud.com/x-acvyqwgidbpupfkb)
13:30.10*** join/#oe darknighte (sid214177@pdpc/supporter/professional/darknighte)
13:31.33*** join/#oe dagmcr (sid323878@gateway/web/irccloud.com/x-cychnurgrxlobprg)
13:31.40*** join/#oe LetoThe2nd (uid453638@gateway/web/irccloud.com/x-xzbflxunuvxdcwjg)
13:32.56*** join/#oe paulbarker (sid269702@gateway/web/irccloud.com/x-nybgfnpfihcfcvqs)
13:43.37*** join/#oe bradfa (sid297668@gateway/web/irccloud.com/x-fogolhitcypupmuw)
13:44.13*** join/#oe dl9pf (sid395223@opensuse/member/dl9pf)
14:10.56*** join/#oe Jin^eLD (~jin@staging.betepah.su)
14:11.16*** join/#oe moldorcoder7 (~moldorcod@206.166.251.59)
14:24.06*** join/#oe Leatherface (~leatherfa@helvetet.eu)
14:59.46dv_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?
15:00.02mruanything is possible
15:00.33dv_well .. how?
15:00.59mruin which context?
15:01.52dv_I want it in the recipe
15:02.06dv_SOMEVAR = "ABC-${MAJORVERSION}-${MINORVERSION}" for example
15:02.31dv_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"
15:04.41JPEWdv_: You can use anon python to get it: MAJORVERSION = "${@d.getVar('PV').split('.')[0]}"
15:04.51smurrayheh, beat me to it
15:05.13mruyeah, that's my first thought as well
15:05.38mrudon't know if there's some helper function already made for such things
15:05.59dv_right, that was something I was thinking of too, I was just wondering if yocto has something specific for this
15:06.02dv_alright, thanks
15:06.06smurray"git grep PV | grep @" in oe-core shows some use of a oe.utils.trim_version function
15:06.36dv_ah good find
15:06.38dv_https://www.openembedded.org/pipermail/openembedded-core/2013-May/078991.html
15:42.37*** join/#oe eFfeM (~fmeulenbr@a97014.upc-a.chello.nl)
15:49.23*** join/#oe sakoman (~steve@72.173.249.164)
15:49.36*** join/#oe B0ned1ger (~B0ned1ger@82-135-139-249.static.zebra.lt)
16:01.28*** join/#oe B0ned1ger2 (~B0ned1ger@78-60-213-230.static.zebra.lt)
16:23.17*** join/#oe stephano (~stephano@73.240.0.134)
16:51.34*** join/#oe berton (~berton@200-180-244-11.user3p.brasiltelecom.net.br)
17:42.17*** join/#oe B0ned1ger (~B0ned1ger@82-135-139-249.static.zebra.lt)
18:25.02*** join/#oe paulbarker (sid269702@gateway/web/irccloud.com/x-yjkjnicqzjlcgkqt)
18:25.44*** join/#oe darknighte (sid214177@pdpc/supporter/professional/darknighte)
18:40.54*** join/#oe smurray (sid98062@gateway/web/irccloud.com/x-zqufuzkfxnopwrus)
18:49.04*** join/#oe florian (~florian_k@Maemo/community/contributor/florian)
19:16.12*** join/#oe ao2 (~ao2@host-79-35-138-11.retail.telecomitalia.it)
19:27.03*** join/#oe georgem (~georgem@216.21.169.52)
21:42.11*** join/#oe eFfeM (~fmeulenbr@a97014.upc-a.chello.nl)
21:58.53armpitwhere did winter go?
22:01.56mruhere
23:04.49*** join/#oe bradfa (sid297668@gateway/web/irccloud.com/x-yznxrihdeunxwszs)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.