/srv/irclogs.ubuntu.com/2016/03/14/#cloud-init.txt

smoserOdd_Bloke, do you think my returning "......" is silly ?13:07
smoserfor dmi data.13:07
Odd_Blokesmoser: In what case?13:11
smoserrecent commit to trunk, i made it return ..... (what dmi decode would return) when /sys is full of \xff13:12
smoserbut i relally think "" seems better, as otherwise the user has to specifically know about this "..."13:12
smoser(and worse, i return the length of the value in sys, basically .replace('\xff', ".")13:13
smatzeksmoser:  I've been seeing the recent activity around here on dev of new cloud-init function around networking, which is where the majority of my interest lies.  What dev is going on?  Is this on a 0.7.x branch?  It seems the v2.0 work died off.13:14
smoser0.7.x13:14
smosermy 'net1' branch is where i'm working on it, and i want to get at least part of that into ubuntu today.13:14
smatzekand then you'll merge that back to master?13:15
smoseroh. well, yes. it will all land in trunk13:15
smoserbefore ubuntu13:15
smatzekthanks13:15
Odd_Blokesmoser: Yeah, I definitely think returning '' or None would be better.13:18
smoser'' seems better than None to me.13:18
smoserin order to differenciate between "NO VALUE THERE" and "value not set"13:18
Odd_Blokesmoser: Oh, sorry, this is for all Fs, not all 0s?13:19
Odd_BlokeThen, yeah, agreed on empty-string.13:19
Odd_BlokeOf course, the question then is if we modify dmidecode's output in that case? :p13:20
smoserOdd_Bloke, i'm modifying dmidecode's output13:20
smoserOdd_Bloke, review?13:23
smoserhttps://code.launchpad.net/~smoser/cloud-init/trunk.dmidecode-null/+merge/28892513:23
Odd_Blokesmoser: I'm heading in to a (hopefully) half-hour meeting; will review after. :)13:28
smosermeh. you can review while you wait for everyone else to show up13:28
smoserreally quick13:28
smoserbut your suggestion is also ok13:29
Odd_Blokesmoser: Cool; +1'd.13:29
=== Guest12587 is now known as mfisch
=== mfisch is now known as Guest62254
=== Guest62254 is now known as mfisch

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