=== ebarretto_ is now known as ebarretto | ||
=== pieq_ is now known as pie | ||
=== pie is now known as pieq | ||
rbalint | mwhudson, pam is packaged oddy https://salsa.debian.org/vorlon/pam/-/merge_requests/1 | 10:05 |
---|---|---|
mwhudson | rbalint: huh | 10:07 |
mwhudson | rbalint: it seems unevenly strange as well, i had to poke dpkg-source with a stick to make it behave with the xenial source package | 10:07 |
rbalint | mwhudson, yes, i had the same experience when i had to update the package :-\ | 10:20 |
Laney | how does update-manager get triggered to appear when it needs to? | 11:00 |
Laney | it doesn't appear to be done directly, does some other component poke it? | 11:00 |
Laney | I just want to be able to tickle that trigger manually so I can pretend it was automatic | 11:02 |
Laney | ok update-manager --no-update | 11:04 |
xnox | doko: tlp should pop up as MIR, let me handle opening MIR ticket for it and subscribing the right people to it. | 12:21 |
=== pitti is now known as pitti` | ||
=== pitti` is now known as pitti | ||
seb128 | Laney, iirc update-notifier does spawn it | 13:28 |
Laney | yeah | 13:28 |
Laney | merci for the confirmation | 13:28 |
tsimonq2 | ddstreet: New shiny: https://launchpad.net/ubuntu/+source/software-properties/0.99.0 | 13:57 |
tsimonq2 | ddstreet: I followed up on the ML as well. | 13:57 |
tsimonq2 | Thank you for writing tests. Unfortunately, one failed. :P | 13:58 |
tsimonq2 | I can fix it since it's just pyflakes. | 13:59 |
tsimonq2 | test_pyflakes3_clean (tests.test_pyflakes.TestPyflakesClean) ... ok | 14:14 |
tsimonq2 | Sweet. | 14:14 |
rbasak | $ LC_ALL=en_GB.UTF-8 python3 -c 'import locale;print(locale.getlocale(locale.LC_TIME))' | 14:46 |
rbasak | (None, None) | 14:46 |
rbasak | Why? Shouldn't that be ('en_GB', 'UTF-8')? | 14:46 |
rbasak | I'm trying to write an assertion to ensure that LC_TIME is C.UTF-8. Help? | 14:46 |
tsimonq2 | rbasak: $ LC_ALL=en_GB.UTF-8 python3 -c 'import locale;print(locale.getlocale())' | 14:53 |
tsimonq2 | ('en_GB', 'UTF-8') | 14:53 |
tsimonq2 | $ python3 -c 'import locale;print(locale.getlocale())' | 14:53 |
tsimonq2 | ('en_US', 'UTF-8') | 14:53 |
tsimonq2 | $ LC_ALL=en_GB.UTF-8 python3 -c 'import locale;print(locale.LC_TIME)' | 14:53 |
tsimonq2 | 2 | 14:53 |
rbasak | tsimonq2: what does '2' mean? | 14:56 |
tsimonq2 | rbasak: Very good question. I'm trying to figure that out. | 14:56 |
tsimonq2 | https://docs.python.org/3/library/locale.html#locale.LC_TIME says "Locale category for the formatting of time." | 14:56 |
tsimonq2 | But where are the categories? Hm. | 14:56 |
rbasak | I get (None, None) | 14:57 |
tsimonq2 | print(locale.LC_TIME) =/ print(locale.getlocale(locale.LC_TIME)) | 14:59 |
tsimonq2 | locale.getlocale() is likely what you're looking for. | 14:59 |
tsimonq2 | $ LC_ALL=C.UTF-8 python3 -c 'import locale;print(locale.getlocale())' | 15:03 |
tsimonq2 | ('en_US', 'UTF-8') | 15:03 |
tsimonq2 | ...oh? | 15:03 |
rbasak | Yeah that happens too | 15:03 |
rbasak | locale.getlocale() won't necessarily tell me about a differently set LC_TIME though | 15:03 |
tsimonq2 | I mean, you could just get the env var. :P | 15:04 |
rbasak | I want to assert how Python's datetime.strptime will behave | 15:04 |
rbasak | It seems to me that Python's behaviour will not follow the env var! | 15:04 |
cjwatson | rbasak: You need locale.setlocale(locale.LC_ALL, '') first to enable localisation | 15:25 |
cjwatson | $ LC_ALL=en_GB.UTF-8 python3 -c 'import locale; locale.setlocale(locale.LC_ALL, ""); print(locale.getlocale(locale.LC_TIME))' | 15:25 |
cjwatson | ('en_GB', 'UTF-8') | 15:25 |
Laney | bdmurray: question about teams which can own packages in main - where is that defined? is there just one place? | 15:26 |
cjwatson | (It's the same in C. Localisation isn't generally switched on until the process has called setlocale(LC_ALL, "").) | 15:28 |
rbasak | cjwatson: thanks, but I tried: | 15:45 |
rbasak | $ LC_ALL=en_GB.UTF-8 python3 -c 'import locale; locale.setlocale(locale.LC_ALL, ''); print(locale.getlocale(locale.LC_TIME))' | 15:45 |
rbasak | (None, None) | 15:45 |
rbasak | I don't see a difference between that and your suggestion | 15:45 |
rbasak | Oh, but yours does work | 15:46 |
rbasak | Ah | 15:46 |
rbasak | Because my quotes were broken | 15:46 |
rbasak | Thanks :) | 15:46 |
bdmurray | Laney: https://bazaar.launchpad.net/~ubuntu-archive/ubuntu-archive-tools/trunk/view/head:/package-subscribers#L116 | 15:48 |
rbasak | So in that case, if I want to assert that strptime will behave as if in the C.UTF-8 locale, I can run _only_ locale.getlocale(locale.LC_TIME), right? And if the output is (None, None) OR ('C', 'UTF-8') [that one never seems to happen] OR ('en_US', 'UTF-8') then I'm good? | 15:48 |
rbasak | bryyce: ^ | 15:48 |
Laney | bdmurray: sweet | 15:49 |
bdmurray | Laney: did you see https://code.launchpad.net/~brian-murray/britney/britney1-backlog-report-update/+merge/387796? | 15:50 |
Laney | nope | 15:50 |
Laney | lemme see | 15:50 |
Laney | oh my | 15:51 |
Laney | this thing should use the yaml! | 15:51 |
bdmurray | Probably but we are writing zeroes to a KPI right now. | 15:52 |
Laney | yeah, ok, lemme look | 15:52 |
Laney | bdmurray: done, thanks for the nudge | 15:58 |
Laney | I think that should get pulled automatically | 15:58 |
bryyce | rbasak, ah, got it sorted? | 15:59 |
rbasak | bryyce: I think so. I just this moment pushed a replacement branch that I think should be acceptable. | 16:00 |
rbasak | Thanks to Colin for clarifying how it's supposed to work. | 16:00 |
bryyce | rbasak, great, will take a look at the MP | 16:02 |
bryyce | rbasak, MP reviewed | 16:57 |
=== ijohnson is now known as ijohnson|lunch | ||
rbasak | Thanks! | 17:06 |
=== ijohnson|lunch is now known as ijohnson |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!