15:01:23 #startmeeting hubs-devel 15:01:23 Meeting started Tue Mar 7 15:01:23 2017 UTC. The chair is sayan. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:01:23 Useful Commands: #action #agreed #halp #info #idea #link #topic. 15:01:23 The meeting name has been set to 'hubs-devel' 15:01:36 #topic Roll Call 15:01:43 .hello sayanchowdhury 15:01:44 sayan: sayanchowdhury 'Sayan Chowdhury' 15:01:53 .hello duffy 15:01:54 mizmo: duffy 'Máirín Duffy' 15:01:59 .hello wispfox 15:02:00 shillman: wispfox 'Suzanne Hillman' 15:02:35 jcline: abompard: meeting time 15:03:29 .hello jcline 15:03:30 jcline: jcline 'Jeremy Cline' 15:03:50 .hello x3mboy 15:03:53 x3mboy: x3mboy 'Eduard Lucena' 15:04:51 #chair mizmo shillman jcline x3mboy 15:04:51 Current chairs: jcline mizmo sayan shillman x3mboy 15:05:33 #topic Action Items from last meeting 15:06:14 * mizmo to finish irc channel for hub config mockup 15:06:16 * mizmo to iterate IRC user list / chat mockups 15:06:18 * shillman to finish transcripts today 15:06:20 * shillman and mizmo to analyze info from usability sessions on Thursday 15:06:22 * sayan to work on the migration for hubs and start hubs-devel.fic 15:07:25 ! 15:07:47 mizmo: shillman: can you give an update on the action items? 15:07:57 fic = Fedora Infrastructure Cloud? 15:08:01 pagure.pull-request.comment.added -- bowlofeggs commented on pull-request#332 of project "fedora-hubs" https://pagure.io/fedora-hubs/pull-request/332#comment-20772 15:08:07 x3mboy: yes :) 15:08:10 Transcription done, summary done, and I met with Mo last week. 15:09:04 We did not complete the analysis, but there was a lot to go through. Today is my last day, so I'm working on getting loose ends tied up so that others can more easily take over my work. I'll try to keep coming to these meetings, at least until I find a full-time job (and we'll see past there). 15:09:28 I'm going to summarize the usability testing stuff in my blog post, as well as summarize the internship. 15:09:41 (two different posts. :) 15:09:54 i want to thank shillman too for doing such an awesome job for us. 15:10:06 shillman++ 15:10:06 x3mboy: Karma for wispfox changed to 3 (for the f25 release cycle): https://badges.fedoraproject.org/tags/cookie/any 15:10:25 :) 15:10:41 sayan: i did finish the ticket on configuring chat channel => hub https://pagure.io/fedora-hubs/issue/331 15:10:54 shillman: thanks for all the work over the last few months 15:11:12 Yeah, shillman++ 15:11:12 jcline: Karma for wispfox changed to 4 (for the f25 release cycle): https://badges.fedoraproject.org/tags/cookie/any 15:11:14 sayan: you are welcome! It was fun and interesting and I'm so glad Mo mentioned that it existed. 15:11:21 shillman++ 15:11:21 sayan: Karma for wispfox changed to 5 (for the f25 release cycle): https://badges.fedoraproject.org/tags/cookie/any 15:11:28 (and was willing to be my mentor) 15:12:07 I worked on the migrations and will be migrating after merging abompard PR https://pagure.io/fedora-hubs/pull-request/334 15:12:41 abompard: jcline: I don't think there is issue with this PR ^^. can we go ahead and merge this PR? 15:13:29 I didn't have an issue, who wants to click the merge button? 15:14:13 * sayan goes ahead :) 15:14:31 pagure.pull-request.comment.added -- sayanchowdhury commented on pull-request#334 of project "fedora-hubs" https://pagure.io/fedora-hubs/pull-request/334#comment-20774 15:14:32 pagure.pull-request.closed -- sayanchowdhury merged pull-request#334 of project "fedora-hubs" https://pagure.io/fedora-hubs/pull-request/334 15:14:36 #topic IRC Widget 15:16:01 jcline: mizmo: I did not file a issue with the fedora-infrastructure for the resources. But I fired up an AWS instance to see if synapse server and irc bride works 15:16:20 but I failed. I haven't been able to setup the connection :( 15:16:44 jcline: have you been using the matrix? 15:16:44 irc bride hehe (just realized it was a typo) 15:16:51 thats a bummer, what kind of issues did you have 15:16:52 haha :) 15:16:58 So I was going to start packaging the matrix reference server for Fedora, but in the mean time we could use our personal accounts on matrix.org (or self-hosted) to test 15:17:01 s/bride/bridge 15:17:28 sayan, I set it up last week and other than an initial lag to get things going, it worked smoothly 15:18:11 jcline: so you followed this for the setup? https://github.com/matrix-org/matrix-appservice-irc#setup 15:18:25 Yeah 15:18:49 IIRC I had to poke at the config a bit, but I can send you what's currently on my server if you want to compare 15:19:12 jcline: I was going to say the same 15:19:25 I would be interested in homeserver.yaml 15:20:29 Okay, I'll send that your way 15:21:08 I think, just for usability, that channels should be a dropdown menu with the Fedora owned IRC channels, and not a textbox 15:21:13 But it's just me 15:23:03 x3mboy: A lot of Fedora IRC channels come and go, so I think it's better to have a text box 15:23:39 Fair point 15:24:42 x3mboy: if it's a new hub they might want to create a new channel for it too 15:25:10 jcline: can you point me from where I can log into your matrix instance? 15:26:34 sayan, I can make you an account if you want, but I had turned the instance off since I didn't spend any time making it "production" quality 15:26:43 I wanted to package it before I deployed it for myself 15:27:28 jcline: okay, and that's true for the fic instance too. 15:27:31 You can also make an account on matrix.org at https://riot.im/app/#/ if you wanted to play 15:28:33 There is terrible lag with it. 15:29:18 Okay, well how about I package it this week and we can set up our own instance to work with? 15:29:32 sure 15:30:07 I think we also need to talk with the Freenode folks to make sure they're okay with us bridging to our channels 15:31:29 #action jcline to start packaging the matrix packages 15:31:35 sayan, https://paste.fedoraproject.org/paste/GzkQIBpePHbuAWao502H0F5M1UNdIGYhyRLivL9gydE= is my homeserver.yaml with keys redacted 15:32:29 jcline: thanks 15:32:30 https://paste.fedoraproject.org/paste/yW0K5Xe2bCgfbzou-ishMl5M1UNdIGYhyRLivL9gydE=/ is my irc bridge config - note that you'll need to change the channel mapping id, I think 15:32:42 jcline: yes 15:34:10 jcline: anyways, would you be starting with packaging synapse and related packages? 15:34:20 sayan, yup 15:34:21 and I can start with the irc-bridge? 15:34:35 Sounds good 15:37:18 I am moving over to open floor now 15:37:36 #topic Open Floor 15:39:12 mizmo: jcline: since IRC widget will be taking some more time, (hopefully, after the matrix setup we can iterate quickly) 15:39:27 can we complete off the other tasks we had left? 15:40:06 which ones? 15:40:24 * abompard must really fix his IRC desktop notifications issue 15:40:25 mizmo: like the release widget and the badges widget 15:40:45 #chair abompard 15:40:45 Current chairs: abompard jcline mizmo sayan shillman x3mboy 15:40:46 where are we on those? 15:41:04 shillman: you had made some progress on the user's badges widget html/css right? can you make sure to email me what you have today? 15:41:30 mizmo: for badges: I filed an issue which I am hitting on badges staging https://pagure.io/fedora-infrastructure/issue/5877 15:41:57 Another one that got fixed last week: https://pagure.io/fedora-infrastructure/issue/5868 15:42:13 mizmo: yeah, I'll send you that. I _think_ the latest in the etherpad is the most recent functional code, but I have to check. 15:42:17 mizmo: http://etherpad.osuosl.org/badges_path_template 15:42:28 and on the release widget we are left with the backend code 15:42:39 vivek_ was supposed to work on it 15:43:41 sayan: I'd like to discuss your PR 335 with you after the meeting if you don't mind 15:44:32 abompard: sure, anyways, I rebased it on top of your branch and generated the migrations again 15:45:03 pagure.pull-request.comment.added -- sayanchowdhury commented on pull-request#335 of project "fedora-hubs" https://pagure.io/fedora-hubs/pull-request/335#comment-20782 15:45:20 abompard: pushed again ^^ 15:45:42 sayan: it looks like this is a migration with the whole database, every column of every table 15:46:23 abompard: yes 15:46:52 So, in my understanding, there are two options to manage a database with Alembic 15:47:27 Option 1: start from an empty DB, run evey migration in order to arrive at the model's current schema 15:48:20 Option 2: start with a current DB as created by SQLAlchemy, "stamp" is as "HEAD" with Alembic, and keep older migration for those who have an older schema installed 15:48:34 This is decribed here: http://alembic.zzzcomputing.com/en/latest/cookbook.html#building-an-up-to-date-database-from-scratch 15:49:05 if i understand correctly, your migration is needed to implement option 1 15:49:46 abompard: yes, but how do you generate new migrations? 15:49:49 I'm more used to option 2, it feels cleaner to me, since a new database creation does not have to go through every migration of all times in a row 15:50:20 sayan: oh that's simple, you keep your old DB around, change the models, and run alembic with --autogenerate 15:50:26 it will compare the current DB to the models 15:50:31 and generate the proper migration 15:50:46 abompard: yes, my latest commit is built using that 15:50:52 the good thing is that you can remove old migrations when you're sure no one has them live 15:50:59 alembic -c hubs/alembic.ini revision --autogenerate -m "Add the intial models" 15:51:03 so you started from an empty DB ? 15:51:18 abompard: yes 15:51:36 OK, well if you use option 2, you don't even need that. 15:51:49 I'm not sure I'm clean 15:51:54 let me try again 15:52:37 when you want to create a new database from scratch, option 2 lets you create it from the models and just mark ("stamp") it as current in alembic 15:52:47 you don't need a migration with all the tables 15:52:55 you just need the models 15:53:34 when you want to upgrade an old database, alembic will look at the schema version in the DB itself, and apply necessary migrations 15:54:21 I guess the link to the alembic website explains it in a clearer way that I can ever do :) 15:54:25 http://alembic.zzzcomputing.com/en/latest/cookbook.html#building-an-up-to-date-database-from-scratch 15:54:54 * sayan reads the link 15:55:03 abompard: let's end the meeting and continue the discussion 15:55:17 sure 15:55:32 anything else to share in the open floor? 15:56:12 Ending the meeting in 15:56:14 3. 15:56:16 2. 15:56:18 1. 15:56:20 #endmeeting