12:29:49 #startmeeting 12:29:49 Meeting started Fri Feb 13 12:29:49 2015 UTC. The chair is matthieucan. Information about MeetBot at http://wiki.debian.org/MeetBot. 12:29:49 Useful Commands: #action #agreed #help #info #idea #link #topic. 12:30:02 #topic OPW debsources - weekly review 12:30:51 shall we go on? 12:30:59 sophiejjj: anything to discuss before the point about c.d.n (where it's better to have zack)? 12:31:35 what about the item "learn debian.copyright API from python-debian"? 12:31:39 matthieucan: the current phase is about refactoring the existing code. 12:31:46 yup. 12:31:50 I read that. 12:31:55 yeah that's what I meant 12:31:57 great! 12:32:03 did you play with the library? 12:32:19 no. read the code and example. 12:32:27 I am working on the debsources code base. 12:32:58 fyi. https://github.com/sophiejjj/debsources/commits/cr 12:32:58 alright. you should maybe try to parse a random debian/copyright, to see how things work 12:33:05 let me see that 12:34:08 89 changed files with 2,591 additions and 2,230 deletions 12:34:15 that's some huge refactoring 12:34:24 (python-debian's copyright class is brand new and not tested much yet so please do feel free to report bugs and make suggestions about what else it could do) 12:34:32 themill: sure. 12:34:40 matthieucan: the status is 12:34:53 most of the web functionalities are running 12:35:06 other then the SourceView which is in progress. 12:35:15 alright 12:35:18 how many tests pass? 12:35:42 I haven't work on the tests yet. 12:35:51 but the api are largely maintained. 12:36:08 ok 12:36:17 what's COPYRIGHT-SITE-NOTES and the yaml stuff? 12:36:25 my plan is, after all the functionalities looks ok, go to the reviews phase 12:36:38 and at that time I fix the tests and change the code per your advice. 12:37:05 site-notes are some temp stuff I remind myself of. 12:37:21 oh alright 12:37:22 the yaml stuff is, after some investigation, 12:37:33 I think the yaml format is more suitable for the config. 12:37:39 here I'm 12:37:40 what amount of work do you think is still needed? 12:37:44 will catch up with the backlog 12:37:45 hi zack 12:37:46 the source view. 12:37:56 and some changes I made in the debsources 12:38:07 is it possible to fix a deadline for that? 12:38:35 not sure the yaml format can handle sections with a default section? 12:38:36 canont say deadline, but I'd like to have the function been running this weekend. 12:38:49 this would be nice :) 12:38:53 default is a line of code, and I've taken care of it. 12:39:22 the yaml idea should be discussed/implemented separately from the refactoring 12:39:29 it's big enough already 12:39:32 right, so ack to matthieucan's point about the tests, ideally they should all work, at least from the point of view of old APIs and the like 12:39:39 zack: yes. 12:39:44 we shouldn't break the public API due to internal refactoring reasons 12:39:50 of course. 12:40:31 I've a question about the process, how do you imagine the merge in master will work? single patch, multiple patches, or what? 12:40:50 single patch I think. 12:41:13 that would be massive, but better than merging the current long series of "work in progress" commits :) 12:41:24 I agree about that 12:41:33 haha. 12:41:38 and it keeps the master branch stable between every commit 12:41:43 yes. 12:41:47 exactly. 12:41:56 the question is, how hard would it be to review that patch :) 12:42:07 very hard, IMHO. 12:42:24 unless the refactoring can be properly splitted, it would be the same with many patches, right? 12:42:35 matthieucan: yes, splitting would be best 12:42:52 but sophiejjj is not very at ease with splitting commits using git, IIRC 12:42:58 sophiejjj: please correct me if I'm wrong 12:43:03 so I don't think we really have a choice 12:43:06 it's not the main problem 12:43:20 matthieucan: sadly, that's the truth. I am not really good at that. 12:43:23 the alternative is spiltting the big patch at merge time 12:43:34 matthieucan: i.e., you or me do that while reviewing 12:43:35 the problem would be to split the refactoring part, that is, keep being stable between commits 12:43:45 but, there is still some time of work before the merge. 12:44:19 anyway, so it seems to me that the status for next week is "keep on working, see what happens" 12:44:20 AFAIC, step 1. the web functionality work. step2. fix other minor changes, like module path change step3. fix the tests. 12:44:25 zack: oh I see, to split the reviewing work actually? looks doable with "files in the app"/"infra" 12:44:52 matthieucan: that's possible too, yes, but I suspect most of the changes will be in the webapp 12:45:08 zack: with some minor changes in debsources. 12:45:26 say, rename the data.stat to sources_data.stat 12:45:29 those will be easy targets for a separate commit then 12:45:33 sophiejjj: what about the conf management? I didn't look in details but I saw you changed things on GH 12:45:36 or move out the Location, Directory from models. 12:45:42 yes. 12:45:49 I changed it to yaml. 12:45:56 the webapp can read the conf. 12:46:04 but I don't test it with the debsouces update thing. 12:46:15 sophiejjj: you changed the file configuration syntax to yaml? 12:46:22 yes. 12:46:27 what about that: https://github.com/sophiejjj/debsources/compare/master...cr#diff-e2817b76bc82e8e37ccf811e4cfe886fR92 12:46:30 without discussing it with us? 12:46:31 zack: you don't like yaml? 12:46:35 that's not the point 12:46:40 zack: oh. last week 12:46:45 I mentioned changed the mainlib 12:47:03 I must forget to mention exactly the yaml 12:47:08 changing the configuration file format means that the day we deploy on the machine running sources.d.n will *break* 12:47:16 that's not OK 12:47:30 zack: that's what I am curious about recently. 12:47:42 How do you deploy the code? 12:47:45 that's exactly the kind of changes that if not properly discussed/documented with us will block your refactoring work to be integrated 12:47:54 we git pull 12:48:08 en. 12:48:17 then while will it break? 12:48:22 of course it will 12:48:30 because the configuration file we actually use will not be in yaml 12:48:49 sophiejjj: is there any concrete advantage in switching configuration file syntax other than "I like it more"? 12:49:02 zack: it's human-readable, typebased. 12:49:13 so much of the typing stuff in mainlib are omitted. 12:49:26 that's an advantage, I agree 12:49:30 you can directly write list, set, 12:49:55 do we still have inheritance of values between the "default" section and the other sections? 12:49:56 I've spent some time comparing it with other techinques. 12:50:03 yes. 12:50:08 ok 12:50:22 but please: do not take this kind of decisions without consulting us 12:50:27 it just takes a mail 12:50:30 yes. my fault. 12:50:30 and we usually respond very quickly 12:50:43 and don't mix this with the refactoring patch 12:50:55 also, please keep a list of changes that will need to be changed to fix breakages 12:51:04 like: "convert the syntax of the configuration file to yaml" :-) 12:51:12 got it. 12:51:17 otherwise we won't know how to deploy the new code 12:51:53 ok, anything else to report/discuss about the refactoring? 12:52:02 The sourceview on the go. 12:52:17 is that becoming a separate blueprint too? 12:52:21 is. 12:52:24 nice 12:52:25 yes. 12:53:06 please keep us posted next week, before friday, about how things are going 12:53:16 sure. 12:53:21 in particular, given you wanted to have things almost in place for this week-end, it'd be nice to know how it went on monday 12:53:46 Probably the webapp is running up. 12:53:54 and no link gives an exception. 12:54:05 great, let us know how the "probably" will end up being ;) 12:54:18 sure. 12:54:23 I've two other requests, on the communication front: 12:54:35 1) I think your next blog post is overdue now, please do it 12:54:47 2) have a look at https://lists.debian.org/debian-women/2015/02/msg00003.html ; please mail opw@debian.org about your work 12:55:05 regarding 2. I just gave a thorough read before the meeting. 12:55:35 actually I should have done the SourceView today, but I am busy preparing and applying for the visa to Canada, so... 12:56:22 sophiejjj: well, you're supposed to work full time on OPW, so that's not really an excuse (especially given you didn't tell us in advance) 12:56:41 my bad. 12:56:43 but let's not go down that path 12:57:00 sophiejjj: I guess we can move back to backburner the copyright.d.n part, right? 12:57:13 it's not gonna happen before the refactoring is over anyhow 12:57:28 yes. 12:57:38 ok, please do 12:58:27 anything else to discuss, before closing the meeting? 12:58:40 nothing else. 12:58:57 ok, so let's talk again on monday via email 12:59:01 ok 12:59:02 sure. 12:59:04 #endmeeting 12:59:11 #endmeeting