/srv/irclogs.ubuntu.com/2012/06/28/#ubuntu-arb.txt

dholbachgood morning06:49
dholbachhey ajmitch07:45
ajmitchhi dholbach08:21
dholbachhow are you doing?08:21
ajmitchgood, how are you?08:22
dholbachgreat, thanks :)08:22
dholbachhow did https://wiki.ubuntu.com/AppReviewBoard/AppsSprint look to you?08:22
dholbachI'm currently writing the skeleton of an arb-lint tool, so we should be able to feed our knowledge into it, and it might be a good start for new contributors to check out branches/get packages from ppa and run the tool in there - I hope it will help us to put together a a bit more streamlined process08:23
ajmitchit looked ok, though I remembered that I've got something on both tuesday & wednesday nights next week :(08:25
ajmitcha lint tool would be really useful08:25
dholbachI'll put up the branch as soon as it starts doing something08:25
dholbachI thought we could add stuff like "your app ships translations outside /opt, here are links to a few diffs where we fixed it in other places"08:26
dholbachetc08:26
dholbachajmitch, do you know if there's a way in python to get all functions defined in an object?08:27
ajmitchdir() gets all object members, I'm not sure if there's a trivial way to get all that are callable08:28
dholbachaha08:28
dholbachok, I think I could easily rename all the functions to test_<something>08:29
dholbachand then call those08:29
dholbachcool08:29
dholbachlearned something new again :-D08:29
ajmitchthat's what unittest generally does, afaik08:30
dholbachsweet08:37
ersiyeah, most testrunners does exactly that ^08:54
PaoloRotoloHi all!09:14
dholbachajmitch, lp:~dholbach/+junk/arb-lint - what do you think?09:24
dholbachit's still very primitive, considering it's an 1h job, but it might serve as a foundation09:24
dholbachajmitch, you need to run it in the source tree of an app09:31
dholbachand you can pass to it a path where the built .deb files are, default is ".." (if you just run 'bzr bd')09:31
ajmitchdholbach: looks like a good start09:35
dholbachajmitch, shall I create a LP project for it?09:35
ajmitchsure09:36
ajmitchthen we can file bugs against it :)09:36
dholbachand please help improve it - I'm sure there's loads of bugs in it and I know it's mostly just a hack right now :)09:37
ajmitchyup09:38
ajmitchas I said, a good start for 1h :)09:38
ajmitchbut I know there are plenty of checks we can add09:38
* ajmitch is probably going to be busy with work all this weekend, big cleanup & rollout of new stuff for work09:38
dholbachas I said earlier, the best thing would be to point to diffs of things we fixed before09:38
dholbachoh wow09:39
dholbachthen good luck with that09:39
ajmitchthe deployment shouldn't be a problem, but cleaning up the cruft will be :)09:39
dholbach:)09:41
dholbachhttps://launchpad.net/arb-lint09:41
dholbachI'll send an email to the ARB list about it09:42
* ajmitch pull --remembers that09:42
dholbachalright, mail sent09:48
dholbachajmitch, if we manage to add a few more tests to arb-lint until beginning of next week, I'll add it to https://wiki.ubuntu.com/AppReviewBoard/AppsSprint as part of the instructions09:53
dholbachthe most general tests should be pretty easy to massage into it, I guess09:53
ajmitchthings like filenames in /usr not being prefixed with extras09:54
ajmitchwith the exception of /usr/share/doc/packagename09:54
dholbachyes, exactly09:56
dholbachexpections we have for lenses09:56
dholbachmaybe you should start filing some bugs :-P09:56
ajmitchmaybe I should :)09:56
dholbachajmitch, I implemented a test for lenses and if their .service/.lens file names are correct11:42
dholbachcan somebody from the ARB please accept this invitation https://launchpad.net/~ubuntu-app-review-contributors/+members#invited?13:12
dholbachit'd make the administration of the team a bit easier13:13
dholbachwendar, highvoltage, ajmitch, stgraber: ^13:13
highvoltageI can't see an accept button of any kind13:14
dholbachhum13:15
dholbachthen I'll have to wait until dpm is back from holidays13:15
dholbachI'll set up a daily build of arb-lint and push it to my PPA13:15
dholbachhighvoltage, is there anything on https://launchpad.net/~app-review-board maybe?13:16
highvoltagedholbach: ah I think it's because I'm not a team admin13:16
highvoltageI checked there too13:16
dholbachthat'd be weird because nobody of you is: https://launchpad.net/~app-review-board/+members#active13:16
dholbachstgraber, maybe a TB member can help? ^ :)13:16
highvoltageyeah stgraber is root on LP :)13:17
dholbach:-D13:17
dholbachit'll be much easier to install arb-lint as a package and go wild in random submitted apps :)13:17
stgraberdone13:18
dholbachyeehaw13:20
dholbachcan somebody also request a ppa for https://launchpad.net/~ubuntu-app-review-contributors?13:20
highvoltageI'm not sure if anyone else has brought this up yet (I just assumed someone would)13:57
highvoltagebut should we prioritize apps that are submitted for the competition / app showdown?13:58
highvoltageand do we have a list or easy way to get a list of those apps?13:58
dholbachI was wondering the same :)14:13
dholbachmhall119, so about dir() in arb-lint - I read the python docs and it seems it returns members and methods alphabetically, so I can't depend on the order :-/14:17
mhall119dholbach: yeah, I was concerned about that14:18
dholbachso instead of having test_1..., test_2... and the like, I call one of the functions from another one to be sure if happens14:18
dholbachie: find_out_if_this_is_a_lens calls _find_source_files14:18
dholbachnot very elegant, but practical I guess ;-)14:18
mhall119or you can just exit immediately if you know the function has run14:19
dholbachit's been a fun little project to work on14:19
dholbachyeah, I just added that in r1514:19
mhall119for example, start def find_changes_file with "if self.changes: return"14:19
dholbachthere's lots we can improve in there, but I hope it will serve as a basis for adding more tests and content into it14:20
dholbachnow with packages available, I think I can add it to the AppsSprint wiki page14:21
mhall119my next question is, do we want to make a separate -lint project, or just add extras.u.c specific checks to Lintian?14:21
dholbachI felt that it would be much harder to plug specific checks for stuff in extras into lintian, and also to get these tests upstream14:23
mhall119we wouldn't need to get them upstream, necessarily, it could be an independent package that just installs a new lintian profile and some extra checks14:24
dholbachyeah, theoretically it's possible, but I didn't want to block on learning lintian internals and extending lintian14:26
dholbachI won't insist on keeping this tool around14:27
dholbachI just thought it'd be good to have something up and running for next week14:27
mhall119ok14:29
dholbachalso I was super-pleased with 'pkgme' providing the initial packaging for it :-)14:30
dholbachjames_w, ^ :)14:30
mhall119+114:31
dholbachmhall119, highvoltage mentioned this earlier:15:06
dholbach<highvoltage> I'm not sure if anyone else has brought this up yet (I just assumed someone would)15:06
dholbach but should we prioritize apps that are submitted for the competition / app showdown?15:06
dholbach and do we have a list or easy way to get a list of those apps?15:06
highvoltageI could probably spend around 6-8 hours over the weekend for the competition apps and try to get as many of them into a [vote] stage as I can and reject the obvious ones15:08
highvoltage(I think we currently have 3 open votes, would've actually been nice if we could track that better too, I'll get in my votes for them tonight)15:09
dholbachmaybe we all should spend just a little bit of time every day triaging the queue - I hope that the apps-brancher + arb-lint is going to help speeding things up15:09
highvoltagehmm, I'm kind of weary about things like web browsers: https://myapps.developer.ubuntu.com/dev/apps/1070/15:14
highvoltagethey tend to be security nightmares.15:15
highvoltage(and I'm not sure how much code review is necessary to make sure it's not a password stealer)15:15
dholbachwe should probably just reject it15:18
dholbachbecause it's going to sit there forever with nobody touching it15:18
dholbachit's no trivial app for sure :)15:19
dholbachhey coolbhavi15:20
coolbhavihey dholbach15:20
coolbhaviinstalling arb-lint now15:21
dholbachit needs some more tests to be really useful, but I suppose it's a start15:22
coolbhavidholbach, its really cool :) thanks a lot and did you base this on lintian?15:24
dholbachno, it's self-cooked and pretty quickly cooked :)15:24
coolbhavigreat! ll do a apt-get source then m really interested in looking into the code now :)15:26
dholbachcoolbhavi, just bzr branch lp:arb-lint15:27
coolbhavidholbach, got permission denied error15:28
dholbachthat's very weird15:28
coolbhavidholbach, m checking my bzr conf now maybe I should reconfigure15:29
dholbachare you in a directory where you can write? do you have your correct 'bzr launchpad-login' set?15:29
dholbachdo you have your ssh key shared with LP?15:30
coolbhaviyes15:30
coolbhavill reconfigure btw15:30
highvoltagedholbach: something we talked about at UDS was also making blog posts when new ARB apps hit extras17:27
dholbachah yes, that'd be sweet17:27
highvoltagedholbach: I took an item for that, what do you suggest? Is it better if I post those updates from my blog, or is it better if there's some kind of Ubuntu Applications blog for that?17:27
dholbachI think for now it should be fine to just post it from your blog - if we want to mirror it somewhere else we can still do it17:28
dholbachdpm is on holidays right now, but next week he might have a better answer for you17:28
dholbachor maybe mhall119 knows?17:28
mhall119highvoltage: we were going to post them on the developer.ubuntu.com blog17:29
dholbachah there you go17:29
mhall119if you want to write them, we'll make sure you have access to it17:29
dholbachalrightie, that's the cue for me to go call it a day and clean up a bit before my friends are here and want to watch soccer :)17:30
mhall119dholbach: I've got an MP coming your way in just a minute17:30
dholbachcool, I'll take a look at it17:31
* dholbach hugs mhall11917:31
dholbachstill, I'll better head out now :)17:31
dholbachhave a great rest of your day :)17:31
highvoltageenjoy the game or whatever oli was talking about :)17:33
dholbachyeah, Germany - Italy - semi finals17:34
dholbachsee you :)17:36
=== james_w` is now known as james_w

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!