13:04:27 #startmeeting meeting 13:04:28 Meeting started Mon Sep 18 13:04:27 2017 UTC. The chair is mvollmer. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:04:28 Useful Commands: #action #agreed #halp #info #idea #link #topic. 13:04:28 The meeting name has been set to 'meeting' 13:04:35 .hello andreasn 13:04:35 .hello mvo 13:04:35 andreasn1: andreasn 'Andreas Nilsson' 13:04:38 mvollmer: mvo 'Marius Vollmer' 13:04:41 .hello larsu 13:04:42 larsu: larsu 'Lars Karlitski' 13:05:03 .hello martinpitt 13:05:04 pitti: martinpitt 'Martin Pitt' 13:05:09 .hello garrett 13:05:10 garrett: garrett 'Garrett LeSage' 13:05:21 .hello stefw 13:05:23 stefw: stefw 'Stef Walter' 13:05:41 #topic Agenda 13:06:13 * Node style micro-dependencies 13:07:07 * Honolulu 13:09:46 (nothing from me, FTR) 13:09:47 #topic Node style micro-dependencies 13:10:25 The oVirt machines code started using various dependencies in the nodejs style, where tiny little dependencies were brought into javascript 13:10:35 to perform basic tasks 13:10:52 leftpad! 13:10:54 so far all our dependencies in the browser have been already compiled larger dependencies such as d3 or react 13:11:25 so i wanted to check with everyone if we're okay with teh node style dependencies and greatly ballooning our number of included nodejs modules 13:12:10 it already takes a while to fetch the dependecies 13:12:17 I'm not sure I understand - is this something qualitatively new, or just "more" npm modules? 13:12:32 but I guess this is how people develop javascript... 13:12:40 so far the npm modules we've included have already been compiled for a browser 13:12:57 and just included in npm for expediency and package management 13:13:10 so this is qualitatively new 13:13:23 oh, like "npm install" alreayd fetches pre-compiled/minified stuff 13:13:29 pitti, yes 13:13:31 and these need to be built first 13:13:33 so it's been a semantic difference 13:13:41 webpack handles the building just fine 13:13:44 * stefw looks for some data 13:14:32 the commits are now removed that did this to the oVirt Machines pull request 13:15:39 instead of about 15 dependencies 13:15:47 this likely will increase the number into hundreds 13:16:04 urgh 13:16:08 can we trust them? to have a good license etc? 13:16:13 well lets clarify that ... each of teh 20 dependencies that we currently pull in 13:16:15 that would be my objection 13:16:34 are in many cases already built out of many others ... even hundreds 13:16:37 I can trust react etc, but just hundreds of random things, each with a different author, dunno 13:16:43 but someone else has taken that step of bringing them together 13:16:50 it's also a general drag on building, CI, and the bots constantly updating deps 13:17:16 npm likes to nest dependencies ... so it's not that the CI would slow down exponentially or the updating either 13:17:45 although it's true that we would be vetting smaller portions of code so there is more micromanagement involved 13:19:36 do we know what the higher level dependency is? 13:19:57 the one that requires these other packages 13:20:05 the ovirt code itself 13:20:20 as in these other dependencies are used directly from the pkg/ovirt/ code 13:21:24 actually the pull request seems to have changed ... so this may change this into a theoretical discussion 13:22:03 well he pulled out those deps 13:22:13 where did they go ... did he remove the need for them? 13:22:15 but the build fails on semephore 13:22:36 because on older versions of node 13:22:41 so I guess my question is: is npm more like Debian/Fedora, or my like MegaUpload? 13:22:42 they aren't pulled in 13:22:59 MegaUpload 13:23:08 right 13:23:29 but we trust that we get a good react version from it, right? 13:24:00 we currently trust that the react-lite version will only change when the react-lite developers touch it 13:24:04 these are the deps that get installed with nodejs > 6 13:24:08 https://github.com/cockpit-project/cockpit/commit/4e96dc614117d9dbb258366b23bb2487a08efd32 13:24:21 but not with older versions 13:24:34 how do they get installed with nodejs > 6? 13:24:39 what is the mechanism for declaring them? 13:24:48 npm behaves differently 13:24:52 and pulls them in 13:25:05 so something else depends on them? 13:25:08 because it resolves sub dependencies 13:25:20 yes 13:25:34 why wasn't this a problem before? 13:26:05 we weren't using anything that had a bunch of sub deps like this 13:26:08 ah react-router-dom 13:26:15 and react-router 13:26:16 yep 13:26:25 and we never actually used React 13:26:28 we used react-lite 13:27:38 yeah that looks right 13:27:48 well i guess we can think about this more ... not sure we'll reach a conclusion here ... but it does affect open pull requests 13:30:34 I think we have to find a way to work with these micro-dependencies 13:31:19 next topic? 13:31:37 sure although we have to come up with mechanisms to distribute licenses 13:32:02 and handle sub-dependencies effectively 13:32:29 because we are distributing A+B+C+D+E 13:32:44 "cockpit the distribution" 13:32:45 instead of just distribing M ... where someone else did M = A+B+C+D+E 13:35:04 alright, next? 13:35:24 next 13:35:28 #topic Honolulu 13:35:39 just to synch 13:35:51 so there is this: https://arstechnica.com/gadgets/2017/09/microsoft-building-a-new-graphical-interface-for-managing-windows-servers/ 13:35:57 i think it's pretty cool 13:36:59 they're copying cockpit 13:37:00 what do y'all think? :-) 13:37:09 any more info on that apart from the Ars article? 13:37:19 I saw it last week (pointed out by sgallagh), looked familiar :0 13:37:21 i'd like to see the source :D 13:38:07 petervo: Ctrl+U! 13:38:38 search probably makes sense 13:39:04 especially as the feature list keeps growing 13:39:19 (it's in the screenshot) 13:40:06 can we spin this into some good pr for us? 13:42:07 i think so ... does jberkus have ideas there? 13:42:11 anyone up for pinging him? 13:42:26 i can do that 13:46:06 great! 13:46:20 #topic Open floor 13:47:27 FWIW: the Cockpit website has the Guide indexed for search now 13:47:41 meaning if you're looking for something specific in the documentation, you can look there to find it 13:47:42 nice! 13:47:53 I fixed a few bugs this morning to make it even better 13:48:18 (stefw implemented the header fix the end of last week to get the documents indexed) 13:49:28 if you want to search the guide or blog specifically, just put "guide" or "blog" in the terms and it'll prioritize those 13:49:54 but everything is mixed in and optimized to show you the most likely matches 13:54:23 alright! 13:54:28 thanks everyone! 13:54:33 #endmeeting