/srv/irclogs.ubuntu.com/2016/05/11/#ubuntu-desktop.txt

hikikoHi04:55
pittiGood morning05:44
pittiseb128, Laney: I simply ran out of time on Friday when I reviewed the SRU queue :)05:45
seb128good morning pitti!05:45
pittiGood morning05:45
seb128& desktopers05:45
seb128how are you?05:45
pittiquite fine, thanks! had a swap day yesterday, and met StevenK05:45
pittiwe did a tour through Augsburg, and went to Munich in the afternoon to pick up my wife from work, see the English Garden, and have Bavarian dinner05:46
sarnoldschnitzel? pig knuckles? thuriginer klosse? :)05:48
seb128ah, nice!05:48
sarnoldwelcome back pitti :) I hope travel was alright?05:48
seb128what is StevenK doing around there? holidays?05:48
pittisarnold: yes, uneventful and on time indeed, thanks! and I mostly figured out now how to deal with jetlag05:49
sarnoldpitti: nice all around :)05:49
pittiseb128: yeah, his mother, sister, and him do some kind of Europe tour right now05:49
seb128nice05:49
pittiseb128: and they stay in Munich for a week05:49
pittisarnold: absolutely; it was a nice sprint too05:49
seb128you still have summer there btw?05:49
pittiseb128: not really, it has been grey and a bit rainy since yesterday :/05:52
seb128same here :-/05:53
pittiI hope it gets better for the weekend, we want to do a rafting tour on Sunday05:53
desrtgood morning desktop!06:27
pittiheeey desrt!06:31
desrthello pitti06:33
desrtanother beautiful day here :)06:33
seb128hey desrt! how are you?06:42
desrtgood... doing some morning cleaning :)06:42
* desrt is switching from debfoster to apt-mark06:42
seb128flexiondotorg, bug #1580382 seems like one for you ("topmenu-gtk" issue)06:42
ubot5bug 1580382 in topmenu-gtk (Ubuntu) "/usr/bin/yelp:11:_gdk_window_has_impl:gdk_x11_window_get_xid:topmenu_monitor_set_cur_server:handle_cur_server_event:gdk_event_apply_filters" [High,New] https://launchpad.net/bugs/158038206:42
seb128flexiondotorg, I'm just pointing it out in case, unsure if that watch that source but all the reports seem to come from your flavor06:43
desrtdesrt@humber:~$ apt-mark showmanual | wc -l06:48
desrt4606:48
desrtshiny06:49
seb128happyaron, hey, could you get a SRU/update ready for bug #1574347 (on top of the current one so we can upload once the first one goes to -updates)06:51
ubot5bug 1574347 in network-manager (Ubuntu) "WiFi network list disappears from network manager applet" [High,Confirmed] https://launchpad.net/bugs/157434706:51
happyaronseb128: work on that today07:03
seb128happyaron, thanks!07:03
happyaronseb128: have time to sponsor -openconnect? https://launchpad.net/~happyaron/+archive/ubuntu/ppa/+sourcepub/6404038/+listing-archive-extra07:29
Laneymorning!08:03
willcookemorning Laney08:05
Laneywhat ho08:06
willcooke'tis misty today, almost foggy08:06
Laneypretty gruesome here08:08
willcookeRained all day yesterday, but still warm.  Good for the plants thogh08:09
willcookethough08:09
willcookeThe allotment will need some weeding I expect :)08:09
Laneyhoe hoe hoe08:10
willcooke\o/08:10
Laneythe other day I made a contraption to water underneath the cloches08:11
Laneywonder if that's working08:11
seb128happyaron, yes, on my list for this morning08:11
seb128hey Laney willcooke08:11
Laneyyo seb12808:11
Laneywhat up gangsta08:11
seb128I started fresh and early today, was there for pitti's "good morning"!08:12
Laneythat's exciting08:12
seb128and just back from getting some coffee08:12
pittihey Laney, good morning!08:12
seb128which was welcome after email catchups08:12
seb128what about you?08:12
Laneyhi pitti!08:18
=== Drac0 is now known as Guest7296
LaneyI'm good thanks08:19
Laneymanaged to dodge the rain yesterday while on the bike08:19
seb128:-)08:20
seb128pitti, remember that usd/upower segfault?08:52
pittiseb128: I do, yes; on lid closing?08:52
seb128yes08:52
seb128that's a simple code reproducer08:52
seb128UpClient *client = NULL;08:52
seb128client = up_client_new ();08:52
seb128printf("lid is closed? %d\n", up_client_get_lid_is_closed (client));08:52
seb128do that with upower down08:52
seb128-> segfault08:52
seb128I moved the upowerd binary here for testing08:52
seb128but some of the reports have upower taking up to a minute to start08:52
seb128which I guess is some lower stack issues08:53
pittiseb128: ah, so this crash comes even before the point when it would crash on a nonexisting lid object? or does it somehow handle that without crashing then?08:54
pittiso I guess calling up_client_something() lazily does the dbus connection, it's not up_client_new()? or does that return NULL?08:54
pitti(as client != NULL in the stack trace that I saw)08:54
seb128the stacktrace might be a different issue08:54
seb128I get a segfault with the code I just copied08:55
seb128up_client_new() hang for a while08:55
seb128then give a dbus timeout warning08:55
seb128and code goes on08:55
seb128and up_client_get_lid_is_closed() segfaults08:55
pittiseb128: what's the value of client? some object or NULL?08:55
seb128let me check the value, I think it was not null08:55
pittithat'd be sad indeed08:56
pittiif up_client_new() does block and shows a timeout, then it already does the connection and ought to return NULL08:56
pittiif not, we surely need to fix that08:56
pittibut I have a feeling that's not the whole story with the lid close crash yet08:56
seb128no, it's not08:57
seb128#0  0xb7f797ed in up_exported_daemon_get_lid_is_closed (object=0x0)08:57
seb128    at up-daemon-generated.c:74708:57
seb128#1  0xb7f7417d in up_client_get_lid_is_closed (client=0x8053f08 [UpClient])08:57
seb128    at up-client.c:20808:57
seb128#2  0x080485f6 in main (argc=1, argv=0xbfffef34) at upower.c:808:57
seb128so client != NULL08:57
pittieww08:57
seb128so up_client_new() returns a non null value08:57
pittiseb128: do you mind filing a bug about that on fd.o? will look at it ASAP08:58
seb128doing08:58
seb128thanks08:58
pittiso with that, the lid was either a red herring, and those reporters have a slow-starting upower08:58
seb128right08:58
seb128which makes more sense08:58
pittior upower does start, and the lib later crashes on the nonexisting lid object08:58
seb128because u-s-d code didn't change since trusty08:58
seb128there were a few comments on the bug from people who say that upower is slow to start08:59
pittias it doesn't check if a lid is present08:59
pittiseb128: interesting; so ideally it's just that then :)08:59
seb128yeah08:59
pittilet's see what they say once we have a -proposed package08:59
seb128pitti, https://bugs.freedesktop.org/show_bug.cgi?id=9535009:07
ubot5Freedesktop bug 95350 in general "up_client_new returns an invalid object when upowerd isn't started" [Normal,New]09:07
pittiseb128: merci !09:08
seb128pitti, let me know if you need more debug info, I'm locally testing with a systemctl stop upower/moving the binary away to avoid dbus activation, then using the test code09:08
seb128de rien !09:08
seb128pitti, some of the comments state e.G09:12
seb128"You'll know if the system is hit with this as it'll be much slower to boot and the kernel will spew errors of the type:09:12
seb128kernel: usb 2-1.1: device descriptor read/64, error -11009:12
seb128kernel: usb 2-1-port1: unable to enumerate USB device"09:12
seb128so I guess part of those are also kernel issues09:12
seb128those users say boot is slow09:12
seb128but I guess that should be reported separately as a kernel bug09:12
pittiack09:12
=== greyback is now known as greyback|away
Laneypitti: seb128: do you want to reschedule that meeting about de-upstartification?10:08
pittiLaney: yeah, let's; I still don't have a good idea about how the user session is plumbed together these days, so let's at least exchange some braindump and see how to go on10:09
pittiLaney, seb128, tedg: would tomorrow afternoon (EU)/morning (US) work for you?10:10
pittixnox: ^10:10
pittiwe have the foundations meeting at 1500 UTC, before that would be good10:11
xnoxthat.10:11
Laneypitti: I heard that systemd --user isn't really that ready yet though, so it sounds like this either means going back to gnome-session / xdg autostart /or/ taking on the systemd work10:11
Laneydesrt: ^^^10:11
desrttalking about dropping upstart in the user session?10:11
Laneyyeah10:11
pittiLaney: it indeed doesn't replace upstart --session directly, it's aiming for services that apply to all running user sessions indeed10:12
xnoxLaney, so, there are github repositories with user session units and systemd generators for xdg autostart things10:12
desrtsystemd --user _is_ a reality10:12
desrtbut it doesn't do all of the things that we might expect of it10:12
pittithere's no systemd user instance per session indeed10:12
xnoxand it does work, however lenart didn't take any units like that upstream.10:12
desrtdebian is running systemd --user already10:12
* pitti has dbus-user-session installed for two weeks now, finding a few small issues but it by and large works10:12
xnoxso do we.10:12
Laneywell anyway, I don't know that much about it10:12
desrtbut as a gnome-session replacement?  not even close...10:12
xnoxbut it's per user instance, not per user-session.10:12
pittisuch as https://bugzilla.gnome.org/show_bug.cgi?id=75911510:12
ubot5Gnome bug 759115 in general "Add systemd user .service file" [Normal,Resolved: fixed]10:12
pittidesrt: agreed10:12
Laneyso if someone wants to exchange their information to me/us that would be helpful10:13
desrti think we should do what debian is doing10:13
pittidesrt: AFAIK they just use gnome-session and dbus activation10:13
pittibut we moved from that to upstart --user10:13
pittiand I'd like to understand the advantages that we got from that, and whether they justify maintaining upstart further10:13
pittias nobody is doing that ^ right now10:14
desrtis there some benefit to having processes started from upstart instead of dbus-daemon?10:14
pitti(and don't look at me, maintaining one init system / ubuntu boot is enough for one person :) )10:14
desrtthe answer to this is surely "yes, but they're pretty minimal."10:14
pittiI see no benefit for real services, as they just get auto-activated10:14
pittiit might be for things like indicators10:14
pittias with upstart user you can set them to auto-restart after crashes10:14
desrtand this is where you were discussing xdg-autostart...10:14
pittiand IIRC xdg-autostart/gnome-session don't have an autorestart thingy10:15
pittidesrt: do you have time tomorrow around 14:00 UTC to join a hangout?10:15
Laneyand then what of phone?10:16
desrti will probably be on ICE10:16
pittiLaney: oh, no gnome-session there?10:16
desrtlet me check10:16
Laneynope10:16
pittiLaney: although on a phone we could actually use systemd --user, as realistically there's only ever one session anyway?10:16
LaneyI should have said unity8/mir10:17
desrtpitti: in fact, i'll be inside of a plane10:17
pittiis this afternoon any better?10:18
desrtyes.  it would be fine.10:18
pittiseb128, xnox, Laney: ^ what about you this afternoon?10:19
Laneysure10:20
Laneyyou might want stgraber or slangasek for a discussion of the initial motivation10:20
pittiok, I'll invite them10:21
xnoxor jodh10:21
Laneyheh10:21
pittiI sent invites, please feel free to move the thing around10:24
desrtpitti: 3pm?10:25
Laneyit says 3pm here too10:26
pittidesrt: too earl?10:26
Laneymaybe set a timezone and it'll fix it10:26
Laneywait10:26
pittiit was an initial approxmiation of "afternoon/East coast morning"10:26
LaneyI think my calendar is still on prague time10:26
* Laney looks10:26
pittiI meant it to be at 15:00 CEST/13:00 UCT10:26
pittibut later WFM too10:26
Laneyya10:27
Laneymy bad10:27
LaneyI did wonder when a meeting earlier this week happened an hour before I thought it would10:27
Laneyshould have been suspicious then :)10:27
pittitime zones FTW10:27
desrtsomehow timezones always manage to be completely screwed for everything10:30
desrtemail and the web should have a widget that allow displaying a unix-epoch-based timestamp in whatever timezone the rendering machine is currently in10:30
desrt(without allowing arbitrary javascript from email to run in my browser)10:31
pittinot sure how many people would be *less* confused by "let's meet at 1462962700"10:31
desrtyou wouldn't actually see that....10:32
Laneythe tech ctte does this:10:33
LaneySubject: Next Debian CTTE Meeting is at date -d 'Tue May 31 17:00:00 UTC 2016'10:33
pittihah, nice10:33
desrtya.. i basically want a form of this that is capable of rendering itself10:33
pittishell injection in email Subject: :)10:34
willcookeLaney,seb128  "standing excemption for snappy etc" trello card is marked as done - is it really done?11:43
seb128ah, thanks for the reminder11:44
=== greyback|away is now known as greyback
seb128I commented about that yesterday but I think after Laney left11:44
seb128then I closed IRC so didn't see potential replies11:44
seb128desrt, pitti, Laney, systemd-session meeting wfm11:45
Laneyisn't it about feature freeze?11:45
seb128Laney, it's about SRU exception11:45
seb128like being able to SRU new versions11:45
Laneyok then move it back11:45
seb128even if they include features and such11:45
seb128k, thanks11:45
seb128willcooke, ^11:45
LaneyI've not heard those things called standing exemptions before11:45
Laneythat is a term used for feature freeze exceptions11:45
willcooketomato, tomato.  What should it be called?11:46
willcookeor maybe its not even a thing?11:46
seb128dunno if there is an official namez11:47
seb128well11:47
seb128https://wiki.ubuntu.com/StableReleaseUpdates#Documentation_for_Special_Cases11:47
seb128so "SRU special case"11:47
seb128?11:47
Laneyor just put a description in11:47
Laneyit doesn't matter to me11:47
willcookeoki11:48
seb128Laney, does snappy about a standing FFe btw?11:49
seb128just curious now, since you put it to done :-)11:49
seb128does snappy have*11:49
seb128I guess it's more a by-cycle situation though11:49
Laneyno11:50
Laneythere is no feature freeze11:50
seb128it's seeded in Ubuntu so for sure it's subject to that feature freeze?11:50
Laneyeverything is subject to feature freeze when there is one11:50
seb128except things that have a ffe :p11:50
Laneybut a previous cycle's exception would no longer apply11:50
seb128like touch packages have(had?)11:50
Laneythey ask for that every cycle11:51
Laneybut haven't actually for the last two11:51
seb128k, makes sense I guess11:51
Laneywell they asked but didn't get them11:51
Laneyand it was in fact ok11:51
seb128yeah, they cheat by using their overlay :p11:51
Laneymostly by ignoring the development release11:51
Laneyor violating feature freeze11:51
* Laney doesn't read the changes list11:52
Laneybest not to know11:52
seb128yeah :-/11:52
=== hikiko is now known as hikiko|ln
=== maclin1 is now known as maclin
Laneytedg: seb128: pitti: xnox: desrt: mind if we make it 13:30 UTC?12:20
* Laney would ideally be AFK at 13:0012:20
pittiLaney: fine for me, just move it in the calendar?12:20
desrtLaney: so, in 70 minutes?12:21
Laneyack12:21
Laney70 minutes indeed, thanks - moved12:22
Laneybiab12:25
Laneytelegram me if someone can't make the new time12:25
seb128Laney, wfm12:28
xnoxLaney, i thought we are meeting at 14:00 british summer time, no?12:50
xnoxoh 14:30 summer time now.12:50
davmor2xnox: now you put this in my head https://www.youtube.com/watch?v=yG0oBPtyNb012:59
=== hikiko|ln is now known as hikiko
xnoxdavmor2, whoop whoop =)13:01
* xnox swings his hips13:01
andyrockmorning all13:27
seb128hey andyrock! how are you?13:28
pittiseb128, Laney, xnox: ready for session in a minute?13:28
seb128pitti, yes13:29
desrtpitti: desrt@desrt.ca plz13:29
Laneypitti: coming13:30
pittidesrt: invite sent13:30
tjaaltonshouldn't unity pick up newly installed apps automatically?13:31
tjaaltoni mean the search thing13:31
willcooketjaalton, https://bugs.launchpad.net/ubuntu/+source/unity/+bug/150674413:32
ubot5Ubuntu bug 1506744 in unity (Ubuntu) "Newly installed applications do not show in the dash" [High,Triaged]13:32
tjaaltonahah .)13:32
tjaalton:)13:32
seb128what willcooke said13:32
desrtpitti: not seeing it :(13:32
willcooke:)13:32
Laneyoh hangouts13:33
desrt"Trying to join the call..."13:34
* desrt sighs13:35
LaneyI think pitti has to approve it or something13:35
* Laney switched to canonical account and got straight in13:35
pittiI /msged him hte URL13:36
Laneyit looked like the hangout owner has to approve external people or something13:36
andyrockhey seb128 fine just finished swedish class14:01
seb128andyrock, hey :-)14:03
pittixnox: ideally we could make these services hang off session-c2.scope (the session specific logind "master unit"), then the lifecycle on logout would happen automatically14:24
pittixnox: and I think we have to, as you can't guarantee that you run shutdown code in the session itself (kill -9/crash/etc.)14:24
xnoxhm.14:26
xnoxpitti, but session-c2.scope is system, not user one....14:26
xnoxor can user units be part of system scope?14:26
xnoxi guess they must?!14:26
Laneylook at systemd-cgls14:27
pittixnox: not with the "classical" /user session ones14:27
pittixnox: but the logind scope is the one that is supposed to group all the processes that actually run in your session, so the lifetime of that is exactly what we want14:27
pittithis is where it gets fuzzy and where I'd like to confer with the dbus and systemd upstream people14:28
xnoxLaney, pitti - e.g. /lib/systemd/systemd --user is not in a session-c2.scope, it's user-wide.14:28
Laneyhow do you get systemd to put things in that scope?14:28
Laneyindeed14:28
pittithere's another option, though14:28
xnoxuse system units, templates per-user?!14:28
pittiwe can run the units as part of user@1000.service, and bind them to session*.scope14:28
pittiso that they go down with the session14:29
* pitti needs to test that14:29
xnoxwill those have DISPLAY?14:29
xnoxor does display need to be fetched from the session?14:29
pittixnox: user units do, yes14:29
pittiI don't want to use system units for user session stuff, that'd be conceptually wrong and also dangerous14:29
pittiand you can't make them start as the correct user14:30
seb128hum, does somebody what part we were cleaning with snapcraft to avoid redownloading the debs?14:44
seb128popey, ^14:45
seb128like to rebuild after the wrapper changes14:45
seb128ha14:47
seb128"build"14:47
Laneydesrt / larsu / darkxst: do you recommend fastmail?14:47
desrtyes-ish14:47
* Laney is de-neckbearding14:47
desrtit's not awesome, but i don't know of anything better14:48
larsuyes, it's pretty good14:48
seb128arg, no -:/ that cleaned the deb cache as well14:48
larsugreg was saying that they rate limit him sometimes14:49
seb128or not, it's only redownloading the index14:49
larsubut I assume you don't send that much email ;)14:49
seb128larsu, "him"?14:49
seb128larsu, oh, and hey :-)14:49
larsuseb128: greg14:49
larsuhi seb128!14:49
* desrt guesses that greg uses fastmail as a smarthost for git patch mailings14:49
larsuya14:50
larsu500 at a time :)14:50
* Laney wondered which greg but gets it now14:50
desrtfew people have a legitimate need to send 500 emails in a go :)14:50
seb128lol, sorry I did skip over the "grep" at the stat of the line for some reason :p14:50
seb128oh, no14:50
seb128I read that as "grep" :p14:50
seb128though you were grepping logs14:50
Laneygrep greg log.txt14:50
seb128:-)14:50
desrti'm naming my kid grep14:51
larsuHahhahahah14:51
desrtthis is not going to cause any confusion or misspelling at all14:51
Laneyalright, migrating off this shit is my weekend project14:52
Laneylaney@cripps> wc -l .procmailrc                                                                                                                                                                     ~14:53
Laney351 .procmailrc14:53
Laneyand porting that to sieve is going to be fun14:53
Sweet5harkgrep sure will marry lil bobby tables one day...14:53
desrtLaney: i bet there is a tool for that14:53
seb128Laney, just curious what's the motivation behind?14:54
Laneytoo much spam14:55
Laneyand a few times I have ruined everything and made emails bounce14:55
Laneylike the times the disk on the server got full14:55
seb128:-/14:55
Laneyor the times that dspam crashed14:55
Laneywhich makes mail get rejected14:55
LaneySo Good14:55
Laneyit's a really boring problem to have to solve14:56
seb128yeah :-/14:56
Laneyand if my server is no longer doing email then I might actually upgrade it off wheezy /o\14:57
popeyseb128: i installed apt-cacher-ng in the end14:59
popeybut snapcraft clean <partname>14:59
seb128popey, right, I remembered, "pull" is the part I don't want to clean, so doing a "clean build" works fine14:59
popeyoooh15:01
popeylearned something today15:01
popeythanks15:01
seb128popey, yw!15:19
seb128pitti, how does the systemd suspend delay inhibit thing works? is it up to the processes to say when they are done/let the system suspend?15:32
pittiseb128: yes, as otherwise you can't predict when they are done with whatever they need to do before suspend15:33
pittihttps://www.freedesktop.org/wiki/Software/systemd/inhibit/15:34
seb128pitti, k, I'm looking a bit a bug #1574120, my guess is that one of the process has to no give the lock back ... I wonder if a "sleep 10; systemd-inhibit" call would tell us which one, just asked on the bug15:34
ubot5bug 1574120 in systemd (Ubuntu) "Notebook doesn't suspend when lid is closed after update to 16.04" [Medium,Incomplete] https://launchpad.net/bugs/157412015:34
pittiseb128: the process tells that it's done by closing an fd that you got from the Inhibit() call (so taht the inhibitor goes away when the process crashes)15:34
seb128k15:34
seb128so if one process is misbehaving it could make suspend not happen15:35
seb128though why it work when selecting directly the item then?15:35
seb128also InhibitDelayMaxSec defaults to 5s15:36
seb128that's probably not it :-/15:36
pittiseb128: it might mis-detect that there is an external monitor?15:36
pittisuspend only happens with the internal monitor, if you have an external one or docked lid close doesnt' do anything15:37
pitti(on purpose)15:37
seb128pitti, is there any command that would tall that? there is no multimonitor suspend lock from u-s-d and xrandr doesn't list one15:37
seb128unsure how to poke the systemd state though15:37
seb128or how systemd check if there is one15:38
pittiseb128: this isn't done via delays, but via  blocks15:38
pittisome of the submitters have a block, but not all of them AFAIR15:38
seb128pitti, right, but https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/comments/3815:38
ubot5Ubuntu bug 1574120 in systemd (Ubuntu) "Notebook doesn't suspend when lid is closed after update to 16.04" [Medium,Incomplete]15:38
seb128that's the one I 'm looking at15:38
seb128there is no block15:38
pittiso it could be that logind itself detects an external monitor and doesn't suspend by default15:39
seb128right15:39
seb128how would one tell if that's the case?15:39
seb128do you know where systemd would look to tell if there is an external monitor?15:39
pittiseb128: /sys/class/drm/ basically15:42
pittiit removes the first cardN-, then  checks15:43
pitti                FOREACH_STRING(i, "VGA-", "DVI-I-", "DVI-D-", "DVI-A-"15:43
pitti                               "Composite-", "SVIDEO-", "Component-",15:43
pitti                               "DIN-", "DP-", "HDMI-A-", "HDMI-B-", "TV-") {15:43
pitti                        if (startswith(dash, i)) {15:43
pitti                                external = true;15:43
pittiseb128: enabling debug (systemd-analyze set-log-level debug) and then closing the lid should show that15:44
seb128pitti, thanks15:44
pitti                log_debug("System is docked.");15:44
pitti                log_debug("External (%i) displays connected.", n);15:44
pittiseb128: so an ls of /sys/class/drm plus debug output would be insightful15:44
seb128pitti, thanks, asked that on the bug15:48
Laneynight!17:07
willcookesee ya Laney17:07
seb128night Laney17:09
willcookedinner. bbl17:09
seb128pitti, waiting for the systemd debug but drm has "card0 card0-LVDS-1 controlD64 ttm" and only the one is "enabled"17:11
seb128pitti, he added a journalctl | grep systemd log on https://launchpadlibrarian.net/259010581/somekindoflog.log18:37
seb128there are lid closed/opened event without anything printed in between :-/18:38
willcookenight all19:53
=== Drac0 is now known as Guest16674
robert_ancellximion1, hi22:27
ximionrobert_ancell: hi!22:30
robert_ancellximion, been hacking on paid app support for G-S. Do you see this as something that should be in appstream?22:30
robert_ancellximion, It mostly requires attaching a price to an app. This wouldn't be added in the appstream file in the source, but in the service that compiles these together.22:31
ximionrobert_ancell: depends... What kind of metadata would you need?22:31
* robert_ancell struggles for the right terms :)22:32
ximionjup - problem I see there is that the price can to be changed anymore then, as soon as the metadata is published22:32
ximionit can only be changed by doing a new release to a different suite22:32
ximionat least if you're talking about paying for .deb packages22:33
ximionif there is a different system providing the metadata, it could of course be updated more frequently22:33
robert_ancellYes, and it probably should because getting old prices is bad22:33
* ximion isn't against adding a <price currency="eur">10</price> tag to metainfo and distro-metadata files22:33
robert_ancellthat's basically it.22:34
robert_ancelland perhaps <allows-donations>true</allows-donations>22:34
robert_ancellximion, for snapd it's not appstream so I don't need to solve this right now, but worth thinking about for the future / other projects.22:35
ximionrobert_ancell: yeah, we had that discussion over at #PackageKit regarding Snappy using AppStream22:37
ximionrejecting it for political reasons will hurt you later, and I honestly think it's a short-sighted bad decision22:38
ximionrobert_ancell: for donations, we already have an URL type which many upstreams use: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-url22:40
ximionunfortunately, GS doesn't show this link22:40
ximionI think the designers or legal teams didn't like it, but I am not sure about the exact reason for that22:40
ximion(it's basically just another URL)22:40
robert_ancellright22:41
ximionI'd like some feedback from hughsie on the price thing...22:42
ximionat time I think the currency-issue would be a problem22:42
ximionstandardizing it one one currency won't work, but having a huge enum of all the currencies in the world wouldn't cut it either22:42
ximionworse, we would need to do currency conversion in the SCs22:43
robert_ancellximion, in the case of snappy, an app has multiple prices - one for each currency it supports22:45
robert_ancellsnapd suggests which currency you should use (locale + account preferences)22:45
robert_ancellthe currency code is a string using ISO 421722:46
ximionsounds reasonable22:47
robert_ancellIf the app didn't have the currency you pay with, the conversion would be done by the payment processor22:47
ximionthis would need to go into metainfo files, so upstreams can set a price22:47
robert_ancellIt would be too hard / dangerous to try and solve this in the UI22:47
ximionagreed, that was my concern with it22:48
robert_ancellximion, well, I don't think upstreams can set a price because you're not going to be able to pay them directly - the money will have to go to a store and then be redistributed to each upstream22:48
robert_ancellthat's where I think the prices would have to be added in the service that compiles the appstream together. i.e. Launchpad in the case of Ubuntu22:48
robert_ancellAnd each distribution could offer different prices22:49
ximionrobert_ancell: shouldn't upstream offer a price estimate?22:49
ximionand would the distributor only ship one price per app?22:49
ximions/price/currency-price-combo/22:50
robert_ancellximion, well, the upstream could put a price and then the distributor could allow that price through if it had a relationship with the upstream / means of paying22:50
robert_ancellThe downside is you couldn't change the price quickly which is what is required for sales.22:50
robert_ancellThe norm seems to be one price per target market (USD/EUR etc)22:51
ximionrobert_ancell: well, appstream-generator always treats the metainfo file as suggestion, not as the final word ;-)22:52
robert_ancellok, good22:52
robert_ancellyeah, it would probably make sense for upstream to start the price there (though the docs would need to be appropriately worded as to what exactly that means)22:53
ximionrobert_ancell: since frozen/released suites can't get new AppStream data, that would mean all stuff in there would have a fixed price22:53
ximion(unchangeable even)22:53
robert_ancellthat's the downside of appstream...22:53
robert_ancellit's less streamy than the name suggests22:53
ximionwell, that's more a property of the distro release process22:54
ximiontechnically, updating the data would be no problem :)22:54
robert_ancellximion, so the appstream data could be changed for released distros22:54
robert_ancellMight not be very efficient if it constantly changes though22:54
ximionit *could* but since Launchpad doesn't allow any changes for released suites, this won't work22:55
ximionbut if they payed apps are in a different repo, that would work22:55
ximionand I think this is what will happen, right?22:55
robert_ancellximion, we're only supporting snaps but yeah, the old paid .deb support was in separate repos22:56
ximionI think that would be no problem then22:56
ximionhmm, I wonder if asgen would allow a Snappy backend...22:56
ximionit was designed for distro packages, but backends actually don't do much - they emit file lists and some basic package metadata22:58

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