16:05:10 #startmeeting Cockpit meeting 2014-12-01 16:05:10 Meeting started Mon Dec 1 16:05:10 2014 UTC. The chair is andreasn. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:05:10 Useful Commands: #action #agreed #halp #info #idea #link #topic. 16:05:16 .hello mvo 16:05:18 #meetingname Cockpit 16:05:18 The meeting name has been set to 'cockpit' 16:05:25 mvollmer: mvo 'Marius Vollmer' 16:05:27 .hellomynameis andreasn 16:05:28 andreasn: andreasn 'Andreas Nilsson' 16:05:49 ok, agenda? 16:05:55 login page message 16:05:59 * Warning on login screen 16:06:04 #topic Agenda 16:06:14 hups 16:06:16 :) 16:06:18 * Branding? 16:06:27 * responsive design fixes 16:06:40 * file API update 16:07:18 * streaming, etc (stefw) 16:08:01 anything else? 16:08:23 ok, lets start with the first one then 16:08:25 #topic Warning on login screen 16:08:27 yep 16:08:52 https://github.com/cockpit-project/cockpit/pull/1528 16:09:03 so I wasn't paying attention much about #1528 16:09:15 i wonder if we want to have some sort of warning when you're running as a non-stable release 16:09:27 so minimize the delta between the Fedora 21 stuff and master 16:09:28 i would say so. 16:09:29 see here for stable releases vs pre-release 16:09:30 https://github.com/cockpit-project/cockpit/releases 16:10:10 so 0.27 was stable and 0.28 was pre-release? 16:10:11 our current releases are more like snapshots 16:10:25 andreasn, yes 16:10:40 is there any kind of flag for that? 16:10:55 we could invent one 16:10:58 sure 16:11:04 we could also drive the documentation uploads off of it 16:11:13 yeah 16:12:08 sounds good 16:12:58 should we continue that in https://github.com/cockpit-project/cockpit/issues/1075 then? 16:13:05 to invent a flag etc 16:13:12 and I'll close 1528 for now 16:14:02 fine with me. 16:14:45 up to you about closing 1528 16:14:56 i guess someone else would need to take the pull req 16:15:00 so yeah, closing does make sense 16:15:03 (of course, we eventually migth want to think about versioning etc the components...) 16:15:04 #info we need a way to warn for pre-releases vs. stable releases. Discussion to continue on #1075 16:15:07 * stefw is sorry for the noise :S 16:15:36 (and "about" dialogs...) 16:16:05 ok, closed 16:16:12 [cockpit] andreasn closed pull request #1528: remove warning from login screen, fixes issue #1075 (master...sans-error-message) http://git.io/PCJ1-w 16:16:14 lets move on 16:16:26 #topic Branding 16:16:50 so I was thinking whether we should make branding easier? 16:17:01 yes, that would be great 16:17:02 i think we should 16:17:07 or is it OK that Fedora carries a patch? 16:17:12 right now it's pretty hard 16:17:19 Atomic is also carrying a patch :S 16:17:23 and it's nasty 16:17:32 so we need a branding API? 16:17:48 hmmm, i think drop some files into the build tree 16:17:50 before we run 'make 16:17:54 would be such an api 16:18:03 ./configure --with-branding=/dir/of/branding/bits 16:18:07 yup 16:18:17 ok. 16:18:20 obviously details may vary once implemented 16:18:25 but i don't think it should be a run time thing 16:18:28 I think there was an issue for this 16:18:30 no 16:18:31 * andreasn looks 16:18:45 https://github.com/cockpit-project/cockpit/issues/702 16:19:10 if the "API" is not powerful enough, F and A can still carry a patch additionally. 16:19:35 yes especially if we don't want to spend eons figuring out every corner case 16:19:43 i think that this would not be stable 16:19:47 yes, that would be the concern with the API 16:19:47 going forward 16:19:59 we can adapt this to cover necessary cases as they come up 16:20:04 and any branders are expected to follow along 16:20:05 right 16:20:06 mostly us 16:21:20 ok, what's the priority of this? 16:21:36 I heard Arch started packaging Cockpit 16:21:39 depends how long it will take 16:21:50 if it's a small bit of work 16:21:53 then we should do it now 16:21:54 no idea how often they release 16:21:56 to save us time in the long run 16:22:08 next release of Fedora is 4-6 months away 16:22:21 yes, but every time i release for Atomic 16:22:27 i blow time on these branding patches 16:22:48 alright so you know the pain points! :-) 16:23:41 stefw, so what needs to be done? 16:23:50 i haven't thought much about it 16:23:51 do we need to run sed on index.html? 16:24:01 hmmm, interesting 16:24:02 maybe 16:24:24 it's a shame we have two layers of templating then 16:24:29 build time and run time, in login.html 16:24:44 but we probably can't avoid that 16:24:45 we _can_ do the branding at run-time. 16:24:58 that would also open the door for some other configuration 16:25:03 that distros might want to do. 16:25:11 my main concern is slowing down cockpit loading for no reason 16:25:12 no idea what, though. 16:25:18 there's already enough things that slow it down for good reasons 16:25:23 so i want to avoid the unnecessary ones 16:25:50 can we do the branding via l10n? 16:26:01 ugly... 16:26:08 yeah, that does seem ugly 16:26:18 and it's also images, image paths etc. 16:26:29 same problem, only more obscure 16:26:39 running sed on the po files 16:27:02 or having a language just for the branding words 16:27:11 so in the fedora patch I put the images beside the regular ones, but it might be better to just replace the images 16:27:13 anyway, so, do we spend time on this now? 16:27:50 well every week we spend about 10 - 15 minutes on it 16:27:51 we should at least document current practices, even if they are ugly 16:27:54 so i guess not that much 16:28:01 the current practice is just a patch 16:28:09 i switched to using git to patch 16:28:12 and that makes it much nicer 16:28:15 since i can patch binary files in 16:28:17 right 16:28:20 rebasing the patch is a pain when it breaks 16:28:26 but we haven't changed the login screen much lately 16:28:34 although a commit like 1528, would cause pain 16:28:42 because then the branding needs to be rebased and manually fixed 16:28:57 but i don't mind dealing with the pain a little longer 16:29:07 there are more pressing things 16:29:11 ok 16:29:11 all right 16:29:45 I'll put it on the trello somewhere 16:29:56 and then we can take on that at some future point 16:30:01 ok 16:30:17 ok, next topic 16:30:19 #topic responsive design fixes 16:31:10 https://github.com/cockpit-project/cockpit/pull/1537 16:31:16 https://github.com/cockpit-project/cockpit/pull/1536 16:31:32 are they ready for review? 16:31:35 yes 16:31:43 ok, i'll review them 16:31:45 thanks for the reviews so far 16:31:49 no wortries 16:31:59 i hope i haven't been too picky ... 16:32:20 not at all 16:32:21 but i found myself avoiding cockpit :S 16:33:05 yeah, and the current behaviour stinks, doesn't feel stable at all 16:33:11 so it will be good to have these fixed 16:33:26 https://github.com/cockpit-project/cockpit/issues/1522 is still in the works, will create pull request soon 16:33:34 cool 16:33:38 thanks for knocking these out 16:33:41 i think there's a few more 16:33:41 np 16:33:42 will file 16:33:47 thanks! 16:34:07 ok, next topic 16:34:12 #topic file API update 16:34:38 right 16:34:55 i opened a pull request, but it still "needslotsofwork" 16:35:09 i am quite happy with the general API, though 16:35:32 i'll start writing tests now, and then make the code a bit nicer. 16:36:05 (upps, phone, sorry) 16:37:04 i haven't taken a look yet, but will shortly 16:39:32 (ok,back, sorry) 16:39:47 open issue: binary files and text encoding 16:39:58 binary files should be straightforward. 16:40:00 yes 16:40:07 i would love to ignore text encodings 16:40:12 we should 16:40:14 we do everywhere else 16:40:16 right now 16:40:22 and just coerce to utf-8 16:40:28 and just say, you get strings, and the file is written in the right encoding. 16:40:38 where right == UTF-8 for now. 16:40:46 yes, i think that's correct for now 16:40:53 it's identical behavior to all our other channels 16:41:10 and then we can make the bridge look at LANG etc and dtrt. 16:41:25 perhaps 16:41:31 would need some seriously good reasons 16:41:40 but I really would like to keep that can closed and just force everything to utf-8 16:41:45 yeah 16:41:53 filenames also. 16:41:58 yup 16:42:27 ok, I'll frst write some tests and then add the binary handling. 16:43:48 next topic? 16:43:53 yep 16:44:12 #topic streaming, etc 16:44:27 so this comes from the http work 16:44:30 which is now ready for review 16:44:48 ok 16:44:50 basically taking the docker http code and generalizing it so that we can use it with kubernetes and openlmi 16:44:51 and so on 16:45:06 and doing this, unfortunately, highlighted several weaknesses in the protocol 16:45:14 which marius and i discussed last week a bit 16:45:25 some of these fixes have been merged, others are in pull requests 16:45:52 one big change is the way handle end of file 16:46:01 for example to a process, or an http request 16:46:08 another one is how we buffer data 16:46:34 slowly but surely this has gotten more efficient, and i'm pretty happy with how it's done in #1545 16:46:56 i also did a bit of research on higher performance throughput of data 16:47:01 for things like VNC, SPICE etc... 16:47:20 and last week on friday had a proof of concept where i connected Cockpit to a Virtual Machine display 16:47:36 and was driving a RHEL VM via a cockpit component :) 16:47:51 this wasn't too much work 16:48:02 and you can see the resulting code changes in #1540 16:48:20 i'll try to make an example which uses this as a proof of concept 16:48:30 i know we don't have the design for listing or driving VMs 16:48:52 the basic idea for the high performance throughput is to open additional WebSockets for those use cases 16:48:53 soooooon..... 16:49:45 a lot of this work is so we can stabilize the protocol 16:49:49 i know this seems premature 16:49:58 i don't think so. 16:50:06 but since i'm not some kind of genius guru, many of the ideas that i implement need lots of vetting and t esting 16:50:14 for example the package stuff needs some tweaking now that we've had experience with it 16:50:51 we will always have ideas for improvements :-) 16:51:02 yeah, but once the protocol is stable, we have to be much more conservative 16:51:06 especially to do with packaging 16:51:08 and stuff like that 16:51:16 and let's be happy that right now we have the space to look at those 16:51:24 right 16:52:14 so, super work, stef! :-) 16:52:35 thanks 16:53:03 i _am_ looking forward to reaching a stable point again with our architecture and protocols, but no need to rush that, I would say. 16:53:33 t will be all kinds of awesome to use the new features to refresh the storage, for example. 16:54:29 sounds cool 16:54:34 mvollmer, yes that'll be cool 16:55:08 are we done :-) 16:55:24 I guess 16:55:25 so 16:55:34 #endmeeting