*** tpb has joined #melange | 00:00 | |
*** jamtoday_ has joined #melange | 00:31 | |
*** jamtoday has quit IRC | 00:31 | |
*** dhaun has joined #melange | 03:17 | |
*** Kraln- has joined #melange | 04:21 | |
*** Kraln has quit IRC | 04:22 | |
*** Kraln has joined #melange | 05:06 | |
*** Kraln- has quit IRC | 05:08 | |
*** Merio has joined #melange | 05:12 | |
*** SRabbelier has joined #melange | 06:53 | |
*** ChanServ sets mode: +o SRabbelier | 06:53 | |
*** MatthewWilkes has joined #melange | 07:21 | |
*** tansell_laptop has joined #melange | 08:10 | |
*** madrazr has joined #melange | 09:45 | |
*** ChanServ sets mode: +v madrazr | 09:45 | |
*** florinciu has joined #melange | 10:20 | |
*** thrain42 has joined #melange | 10:25 | |
*** ChanServ sets mode: +v thrain42 | 10:25 | |
*** madrazr has left #melange | 10:31 | |
*** durin42 has quit IRC | 10:37 | |
*** dr__house has joined #melange | 10:59 | |
*** thrain42 is now known as durin42 | 11:18 | |
*** jamtoday_ has quit IRC | 11:21 | |
*** jamtoday has joined #melange | 11:26 | |
durin42 | MatthewWilkes: you awake? | 11:35 |
---|---|---|
*** jamtoday has quit IRC | 11:37 | |
*** madrazr has joined #melange | 12:10 | |
*** ChanServ sets mode: +v madrazr | 12:10 | |
MatthewWilkes | durin42: Ah, hi! | 12:20 |
durin42 | MatthewWilkes: did you look at the buildout patch at all? | 12:40 |
durin42 | I want to make sure I'm not totally failing at buildout somehow | 12:40 |
MatthewWilkes | Yep, I've cloned your queue, going to have a bit of a play. The setup.py has some slight issues re deps and testing, and I'm not sure the best way to handle the 3rd party stuff | 12:41 |
MatthewWilkes | Does it need to live there for GAE? | 12:41 |
MatthewWilkes | I've never deployed to the cloud, so don't know what it needs | 12:42 |
durin42 | My theory was that the buildout would be useful largely for testing, since the in-tree django and so on are what need to be there for deployment. | 12:42 |
*** jamtoday has joined #melange | 12:42 | |
durin42 | What kind of issues in the setup.py? | 12:42 |
durin42 | I didn't use test_depends out of lazyness :P | 12:42 |
MatthewWilkes | yeah, tests_require was one of them | 12:43 |
MatthewWilkes | The other is you didn't set the test suite, you used a console script | 12:44 |
durin42 | Oh, I forgot that feature exists | 12:44 |
durin42 | As long as that can use the custom wrapper around nose that I built, it'll work fine | 12:45 |
MatthewWilkes | What is the point of that wrapper, anyway? | 12:45 |
* MatthewWilkes doesn't understand the magic | 12:45 | |
durin42 | It installs a plugin into nose that resets the datastore between each test | 12:46 |
durin42 | and sets up the appengine mocks | 12:46 |
MatthewWilkes | Right, why wasn't that a new testcase, rather than a nose plugin? | 12:46 |
durin42 | Doing it as a nose plugin means you don't have to remember to call super() on setup/teardown | 12:47 |
durin42 | it's just a ton less work in the long term | 12:47 |
durin42 | Plus, setting up the mocks as a whole has to happen only once | 12:52 |
durin42 | so it's much easier to just do it before entering nose.main | 12:52 |
MatthewWilkes | sure | 12:53 |
MatthewWilkes | ok, I'll have a quick fiddle… | 12:55 |
durin42 | Sure. Oh, did you see my patch for gaeftest? | 12:55 |
MatthewWilkes | Nope, but have now | 12:56 |
MatthewWilkes | looking! | 12:56 |
*** Shaan7 has joined #melange | 12:57 | |
durin42 | BTW, I like how gaeftest makes functional testing stupid simple | 12:57 |
durin42 | I've got some other suggestions if you're interested, mostly making the port randomized and then having the url be a property on self | 12:58 |
MatthewWilkes | durin42: Pushed | 12:58 |
durin42 | MatthewWilkes: shiny :) | 12:59 |
MatthewWilkes | durin42: My other thought on how to improve it got scuppered slightly by how BaseHTTPServer is called in GAE | 12:59 |
MatthewWilkes | I would like to make it use an AF_UNIX port so it doesn't risk anyone listening to it | 12:59 |
durin42 | I just was getting really confused when I first had the buildout up why the tests continued to fail | 12:59 |
MatthewWilkes | :) | 12:59 |
MatthewWilkes | Sorry about that! | 12:59 |
MatthewWilkes | durin42: Do you want write to the gaeftest master repo? I've got no interest in blocking you | 13:00 |
durin42 | Hm, if you explicitly bind to 127.0.0.1 it shouldn't be visible to outside the machine | 13:00 |
durin42 | MatthewWilkes: nah, it makes sense to have the review on stuff :) | 13:00 |
MatthewWilkes | durin42: Yes, but not all machines have a 127.0.0.1 | 13:00 |
MatthewWilkes | freebsd jails, for example ;) | 13:00 |
durin42 | o_O | 13:00 |
durin42 | They don't? | 13:01 |
MatthewWilkes | Nope | 13:01 |
MatthewWilkes | Fucks me right off | 13:01 |
durin42 | Weird, didn't know that. | 13:01 |
* durin42 hasn't played with jails yet | 13:01 | |
*** Shaan7 has quit IRC | 13:02 | |
*** Shaan7 has joined #melange | 13:03 | |
*** Shaan7 has quit IRC | 13:06 | |
*** Shaan7 has joined #melange | 13:07 | |
*** Shaan7 has joined #melange | 13:29 | |
*** jamtoday has quit IRC | 13:35 | |
MatthewWilkes | durin42: Got to run, sorry, still fiddling with setup.py and buildout to make it act correctly, having some issues due to the tests not being inside the package being tested | 13:38 |
*** MatthewWilkes has quit IRC | 13:41 | |
*** jamtoday has joined #melange | 14:00 | |
*** jamtoday has quit IRC | 14:01 | |
*** jamtoday has joined #melange | 14:08 | |
*** Shaan7 has quit IRC | 14:12 | |
*** jamtoday has quit IRC | 14:13 | |
*** jamtoday has joined #melange | 14:34 | |
*** thrain42 has joined #melange | 15:27 | |
*** ChanServ sets mode: +v thrain42 | 15:27 | |
*** durin42 has quit IRC | 15:31 | |
*** MatthewWilkes has joined #melange | 15:48 | |
*** madrazr1 has joined #melange | 16:33 | |
*** dr__house has quit IRC | 16:35 | |
*** dr__house has joined #melange | 16:35 | |
*** madrazr has quit IRC | 16:36 | |
*** madrazr1 is now known as madrazr | 16:36 | |
*** ChanServ sets mode: +v madrazr | 16:36 | |
*** jamtoday has joined #melange | 16:50 | |
*** madrazr1 has joined #melange | 16:58 | |
MatthewWilkes | I love the andy | 17:00 |
MatthewWilkes | I just pushed a new version of an app onto the app store, looked at my phone and it had an "Update available" notice | 17:01 |
*** madrazr has quit IRC | 17:18 | |
*** jamtoday has quit IRC | 17:38 | |
*** thrain42 is now known as durin42 | 17:39 | |
durin42 | MatthewWilkes: for what it's worth the way I have run-tests set up as an entry point does work correctly | 17:39 |
*** florinciu has quit IRC | 17:41 | |
MatthewWilkes | durin42: I'm sure it does, the layout of the project is very unusual though, I'd like to investigate if it can be adapted easily to working like a normal python package | 17:48 |
*** durin42 has quit IRC | 17:54 | |
*** durin42 has joined #melange | 17:58 | |
*** ChanServ sets mode: +v durin42 | 17:58 | |
*** dr__house has quit IRC | 18:23 | |
*** madrazr1 has left #melange | 18:24 | |
*** dhaun has quit IRC | 19:02 | |
*** SRabbelier has quit IRC | 20:01 | |
*** Merio has quit IRC | 20:57 | |
*** MatthewWilkes has quit IRC | 23:01 | |
*** jamtoday has joined #melange | 23:28 | |
*** jamtoday has quit IRC | 23:34 | |
*** jamtoday has joined #melange | 23:46 | |
*** jamtoday has quit IRC | 23:56 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!