/srv/irclogs.ubuntu.com/2020/02/21/#launchpad-dev.txt

cjwatsontomwardill: Have you had any further thoughts on https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/378828 ?10:00
cjwatson(tour-git)10:00
tomwardilllooking10:01
tomwardillcjwatson: also can't think of an alternaitve, so have a +1 :)10:02
cjwatsonheh, thanks10:23
pappacenatomwardill, is the python3 port for turnip done? I saw we have a card for that on Trello, and you have a branch for it with some commits. Do you think I can continue from your branch?12:47
tomwardillpappacena: it's not done, feel free to pick it up from my branch!12:47
tomwardillI was hoping to get to it after OCI, but then that took longer than expected, so grab it :)12:48
pappacena:-) I'll try to work a bit on that. Thanks!12:52
tomwardillone day, I will work on something twisted based without just randomly sticking defer.inlineCallbacks on everything14:58
tomwardilltoday is not that day14:58
* SpecialK|Canon defers tomwardill 15:00
* tomwardill defernestrates15:00
tomwardillcjwatson: https://code.launchpad.net/~twom/launchpad/+git/launchpad/+merge/379201 ready for round... I've lost count... of reviews :)15:10
tomwardill"last edit was 14 years ago"16:13
tomwardillwell.16:13
SpecialK|Canonheh what?16:19
pappacenaBut it seems like yesterday...16:19
tomwardilllogin.py is old, apparently16:23
tomwardillalso, thanks python-openid for burying/wrapping a certificate error 4 layers deep, that was a fun one to find16:24
tomwardill(why I can't login in the buildtheworld launchpad)16:24
tomwardillhopefully a relatively straightforward review to allow apache configs to be installed from not the development directory: https://code.launchpad.net/~twom/launchpad/+git/launchpad/+merge/37964416:45
cjwatsontomwardill: How about doing copy-certificates too?16:48
cjwatsonHm, well, I guess there isn't necessarily a launchpad.{crt,key} anywhere else16:48
cjwatsonIgnore me16:48
tomwardillwell, there will be16:48
tomwardillso that's not a bad idea16:48
cjwatsontomwardill: r=me16:48
cjwatson(either way)16:48
pappacenacjwatson, do you have time for a quick 4 lines review? It might fix a bug on turnip: https://code.launchpad.net/~pappacena/turnip/+git/turnip/+merge/37964516:50
pappacena(btw, thanks for the review on the HTTPS thing. I totally forgot about interface tests for Brody's changes...)16:50
cjwatsonpappacena: It's very unlikely to make a difference to too-many-open-files bugs; I'm fairly sure TurnipConfig is only instantiated a few times at startup at most, except in the test suite.  But that's fine anyway, r=me16:53
pappacenaIt's actually instantiated at BaseApi's __init__...16:54
cjwatsonpappacena: Oh, I guess that is instantiated per-request, fair enough16:54
cjwatsonShould probably make that a singleton at some point too16:55
cjwatsonCould just be "from turnip.config import config" or similar16:55
pappacenaWe do not need "on the fly" configuration changes in any way, right? I'll add the singleton to this MP, then...16:56
cjwatsonWe don't16:56
SpecialK|Canonnice16:57
tomwardillooh, I can login!16:57
cjwatsonThe charm restarts the service when it applies config changes16:57
pappacenaGreat! I'll push a change in few minutes16:58
cjwatsonCould anyone look at https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/379618 for that GDPR handling thing I mentioned in the standup?16:59
pappacenaI can take a look. Give me 10 minutes16:59
SpecialK|Canonr=me17:00
SpecialK|Canoncjwatson: ^ (sorry pappacena didn't see your message!)17:01
pappacenaPushed the TurnipConfig singleton implementation, cjwatson. Another round of review, pls? :)17:02
cjwatsonpappacena: There are a bunch of other instantiations found by git grep17:03
cjwatson*.tac17:03
cjwatsondoita17:03
cjwatsonerr17:03
cjwatsonSpecialK|Canon: ta17:03
pappacenaHa. Maybe my IDE is not searching the whole project. Let me double check.17:04
SpecialK|Canoncjwatson: heh sorry17:04
tomwardillvscode doesn't see .tac as a code file by default17:04
pappacenayep... neither pycharm :-(17:04
cjwatsonYou lot and your IDEs ;-)17:05
tomwardillheh17:05
pappacenahahahah17:05
cjwatson"git config --global alias.cp cherry-pick" is one of the better things I ever did17:06
* doismellburning lurks for tab-completion porpoises17:07
cjwatsonheh17:07
SpecialK|Canoncjwatson: I don't know how I feel about that alias...do you `git mv`?? ;P17:09
SpecialK|CanonI guess it is quite like a cp17:10
cjwatsonI do.  OTOH ... yes, that17:10
cjwatsonAnd I'm doing it a lot at the moment17:10
cjwatsonBut that's the great thing about local aliases, nobody else has to like them17:11
SpecialK|CanonHah absolutely!17:11
pappacenaNow the singleton thing should be fine...17:11
cjwatsonLGTM, thanks17:12
pappacenaThank you!17:12
pappacenaAh, I don't have permission to top-approve on turnip. If you can do it, or give me permission...17:14
cjwatsonSpecialK|Canon: ^- how come pappacena isn't in ~ols ?17:17
pappacena¯\_(ツ)_/¯17:17
cjwatsonI've also changed that reviewer team to ~launchpad-reviewers (which won't help with this MP, but will with the next one)17:17
cjwatsonpappacena: I've top-approved that now17:17
pappacenaThanks!17:18
SpecialK|Canoncjwatson: pappacena: process bug, sorry, fixing17:18
SpecialK|Canonactually hm where _is_ that process17:18
cjwatsonYeah I figured it was a missing checklist item somewhere17:19
SpecialK|CanonI think we don't actually have an explicit checklist for this because rate of change is probably a bit higher than rate of hiring17:19
cjwatsonPoint17:19
pappacenaIt makes sense...17:20
tomwardilltehre was some element of it in the snapstore onboarding trello17:20
tomwardillI think there was a card along the lines of 'check you have the right permissions'17:20
SpecialK|Canontomwardill: that rings a bell, yes!17:20
tomwardillI remember checking my list against glower's list17:20
SpecialK|Canontomwardill: I didn't give that to pappacena because it's 99% Store/Snap17:20
tomwardillyeah17:20
cjwatsonPython 3 reviews for today: https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/379509 https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/379648 https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/379650 https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/379654 ...17:28
cjwatson... https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/37965717:28
cjwatsonIf anyone's interested, my strategy here at the moment is that I have a very very rebasey branch with a bunch of smallish hacks to make it possible to build a py3 virtualenv at all, and then I'm repeatedly running "make", seeing the next error, identifying a common theme to fix across the codebase in a single logical commit (where feasible), committing that cold (since I can't run more than ...17:31
cjwatson... trivial tests yet), and doing that several times over; then, separately, cherry-pick individual commits from that onto branches off master, test them, and file MPs17:31
cjwatsonThis makes it sort of vaguely practical to make progress17:32
SpecialK|CanonNice17:32
cjwatsonSeveral of the hacks are fundamentally unlandable at the moment because they're of the form of "rip out $dependency in the full knowledge that this breaks some subsystem"17:32
SpecialK|CanonCan you...right that17:33
cjwatsonBut doing it this way means that those hacks don't completely block doing other stuff17:33
SpecialK|CanonYup yup makes sense17:33
cjwatsonWhen it gets a bit more reasonable I'll probably push it as a py3-wip branch or something17:33
SpecialK|CanonI'm going to stop even half-typing questions for a bit here as I keep getting pre-empted ;P17:34
SpecialK|CanonSounds great :)17:34
SpecialK|Canonooi what are the main bits of hackery?17:34
cjwatsonhttps://people.canonical.com/~cjwatson/tmp/py3-tig.png17:35
cjwatsonGives you an idea17:35
SpecialK|CanonCan we drop CVS codeimport functionality?17:35
SpecialK|CanonBetter question, sorry17:36
SpecialK|CanonDo we have any feels/data as to the value of CVS codeimport functionality?17:36
cjwatsonhttps://code.launchpad.net/+code-imports/?field.review_status=&field.review_status-empty-marker=1&field.rcs_type=CVS&field.rcs_type-empty-marker=1&field.target_rcs_type=BZR&field.target_rcs_type-empty-marker=1&submit=Submit+Query17:36
cjwatsonQuite a lot of failed but there are some that are still used17:36
cjwatsonIt's an option17:37
cjwatsonMain constituency that still inexplicably hasn't moved is some of the BSDs17:37
cjwatsonSo there's things like https://code.launchpad.net/~vcs-imports/pmake/main17:38
cjwatsonhttps://code.launchpad.net/+code-imports/+index?field.review_status=REVIEWED&field.review_status-empty-marker=1&field.rcs_type=CVS&field.rcs_type-empty-marker=1&field.target_rcs_type=BZR&field.target_rcs_type-empty-marker=1&submit=Submit+Query is a more reasonable query, so not that many still working17:38
cjwatsonhttps://code.launchpad.net/~mirabilos/mksh/MAIN is another one that's active17:39
cjwatsonThe other option there is that we probably want to separate codeimport anyway17:39
cjwatsonSo it doesn't have to block the rest of LP17:40
SpecialK|CanonRight, yup17:41
cjwatsonAnyway, I've been making like 500% faster progress since adopting this sort of approach.  I totally recommend it for anything where starting the project is kinda blocked on some dependencies but in fact if you temporarily rip stuff out you can find a lot of things behind it17:43
cjwatsonRight.  Coffee, finish reviewing Tom's stuff, and then probably weekend17:50
* tomwardill is arguing with apache and ssl certificates, then weekend :)17:50
tomwardillturns out shouting 'but it's RIGHT THERE' at apache isn't all that effective17:50
SpecialK|Canoneffective for getting results? sure17:53
SpecialK|Canoneffective as an outlet for frustration? I bet it is...17:53
SpecialK|Canoner, make that first one a "not effective" sigh17:54
cjwatsonWhen Kirsten was a TA she used to respond to the school computers producing "cannot access printer" errors by shouting "*I* CAN ACCESS PRINTER" at them17:54
tomwardillthat seems entirely reasonable tbh17:54
tomwardillespecially when printers are involved17:54
tomwardillaah, libxml2, we meet again18:02
tomwardillthat's why my initial make takes forever18:02
cjwatsonAll right, EOW I think.  Have a good weekend18:24
pappacenaHave a good weekend!18:27

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