/srv/irclogs.ubuntu.com/2014/10/31/#ubuntu-touch.txt

=== chihchun_afk is now known as chihchun
lpotterdepends on the partition :)08:22
lpotterbut I think ext4 is what you are asking for08:22
=== marlinc_ is now known as marlinc
pittiChickenCutlass, Laney: I updated https://code.launchpad.net/~pitti/powerd/upower0.99/+merge/240141, works with both the old and new API now09:46
pittisil2100: if I would want to land that via the train in vivid, can I tell it to build against -proposed?09:47
sil2100pitti: every silo has -proposed enabled by default09:47
pittisil2100: ah, good, thanks; the "PS Jenkins bot" runs don't, so I was wondering09:47
mardymarcustomlinson, pete-woods: any more comments on https://docs.google.com/a/canonical.com/document/d/1UohUeioi3iSBdFqmdYfGzkzFogkou_KW90YCi28DYkU/edit ?09:48
sil2100pitti: to make sure we can do binary copies from the silos to the archive, we had to make sure we build with -proposed :)09:48
pitti*nod*09:48
didrockspitti: the PS Jenkins bot did build as well with proposed after I discussed with the CI team to enable it (as they should). This seems to have regressed, may worth a ping to them again09:50
marcustomlinsonmardy: I'm still not sure I agree with having multiple APIs depending on whether used from an app, scope, etc09:52
marcustomlinsonmardy: for it to be generic enough for scopes and apps, all that is missing is a callback mechanism really09:53
mardymarcustomlinson: well, we can talk about it, but the problem is that the API we discussed won't be very useful for apps09:53
mardymarcustomlinson: yes, which brings us to the main loop09:54
marcustomlinsonmardy: what about it?09:54
mardymarcustomlinson: that we need to have a main loop, unless it's acceptable to have the callback invoked in another thread09:56
marcustomlinsonmardy: Yes, I think calling back on a separate thread is acceptable. My opinion is to implement it the way I did with an internal abstracted main loop. So basically constructed with CreateInternalMainLoop09:58
marcustomlinsonmardy: I would take my API as it is and remove the option to set UseExternalMainLoop09:58
marcustomlinsonmardy: And let it be specified that the callback will occur on a separate thread09:58
mardymarcustomlinson: I think that your API is good for stateless interactions with OA (like for scopes), but not for generic apps10:00
marcustomlinsonmardy: for an app I would set the callback, get the current statuses, then react to any status changes10:00
mardymarcustomlinson: your API always gets a new list of accounts, but it's not easy to know if those accounts are the same one returned the last time, or if they are new ones10:01
marcustomlinsonmardy: ok sure, I like your API better for that10:01
marcustomlinsonmardy: what I'm saying is a mix of the 210:02
marcustomlinsonmardy: your api as it is, with the callback mechanism (including internal main loop) of mine10:02
mardymarcustomlinson: when you say "your API", do you mean the one I've sketched in the document, or the one from libaccounts?10:03
marcustomlinsonmardy: the google doc one10:03
mardymarcustomlinson: I don't think that's a good one for apps :-/10:03
mardymarcustomlinson: IMHO a good API for apps would give you the accounts as a list of objects, and then you set up notifications on those10:04
marcustomlinsonmardy: like I said: just add the callback mechanism (including internal main loop) from mine and you have an API that serves both10:04
mardymarcustomlinson: IOW, the list should be returned only once, at startup, and then updated only when things change10:05
marcustomlinsonmardy: yes10:05
mardymarcustomlinson: but that's a very different API from the one we sketched :-)10:05
marcustomlinsonmardy: well not really. The app would set a callback, then call get_enabled_accounts() to get the initial statuses, then update those status (stored in the app somewhere) when things change10:06
marcustomlinsonmardy: the callback could even be a void()10:08
marcustomlinsonmardy: just to tell the app to call get_enabled_accounts() again10:08
marcustomlinsonmardy: if we want it to be super simple10:08
mardymarcustomlinson: but then, the app needs to track the accounts somehow, to figure out which accounts have been added and removed10:09
marcustomlinsonmardy: not if the app just calls get_enabled_accounts() every callback.10:10
mardymarcustomlinson: and an app needs asynchronous APIs for the authentication, in order not to block10:10
marcustomlinsonmardy: basically, the purpose of this new API is supposed to support scopes and apps10:11
marcustomlinsonmardy: otherwise we wouldn't be removing it from scopes10:11
mardymarcustomlinson: I mean, let's say that get_enabled_accounts() returns three structs; then you call it again, and it returns other three structs; how does the app know if they are the same accounts as before, or if maybe two accounts have been removed and two have been added in their place?10:11
marcustomlinsonmardy: how does a scope know?10:12
JamesTaitGood morning all; happy Friday and happy Magic Day! :-D10:12
mardymarcustomlinson: the nice thing about scopes, is that scopes don't need to know about it :-) That's why we could come up with this much simpler API10:12
mardymarcustomlinson: scopes just need to know what are the active accounts, they don't care about history10:13
mardymarcustomlinson: but an app might have data associated with an account10:13
marcustomlinsonmardy: what I'm saying is, the app needs to assume that all account statuses are different and update internal state accordingly10:13
marcustomlinsonmardy: if an app whats to monitor history then yes10:13
marcustomlinsonmardy: the app must do the fancy stuff10:14
mardymarcustomlinson: right, but then those app developers who need to track accounts wouldn't like this API10:15
=== chihchun is now known as chihchun_afk
mardymarcustomlinson: I'm not against adding a callback to the API we drafted, I'm against recommending it for app developers10:16
marcustomlinsonmardy: ok, just as long as its one API for apps and scopes10:17
mardymarcustomlinson: IMHo this is very oriented for background (UI-less) services10:17
mardymarcustomlinson: also, for apps we need to add an API to request access to an account, and to handle the authentication differently (now the API is synchronous and forbids UI interactions, and a generic app wouldn't like this)10:18
marcustomlinsonmardy: sure, I don't have an objection to a second API that handles UI related operations10:18
marcustomlinsonmardy: but I don't think the callback mechanism I'm describing belongs there10:19
marcustomlinsonmardy: its not UI related, its still backend related10:19
mardymarcustomlinson: you are right, that we can add to our new UI-less API10:20
mardymarcustomlinson: I'm more concerned about the rest10:20
thostr_mardy: is there anywhere any document that describes in more detail the api you're working on10:20
marcustomlinsonmardy: sure, the rest (UI related stuff) can be a separate API10:20
thostr_so that more people can have a look and provide feedback?10:20
mardythostr_: this is the draft: https://docs.google.com/a/canonical.com/document/d/1UohUeioi3iSBdFqmdYfGzkzFogkou_KW90YCi28DYkU/edit10:20
marcustomlinsonmardy: in the example of scopes, that API would be used by the shell10:20
marcustomlinsonmardy: and if the shell wants statuses and callbacks on changes, it can use both10:22
mardymarcustomlinson: at the end, for generic apps I need to wrapp the whole QML API, and I wonder why -- wasn't it that APP developers should use QML or HTML5?10:22
marcustomlinsonmardy: yes wrapping is another story. But we have to start somewhere, and that somewhere has been decided to be C++10:24
mardymarcustomlinson: so, here's my proposal: I'll update the doc with the callback, and I'll also add a pragraph explaining what you can do with this API, and what you cannot do. Then let's wait a couple of days for feedback, and let's see10:28
mardythostr_: how does that sound? ^10:28
mardy*paragraph :-)10:28
thostr_mardy: more explanation will definitly help there10:29
thostr_mardy: also, since it will become the api for apps and scopes, please share this document with our architects, cwayne (representing scopes developers) but also guys from bills team (app development)10:30
mardythostr_: OK10:32
pittisil2100: "WARNING! CI Train is on halt!" -> is that just for RTM, or for vivid, too?11:13
pittisil2100: I added the upower transition landings (vivid only) to the spreadsheet; if the CI train is down, I'll instead just merge/commit/dput manually11:21
=== marcustomlinson is now known as marcustomlinson|
=== marcustomlinson| is now known as marcustomlinson
=== MacSlow is now known as MacSlow|lunch
jgdxabeato, is bug 1388044 only reproducable when APN is involved?12:26
ubot5bug 1388044 in ubuntu-system-settings (Ubuntu) "APN editor does not keep its settings" [Undecided,New] https://launchpad.net/bugs/138804412:26
jgdxabeato, seems I can reproduce it without entering/modifying any apn setting12:30
=== _salem is now known as salem_
ChickenCutlasspitti: ok, let me look12:37
ChickenCutlassthanks12:37
Chipacasergiusens: ping12:53
abeatojgdx, yes, you do not even need to edit the APN12:56
jgdxabeato, right, can I remove that?12:57
abeatojgdx, indeed12:57
=== MacSlow|lunch is now known as MacSlow
mterrykenvandine, heyo!13:11
kenvandinehey13:11
mterrykenvandine, the u8 we needed landed in vivid and rtm13:12
kenvandineyour branches are in a vivid silo :)13:12
mterrykenvandine, awesome13:12
kenvandinejust flashing over to vivid to test13:12
mterrykenvandine, good morning too  :)13:12
kenvandinemterry, you could help test if you have time :)13:12
mterrykenvandine, sure13:12
kenvandinemterry, good morning to you too :)13:12
kenvandinemterry, vivid silo 1413:12
kenvandinemterry, i added your branches late last night and didn't update the spreadsheet with items to test13:13
kenvandinemterry, mind adding comments on what to test for your branches?13:13
mterrykenvandine, sure -- this is the ci train spreadsheet?13:14
kenvandineyeah13:14
ChickenCutlasspitti: looks good -- thanks13:16
pittiChickenCutlass: cheers; I'm trying to get a hold of sil2100 to answer my CI train question, then I'll land this one way or the other13:16
mterrykenvandine, done13:17
kenvandinemterry, thanks!13:17
mterrykenvandine, and flashing devel-proposed to test13:17
derelinguoCan anyone shed any light on R.stamp? My build is failing on trying to make it. There's a TODO in frameworks/base/Android.mk and a reference to magic! :/13:20
=== dandrader is now known as dandrader|afk
sil2100pitti: as per e-mail announcement it's only for ubuntu-rtm13:24
kenvandineseb128, the SliderMenu component uses the Slider from the sdk, but adds some locking to prevent the sort of value binding problem we are seeing in the brightness slider13:27
seb128kenvandine, why don't we fix the toolkit rather than adding fixed/workarounded widgets in some other components?13:28
pittisil2100: ah, thanks; so ok if I assign a silo to these? or do you want to?13:28
sil2100pitti: if there is a free silo then feel free to do that ;)13:29
kenvandineseb128, perhaps something like this should be added to the toolkit, but not sure how common a problem like this might be outside of dealing with things from the system13:29
kenvandinewe're trying to share all these signals and settings across dbus, etc13:29
kenvandinemost apps are just handling their own values13:30
seb128kenvandine, basically you are saying I should give up and just ack the use of custom widgets? ;-)13:30
kenvandine"custom" :)13:30
kenvandineit's what we use in the indicators :)13:30
seb128well, we basically say that the toolkit sucks and that instead of using it/fixing it we prefer to create a new lib and use that13:30
kenvandineit's still based on the sdk slider13:30
seb128that seems a bogus approch13:30
kenvandineit's worth suggesting to the sdk team, sure13:30
kenvandinei'll file a bug13:30
seb128thanks13:30
kenvandinebut it looks like this is the reason why they created a modified slider for the indicators13:31
seb128right13:31
pittisil2100: I haven't seen "Dest PPA:" yet, do I need to fill this out?13:31
seb128it doesn't mean it's the right thing to do13:31
kenvandineindeed :)13:31
seb128ideally our toolkit would support all our usecases13:31
seb128I'm fine using custom hacks as temporary workaround13:32
sil2100pitti: how do you want to assign the silo?13:32
kenvandinebut... i'd rather get this fixed than wait... since we can fix it by using an existing component13:32
seb128but we should aim at getting the toolkit improved as well13:32
sil2100pitti: you just need to fill in a landing in the spreadsheet and assign through the menu :)13:32
pittisil2100: I clicked on "Landing team tools" -> "assign silo" as usual13:32
sil2100pitti: ah! Leave that blank13:32
kenvandineseb128, i'll file the bug and use the SliderMenu as an example13:32
sil2100Just click click13:32
pittiseb128: right, and the popup box has a new "Dest PPA:"13:32
pittisil2100: ack, thanks; sorry, but making sure I don't break anything13:32
seb128kenvandine, yeah, that's fine with me, as long as those things are flagged as temporary/until the sdk improves13:32
seb128kenvandine, thanks13:33
sil2100pitti: this one is in case you want to release to a PPA instead of an archive13:33
pittiah13:33
mptseb128, kenvandine: I don’t understand that brightness slider merge proposal, sorry13:34
mptseb128, kenvandine: However, as long as indicator-power and ubuntu-system-settings both have brightness sliders, I think they should share as much code as possible, to minimize the risk of bugs like bug 137628613:35
ubot5bug 1376286 in ubuntu-system-settings (Ubuntu) "Slider minimum-volume icons differ in System Settings vs. Sound menu" [Low,Fix released] https://launchpad.net/bugs/137628613:36
seb128mpt, the icons are not part of the slider13:36
kenvandinemterry, ugh...13:37
kenvandine ubuntu-system-settings-wizard : Depends: unity8 (>= 8.01) but 8.00+15.04.20141030-0ubuntu1 is to be installed13:37
mterrykenvandine, ?  my other unity8 branch bumped the version13:37
kenvandineand we have a upower issue too..13:37
mterrySaviq, ^ right?13:37
kenvandine ubuntu-system-settings : Depends: libupower-glib3 (>= 0.99.0) but it is not installable13:37
pittisil2100: meh, conflicts for both packages :/13:38
mterrykenvandine, Saviq: it did.  8.01 is in vivid13:38
kenvandinemaybe citrain didn't update ?13:38
* kenvandine does it manually13:38
kenvandine ok, that cleared up the unity8 dep problem13:39
kenvandinebut libupower-glib3 is still held in vivid-proposed13:39
mterrykenvandine, sweet13:39
kenvandineexcuses says the autopkgtest passed13:41
kenvandinepitti, any idea why upower 0.99 is still held in proposed?13:41
mterrywhat the heck, "citrain device-upgrade 014" gave me landing-01213:43
=== dandrader|afk is now known as dandrader
pittikenvandine: yes :) powerd and system-settings MPs needs to land, but they are blocked by other silos that want to update those packages13:47
pittithe eternal serialization and long silo testing problem :/13:47
kenvandineseb128, bug 138809413:48
ubot5bug 1388094 in ubuntu-ui-toolkit (Ubuntu) "Slider component can have problems when binding value" [Undecided,New] https://launchpad.net/bugs/138809413:48
seb128kenvandine, thanks13:49
kenvandineseb128, also the thing about that brightness bug being krillin specific, it's really just that the latency is higher than mako for some reason13:50
kenvandineso the change notification for the value comes later13:50
kenvandinewhich updates the value in the slider and updates the backend... etc13:50
kenvandinein a loop :)13:50
seb128kenvandine, that makes sense13:50
kenvandineyup13:50
kenvandineweird that the latency is that much higher though13:50
kenvandinebut... i don't want to know what happens under the covers there :)13:50
seb128kenvandine, can you put a comment in the code pointing to the bug you just opened on the toolkit?13:51
kenvandineseb128, sure13:51
seb128kenvandine, oh, and did you change the icons while you were at it?13:51
seb128kenvandine, thanks13:51
kenvandineseb128, no... what was it about the icons?13:53
kenvandineoh...13:53
kenvandinei see now :)13:54
mterrykenvandine, so what's the best way to workaround this upower thing?  (just fixed my device from accidentally installing 012 silo)13:55
kenvandineseb128, actually... i don't know, what about the icons?13:55
pittimterry: what's the "upower thing'?13:56
kenvandinethe depends13:56
kenvandinesettings in silo 14 can't be installed because of upower13:56
kenvandine ubuntu-system-settings : Depends: libupower-glib3 (>= 0.99.0) but it is not installable13:56
pittithe upower transition of course didn't land in RTM or utopic, just in vivid13:56
kenvandineyeah, vivid13:56
pittiit is in -proposed13:56
mterrypitti, ah ok, will enable13:57
kenvandinemterry, so i guess enable proposed13:57
pittikenvandine, mterry: but NB that it is likely to break13:57
pittihttps://code.launchpad.net/~laney/ubuntu-system-settings/upower0.99/+merge/230988 needs to be applied to actually work with upower 0.9913:57
pittithe current trunk shouldn't even build against 0.9913:57
kenvandinepitti, that's in the silop13:57
kenvandinesilo13:57
pittikenvandine: ah right, good13:57
kenvandinebecause it ftbfs :)13:57
pittikenvandine: so that's the one I'm waiting on then :)13:57
mterrypitti, we're waiting on yours!  :)13:58
kenvandinehaha13:58
kenvandinewell we better hurry and test this13:58
pittiI desperately need to get in laney's system-settings and my upower MP to finish the transition13:58
kenvandineit's a pile of branches13:58
pittibut I can't land and test them sepearately as they conflict with already existing silos13:58
jgdxseb128, you see the mp for your titles tweak branch?13:58
pittiwe silo'ed ourselves into total blockage :/13:58
pittikenvandine: FTBFS?13:59
kenvandinesettings wouldn't build in the silo for vivid13:59
kenvandinewithout laney's patch13:59
pittikenvandine: right, but I thought it's included in that landing?14:01
seb128jgdx, yes, sorry I just have too much to do with distro work to keep up with settings atm14:01
kenvandinepitti, it is, i added it after it ftbfs14:01
kenvandineit builds now14:01
pittiah14:02
pittikenvandine: ok, so landing this is appreciated indeed14:02
seb128kenvandine, icons, bug 128946514:02
ubot5bug 1289465 in ubuntu-system-settings (Ubuntu) "Brightness icons are suboptimal" [Low,Confirmed] https://launchpad.net/bugs/128946514:02
jgdxseb128, ah – sorry, let me know if there's anything I can do with that if you don't have the time.14:02
seb128jgdx, well, ken has been reviewing my changes, once those are accepted I guess one of us can get to review the ones you added on top of that14:03
kenvandineseb128, i see14:03
kenvandinethat should change in the indicator too then14:03
seb128kenvandine, oh, they used the same as we did?14:04
seb128seems so, indeed14:04
kenvandinewe used the same they did :)14:04
seb128no14:04
seb128I did the battery panel and there was no slider in indicators at the time14:05
seb128then the slider got moved14:05
kenvandineit was there, then removed, and added again :)14:05
seb128well, when I added the icons I didn't look to the indicator iirc14:05
kenvandinei did something with that and copied it from the indicator14:05
kenvandinei think we had more than one, and i consolidated them14:06
kenvandineanyway14:06
kenvandinei can change it, but we should add an indicator task too14:06
seb128k14:07
seb128so maybe not in the same landing14:07
kenvandinemterry, can you propose branches against the rtm branch as well?  lp:ubuntu-system-settings/rtm-14.0914:07
kenvandineinstead of waiting for all this to land and merge then cherry pick14:07
seb128or maybe we can get them out of sync for a bit, fixing one and after the other one14:07
kenvandineyeah14:07
kenvandinei'll add it to my branch now14:07
kenvandineit makes sense, then we can lean on charles or someone :)14:07
seb128thanks14:08
seb128ok, I'm out for some exercice14:08
seb128back in one hour14:08
popeyogra_: is there any possible way I can run things as root on my device? I want to do something automated.14:09
=== alan_g is now known as alan_g|lunch
mterrykenvandine, didn't I say I was going to do that yesterday?  And never did?14:10
ogra_popey, adb shell "echo 1234 | sudo -S ls"14:10
kenvandinemterry, yes14:10
kenvandinei was being nice :)14:10
mterrykenvandine, cool14:10
popeyogra_: super14:11
popeythanks14:11
mterrykenvandine, https://code.launchpad.net/~mterry/ubuntu-system-settings/shutdown-dialog-in-wizard-rtm/+merge/240272 and https://code.launchpad.net/~mterry/ubuntu-system-settings/passphrase-continue-rtm/+merge/24027114:21
mterrykenvandine, though only the second is marked TOPBLOCKER14:22
kenvandineyeah, ok14:22
kenvandinethanks14:22
* mterry goes back to testing silo 1414:23
mterrykenvandine, wizard pieces of 14 seem ok, but that's just me verifying my own changes so maybe you should look at that too, and I'll look at the settings side of the silo14:28
kenvandinemterry, thanks, i tested the wizard bits too seem good14:39
kenvandinejgdx, it doesn't look like bug 1376763 is fixed14:39
ubot5bug 1376763 in ubuntu-system-settings (Ubuntu) "Dialog doesn't take the contents size into consideration" [Undecided,In progress] https://launchpad.net/bugs/137676314:39
kenvandinethe dialog still doesn't scroll14:39
jgdxawe_, got a min? Seems you say in bug 1234491 that forcing manual registration mode is not possible by calling registeroperator on an operator.14:39
ubot5bug 1234491 in ofono (Ubuntu) "Random ofono crash in network-registration" [Undecided,Fix released] https://launchpad.net/bugs/123449114:39
jgdxkenvandine, I can't see what version of the sdk that landed in.14:40
kenvandinejgdx, switching to landscape doesn't make the dialog scroll :/14:40
kenvandineme either14:40
kenvandinekalikiana, what version of the uitk did the dialog fix land in?14:41
jgdxkenvandine, are you testing a silo?14:41
kenvandinejgdx, yeah, silo 14 for vivid14:41
awe_jgdx, let me take a look14:41
jgdxkenvandine, thanks14:41
jgdxawe_, thanks. If this is not possible, how can we then ever set registration mode to 'manual'?14:41
awe_jgdx, gimme a minute to switch contexts14:42
dobeyhrmm, on latest image, i can't seem to double-tap on lock screen to change the infographic being shown14:42
dobeyinstead the launcher bounces out and it just shows the slide to unlock hint14:42
jgdxawe_, sure thing14:43
kenvandinemterry, jgdx: ugh... uitk in vivid is 1.1.1279+14.10.20141007-0ubuntu114:44
kenvandineno way that includes the fix we need14:44
* kenvandine removes that from the silo14:44
jgdx:(14:44
mterrykenvandine, everything else I tested looked good (modulo cellular and bluetooth)14:45
awe_jgdx, what I said in the bug was that "manual operator selection mode" ( vs. automatic ) can only be used if the SIM has been programmed to allow it14:47
awe_jgdx, re: register being called on a particular operator, you need to be in "manual mode" first14:48
awe_if in auto-mode, you should't ever call register on a specific operator14:48
kalikianakenvandine: 1.1.1298+14.10.20141016.1-0ubuntu114:49
kenvandinekalikiana, that isn't in vivid :(14:49
jgdxawe_, am I reading this[1] wrong then perhaps? [1] https://github.com/rilmodem/ofono/blob/master/doc/network-api.txt14:49
kenvandinekalikiana, latest is 1.1.1279+14.10.20141007-0ubuntu114:49
jgdxawe_, [Mode] property will change to "manual" if the Register()method of an operator is called.14:50
kalikianakenvandine: well, vivid isn't on my phone either… chicken and egg :-)14:50
jgdxkenvandine, what did you remove from the silo?14:50
awe_ah, jgdx... I missed that14:50
kenvandinejgdx, thx dialog resize branch from kalikiana14:50
kalikianakenvandine: in other words, we actually need to start landing in vivid. we'll do that soon I think14:51
awe_that said, it's still gated on whether or not the SIM has been programmed to allow manual operator selection14:51
jgdxawe_, basically, I want to change the mode to "manual" and looking at how to do that. I'm a bit puzzled :)14:51
kenvandineit isn't in utopic either... just rtm14:51
awe_per: https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1234491/comments/414:51
jgdxkenvandine, oh14:51
ubot5Ubuntu bug 1234491 in ofono (Ubuntu) "Random ofono crash in network-registration" [Undecided,Fix released]14:51
kenvandinekalikiana, we'll hold off on this until you guys get vivid updated14:51
awe_jgdx, hmmm....[readonly]14:52
jgdxright14:52
awe_so you want to switch to manual "without selecting an operator"14:52
jgdxawe_, preferably…14:53
awe_jgdx, don't think it's possible, and it actually makes sense.  Normally users never touch this.  If the SIM is programmed to allow this, then the act of selecting a different operator forces the phone into manual selection mode ( if allowed by the SIM ).  Once this happens, there should be a control to allow the user to switch back to automatic14:57
awe_its a bit asymmetric, but should work...  does this warrant some re-design work of the page?14:58
jgdxawe_, that does make sense. Thank you.14:58
jgdxit might require some re-design, yes. Now it seems you can set selection to Manual and that it should persist.14:59
jgdxmpt, ^ could you have a look?14:59
mptMy phone doesn’t have a SIM in it right now, one moment15:07
mptjgdx, maybe this SIM is locked to a particular carrier. I can’t tell. I don’t get the “Searching for carriers…” spinner I specced, at least.15:13
jgdxmpt, I don't either – but that's because I think there is a bug in that UI. I have debs that fixes that.15:14
jgdxmpt, if your sim was auto-only, that selector would have been disabled.15:14
mptjgdx, ah, you mean “Automatically” would have been the only possible choice?15:14
mptof course15:15
jgdxmpt, reading the code, not quite. YOu would still see Manual but it's insensitive.15:15
jgdx(not up to spec, but let's ignore that for now)15:15
mptjgdx, right, that’s bug 134329115:15
ubot5bug 1343291 in ubuntu-system-settings (Ubuntu) "UI should indicate when network registration mode is auto-only" [Medium,Triaged] https://launchpad.net/bugs/134329115:15
jgdxmpt, yes15:16
jgdxmpt, still, we cannot per awe's comments set the sim carrier selection to manual. It happens when you register with an operator.15:17
mptjgdx, does that mean instead of “Automatic”/“Manual” we should have “Automatic”/“Operator 1”/“Operator 2”/“Operator 3”/…?15:18
mptso that the only way to go Manual is to choose an operator directly15:19
jgdxmpt, you would only see multiple operators as a result of a search. And search is expensive, i.e. it can kill cellular data (reading the docs right. awe_ ?).15:19
jgdxmpt, yes15:19
mptjgdx, there are two possible reasons you go into this screen: (a) to change the operator or (b) to change the APN. So the risk is that we will trigger an expensive search for operators when all you want to do is change the APN.15:20
jgdxmpt, right, but only if the design calls for operators up front.15:21
jgdxmpt, so "manual" is more like "Enter manual selection", which then becomes "Manual" when you have selected an operator.15:22
mptjgdx, form follows function. If you can’t set “Manual” without choosing an operator simultaneously, I can think of three ways to do it:15:22
mpt(1) Have a “Search for Operators…” button (eww)15:23
mpt(2) accept the cost that the phone will automatically search for operators whenever you visit this screen, even when you just want to change the APN (maybe no big deal)15:23
mpt(3) promote APN to the top-level “Cellular” screen, so that the only reason you visit the “Carrier” screen is to change the carrier (a bit logically awkward if changing carrier changes your APN settings too).15:24
mptawe_, what do you think?15:26
jgdxmpt, makes sense to me. I'd favor 1) but with different semantics. 2) is okay, but it's said that the search can take minutes. And it does, on my network at least.15:26
awe_sorry mpt, gimme a minute15:27
mptjgdx, what do you mean by “different semantics”?15:27
awe_jgdx, mpt, I favor (1)15:28
awe_or at least some explicit action that leads to a scan15:28
awe_I don't like auto-scans15:28
awe_at least in this case15:28
jgdxmpt, actually, if we change "Automatic" to be a Switch then that semantic is okay. I saw Automatic as a itemselector. /me slaps himself.15:29
abeatoauto-scans take some time so probably the button is a good idea15:29
abeatothis thing about APN editor + carrier selection confused me a lot, btw15:30
abeatohaving the 2 things together15:30
abeatoI thought manual/automatic was about whether using the APN you can edit or let the system choose it for you15:30
mptjgdx, changing it from an ItemSelector to a switch would make it marginally less obvious, but wouldn’t address the scanning issue at all15:31
abeatompt, changing the operator does *not* mean changing APN settings15:31
abeatoAPN are fixed per SIM15:31
abeatothen you can register in different operators, usually when roaming15:32
abeatoAPN settings is the same even when roaming15:32
abeatoit is about your SIM's operator, not about current network15:32
abeatoso it actually makes much more sense to keep them separated15:32
awe_+115:32
mptabeato, the “Automatically”/“Manually” list is labelled “Choose carrier:”. How did you get the idea that it was about APNs?15:33
abeatowell, don't know, it is because APN does not depend on registered network as I have just explained, probably :)15:33
awe_probably because options 2 & 3 mention APNs?15:33
mptah, so that suggests (3)15:33
abeatompt, yes15:34
mptexcellent15:34
abeatostrongly :)15:34
mptawe_’s “explicit action that leads to a scan” can then be “entering the Carrier screen”15:34
awe_works for me15:34
mpt\o/15:34
mptawe_, jgdx, so is there a bug report for this?15:37
jgdxmpt, https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/138804415:37
ubot5Ubuntu bug 1388044 in ubuntu-system-settings (Ubuntu) "[cellular] Setting carrier selection to 'Manual' does not persist" [Critical,In progress]15:37
jgdxmpt, want me to add ubuntu-ux as affected?15:40
mptjgdx, already done15:40
jgdxright15:40
dednickseb128: hi. I have a couple of branches up for mp to fix the top blocker bug https://bugs.launchpad.net/indicator-network/+bug/1336715 that will need some love from your system settings guys.15:43
dednickhttps://code.launchpad.net/~nick-dedekind/ubuntu-system-settings/lp1336715.check.sync/+merge/23949415:43
dednickrequires: https://code.launchpad.net/~nick-dedekind/ubuntu-settings-components/lp1336715.check.sync/+merge/23949115:43
ubot5Ubuntu bug 1336715 in unity8 (Ubuntu RTM) "[TOPBLOCKER] switch-items in indicators sometimes get out of sync with system-settings" [Critical,In progress]15:43
seb128dednick, what sort of work from our side?15:43
seb128kenvandine, mterry, pmcgowan: what are the rules for rtm and string changes? is that ok to do string tweaks knowing it regresses translations by invalidating the string and forcing a new cycles of translator work/langpack update?15:44
seb128olli, ^15:44
kenvandinegood question15:44
dednickseb128: merge reviews. i think i've fixed the bug15:44
seb128dednick, great, that we can do ;-)15:44
kenvandinemterry's wizard fix for the oobe did change a string that i think is directly related to fixing the bug15:45
kenvandinebecause the bug was about it not being obvious how to continue15:45
mterrykenvandine, it was not directly related15:45
kenvandineso on a passcode, it changed from 4 numbers to 4 digits only15:45
seb128kenvandine, "number" -> "digits only"15:45
mterrykenvandine, it could be pulled if needed15:45
kenvandineso it lets you know it will continue after 415:45
seb128sure it fixes confusion15:45
seb128but it has a cost15:45
kenvandineyeah15:45
pmcgowanseb128, good point, we should be very careful not to change strings anymore15:46
seb128is bq happy if the string is not translated in spanish anymore?15:46
kenvandineprobably not15:46
mterryseb128, when I wrote that branch we still had a few weeks left  ;)15:46
seb128mterry, well, it got acked today15:46
seb128maybe it should not?15:46
mterryseb128, kenvandine: in the RTM version of the branch, I'll drop it15:46
seb128thanks15:46
kenvandinethanks15:46
kenvandinethat helps15:47
pmcgowangood15:47
pmcgowanseb128, I will reiterate your point as well15:47
kenvandinewe approved the branch like last monday :)15:47
seb128pmcgowan, thanks15:47
kenvandinewhich wasn't much better...15:47
seb128pmcgowan, for the record the change we were discussing is https://code.launchpad.net/~mterry/ubuntu-system-settings/passphrase-continue-rtm/+merge/24027115:47
seb128and it changes "4 numbers" -> "4 digits only" on the password screen of the wizard15:48
pmcgowanyep15:48
mterryseb128, kenvandine: branch updated15:48
seb128mterry, thanks15:48
kenvandinemterry, thanks15:48
kenvandinei'll rebuild15:48
mterrypmcgowan, I tried to find out earlier in the cycle when string freeze was -- I never got an answer or saw a date15:49
mterrypmcgowan, how are we even translating these?  Community only or through a vendor?15:49
pmcgowanmterry, there wasn't one officially, but now we restrict landings15:49
pmcgowancommunity15:50
pmcgowanthey are diligently keeping pace15:50
kenvandinepitti, i just published ubuntu-system-settings to vivid-proposed, built against the new upower16:00
mptjgdx, awe_, abeato: I updated the bug report with a basic design and a question16:07
jgdxmpt, thanks, that was super fast.16:09
awe_thanks mpt; I'm working on a top-blocker atm, so will comment when I have a chance16:13
pittikenvandine: yay! so just upower left (which is blocked by another landing by bfiller)16:19
bfillerpitti: which landing is blocking you?16:20
pittibfiller: I need to land https://code.launchpad.net/~pitti/powerd/upower0.99/+merge/240141 to finish the upower transition in vivid-proposed16:21
pittiand there's a silo for 3 days which also tries to land upower16:21
pittianyway, need to run16:21
bfillerlooking16:21
jgdxmpt, a scan finishes.16:22
kenvandinebfiller, oh silo 2416:22
bfillerkenvandine: I can land that16:24
bfillerit already landed in rtm last week16:24
kenvandinebfiller, awesome16:24
kenvandinepitti, we published the powerd silo16:31
=== dandrader is now known as dandrader|lunch
loolslangasek: hey, quick Q: bunch of system-image "devel" channels are pointing at utopic; is that normal? (ubuntu-device-flash --list-channels|grep devel|grep utopic)16:38
slangaseklool: isn't this the same question from yesterday? :-)  we need to work with the custom tarball owners in each case before updating them16:39
loolslangasek: also, is the s-i server config kept under revision control? seems not, makes me worry about editing it (wanted to update the here channel)16:39
loolslangasek: since we copied utopic binaries to vivid, I dont understand why we didn't update channels at the same time?16:40
loolaliases I mean16:40
ogra_lool, i think whats on nusakan is actually a bzr tree16:40
ogra_production tree16:40
loologra_: the code is, but etc/config seems not part of it16:40
slangaseklool: because we don't own these channels, so it needs to be discussed with the channel owners before we make changes.  I agree with you that this is the right thing to do16:40
ogra_not sure if thats mirrored from trunk or so16:40
ogra_oh16:40
kenvandinemterry, i guess i should have included your other wizard branch in that landing, the location one16:42
seb128kenvandine, do another landing ;-)16:42
kenvandineneed to merge this one first :)16:43
kenvandineso depends on when the upower transition finishes16:43
seb128kenvandine, why?16:43
kenvandineoh no...16:43
seb128just click the "ignore packages not in dest"16:43
seb128to merge it16:43
kenvandinenow powerd is dep wait for the arches that weren't built in the rtm silo16:43
seb128then do another one16:43
kenvandineseb128, i could :)16:44
kenvandineMissing build dependencies: libubuntu-platform-hardware-api-dev16:44
seb128kenvandine, that's normal16:45
seb128kenvandine, https://launchpad.net/ubuntu/+source/powerd/0.16+14.10.20141007-0ubuntu116:45
seb128that's not new16:45
kenvandinewhew16:45
seb128britney compare to previous situation16:45
seb128so that's not an issue16:45
kenvandineso i guess it won't care :)16:45
kenvandinegood16:45
loolslangasek: I've updated the .buildid files for the HERE custom tarballs for vivid for krillin and mako, and have prepared an updated s-i config file under s-i.u.c/etc/config-here-update where I've renamed the channel; would you mind taking a look? should we keep the utopic channel or not?16:46
kenvandineseb128, can you ack my brightness_slider branch?16:48
slangaseklool: er, my understanding from stgraber is that the config isn't meant to be edited by hand, but with si-shell16:49
seb128kenvandine, done16:50
kenvandinethx16:50
slangasekstgraber: ^^ lool is looking to have devel-proposed-customized-here moved to vivid; what's the right way to do this?  (and documentation, please :)16:50
kenvandineseb128, did you see jgdx proposed a branch against your titles-uis-tweak branch?16:51
kenvandinejgdx, can you resubmit that against trunk?16:51
kenvandinewith a prereq on seb128's branch16:51
seb128kenvandine, yeah, I couldn't test it though because you need a sim for cellular and mine was not working while traveling16:51
seb128not working on desktop either16:51
seb128but it looks fine on principle ;-)16:52
kenvandinei can test it, just lets get it resbumitted with new debs16:52
Z3Hi, what's the current status of "dock" ? (connect an ubuntu phone to a monitor, keyboard and mouse)16:52
Z3is there some web where I can check it?16:53
loolslangasek: didn't know about si-shell16:55
=== dandrader|lunch is now known as dandrader
stgraberslangasek: right way is to create vivid-proposed-customized-here through si-shell, add all the relevant devices to the channel, then add the channel in etc/config, run bin/import-images to get images in there and then change the devel-proposed-customized-here alias to point to it (through si-shell)17:48
slangasekstgraber: well, that does seem rather tedious, compared with editing the config directly ;) what's the advantage of doing it this way, vs. cut-n-paste in the config?17:50
stgraberslangasek: if you only edit etc/config then bin/import-images will fail saying the channel doesn't exist17:51
slangasekis there a way to create a new channel as a copy of an existing one, and then twiddling the config?17:52
stgraberyou'd have to edit etc/config and www/full/channels.json, then mkdir the right paths, manually create the index.json and then manually sign them all :)17:52
stgraberso far I've made sure etc/config is never modified by the python code and I'd like for it to stay that way, so for that part, you'd have to keep copy/pasting. For the si-shell part, we could have a function that does that, yes, though you can do the same with two lines of python so not sure it's worth it :)17:54
slangasekdoesn't seem like only two lines to me?17:55
jgdxseb128, you should try phonesim :)17:55
jgdxkenvandine, ack17:55
stgraberpub.create_channel("ubuntu-touch/vivid-proposed-customized-here")17:56
stgraber[pub.create_device("ubuntu-touch/vivid-proposed-customized-here", device for device in pub.list_channels()['ubuntu-touch/utopic-proposed-customized-here']['devices'].keys()]17:56
stgraberthat sure looks like two lines to me :)17:56
slangasekah, but one of those two lines is a nightmare ;)17:56
slangasekok17:56
stgraberoh, and missing ) in the second one, but you get the idea :)17:56
stgraberok, so 3 lines if we want it readable by someone who's not used to abusing list comprehensions then :)17:57
slangasekit's not the syntax that's bothersome, it's the deep knowledge of the data structures required to write the line in the first place17:58
ogra_you mean you dont speak SQL in your sleep ?17:59
stgraberslangasek: yeah I was a bit disappointed that I didn't write a list_devices(channel_name) function. I should add that...17:59
slangaseklool, stgraber: ok, I've run the si-shell side of it, and AIUI the manual changes to etc/config that lool prepared are still required - and LGTM.  lool, do you want to go ahead and deploy that etc/config change?18:01
stgraber>>> pub.list_devices("ubuntu-touch/utopic-proposed-customized-here")18:05
stgraber[u'mako', u'krillin']18:05
stgraberslangasek: ^ we now have that in production18:05
slangasekstgraber: cheers :)18:05
stgraberslangasek: hmm, so looking at that new config, I think I'd prefer copy/pasting to just s/utopic/vivid/18:07
stgraberunless we say that we'll never ever produce a new utopic image in which case all the utopic ones ought to go away too18:07
stgraber(and then also all the saucy and trusty ones for good measure :))18:07
slangasekstgraber: well yes, that's exactly what I've said; I've said we shouldn't have channels named after the Ubuntu release codenames at all because this isn't our channel model :)18:08
ogra_++18:09
=== alan_g|lunch is now known as alan_g|EOW
sergiusensand it would certainly stop confusing news outlets18:21
loolslangasek: deployed the change18:28
slangaseklool: ok18:28
loollet's see what happens in 1mn18:28
loolor 2mn rather18:28
loolstgraber: am I then to pub.remove_channel('ubuntu-touch/utopic-proposed-customized-here')?18:31
lool(after sending some email to announce it or something)18:31
loolI need to update the alias too18:31
ogra_just dont break the currently building rtm image :)18:32
ogra_(thats ouor milestone candidate)18:32
loolstgraber: and pub.change_channel_alias('ubuntu-touch/devel-proposed-customized-here', 'ubuntu-touch/vivid-proposed-customized-here')18:34
stgraberlool: so I think I'd recommend not doing the remove_channel, just change the alias18:35
stgraberlool: as was hinted before, we need to have a proper discussion on what to do with the series and devel channels and once we sort it out, we should apply the result to all channels18:36
stgraberonly removing a couple of channels but keeping the rest would just make things even more confusing than they are now18:36
loolstgraber: so I should wait for that discussion before updating the alias?18:36
slangasekI think it's fine to update the alias18:37
stgraberlool: no, changing the alias is fine, just don't remove the old channel18:37
loolTrue it is18:38
loollet's see if I get a notification18:38
=== _salem is now known as salem_
loolstgraber, slangasek: for the record, I got a push notification after the channel switch and got an update (300 MiB, so likely a full ubuntu update) which booted fine19:25
loolAFAICT19:25
slangaseklool: sounds like what we'd expect - thanks for confirming20:53
pngo_Just want to inform that I noticed that rtm channel image uses more power that old (devel) images. I was able to listen to the music for 6-8 hrs, now I can listen only for 4-6 hrs.20:56
pngo_Is there a way to let app to run while phone display if off? I would like to use cmus and all works but when I turn off display, music stops playing.21:05
ogra_pngo_, well, the imagesuse significantly less power for me ... music playing uses more though21:06
ogra_if you dont play music it should last way longer in rtm nowadays21:06
ogra_pngo_, file a bug against media-hub21:06
pngo_ogra_, I'm on that channel for 4 days. I will check that.21:08
stgraberslangasek: hmm, so whatever bug we had with reverts last time around, it's gone. I just played on a test server reverting a bunch of times and the resulting deltas and indices look correct21:14
slangasekah, well then :)21:14
ogra_stgraber, the bug we had last time was me :P21:14
ogra_i copied an old image on top of the stack21:15
stgraberogra_: which is pretty much the definition of a revert :)21:15
ogra_oh, so thats supposed to actually be right ?21:15
ogra_i thought i did it wrong the last time21:15
stgraberwhat I tested here is a server with two images, id 1 and 2. I then copied id 1 as id 3, which worked as expected and then again id 2 as id 4 which was instant due to it being identical from a delta point of view as 1 to 221:16
stgraberthe only problem and I guess we need a way to detect that somehow is that import-images will then happily re-import the broken image again :)21:16
ogra_ah, yeah21:17
stgraberI'll need to think about it, because it's not trivial to figure out without breaking other things...21:18
stgraberwell, I can it should be safe to say, that if a file's hash is identical to that of image -2 but different from that of image -1, then we should fail immediately21:18
stgraberthough I can still think of cases where that'd run into false positives21:19
loolHmm was Telegram removed from app store?21:24
=== salem_ is now known as _salem
pmcgowanlool, dont think it was ever in there was it?21:29
ogra_theer si a telegram webapp21:30
ogra_*there is21:30
loolpmcgowan: ah my bad, webapp21:31
loolDTelegram21:31
dobeylool: i see both dtelegram, and webogram, in the store21:42
dobeyanyway, time to go here. later21:43
taiebot\o/ just installed vivid successfully. Really want to see the UT landing from the front seat.  :-)22:51
=== mibofra is now known as zz_mibofra
=== _salem is now known as salem_
=== salem_ is now known as _salem

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