12:14:44 #startmeeting 12:14:44 Meeting started Fri Jan 2 12:14:44 2015 UTC. The chair is zack. Information about MeetBot at http://wiki.debian.org/MeetBot. 12:14:44 Useful Commands: #action #agreed #help #info #idea #link #topic. 12:14:51 #topic debsources opw - next meeting 12:15:05 meeeting next week, same hour, is good for you? 12:15:09 good 12:15:15 (matthieu should also be back by then) 12:15:20 03Holger Levsen 05master c45dda5 06jenkins.debian.net 10bin/reproducible_common.sh reproducible: dont display negative number of untested packages 12:15:33 #agreed next meeting Fri Jan 9th, usual time 12:15:41 #topic debsources opw - weekly review 12:15:49 let's start with the weekly review then 12:15:52 sure 12:16:06 first item is #761121, the symlink bug 12:16:17 I've integrated a modified version of your patch, which seems to work fine 12:16:21 have you looked at it? 12:16:58 yes. I had a look. 12:17:06 http://anonscm.debian.org/cgit/qa/debsources.git/commit/?id=5b7c61714f1c9cc68ef9255f91666d3c55d85c28 12:17:23 will the raise Http403error be triggered? 12:17:47 yes, if a symlink points to ../../../ enough times to leave the current package/version, it will return 403 12:17:56 I've tried it by hand, but it would be nice to have a test for that 12:18:22 yes. that's the case. 12:18:31 do you want to work on adding a test for it? 12:18:44 but for absolute links, e.g., /opt/my/pass 12:19:00 sure. 12:19:05 I will add a trello card. 12:19:24 so, I didn't try that, but in principle that would give a dest path that will fail the .startswith() test 12:19:47 please add that case to the test as well 12:19:56 do you know how to test this? 12:20:09 tempfile? 12:20:16 exactly 12:20:31 as the test data does not contain a "dangerous" symlink, you will have to create one on the fly 12:20:36 zack: why /var/go will trigger 403error? 12:20:51 I think it will fall into the condition "startswith" 12:21:02 I will test it later. 12:21:19 because "/var/go" does not start with "/srv/debsources/...." 12:21:35 but of course I could be wrong :), so please double-test my code 12:22:06 dest = os.path.normpath ( os.path.join (os.path.dirname(locatioin.sources_path, ..) ) ... 12:23:43 well, let's not waste our meeting time discussing this 12:23:53 I will change the item you created to be more explicit 12:24:13 I've moved the trello card 12:24:18 yes, but that's not enough 12:24:30 what you will have to do this week is to add a test for the insecure case 12:24:40 (the *secure* case is already tested) 12:24:41 yes. I modified the descriptioin. 12:24:58 ok, sorry, didn't see that 12:25:14 but seeing the change directly in the title is better, because you'll see that without having to open the item 12:25:22 nods. 12:25:28 anything else on this item? 12:25:38 nothing I think. 12:25:42 cool 12:25:49 so, next one is "test coverage >= 85%" 12:25:56 any progress on that? 12:26:12 did you see my last mail on this? 12:26:24 yes, as far as I can tell I'm still waiting for an updated patch from you 12:26:34 The missing coverage on infobox are basically exception. 12:26:55 If that style is ok, I'd like to add all the tests to the newly created Testcase 12:27:06 I've answered that question already: saying that the style is fine 12:27:14 and you said you will send an updated patch 12:27:15 oops. didn't notice that. 12:27:30 you said "I will cover the remain if the style is good, and you can apply them at once." :) 12:28:02 anyway: yes, the style is fine, please go ahead 12:28:08 yes. that's my last my email. cool 12:28:19 how far are we from 85%? 12:28:38 didn't see the exact number. Just trying to cover file by file 12:28:45 ok 12:28:51 I've a small suggestion 12:28:53 yes 12:29:06 have a general look at all lines that are currently not covered 12:29:10 and try to select the most interesting ones 12:29:19 got it. 12:29:25 for the *importerror* thing 12:29:32 testing exceptions is of course fine, but maybe there are more important parts of the code that are not being tested 12:29:34 I read the pep, but still no idea how to hack on that. 12:29:48 which PEP? 12:30:16 http://legacy.python.org/dev/peps/pep-0302/ 12:30:32 don't waste time on that import 12:30:38 as I've mentioned in email, it is only temporary 12:30:53 it will go away when we switch to the werkzeug version of debian jessie 12:30:53 got it. 12:31:10 just wondering how people test on that. 12:31:30 ok, so please move the test coverage card to next week 12:31:51 done. 12:32:05 btw, here http://nedbatchelder.com/code/coverage/excluding.html there seems to be a tip 12:32:12 on how to explicitly exclude line from coverage reports 12:32:23 (I haven't tried it though, please do) 12:32:25 aha. that's ignore them. 12:32:31 got it. 12:32:48 so, next item is the language override 12:32:56 which is done, right? 12:33:00 yup. 12:33:06 great, one less to care about :) 12:33:09 please archive the card 12:33:17 (and that's a great feature, btw!) 12:33:25 done 12:33:40 next one is showing symlink destination in "ls -l", any progress? 12:33:52 http://snag.gy/5jamw.jpg 12:34:00 is that style ok? 12:34:07 awesome! :) 12:34:24 as minor comments: 12:34:32 - why multiple spaces before the "->" 12:34:43 - and why "->" instead of, say, a unicode arrow like "→" 12:35:04 * sophiejjj just didn't know that. 12:35:21 no worries, it's just minor stylistic details, really 12:35:24 zack: to tell the truth 12:35:41 I fought for hours on how to make several spaces. 12:35:53 but why do you want several spaces? 12:36:05 to make things less clutterred. 12:36:21 well, "ls -l" does one space, and the output is quite readable 12:36:27 just go for one space :) 12:36:29 got it. 12:36:48 so, do you have a patch ready for that? 12:37:10 not yet. modify the space, merge the origin, and make the patch. 12:37:15 ok, great 12:37:25 let's move it to next week, but of course if it's ready before, even better :) 12:37:39 moved. 12:37:43 awesome 12:37:50 next item is copyright.d.n basic structure 12:37:53 what's the status there? 12:38:18 get an overall idea on that. 12:38:37 do you want me to comment on some draft structure? 12:38:46 after reading the spec, much should be borrowed from debsouces. 12:38:53 sure. 12:39:09 a comment on that 12:39:21 please note that we should not "borrow" (in the sense of copy-pasting) anywhing from debsources 12:39:22 03Holger Levsen 05master 89afec4 06jenkins.debian.net 10bin/reproducible_scheduler.sh reproducible: try harder to schedule (many) packages without .buildinfo files 12:39:33 the new web app will sit side-by-side, in the same Git repo *with* debsources 12:39:44 so it will be able to directly use the debsources code, wherever needed 12:39:46 ok? 12:39:53 aha. but the functionality looks mostly the same. 12:40:16 got it. 12:40:28 well, you can think of it like this: 12:40:39 it is just new functionalities that we want to add to debsources 12:40:40 but 12:40:42 the only part that needs totaly written from bottom up is the spec parser . 12:40:52 we also want the ability to deploy it to a different website, hence we use the blueprint structure 12:40:57 yes 12:41:01 to make it more portable. 12:41:04 sophiejjj: not even that, the parser already exists, it's in python-debian 12:41:20 we should only "connect the dots", basically 12:41:26 aha. got it. 12:41:38 ok, so, let's move the item to next week 12:41:39 written by you? 12:42:03 the parser has been written by John Wright, I've contributed some patches only 12:42:12 (but yes, I'm co-maintainer of python-debian) 12:42:30 #topic debsources opw - new stuff 12:42:39 what else do you want to pick on for next week? 12:42:51 I've made some suggestions moving stuff to the top of the "backburner" list 12:43:28 the suite-based navigation one would be nice 12:43:57 ok. I am going to move it. 12:44:02 done. 12:44:23 is the goal of that bug clear to you? or do you need some explanations? 12:44:36 not yet. 12:44:40 let me have a read. 12:46:31 got it. 12:46:51 ok, great 12:47:09 a confirmation. 12:47:13 sure 12:47:49 what is it? 12:47:54 if I click on jessie on the page of http://sources.debian.net/src/postfix/ , basically the url becomes to http://sources.debian.net/suite/jessie/postfix/ 12:47:55 right? 12:48:19 let me re-read the bug report first :) 12:48:38 so all and only all the postfix under jessie will be shown? 12:49:09 hmm. that seems two tickets. 12:49:22 the first one is just to implement http://sources.debian.net/suite/jessie/prefix/d/ 12:49:27 so, yes, there are 2 separate requests in the bug report 12:49:31 exactly 12:49:32 the second is what I mentioned above. 12:49:51 let's make them 2 separate cards them, so that it is clearer what you're working on 12:49:57 I suggest to start with the first one, which looks easier 12:50:05 got it. 12:50:11 cool 12:50:50 then I've also just added "inject binary package metadata", but only so that you start *looking* at it 12:50:57 to understand what you'll need to touch to address it 12:51:03 is that OK with you? 12:51:16 sure. 12:51:22 great 12:51:26 as a brief explanation 12:51:33 thus far you've basically only touched the web app part of debsources 12:51:41 but there is important work to be done also on the updater 12:51:54 and that bug is the first one in which you will probably have to touch that code 12:51:56 the updater is always a mysterious land for me. 12:52:04 eh, I imagined that :) 12:52:25 so let's take it slowly, for this week just try to figure out what will need to be changed for #761083 12:52:37 and of course, I'm always available if you've questions 12:52:47 awesome. 12:52:55 #topic debsources opw - miscellanea 12:53:06 any other questions/doubts/blockers? 12:53:17 not yet. 12:53:27 I love the "yet" ;) 12:54:04 so, can we end the meeting? 12:54:08 oh. one thing. 12:54:26 sure 12:54:38 sometimes I got lost in git. Is 'git diff' instead of 'git formatted patch' acceptable? 12:54:50 ok, so: 12:54:52 actually no 12:55:02 I think it is important you get familiar with "git format-patch" 12:55:15 because it is way easier for who receives the patch 12:55:27 did you read my tip on how to avoid getting lost with merges and the like? 12:55:38 yes. but you said rebase on the origin/master. 12:55:49 yes, git fetch + git rebase origin/master 12:56:09 did you try that? 12:56:14 didn't do that. I will have a try. I've plenty of opportunity on that. 12:56:26 ;) 12:56:30 great :) 12:56:38 feel free to ask on IRC if you get lost 12:56:47 could I send a patch via mutt as attachment? 12:56:52 oh, sure 12:57:04 git format-patch + mutt with the obtained 000X files as attachment 12:57:25 the git sendmail creates unnecessary threads on my gmail, too horrible 12:57:38 I even *prefer* patches as attachments to git send-email :) 12:57:55 so, feel free to abandon git send-email; I don't care about it 12:58:08 got it. 12:58:18 anything else? 12:58:25 I guess nothing. 12:58:29 so... 12:58:31 #endmeeting