14:31:58 #startmeeting Pulp Triage 2020-09-25 14:31:58 !start 14:31:58 #info fao89 has joined triage 14:31:58 Meeting started Fri Sep 25 14:31:58 2020 UTC. The chair is fao89. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:31:58 Useful Commands: #action #agreed #help #info #idea #link #topic. 14:31:58 The meeting name has been set to 'pulp_triage_2020-09-25' 14:31:58 fao89: fao89 has joined triage 14:32:20 #info ppicka has joined triage 14:32:20 !here 14:32:20 ppicka: ppicka has joined triage 14:32:22 topic: Enabling docstring linting with pydocstyle? 14:32:27 #info ggainey has joined triage 14:32:27 !here 14:32:27 ggainey: ggainey has joined triage 14:32:28 #info GregorSamsa has joined triage 14:32:28 !here 14:32:28 GregorSamsa: GregorSamsa has joined triage 14:32:38 yes please +1 14:32:45 I think we already decided to do this but the problem was just finding the time 14:32:51 #info x9c4 has joined triage 14:32:51 !start 14:32:51 x9c4: Error: Can't start another meeting, one is in progress. 14:32:52 x9c4: x9c4 has joined triage 14:33:06 hah 14:33:34 #info dkliban has joined triage 14:33:34 !here 14:33:34 dkliban: dkliban has joined triage 14:33:41 #info bmbouter has joined triage 14:33:41 !here 14:33:41 bmbouter: bmbouter has joined triage 14:33:41 #info ipanova has joined triage 14:33:41 !here 14:33:42 ipanova: ipanova has joined triage 14:33:44 !friday 14:33:44 ♪ It's Friday, Friday, gotta get down on Friday ♪ 14:33:48 topic: Enabling docstring linting with pydocstyle? 14:33:54 +1 14:34:03 we have an issue for "write script that runs exactly the checks that travis does" - if that existed, I'd have no probs at all w/this 14:34:06 oh there is open floor on this 14:34:08 there is 14:34:15 this only shows up here b/c at the last meeting we converted the type 14:34:29 but I keep tripping over things because travis does something a little different than what happens if I run black/flake in my dev-env 14:34:40 yup we gotta talk about dat too 14:34:47 that's a problem to resolve as well 14:34:54 yes please :) 14:35:00 I propose skip so we can open floor this 14:35:09 I keep tripping because what flake lints depends on what plugins are installed. And that differs from plugin to plugin. 14:35:11 ah- I thought we were already in open-floor, my bad 14:35:15 yup 14:35:30 we are 14:35:42 ah we switched it 14:35:45 if we standardize the flake8 settings across projects, it would help but probably not solve the problem 14:35:48 _This_ is openfloor, because we swithched the order 14:35:59 * bmbouter gets with the problem :) 14:36:05 ahhhhh rightright, I remember that discussion, coolio 14:36:08 s/problem/program/ 14:36:16 ok so here we are at open floor 14:36:18 in https://github.com/pulp/pups/blob/master/pup-0008.md we agreed to adopt pydocstyle 14:36:25 we just haven't done it yet 14:36:30 ggainey: we have not announced that because this is a "trial" one 14:36:33 but I am fine to revisit on pulp-dev 14:36:40 anyway - I am +1 for doclinting, but would like it to be available in some more-automatic way than "go read the plugin docs" if we could 14:36:45 agreed, and I'd like us to make good on that 14:37:00 the key to it is getting Travis to do it really 14:37:08 the local linting is pretty much a separate issue 14:37:14 an important, but separate issue 14:37:17 yea, I had a proposal for local linting that I wanted to discuss at pulpcon but didn't have time to prepare it 14:37:46 bmbouter: it's really frustrating to regularly submit a PR and then find out an hour later that it failed 30 secs in because you missed a lint-issue that you didn't know about 14:37:59 ggainey: I agree, so let's resolve that with high prio 14:38:04 +1 14:38:09 but should it hold up the forward progress on this linting improvement? 14:38:12 * ggainey cheers 14:38:32 bmbouter: I lean towards 'yes' 14:38:34 maybe it should, I'm interested in perspectives on it 14:39:01 I have a personal bias, but I suspect it's really frustrating for occasional committers to get snagged on this 14:39:07 we have an issue for that, I'm trying to find it 14:39:24 https://pulp.plan.io/issues/6938 14:39:24 fao89: yeah, I tried and failed as well, godspeed sir! :) 14:39:38 GregorSamsa++ 14:39:38 fao89: GregorSamsa's karma is now 1 14:39:40 there we go 14:40:06 in terms of a specific plan on when and how I think we can probably handle that via pulp-dev maybe? 14:40:12 +1 14:40:14 I would like to work on this 14:40:15 sounds good2me 14:40:22 fao89++ 14:40:22 ggainey: fao89's karma is now 110 14:40:23 fao89++ 14:40:24 x9c4: fao89's karma is now 111 14:40:27 but I'm reading a clear desire to handle both local pre-commit checks and enabling pydocstyle on travis as a "together" goal 14:40:42 that's fine with me. I am happy to help. 14:40:51 bmbouter: that's my preference, but I'm open to other options 14:40:53 we have a request from galaxy to enable to run the CI locally, I think 6938 is a good first step 14:41:01 ah cool 14:41:15 I agree 14:41:33 +1 14:41:35 so when/where do we talk about the "my local env is different from travis so pre-commit stuff doesn't work well" problem ? 14:42:16 perhaps that's here? 14:42:20 bmbouter: isn't that the pulp-dev@ discussion? 14:42:31 I may be missing something tho 14:42:44 it can be there, my main thing to fao89 is that it's not planned to a level to be worked on without that convo 14:43:03 if you read this ticket it reads like "let's do this!" 14:43:23 we definitely need a discussion on pulp-dev first 14:43:35 +1 14:43:37 +1 14:43:58 +1 14:44:00 we need a crisp problem statement to seed that convo 14:44:03 one of the problems we need to solve is that flake8 runs whatever plugins are installed 14:44:18 yup 14:44:19 +1 agree 14:44:30 also the "local version" and the version on travis may differ 14:44:56 yup 14:45:01 also not all plugins may be pydoctest compatible, e.g. so there is a "must enable everywhere for my local tests to pass anywhere" problem 14:45:22 I think if we got all ^ into 1 email to start that convo we would do well 14:45:37 yea, I need to do some research too to see how we could do it 14:45:47 fao89 and I can work on it 14:45:58 research into what the options are 14:46:07 who can send the pulp-dev email w/ problem statements? 14:46:18 I can do that 14:46:23 GregorSamsa, are you daviddavis? 14:46:37 ha yea, I can't log into daviddavis 14:46:38 heh 14:46:53 I'm on a different computer 14:47:03 heh 14:47:28 I was thinking how GregorSamsa knows all these things, and I never saw him on IRC before 14:47:32 lol 14:48:11 this is great 14:48:27 lol 14:48:28 just put me and fao89 down as having the AI here 14:48:34 i was hoping this is community user lol 14:48:42 :D 14:50:13 GregorSamsa-- 14:50:13 fao89: GregorSamsa's karma is now 0 14:50:21 daviddavis++ 14:50:21 fao89: daviddavis's karma is now 367 14:50:25 hehe 14:50:28 making it right 14:50:36 heheh 14:50:40 next topic? 14:50:51 Propose: Dropping the (unwritten) rule to format docs sources in block layout with 100 chars width. 14:51:37 +1 14:51:54 heh you can't +1 your own proposal 14:52:19 interesting. I do like the idea of "one sentence per line" - I've always tried to do that working in anything that auto-formats the text 14:52:22 In the spirit of black formatting, we should add line breaks at language features not 100 chars. 14:52:40 x9c4, you have to create another user for doing that, you have to learn with daviddavis =P 14:52:48 heh 14:52:50 lol 14:52:56 cheaters, all of you :) 14:53:09 like this? 14:53:13 perfect 14:53:18 might have been just a *little* obvious 14:54:09 Anyway, when you edit one word, you need to reformat the whole paragraph a t the moment. 14:54:24 This is tedious and makes for unneccessary big diffs. 14:54:31 hrm, yeah 14:54:34 yeah 14:54:45 it's true but humans do read in paragraph form and the unrendered docs are read often 14:54:48 When you add one phrase the diff-stat should be +1 14:55:07 GregorSamsa, see i plugged it another way. ;) 14:55:23 for example, python as a language's whole focus is readability, I suspect docs would do well to have a similar goal 14:55:35 this approach makees the main focus the diff 14:56:01 x9c4: as you can see I've thought more about this from our convo yesterday 14:56:20 bmbouter: reading our tags with all their embedded tags and links is not all the useful, in my experience 14:56:59 ^the useful^that useful 14:57:11 I often read the unrendered docs 14:57:21 agreed, but if we separate every sentence on its own line are we going closer or further from readability 14:58:03 for me, we're already past the liune where it's a difference - I 'make html' in my dev-env and read the results in a browser much of the time already 14:58:10 We should still strive to have lines under 100 chars. You can break at comma if needed. 14:58:22 I am big +1 on the 100 chars limit 14:59:10 +1 to 100 char limit 14:59:11 also fwiw our docs readability is inhibited by the use of RST, markdown I believe is widely seen as more readable 14:59:26 +1 14:59:33 and i think we are following the 100char limit, are not we? 14:59:42 we are not because travis does not enforce 14:59:56 I used to ask for it, but I think I was being annoying so I kind of stopped 15:00:31 i see 15:00:40 well i do it localy 15:01:37 I also do cuz pycharm tells me 15:01:39 I'm not against the 100 char limit. A partial sentence of that length might not be fit for docs anyway. 15:01:40 I don't think I've ever seen it mentioned anywhere 15:02:03 I think it mostly comes from contributors who have line_wrap editors 15:02:08 can a travis-rule like this tell the diff between discussion and code-examples? 15:02:30 I think deciding we want an improvement to limit docs to 100 chars would be a good goal 15:02:41 how and to what extent we can achieve that we can solution it up lata 15:03:55 is there a 100 chars doc checking ticket? and if so can we start putting comments on it? if not, can a stub be made as a next step? 15:05:34 I cannot do that 15:05:51 lol 15:05:51 travis said no :/ 15:05:57 hehehe 15:06:18 !friday 15:06:18 ♪ It's Friday, Friday, gotta get down on Friday ♪ 15:06:35 I don't think there is a ticket and I think creating a ticket is a good next step 15:07:04 also, I gotta go. see you all monday. 15:07:11 seeya sir! 15:08:11 I can create a ticket. 15:08:15 kk 15:08:21 What does it contain? 15:08:50 The build failed. 15:08:51 that we want to limit docs to 100 chars and enable this in travis 15:08:51 line breaks at ",.:" and no more than 100 chars? 15:09:19 works4me 15:09:27 lolol thanks travis_ci 15:09:32 x9c4: +1 15:09:42 travis_ci: can you maybe speed up your pipelines some? 15:09:43 next topic? 15:09:51 yus 15:10:24 Error: 'can you maybe speed up your pipelines some?' is not a valid command 15:10:29 :P 15:10:45 topic: Pulp2 and makedirs 15:10:49 that's me 15:10:54 lemme explain what I'm seeing 15:11:04 this is in the pulp2-to-3-migration context 15:11:40 you have p2 installed. p3 install creates a pulp-group, adds apache to it, sets the gid bit on all the pulp-home dirs, and sets dir-perms to 775 15:11:54 it needs to do this so links can be created inside various directories 15:12:09 then, pulp2 syncs new content - and ends up with 755 dirs 15:12:48 the reason tjhis is happening, is because we use os.makedirs() in a number of places - and os.makedirs() pushes perms, even when explcitly specified as 775, thru umask 15:14:07 so, my question: do we try to address this by trying to insure pulpp2 is running with a umask of 002 (instead of 022)? or do I fix all the pulp2 makedirs() uses, to use instead our itil.mkdir call, and make sure it dplays the right game w/changing/resetting umask? 15:14:10 thoughts? 15:14:14 I think ipanova filed a similar issue 15:14:21 fao89: it's the one I'm working on 15:14:32 https://pulp.plan.io/issues/7445 15:14:34 fao89: that's the issue ggainey is trying to fix actually 15:14:38 lemme add to agenda, I'm an idiot 15:14:52 sorry about that 15:15:06 anyway - I'm fishing for ideas here, what do folk think? 15:16:10 (also, I am unsure which process' umask would need to change, to affect the pulp2 code - httpd?) 15:16:24 i think fixing the mkdir calls might be the best 15:16:36 this is complicated 15:16:52 ipanova: that's the direction I'm leaning. We have a number of them, but it's a pretty straightforward change 15:17:18 how this can affect pulp2 users? 15:17:22 fao89: Fun With Umasks - you *always* end up with something other than what you expected :) 15:17:30 * bmbouter puts on his umask 15:17:37 we can also ask for input on the list, i think we have enough sysadmins who could weigh in 15:17:45 fao89: zacly. current-behavior is, content/published dirs end up 755 15:17:52 ipanova: oo, that's a fine idea 15:18:04 I think we need more input for sure 15:18:08 bmbouter: it keeps out the PermissionCovidBits :) 15:18:15 lol 15:18:22 but this is an important issue, let's figure it out! 15:18:30 * bmbouter puts on his tin foil no-covid hat 15:18:34 I'm good with that - how about I add a bit of explanation, and then point pulp-dev@ to the issue? 15:19:00 I'm wondering why we need 775 at pulp3 15:19:22 fao89: ttereshc ipanova can either of you talk to migration's need to create links? 15:19:40 (because I 8think* that's what's driving this, it breaks migrating) 15:20:08 fao89: some other services may need writer perms and they can't run as the pulp user is my understanding 15:20:11 s/writer/write/ 15:20:13 specifically, if you pulp2-sync a new repo after installing pulp3 and before you're 'done' with your 2-to-3 migration 15:20:14 it does break migration, i need to remember the details 15:20:24 yeah 15:20:36 from the issue: 15:20:37 drwxrwsr-x. 173 apache pulp 4096 Sep 2 08:34 iso <------------------ existing content by the time pulp3 installed 15:20:42 the pulp2 dirs, after pulp3 install, are owner/apache, group/pulp 15:20:43 drwxr-sr-x. 12 apache pulp 106 Sep 2 08:35 modulemd <---------------------- new content after pulp3 installed 15:20:53 yup 15:20:56 pulp2 removed w perms forthe grups 15:20:59 groups 15:21:22 ipanova: it doesn't remove perms from existing dirs - but newly-created ones will have 755 instead of 775 15:21:27 I think the problem is not on 755 pulp2, I believe it is the 775 on pulp3 15:21:29 and this makes it impossible to create a hard link 15:21:36 ( i remembered) 15:21:40 but it would require a lot of changes at the installer 15:22:16 fao89: the installer? 15:22:55 wait, 755 is on pulp2 or 3? I think I misread 15:22:59 fao89: it wil lrequire fix in pulp2... immage you run installer on pulp2. Installer fixes everything. then new pulp2 content comes in, it has screwed up perms and pulp3 is doomed 15:23:08 exactly 15:23:16 I agree I think it will require pulp2 fix 15:23:23 pulp2 creates new direectories as 755, no matter what perms you pass to makedirs 15:23:27 it def does 15:23:32 and that is ok to me 15:23:36 ggainey: i think it will be good to draft an email with how to fix this perm issue 15:23:47 I agree, this is sufficiently complicated that we need that next step 15:23:49 ipanova: concur, I have that as my action item 15:23:57 sweet 15:24:26 are we ready to move on? 15:24:35 we have 6 mins left ^_^ 15:25:14 +1 15:25:21 i see no other topics 15:25:25 triage? 15:25:28 yus 15:25:36 oh yeah 15:25:44 I forgot the triage 15:25:49 heh 15:25:49 I was about to end 15:26:01 !next 15:26:10 #info ipanova has joined triage 15:26:10 !start 15:26:10 ipanova: Error: Can't start another meeting, one is in progress. 15:26:11 ipanova: ipanova has joined triage 15:26:15 hm 15:26:35 !end 15:26:43 this is crazy 15:26:52 how do we start the triage? 15:27:05 !next 15:27:52 hrm 15:28:04 we didn't tell pulpbot that we switched? Maybe he's sulky. 15:28:27 fao89: try to end it again 15:28:35 I tried 15:28:42 it does not allow me to end 15:28:50 who started the meeting? 15:28:53 #endmeeting 15:28:53 !end 15:29:01 I started 15:29:17 then x9c4 tried to start, then ipanova 15:29:22 oh 15:29:23 !end 15:29:26 and pulpbot is confused now 15:29:30 lol 15:29:31 !friday 15:29:31 ♪ It's Friday, Friday, gotta get down on Friday ♪ 15:29:36 !dance 15:29:36 ♪┏(°.°)┛┗(°.°)┓┗(°.°)┛┏(°.°)┓ ♪ 15:29:37 well it knows what's important at least 15:29:39 Sorry, i didn't mean to. 15:29:44 can we do a manual triage? 15:29:46 !chair 15:29:46 fao89: Error: "chair" is not a valid command. 15:29:57 is there a way to list the chair? 15:30:12 !help 15:30:12 x9c4: (help [] []) -- This command gives a useful description of what does. is only necessary if the command is in more than one plugin. You may also want to use the 'list' command to list all available plugins and commands. 15:30:34 !list 15:30:34 fao89: Admin, Aka, AutoMode, Channel, Config, Ctcp, Filter, Format, Karma, Later, MeetBot, Misc, Network, NickAuth, Owner, Plugin, PluginDownloader, PulpTriage, RSS, Redmine, Services, Topic, User, and Utilities 15:30:41 i am going to restart pulpbot 15:30:56 sigh - bots are supposed to DM you responses to help 15:30:56 !issue 7568 15:31:01 https://pulp.plan.io/issues/7568 this is in post, let's add to the sprint 15:31:08 +1 15:31:14 https://pulp.plan.io/issues?query_id=143 15:31:43 fao89: should i restart pulpbot? 15:32:09 we have only 3 issues, I think we can do it manually 15:32:31 issue: https://pulp.plan.io/issues/7568 propose accept and add to sprint 15:32:31 ok 15:32:36 +1 15:32:55 +1 15:32:59 +1 15:33:10 issue: https://pulp.plan.io/issues/7549 15:33:23 propose accept and add to sprint 15:33:30 accept? 15:33:38 katello is asking for this - and in fact we've said since pulpimport/export beginning that it needed a dry-run option 15:33:38 will this be worked on this sprint? 15:33:41 I'd accept, not add to sprint 15:33:47 unlikely 15:33:54 ack let's accept 15:33:55 prob next, so we can hit 3.8 15:34:03 accept 15:34:06 +1 15:34:22 issue: https://pulp.plan.io/issues/7548 15:35:05 propose accept 15:35:21 seems like it needs more discussion? wdyt 15:35:47 good candidate for the open floor dalley? 15:36:09 we can skip for next triage/open floor 15:36:13 let's skip 15:36:16 ok 15:36:20 ok 15:36:24 !end 15:36:37 !friday 15:36:37 ♪ It's Friday, Friday, gotta get down on Friday ♪ 15:36:44 !pulp 15:36:44 🍊 Yay, Pulp! 🍊 Go team go! 🍊 15:36:54 :)