/srv/irclogs.ubuntu.com/2020/11/19/#ubuntu-desktop.txt

callmepkgood morning01:25
dufluMorning callmepk 01:58
callmepkmorning duflu 01:59
jibelGood morning05:48
dufluMorning jibel 05:48
jibelHi duflu, how are you?05:49
duflujibel, pretty average but at least not locked down. Just had lunch by the beach. How are you?05:49
jibelpretty well actually despite these boring lockdown days05:55
jibel"lunch by the beach" I dream of it05:55
seb128goood morning desktopers05:55
jibelsalut seb128 05:55
jibelcomment ça va ce matin?05:55
seb128lut jibel, ça va bien ! et toi ?05:56
jibelseb128, très bien mis à part les jours qui commencent à être longs05:58
seb128le déconfinement c'est pour bientôt, un peu de patience n'est-ce pas? 😬05:59
jibelje n'y crois pas trop06:00
dufluMorning seb128 06:05
seb128hey duflu , how are you today?06:05
dufluseb128, tired and now unwell but at least I got out of the house today. How are you?06:06
seb128oh :-( get some rest and get better!06:06
seb128I'm alright thanks06:06
oSoMoNgood morning desktoppers07:17
dufluMorning oSoMoN 07:18
oSoMoNgood afternoon duflu 07:30
didrocksgood morning07:56
dufluMorning didrocks 07:57
didrockshey duflu 07:57
Laney\o\o\o\09:02
didrockshey Laney 09:07
jameshhi didrocks, Laney 09:20
jameshdidrocks: fyi: I've been working on some improvements for the "github.com/snapcore/go-gettext" package, which I believe you've been using in zsys/adsys.09:22
jameshdidrocks: everything should be API compatible with what was already there, but it should let you remove some code for configuring locales09:22
cpaelzerdidrocks: seb128: have you seen that https://bugs.launchpad.net/ubuntu/+source/pipewire/+bug/1802533 looks sort of ready now?09:23
ubot5Ubuntu bug 1802533 in pipewire (Ubuntu) "[MIR] pipewire" [Low,In progress]09:23
cpaelzerthis was coming up so long ago that it was not yet MIR-checked very formally, it seems in https://bugs.launchpad.net/ubuntu/+source/pipewire/+bug/1802533/comments/6 that it was going directly to seucrity09:24
cpaelzerbut IIUC desktop wants this, so maybe didrocks can give it a re-look (btw it still misses a bug subscriber) and if ok it seems ready for promotion09:24
Laneyhey didrocks jamesh 09:26
didrocksjamesh: ah excellent! Indeed, I’m using it, maybe you can steal some part of adsys if that makes sense as well (everything I wrapped around should be covered by tests)09:29
didrockscpaelzer: happy to give a relook if we want it, seb128 would know better than I on that front anyway, let’s see09:30
jameshdidrocks: the main improvement is a UserLocale() method that will pick a locale based on the environment, rather than you having to consult LANGUAGE/LC_ALL/LC_MESSAGES/LANG yourself09:30
jameshdidrocks: it should also do a lot less work on startup (the old implementation was doing a lot of seeks and reads, while the new version just memory maps the catalog)09:31
didrocksjamesh: nice! Can’t wait to use it now :)09:36
didrocksjamesh: I wonder if we should include there the go:generate functions to create the pot, refresh po and output mos09:37
jameshdidrocks: I'm looking at copying over the xgettext-go tool from the snapd tree.  This is basically an xgettext workalike that understands Go syntax09:39
didrocksjamesh: I’m using the msgfmt and other things wrapping09:39
jameshhadn't really thought about more complex scripts09:39
didrocksI wasn’t satisfied with xgettext-go, but don’t remember the details09:40
jameshdidrocks: the xgettext-go script was mostly there because xgettext doesn't understand Go's backtick raw strings09:40
didrocksjamesh: https://github.com/ubuntu/adsys/blob/main/internal/i18n/generate-locales.go for reference09:40
didrocksyeah09:40
jameshif you've got a combination of Go and other sources, you probably need to use both09:40
luna_morning09:40
didrocksindeed09:40
luna_the wesnoth package in the Hippo is broken, where do i report?09:41
didrockshey Laney 09:41
jameshdidrocks: this is what snapd is using: https://github.com/snapcore/snapd/blob/master/update-pot09:41
didrocksah, it slightly changed09:41
luna_works to install via steam but not apt 09:42
jameshdidrocks: is the msgmerge on po files as part of your update-po action desirable?  I seem to remember translators hating that for merge conflicts09:42
luna_https://paste.ubuntu.com/p/rR4qm8pVHw/09:43
luna_and steam has v1.14.1409:43
didrocksjamesh: yeah, it’s the part I wasn’t sure about, but didn’t receive any complain (yet :p)09:43
luna_or is it better to report this upstream to the people who package Wesnoth for Ubuntu?09:45
didrocksjamesh: oh, and are you going to check in locale-langpack/ (which is a distro-patch normally in ubuntu) as well?09:45
didrocksjamesh: basically to remove the need for https://github.com/ubuntu/adsys/blob/main/internal/i18n/i18n.go#L5809:46
jameshdidrocks: I remember it was the default behaviour for gettext's default po/Makefile script, and got disabled.  It basically meant non-translators were constantly changing the catalogs behind their backs.09:46
didrocksjamesh: ack, if you come with a generator which can indepently regenerate pot and po files, and with an arg, create mo files (so that we don’t create them on CI), I’m happy to switch to it09:48
jameshdidrocks: including something like that probably makes sense.  You could probably remove the for loop in your version, fwiw09:48
jameshjust look up the catalog for the locale string presented to you09:48
didrockssounds good, keep me posted once the changes are in and I’ll try it09:49
luna_https://github.com/wesnoth/wesnoth/issues/529109:50
gitbotwesnoth issue 5291 in wesnoth "wesnoth package broken in Ubuntu 21.04 (Alpha)" [Open]09:50
jameshdidrocks: go-gettext now automatically looks for locale fallbacks (i.e. if you ask for fr_FR it will consult an fr_FR catalog catalog followed by fr for any missing strings)09:50
didrocksah nice, less code needed for this, then. (and removing some tests along the way :)) Just need to ensure we have the langpack fallback09:52
jameshI'll make sure we add it.  Thanks for the suggestion09:53
didrocksyw! Thanks for you work there09:54
jameshdidrocks: one other long term plan is to try and get some Github actions set up to automate getting translations in and out of Launchpad.  I don't suppose you've done anything there that I can steal? :-)09:55
jameshfor getting things out of Launchpad, the plan was to set up a bare Bazaar branch, and configure Launchpad to export translations there.09:56
jameshThen have a scheduled GH Actions workflow that would check out the Bazaar branch and copy the translations into git, possibly presenting it as a pull request09:57
didrocksjamesh: no, I only autogenerate pot and refresh po files when any new translations is added/removed/modified, but nothing linked to launchpad (which is a good idea): https://github.com/ubuntu/adsys/blob/main/.github/workflows/auto-updates.yaml#L1109:57
didrocksso, once anything is pushed to main, this checks is running09:57
didrocksand if any changes to po files is needed (apart from date changes) -> PR is automatically created and branch pushed (for tracking, with associated tag)09:58
didrocksbut scheduled GH Actions workflow to do the same with input from LP is a great idea09:58
didrockswondering about credentials though09:59
jameshI was thinking an ssh private key for a bot account as a secret09:59
didrocksyeah, no really other way around10:00
jameshI don't think there's any need for Launchpad API access10:00
didrocksdepends, if we can push the "upstream" new pot file automatically as well, this will be great10:00
didrocks(and will void the need for msmerge)10:00
didrocksbut basically, you merge something which has i18n strings changes -> refresh pot file -> push to launchpad10:01
jameshfor pushing pots, my idea was to have a branch owned by the bot account, and set that as the default branch for the project's trunk series10:01
didrocksand another Action, as you told, which regularly pull from launchpad10:01
jameshhave another workflow generate the PO template and commit it to that Bazaar branch if anything has changed10:01
didrocksah, using really bzr as a proxy10:01
didrockssounds good, happy to give some help if you need it10:02
jameshBazaar import seems to be the only way to do automated template upload at present.10:02
didrocksok, I don’t remember the LP API by heart, but trusting you :)10:02
jameshrelying on a Bazaar import of the git repo could work, but LP's vcs-import found a revision it didn't like in 201810:03
jameshfor snapd, that is10:03
didrocksand this blocks the whole import?10:03
jameshMaybe deleting the whole branch might help, but https://code.launchpad.net/~snappy-dev/snapd/master definitely seems stuck10:05
jameshIt seems to disagree about what the SHA of a commit is, so bails10:06
didrocksyeah, I would delete it if possible and try an new import10:07
jameshI remember that code being a bit hairy back when it was only doing CVS and SVN.10:08
didrocksI’m more than eager to believe the import LP code being hairy, having to deal with different CVS… converting to Bzr :)10:10
jameshlooking at that backtrace again, it looks to be using bzr-git, which is a fair bit newer than the cscvs codebase10:10
cpaelzerHi Desktop people o/ - given the high number of long-duration-often-manually-retried that https://autopkgtest.ubuntu.com/packages/libr/libreoffice/hirsute/arm64 and https://autopkgtest.ubuntu.com/packages/libr/libreoffice/hirsute/armhf are causing I wondered if that could be improved12:19
cpaelzerLaney: correctly suggested that I should ask here12:19
cpaelzerit feels that this must have been discussed before - is there a bug for it already that I should comment/subscribe to?12:19
Laneycpaelzer: I know it's been discussed a few times and is basically known, but not sure if there's a bug, hellsworth can probably tell you later unless someone does some LP archaeology for you in the meantime12:21
Laneyif there isn't one, filing one would be welcome, agreed that should be worked on12:21
cpaelzerok12:21
Laneye.g. skipping some tests on arm* to get them to be more stable would probably be better than having flakes like this12:22
cpaelzerI can easily file one and if another one exists "mark as duplicate" is easy enough12:22
Laneysure12:22
cpaelzerhttps://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/178526212:23
ubot5Ubuntu bug 1785262 in libreoffice (Ubuntu) "arm64 autopkgtests are flaky" [Medium,Triaged]12:23
Laneyneat12:25
KGB-2glib pristine-tar 980e60d Simon McVittie glib2.0_2.66.3.orig.tar.xz.delta glib2.0_2.66.3.orig.tar.xz.id * pristine-tar data for glib2.0_2.66.3.orig.tar.xz * https://deb.li/VzxI12:25
KGB-2glib upstream/latest 32c9765 Simon McVittie * pushed 13 commits * https://deb.li/3NneA12:25
KGB-2glib tags 3045883 Simon McVittie upstream/2.66.3 * Upstream version 2.66.3 * https://deb.li/R6gR12:25
Laneythere, added a comment12:31
* Laney beat cpaelzer by microseconds :-)12:32
cpaelzerLaney: heh - me as well12:32
cpaelzernow let us check which one is better :-P12:32
cpaelzerfairly equal - glad that we didn't contradict :-)12:32
Laneynice script!12:33
cpaelzernot product level for sure, but helpful - the repo exists for re-use so if you like it feel free12:33
Laneyexcept it says no failures for armhf? http://autopkgtest.ubuntu.com/packages/libreoffice/hirsute/armhf12:34
cpaelzerbugs :-)12:34
Laney:>12:34
seb128I know how that one is going to end :p12:45
seb128(we discussed that a few times, including in team meetings)12:45
seb128but basically there is agreement that removing the flackyness would be nice, just not resources to work on that, if anyone would want to contribute a patch that would probably help12:45
Laneywhat are you saying, you're going to veto accepting the nomination?12:47
seb128no, I don't think I've veto power12:48
LaneyIn the bug there I suggested skipping those tests, and provided a link to a commit where we did that in the past, so hopefully doing that wouldn't fail because of resources12:48
Laneyfixing them properly does seem unlikely12:48
Laneybut hopefully reducing the coverage and getting stable green tests is easy/pragmatic enough12:50
Laney!12:50
seb128let's see :)12:50
seb128jibel, hey, do you think you could add reviewing of https://code.launchpad.net/~mfo/ubiquity/+git/ubiquity/+merge/390637 in your backlog? sustaining engineering asked if we could help there15:19
seb128they also asked about https://code.launchpad.net/~mfo/ubiquity/+git/ubiquity/+merge/391767 but I'm trying to make us and foundations review one each15:22
seb128they are not really complicated and from the comments they seem to have done testing15:22
hellsworthgood morning desktopers15:26
jibelseb128, sure, I'll have a look.15:26
seb128jibel, thanks!15:27
seb128hey Heather, how are you?15:27
oSoMoNgood morning hellsworth 15:28
seb128jibel, do you want a trello card about it as a reminder or is that not needed?15:28
hellsworthhi guys i'm good. tired but good :)15:28
jibelseb128, you can add a card to remind me to do it but I've it in my list of MPs to review15:29
jibelGood morning hellsworth 15:30
hellsworthhi jibel 15:30
jibelseb128, although I'm wondering why they need another debconf variable to run this page while they could preseed the conf varialbe to install 3rd party drivers if it's the sole purpose. Anyway I'll see with mfo15:32
seb128jibel, thanks, and card done in https://trello.com/c/foK9wisV/227-review-ubiquity-changes-from-sustaining-engineering15:34
=== ijohnson is now known as ijohnson|lunch
KGB-2gnome-control-center ubuntu/master Marco Trevisan * [close] merge request !18: account-fingerprint: Don't make flowbox children selectable * https://deb.li/3Gjuh18:01
seb128xnox, thanks for the reviews! I tried to setup/tear mounts but that wasn't working great, I don't remember the details, maybe needs more refactoring that the simple patch proposed. I will try again18:55
seb128also good tip for the snap handling18:55
seb128xnox, could you also review https://code.launchpad.net/~seb128/debian-cd/layerfs-canary-option/+merge/394137 ? that's one thing that you broke previous cycle with a refactoring :-)18:55
=== ijohnson|lunch is now known as ijohnson
xnoxseb128:  not broken, but somewhat intentially removed. I did ping people at the time, canary images were off, and no owner either =(20:44
seb128xnox, the ISO fails to start ubiquity without that option so arguably broken20:45
xnoxseb128:  there is no way to detect if that should be specified, and what it should point at, right?20:46
xnoxseb128:  oh, yeah, it totally would fail without it =)20:46
seb128no way that I know, but I'm still new and wrapping my head around that multilayer ISO thing20:46
xnoxsomewhat would want to just set the "layeredopt" and then have it as $layeredopt20:46
xnoxthen again there are so many copy pastes of the boot options for each project, it's not funny.20:47
seb128what's wrong with my patch meanwhile?20:47
xnoxthe patch is fine.20:47
seb128ah, good :-)20:47
xnoxseb128:  however, i'm not ~ubuntu-cdimage =(20:47
xnoxseb128:  only like you? laney? vorlon? etc. can merge it.20:47
seb128it's annoying how coredev doesn't have access to some of the things that are building block for Ubuntu20:48
seb128I'm not in that team either, I will try to get Laney to merge it tomorrow20:49
xnoxseb128:  oh, i thought you said you were. nevermind.20:53
seb128I'm not in that team either, I will try to get Laney to merge it tomorrow20:54
seb128ups, sorry, wrong focus and key combo20:54

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