13:01:04 #startmeeting Cockpit Weekly meeting 2016-07-18 13:01:04 Meeting started Mon Jul 18 13:01:04 2016 UTC. The chair is andreasn1. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:01:04 Useful Commands: #action #agreed #halp #info #idea #link #topic. 13:01:04 The meeting name has been set to 'cockpit_weekly_meeting_2016-07-18' 13:01:09 .hello andreasn 13:01:10 andreasn1: andreasn 'Andreas Nilsson' 13:01:16 .hello dperpeet 13:01:17 dperpeet: dperpeet 'None' 13:01:26 .hello harishanand 13:01:29 harish_: harishanand 'Harish Anand' 13:02:26 #topic agenda 13:02:45 * systemd timers 13:02:52 * webpack 13:02:57 * test optimizations 13:02:59 * timers 13:03:05 * subscriptions rewrite 13:03:18 * stable api 13:04:03 sounds good 13:04:17 #topic systemd timers 13:04:37 https://github.com/cockpit-project/cockpit/pull/4645 13:05:06 I think now its design issues andreasn1 had mentioned are fixed. 13:05:26 yeah, I haven't checked out the latest version, but it's starting to shape up really well 13:05:32 Its major issue of datepicker-dropdown moving around a lot which clicked (after scrolling) is fixed. 13:05:42 great! 13:05:48 datepickerv1.6 still had same issues 13:06:01 it closed all patterns.js error handle functions 13:06:16 when datepicker was clicked. 13:06:36 it closed all errors* i meant 13:06:39 regarding your month question before, the date could be set to the 1st of every month by default 13:07:03 and then it's possible to change it to the 5th, 12th or whatever by hand 13:07:16 andreasn1, I think harish_ meant to issue a warning when setting to >28 13:07:23 that it might not run every month 13:07:34 oh, right 13:07:38 andreasn1 it is set to 1st when a new row is added. 13:07:43 ah, good 13:07:48 hm, yeah, good question 13:07:54 https://raw.githubusercontent.com/cockpit-project/cockpit-design/master/services/timers.png 13:07:55 I was curious what systemd itself does there 13:08:25 harish_, I think displaying a warning would be fancy, but nice 13:08:28 right, I even had a note there "what do do with Feb 28 and 30/31" 13:08:31 systemd suggested on setting end of month timers to next month starting to avoid such cases 13:08:44 andreasn1, maybe blue info box? 13:08:45 yes exactly 13:08:59 harish_, very good to think of this! 13:09:06 yeah, I think that could wok 13:09:09 work 13:09:14 this is one of the things that could annoy users 13:09:16 if there is no warning 13:09:25 make it accessible -> notify about the behavior 13:09:49 can the day index be negative? =) 13:09:55 -1: last day 13:09:58 if you set it to 31, it might be that you want it to be triggered on the 31 only, but it's still good to notify those that thinks of 31 as "the end of every month" 13:10:33 I'm for showing something - probably the blue info box 13:10:42 warning seems out of place for something that could be intentional 13:10:46 I agree with that behaviour 13:10:58 harish_, what do you think? 13:11:01 dperpeet we have it as dropdown. so it cant be negative :D 13:11:16 harish_, dropdown is text, you can set anything :) 13:11:52 yea. i have seen the blue boxes it will help. shouldn't it be shown only when a user selects 31st? 13:12:01 I think the pattern is to always show them 13:12:06 andreasn1 ? 13:13:05 not super sure if to show by default or only if 31 is selected. I can't remember where we have this pattern elsewhere already 13:13:19 dperpeet should I check if user input such invalid inputs from dropdowns? like negative? 13:13:30 harish_, no 13:13:39 I think we can move this detailed discussion to the pr 13:13:44 okay 13:13:45 yeah, lets do so 13:13:54 I have started writing tests. 13:13:54 ok, next up 13:13:57 great! 13:14:07 thanks dperpeet andreasn1 13:14:11 thank you! 13:14:11 eot 13:14:13 let me know when they are in the pr 13:14:17 I will take a look and trigger them 13:14:17 #topic webpack 13:14:26 sure! 13:14:27 we've changed the build system 13:14:48 so most devs will need to call autoconf again 13:15:06 this is part of being more modular and allowing out of tree modules 13:15:27 larsu and stefw put in a lot of work to make this happen 13:15:37 and we have more related pull requests up 13:15:56 such as https://github.com/cockpit-project/cockpit/pull/4752 (which will allow us to use ES6) 13:16:12 this way the individual modules can be more independent 13:16:21 eot 13:16:28 nice! 13:16:39 #topic test optimizations 13:17:04 I added some code so our test logs contain timing info 13:17:08 so we can identify hotspots 13:17:38 and there is an open pr to optimize our tests to simultaneously boot multiple machines 13:17:39 https://github.com/cockpit-project/cockpit/pull/4741 13:17:54 some tests need more than one, and before we would start wait, wait for it to boot, then start the next... 13:18:30 I think this will not just make tests run faster, but also make adding more machines easier 13:18:45 nice 13:18:46 you can now just declare them as a class variable in the test, and the framework will take care of provisioning them 13:18:54 once the test starts, you can ssh into it 13:19:03 eot 13:19:46 #topic subscriptions rewrite 13:20:39 so after we did some work on subscriptions last week 13:21:03 a refactoring was in order to separate backend logic from the view 13:21:23 in order to reuse our patterns, it made sense to rewrite it with react 13:21:25 https://github.com/cockpit-project/cockpit/pull/4715 13:21:50 this is a work in progress 13:22:02 andreasn1, would it be ok to get the proxy stuff in as it is? 13:22:11 or would you rather not include it in the rewrite 13:22:35 I think it would. 13:22:44 would be OK to put it in 13:23:03 ok, then I'll address the other issues 13:23:14 the only usecase that gets tricky is if you change your proxy, and then you have to resubscribe everything 13:23:20 I agree that it makes sense to put it in 13:23:37 but I feel I don't know enough about the exact workings and workflows of subscription-manager to tell 13:24:00 I would prefer to get it in and then iterate on the how 13:24:06 sounds good 13:24:08 so we can actually support that feature 13:24:36 I have the mockup on a reworked layout, but I think that's better to discuss after the meeting 13:25:02 https://raw.githubusercontent.com/cockpit-project/cockpit-design/master/subscriptions/subscriptions-keys-v2.png 13:25:23 ok 13:25:29 I will rework the pr 13:25:34 thanks for your feedback! 13:25:36 eot 13:25:48 #topic stable api 13:26:28 we set the stable version of cockpit-bridge and cockpit-shell in https://github.com/cockpit-project/cockpit/commit/2ab6a1716eca40c1a1c16aa1ac5457959b54fb82 13:26:44 this should make it easier to develop other modules 13:26:56 and means that the core doesn't have to be upgraded in sync with other packages 13:27:07 so YAY for reaching this goal 13:27:40 eot 13:27:43 nice! 13:27:52 *champagne* 13:27:54 :) 13:28:24 🍾 13:28:47 the above emoji is a square for me, probably same for the rest of you 13:28:54 http://emojipedia.org/bottle-with-popping-cork/ 13:29:04 yeah, some unicode 13:29:18 🎉 13:29:29 🍸 13:29:42 🎆 13:29:46 all right 13:29:50 #topic Open Floor 13:30:51 dperpeet can we know which process is using up more ram space inside cockpit? 13:31:33 you mean something like "top"? 13:31:37 for ram 13:31:52 or pieces of cockpit that run in the browser? 13:32:19 top memory usage.. which process with id so that i can kill it ? 13:32:58 I don't think we have that in cockpit 13:33:08 it was suggested a while back 13:33:15 but hasn't been implemented 13:33:23 ohh.. we could know only services, running etc 13:34:18 but nothing about which current process in memory now 13:34:38 oh okay.. i was just curious. thanks petervo_ 13:35:11 anything else for the open floor? 13:35:54 sounds like a close 13:35:56 #endmeeting