*** tpb has joined #melange | 00:00 | |
*** dr__house has joined #melange | 00:03 | |
*** dr__house has quit IRC | 00:11 | |
*** jljusten1 has joined #melange | 00:14 | |
*** carols has joined #melange | 00:19 | |
*** lresende has quit IRC | 00:20 | |
*** dr__house has joined #melange | 00:53 | |
*** dr__house has joined #melange | 00:53 | |
*** Voluntocracy has joined #melange | 01:07 | |
*** Voluntocracy has quit IRC | 01:16 | |
*** r0bby is now known as robbyoconnor | 01:23 | |
*** lresende has joined #melange | 01:56 | |
*** crodjer has joined #melange | 02:15 | |
*** dr__house has quit IRC | 02:30 | |
*** crodjer has quit IRC | 02:48 | |
*** vattam has joined #melange | 02:51 | |
*** dr__house has joined #melange | 02:52 | |
*** dr__house has joined #melange | 02:52 | |
*** m1k3y has quit IRC | 02:54 | |
*** durin42 has quit IRC | 02:54 | |
*** schultmc has quit IRC | 02:54 | |
*** mdc has quit IRC | 02:54 | |
*** nano- has quit IRC | 02:54 | |
*** m1k3y has joined #melange | 02:57 | |
*** durin42 has joined #melange | 02:57 | |
*** holmes.freenode.net sets mode: +v durin42 | 02:57 | |
*** nmudgal has quit IRC | 02:59 | |
*** schultmc has joined #melange | 03:00 | |
*** mdc has joined #melange | 03:00 | |
*** nano- has joined #melange | 03:00 | |
*** lresende has quit IRC | 04:42 | |
*** lresende_ has joined #melange | 04:43 | |
*** lresende_ is now known as lresende | 04:47 | |
*** lresende has quit IRC | 04:56 | |
*** slingshot316 has joined #melange | 05:05 | |
slingshot316 | SRabbelier: hello ! | 05:06 |
---|---|---|
*** slingshot316 has quit IRC | 05:17 | |
*** kronos has joined #melange | 05:27 | |
*** kronos has joined #melange | 05:27 | |
*** ankush has joined #melange | 05:57 | |
ankush | hi everyone | 05:58 |
ankush | this is my first time running the devel version , the first thing that stikes me is that the url and content tells its gsoc 2009 and banner says gsoc 2011. | 06:00 |
*** crodjer has joined #melange | 07:12 | |
*** kronos has quit IRC | 07:35 | |
*** tansell-laptop has joined #melange | 07:40 | |
*** crodjer has quit IRC | 07:48 | |
*** kronos has joined #melange | 08:04 | |
*** kronos has joined #melange | 08:04 | |
*** madrazr has joined #melange | 08:05 | |
*** ChanServ sets mode: +o madrazr | 08:05 | |
*** BlankVerse has joined #melange | 08:11 | |
*** tansell-laptop has quit IRC | 08:24 | |
*** ankush has quit IRC | 08:31 | |
*** madrazr has quit IRC | 08:47 | |
*** ankush has joined #melange | 08:50 | |
*** schultmc has quit IRC | 08:52 | |
*** schultmc has joined #melange | 08:52 | |
*** ankush has quit IRC | 08:56 | |
*** ankush has joined #melange | 09:00 | |
*** kronos has quit IRC | 09:19 | |
*** bmwiedemann has joined #melange | 09:31 | |
bmwiedemann | hi. I wanted to register as mentor, but the function says it is disabled "in preparation of the launch of the new UI for Melange later this week." | 09:32 |
Mek | that seems like quite a clear message? | 09:32 |
bmwiedemann | I thought, Friday was already quite late in the week | 09:33 |
bmwiedemann | but maybe I'll just recheck next week | 09:33 |
*** crodjer has joined #melange | 09:40 | |
*** npch has joined #melange | 10:00 | |
*** madrazr has joined #melange | 10:08 | |
*** ChanServ sets mode: +o madrazr | 10:08 | |
*** Zor has joined #melange | 10:09 | |
BlankVerse | SRabbelier: heya , http://melange-2.appspot.com/seed_db says not found | 10:20 |
BlankVerse | on a local instance we need to run seed_db to get initial data right? | 10:20 |
BlankVerse | why doesnt it work on app-engine? | 10:20 |
BlankVerse | SRabbelier: what files are missing | 10:20 |
*** bmwiedemann has left #melange | 10:23 | |
*** npch has left #melange | 10:32 | |
*** kronos has joined #melange | 11:09 | |
*** kronos has joined #melange | 11:09 | |
*** lars_kurth has joined #melange | 11:21 | |
lars_kurth | Does anybody know when http://www.google-melange.com/gsoc/mentor/invite/google/gsoc2011/xen_org will be up and running? | 11:22 |
tpb | <http://ln-s.net/8e+g> (at www.google-melange.com) | 11:22 |
*** nmudgal has joined #melange | 11:29 | |
*** crodjer has quit IRC | 11:39 | |
*** crodjer has joined #melange | 11:39 | |
*** cr0djer has joined #melange | 11:41 | |
*** kronos has quit IRC | 11:56 | |
*** crodjer has quit IRC | 12:04 | |
*** cr0djer is now known as crodjer | 12:05 | |
SRabbelier | BlankVerse: doesn't work on appspot.com | 12:05 |
SRabbelier | BlankVerse: unless teh version is.. .dev | 12:05 |
SRabbelier | lars_kurth: later today | 12:05 |
SRabbelier | BlankVerse: make that "devvin" :P | 12:06 |
SRabbelier | BlankVerse: see logic/system.py | 12:06 |
lars_kurth | @Srabbelier: thank you | 12:13 |
*** Zor has quit IRC | 12:13 | |
SRabbelier | lars_kurth: np | 12:17 |
*** Zor has joined #melange | 12:20 | |
*** Zor has joined #melange | 12:20 | |
*** Zor has joined #melange | 12:21 | |
*** Zor has joined #melange | 12:21 | |
*** SRabbelier sets mode: +b Zor!*@* | 12:22 | |
*** nmudgal has quit IRC | 12:26 | |
*** m4k3r has joined #melange | 12:27 | |
*** crodjer has quit IRC | 12:28 | |
*** crodjer has joined #melange | 12:28 | |
BlankVerse | SRabbelier: so what to change if i need to run on app-engine , set debug to false? | 12:32 |
SRabbelier | BlankVerse: set version to devvin | 12:32 |
SRabbelier | BlankVerse: (in app.yaml.template) | 12:32 |
SRabbelier | BlankVerse: **app.yaml | 12:32 |
*** happysri has joined #melange | 12:54 | |
happysri | hello, im not suring if any melange devs are here but if there were I just want to express my interest in building a new admin interface for melange | 12:59 |
happysri | *sure | 12:59 |
SRabbelier | happysri: hi | 13:00 |
SRabbelier | happysri: it's a bit of a small task tbh | 13:00 |
happysri | hmm, well Im sure I could think of extra features to keep me more occupied | 13:00 |
happysri | or try to refine them as much as I can | 13:00 |
happysri | but yes I guess it's relatively small. | 13:01 |
happysri | SRabbelier: Hi, I'm sure I caight you at a busy time, but would you happen to know who's mentoring the Admin project. I'm an arts and computer science student and this particular project kind of meets both my interests. Also I had some experince buildin intranets for pocket money a while ago. | 13:08 |
happysri | *caught | 13:09 |
SRabbelier | happysri: I don't think it has a specific mentor atm, in particular because it's so small, it's more of a starting point for a student to base their idea off | 13:09 |
happysri | Sure. ok well I guess I will think of something and get back to you guys with an application. | 13:11 |
happysri | Thanks | 13:11 |
BlankVerse | SRabbelier: still doesn;t work on app-engine | 13:17 |
BlankVerse | SRabbelier: with version: devvin | 13:17 |
happysri | madrazr: Hi, The Google Code In Module is one other project Im seriously considering applying for. The description is pretty clear and I am comfortable with the required skillset too. | 13:18 |
happysri | madrazr: I guess I just wanted to let you know | 13:18 |
madrazr | happysri: cool! | 13:19 |
happysri | I really like design new interfaces and just trying to make up a workflow when nothing exists. So I think this would indeed be "cool". :) Has there been a lot if interest in this module? | 13:21 |
happysri | *designing | 13:21 |
happysri | madrazr: I really like designing new interfaces and just trying to make up a workflow when nothing exists. So I think this would indeed be "cool". :) Has there been a lot if interest in this module? | 13:25 |
madrazr | happysri: there is interest | 13:25 |
madrazr | happysri: one or two students have asked about it | 13:25 |
madrazr | happysri: also if you see our dev group archives, you will see a student who has sent some mockups for this idea | 13:26 |
madrazr | happysri: it will be helpful to take a look at it once | 13:26 |
madrazr | I will just brb | 13:26 |
madrazr | I will have to switch my place | 13:26 |
happysri | madrazr: That sounds like a good idea | 13:26 |
happysri | Sure | 13:26 |
* madrazr that reminds me that I will have to review his patches | 13:27 | |
*** madrazr has left #melange | 13:29 | |
SRabbelier | BlankVerse: you sure you set that verison as default? | 13:30 |
ankush | SRabbelier, there are lot of difference in gsoc.appspot.com and my local devel server.. why so? | 13:34 |
*** kronos has joined #melange | 13:36 | |
SRabbelier | ankush: what do you mean? | 13:37 |
SRabbelier | ankush: probably just the state of your datastore | 13:37 |
ankush | the sidebar is also different | 13:38 |
SRabbelier | ankush: same answer | 13:38 |
*** happysri has quit IRC | 13:48 | |
*** antrik has joined #melange | 13:49 | |
ankush | on the local devel server, how / where is the data stored? like user accounts? settings.py shows a dummy db! | 13:50 |
SRabbelier | ankush: /tmp/dev_appserver or somethign | 13:50 |
SRabbelier | ankush: does it matter? | 13:50 |
kronos | I tried running melange from the repo and im getting an error. http://pastebin.com/96w8Vxqq Can someone look into it, it seems to be a problem with mechanize. | 13:50 |
tpb | Title: melange - Pastebin.com (at pastebin.com) | 13:50 |
SRabbelier | kronos: OS/python version? | 13:51 |
kronos | SRabbelier, ubuntu maverick .. python 2.6.6 | 13:51 |
kronos | I tried installing mechanize using easy_install and it failed with a similar error. | 13:52 |
SRabbelier | kronos: curious | 13:53 |
SRabbelier | kronos: do you have setuptools installed? | 13:55 |
ankush | kronos, try insatlling it from source, i mean without setup tools | 13:55 |
kronos | SRabbelier, yeah .. i have them installed .. this is what i got. http://pastebin.com/3XgqfJx8 | 13:56 |
tpb | Title: bhargav@kronos:~/bin/melange$ sudo easy_install mechanize Traceback (most rece - Pastebin.com (at pastebin.com) | 13:56 |
SRabbelier | kronos: can you uninstall them? | 13:56 |
SRabbelier | kronos: it's no longer supported | 13:56 |
SRabbelier | kronos: you should be using distribute | 13:56 |
kronos | ok.. | 13:56 |
*** nmudgal has joined #melange | 13:57 | |
ankush | SRabbelier, regarding issue 419 : Forms should be saved automatically and periodically .. we can implemnt this by javascript | 14:14 |
SRabbelier | ankush: well, obviously | 14:14 |
ankush | alrite, but in the local repo server, there's no link to add a proposal, | 14:16 |
ankush | except the one , which comes right after when we register for gsoc. | 14:16 |
SRabbelier | ankush: what do you mean with the last sentence? | 14:19 |
ankush | when a student registeres himself , a link is provided on the top of the form to see the organisations | 14:20 |
ankush | and apply to them | 14:20 |
SRabbelier | ankush: ah, I think you found a bug | 14:21 |
SRabbelier | ankush: should only be shown when accepted orgs are announced | 14:21 |
SRabbelier | ankush: which the default seed_db doesn't | 14:21 |
ankush | except that link, which only comes just after the registration, I cant see any other link to see the proposal | 14:21 |
SRabbelier | ankush: set your timeline | 14:21 |
SRabbelier | ankush: http://localhost:8080/gsoc/timeline/edit/google/gsoc2009 | 14:21 |
*** gedex has joined #melange | 14:25 | |
ankush | SRabbelier, what do u mean by set ur time line? no link is working on that page.. | 14:28 |
SRabbelier | ankush: there's a form there though, isn't there? | 14:28 |
ankush | no, it asks for a user profile. | 14:29 |
ankush | i am login though as a developer. | 14:30 |
ankush | got it | 14:30 |
SRabbelier | ankush: eh? | 14:30 |
gedex | SRabbelier: I found assert was used in access_checker. Is it for debugging purpose? This assert causing AssertionError when I tried submit a proposal | 14:43 |
SRabbelier | gedex: it's used to find bugs in the implementation | 14:44 |
SRabbelier | gedex: can you pastebin the failure? | 14:44 |
*** madrazr has joined #melange | 14:44 | |
*** ChanServ sets mode: +o madrazr | 14:44 | |
gedex | http://pastebin.com/5eYspVcb | 14:46 |
tpb | Title: [Python] Environment: Request Method: GET Request URL: http://localhost:8080/gsoc/pro - Pastebin.com (at pastebin.com) | 14:46 |
SRabbelier | gedex: yeah, you found a bug | 14:46 |
SRabbelier | gedex: can you write a test? | 14:46 |
SRabbelier | gedex: or, more accurately, extend the existing test? | 14:47 |
SRabbelier | gedex: tests/new_views/test_proposal.py | 14:47 |
gedex | SRabbelier: I never write a test in DjangoTestcase before, but give me a try | 14:48 |
SRabbelier | gedex: look at the existing tests, it's fairly straightforward | 14:48 |
SRabbelier | gedex: demonstrating that an exception is raised is enough, which can be done with just self.assertResponseOK | 14:49 |
SRabbelier | gedex: which is called by self.assertGSoCTemplatesUsed | 14:49 |
gedex | SRabbelier: So the assert was used to debug the data and determine whether buggy or not? And it will be removed in the live instance, right? | 14:50 |
SRabbelier | gedex: yes, and no | 14:51 |
SRabbelier | gedex: it's a trivial check, doesn't affect performance | 14:51 |
SRabbelier | gedex: if a bug slips into production it'll be useful to find it sooner rather than later, yes? | 14:51 |
gedex | SRabbelier: but it will crash early. Does the assert better than Exception and give 404 to public and log the error silently? | 14:53 |
SRabbelier | gedex: crashing early is good, but you make a good point, we should catch assertion errors in views/base.py | 14:54 |
*** happysri has joined #melange | 15:00 | |
*** happysri has quit IRC | 15:05 | |
*** GedMurphy has joined #melange | 15:08 | |
GedMurphy | Hi all. Is there any info on when we'll be able to add mentors via melange? | 15:09 |
*** arun_ has quit IRC | 15:15 | |
SRabbelier | GedMurphy: later today | 15:34 |
GedMurphy | great, thanks | 15:34 |
*** maker has joined #melange | 15:48 | |
*** m4k3r has quit IRC | 15:48 | |
*** GedMurphy has left #melange | 15:50 | |
*** dr__hous1 has joined #melange | 15:55 | |
*** esha_ has joined #melange | 16:03 | |
*** ankush has quit IRC | 16:03 | |
*** esha_ has quit IRC | 16:07 | |
*** eshac has joined #melange | 16:11 | |
gedex | SRabbelier: Any clue why I got this error: http://pastebin.com/Cw5HS497 | 16:13 |
tpb | Title: An internal error occurred due to a bug in either zc.buildout or in a recipe be - Pastebin.com (at pastebin.com) | 16:13 |
gedex | SRabellier: There was no such error before when buildout | 16:14 |
SRabbelier | gedex: when did you start getting this? | 16:14 |
gedex | SRabbelier: today, after I pull | 16:15 |
SRabbelier | gedex: what version were you at previously? | 16:15 |
gedex | SRabbelier: What version of? | 16:16 |
SRabbelier | gedex: melange | 16:17 |
*** jainbasil has joined #melange | 16:17 | |
gedex | SRabbelier: Hmm, I don't remember exactly. I just remove my clone and trying pull again after had some heads in my working directory. | 16:18 |
SRabbelier | gedex: :( | 16:18 |
SRabbelier | gedex: can you try updating to a version before 8175a1aba355? | 16:18 |
BlankVerse | SRabbelier: can you plz have a look at it | 16:20 |
BlankVerse | SRabbelier: http://paste.pocoo.org/show/359513/ | 16:20 |
tpb | Title: Paste #359513 | LodgeIt! (at paste.pocoo.org) | 16:20 |
*** eshac has quit IRC | 16:20 | |
BlankVerse | SRabbelier: version: devvin line no. 18 | 16:20 |
SRabbelier | BlankVerse: yes, did you set that version as the current one on appspot.com? | 16:20 |
SRabbelier | BlankVerse: e.g. the https://appengine.google.com/deployment page? | 16:21 |
tpb | Title: Google Accounts (at appengine.google.com) | 16:21 |
BlankVerse | SRabbelier: i have version 2-0-20110323 there | 16:22 |
SRabbelier | BlankVerse: there you go :) | 16:22 |
SRabbelier | BlankVerse: select 'devvin' as default | 16:22 |
*** esha has joined #melange | 16:22 | |
BlankVerse | BlankVerse: i dont have devvin thr? | 16:23 |
BlankVerse | SRabbelier: only one version available | 16:23 |
SRabbelier | BlankVerse: you didn't deploy the correct version then | 16:23 |
BlankVerse | SRabbelier: let me investigate | 16:23 |
SRabbelier | BlankVerse: it will tell you when deploying which version you are deploying | 16:23 |
*** esha has quit IRC | 16:28 | |
kronos | SRabbelier, i am running melange locally, when i try to open it, it says "This page is only accessible to developers". | 16:28 |
SRabbelier | kronos: run seed_db | 16:28 |
kronos | SRabbelier, hmm.. got it .. thanks. | 16:29 |
BlankVerse | SRabbelier: awesome man , done :) | 16:30 |
SRabbelier | BlankVerse: cool | 16:30 |
BlankVerse | SRabbelier: read more on the homepage redirects to http://melange-2.appspot.com/gsoc/homepage/google/undefined | 16:32 |
SRabbelier | BlankVerse: huh | 16:33 |
BlankVerse | SRabbelier: read more link at the bottom? | 16:33 |
BlankVerse | SRabbelier: just to let you know ... dont get angry at me :P | 16:34 |
SRabbelier | BlankVerse: ah! | 16:34 |
SRabbelier | BlankVerse: nice find | 16:34 |
SRabbelier | BlankVerse: cos the blog feed is not | 16:34 |
SRabbelier | BlankVerse: we shouldn't display the blog feed if it's not set obv. | 16:34 |
BlankVerse | SRabbelier: the same thing | 16:34 |
SRabbelier | BlankVerse: you want to fix that? | 16:34 |
BlankVerse | SRabbelier: should i fix it and send a patch | 16:35 |
SRabbelier | BlankVerse: if you want | 16:35 |
SRabbelier | BlankVerse: you can do the same for the "Connect with us" block | 16:35 |
BlankVerse | SRabbelier: awesome | 16:35 |
*** slingshot316 has joined #melange | 16:35 | |
slingshot316 | madrazr: SRabbelier hello :) | 16:35 |
BlankVerse | SRabbelier: getting bugfixes/patches accepted to any OSS project makes me feel so high :) | 16:36 |
SRabbelier | BlankVerse: yeah :) | 16:36 |
SRabbelier | slingshot316: hi | 16:36 |
BlankVerse | SRabbelier: its a line of my own code is running on this beast :P | 16:36 |
SRabbelier | BlankVerse: exactly! | 16:36 |
slingshot316 | SRabbelier: i wrote a little part of the view, should it contain comments? task type? and task difficulty too? and here is the code http://dpaste.com/525554/ | 16:38 |
tpb | Title: dpaste: #525554: gci_Task, by slingshot316 (at dpaste.com) | 16:38 |
SRabbelier | slingshot316: it should have comments only if things aren't obvious | 16:38 |
slingshot316 | SRabbelier: no comments as in, the comments that can posted for that task | 16:40 |
slingshot316 | can be* | 16:40 |
SRabbelier | slingshot316: sure, it should have all the functionality of the old vivew | 16:40 |
slingshot316 | SRabbelier: okay and task type and task difficulty too ? | 16:40 |
SRabbelier | slingshot316: sure, it should have all the functionality of the old view | 16:41 |
kronos | SRabbelier, i would like to contribute to melange, can u suggest me where to start ? | 16:41 |
SRabbelier | kronos: what are you interested in? | 16:41 |
kronos | SRabbelier, i wanted to apply for gsoc, so i wanted to get started somewhere.. | 16:42 |
SRabbelier | kronos: you could pick up the school name autocomplete patch | 16:43 |
BlankVerse | SRabbelier: i forgot what the exact path was , i mean templates/v2? | 16:44 |
BlankVerse | SRabbelier: which one is working currently | 16:44 |
SRabbelier | BlankVerse: those are in.. templates/v2/modules/gsoc/views/homepage/* | 16:45 |
slingshot316 | SRabbelier: sure and also i added this method to soc.views.helper.access_checker http://dpaste.com/525558 and i should write one soc.modules.gci.views.helper.access_checker right? | 16:47 |
tpb | Title: dpaste: #525558: by slingshot316 (at dpaste.com) | 16:47 |
slingshot316 | SRabbelier: i need some help with line 10 | 16:48 |
kronos | SRabbelier, i would love to contribute .. can i get some more details ? | 16:49 |
SRabbelier | slingshot316: right | 16:49 |
SRabbelier | slingshot316: you should pull | 16:49 |
slingshot316 | SRabbelier: will try :) | 16:50 |
SRabbelier | slingshot316: we don't change 'self.data' in the AccessChecker anymore | 16:50 |
SRabbelier | slingshot316: that's done in Mutator | 16:50 |
slingshot316 | SRabbelier: as in? i'm sorry i dint quite get it :( | 16:51 |
SRabbelier | slingshot316: you assign to self.data | 16:51 |
SRabbelier | slingshot316: self.data.task= GCITask.get_by_id(id, parent=self.data.profile) | 16:51 |
slingshot316 | SRabbelier: oh i shouldn't do it ? | 16:51 |
SRabbelier | slingshot316: you should do that in the Mutator | 16:51 |
slingshot316 | SRabbelier: oh okay and that is in? soc.views.helper.access_checker? | 16:52 |
SRabbelier | slingshot316: right | 16:52 |
SRabbelier | slingshot316: at the top | 16:52 |
slingshot316 | SRabbelier: i'm not able to find Mutator in access_checker | 16:54 |
slingshot316 | SRabbelier: sorry got it | 16:55 |
slingshot316 | SRabbelier: overlooked, my bad | 16:55 |
kronos | SRabbelier, can i get some details about the school name autocomplete patch ? | 16:56 |
SRabbelier | kronos: yes, it's in our tracker | 16:57 |
SRabbelier | kronos: http://code.google.com/p/soc/issues/detail?id=968 | 16:58 |
tpb | <http://ln-s.net/8eFf> (at code.google.com) | 16:58 |
SRabbelier | kronos: you'll have to port it | 16:58 |
SRabbelier | kronos: and make changes to soc.modules.gsoc.views.profile | 16:58 |
kronos | SRabbelier, ok..i'll get back if i have any problems.. | 17:02 |
BlankVerse | SRabbelier: http://paste.pocoo.org/show/359527/ | 17:03 |
tpb | Title: Paste #359527 | LodgeIt! (at paste.pocoo.org) | 17:03 |
BlankVerse | is this correct , it fixed the connect_with_us part | 17:03 |
BlankVerse | SRabbelier: seems i did it wrong | 17:06 |
*** ankush has joined #melange | 17:10 | |
*** slingshot316 has quit IRC | 17:10 | |
SRabbelier | BlankVerse: hmph, actually, I need to refactor that | 17:14 |
SRabbelier | BlankVerse: heh, look at templates/v2/modules/gsoc/org_home/* | 17:14 |
BlankVerse | SRabbelier: actually in modules/gsoc/views/homepage.py , it gets passed always | 17:14 |
SRabbelier | BlankVerse: right | 17:15 |
SRabbelier | BlankVerse: so look at org_home | 17:15 |
SRabbelier | there it's fixed | 17:15 |
SRabbelier | BlankVerse: but those two templates are the same | 17:15 |
SRabbelier | BlankVerse: as in, copy pasted | 17:15 |
SRabbelier | BlankVerse: they should be factored out | 17:15 |
*** crodjer has quit IRC | 17:17 | |
BlankVerse | SRabbelier: which page loads these templates? | 17:18 |
BlankVerse | org_home? | 17:18 |
SRabbelier | BlankVerse: yes | 17:18 |
BlankVerse | SRabbelier: how to know which template is called by which view or loads at which url? | 17:19 |
SRabbelier | BlankVerse: the templatePath method | 17:19 |
kronos | SRabbelier, where can i get that patch ? | 17:20 |
BlankVerse | SRabbelier: they all point to "v2/modules/gsoc/homepage/ | 17:20 |
BlankVerse | SRabbelier: ./modules/gsoc/views/org_home.py gets loaded at which url? | 17:21 |
SRabbelier | kronos: it tells you :) | 17:21 |
SRabbelier | kronos: see getDjangoUrlPatterns | 17:22 |
BlankVerse | url(r'^gsoc/org/%s$' % url_patterns.ORG, self, | 17:22 |
SRabbelier | gedex: how's that test coming along? | 17:22 |
SRabbelier | BlankVerse: exactly | 17:22 |
SRabbelier | kronos: sec | 17:24 |
BlankVerse | SRabbelier: checking to display or not id done in the template right? | 17:26 |
BlankVerse | SRabbelier: {%if blah%} do something | 17:26 |
SRabbelier | BlankVerse: yeah, in _contact.html | 17:27 |
BlankVerse | SRabbelier: yeah , but these have nothing to do with homepage | 17:28 |
SRabbelier | BlankVerse: right, but they do the same thing, no? :) | 17:28 |
gedex | SRabbelier: Still updating to other version and waiting the buildout; anyone want to takeover? | 17:28 |
SRabbelier | BlankVerse: they show a box with contact information, with the exact same fields in both cases | 17:28 |
SRabbelier | BlankVerse: so it should become a Template | 17:29 |
BlankVerse | SRabbelier: yeah , but to fix connect with us and blog feed , i need to fix the hompage/* | 17:29 |
SRabbelier | BlankVerse: yes, so after you factor out the one from org_home (which does behave correctly), make homepage use that too, fixing it | 17:30 |
*** crodjer has joined #melange | 17:30 | |
BlankVerse | SRabbelier: can you plz give me a url to test org_home pages? | 17:31 |
BlankVerse | SRabbelier: i cant get the right path to check those pages | 17:31 |
SRabbelier | BlankVerse: click through from the accepted orgs page | 17:31 |
BlankVerse | SRabbelier: and where is this accepted_orgs page? | 17:33 |
SRabbelier | BlankVerse: if you set the timeline appropriately it'll show up | 17:33 |
SRabbelier | BlankVerse: http://localhost:8080/gsoc/timeline/edit/google/gsoc2009 | 17:33 |
BlankVerse | SRabbelier: that works | 17:34 |
SRabbelier | BlankVerse: cool | 17:34 |
BlankVerse | SRabbelier: but still no accepted orgs page there... | 17:35 |
BlankVerse | SRabbelier: can u give a link to accepted orgs page | 17:36 |
SRabbelier | BlankVerse: did you set "accepted orgs announced on ..." to some date in the past? | 17:36 |
BlankVerse | SRabbelier: no | 17:37 |
SRabbelier | BlankVerse: that's what you should do :P | 17:37 |
*** dhaun has joined #melange | 17:38 | |
BlankVerse | SRabbelier: set in past , but still cant figure out | 17:38 |
SRabbelier | BlankVerse: what do you mean? | 17:38 |
BlankVerse | http://localhost:8080/gsoc/timeline/show/google/gsoc2009 does this break for you | 17:38 |
BlankVerse | where should this accepted_orgs link be in the left sidebar? | 17:39 |
BlankVerse | on the timeline page u last sent | 17:39 |
SRabbelier | BlankVerse: there's no show page | 17:40 |
SRabbelier | BlankVerse: only edit | 17:40 |
SRabbelier | BlankVerse: also, it's not in the sidebar | 17:40 |
SRabbelier | BlankVerse: it should be on the homepage | 17:40 |
BlankVerse | SRabbelier: got it | 17:40 |
BlankVerse | SRabbelier: srry | 17:40 |
BlankVerse | SRabbelier: btw , lots of links seem to be broken , is it in a very alpha phase? | 17:41 |
BlankVerse | SRabbelier: or just because its beign re-written | 17:41 |
SRabbelier | BlankVerse: what you see at http://localhost:8080/gsoc/timeline/edit/google/gsoc2009 is the old UI | 17:41 |
SRabbelier | BlankVerse: it's just that we haven't ported the edit timeline page | 17:41 |
SRabbelier | BlankVerse: so we used the old UI | 17:41 |
BlankVerse | SRabbelier: ok | 17:42 |
gedex | SRabbelier: Still get same problem after updating to previous version 8175a1aba355. Might be the zc.buildout? | 17:43 |
SRabbelier | gedex: you think they changed it? | 17:44 |
gedex | SRabbelier: I am not sure. The error always the same, when trying to get distribution for 'mechanize>=0.2.0'. | 17:46 |
kronos | gedex, i was getting the same error, i built mechanize manually . | 17:48 |
gedex | kronos: what url to get the mechanize distribution? | 17:51 |
kronos | gedex, http://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.4.tar.gz | 17:52 |
tpb | <http://ln-s.net/8eGu> (at pypi.python.org) | 17:52 |
gedex | kronos: Using easy_install manually also generate the same error. Ok thanks | 17:53 |
kronos | gedex, welcome :) | 17:54 |
SRabbelier | kronos: what did you do with it after you downloaded it? | 17:54 |
*** lars_kurth has quit IRC | 17:54 | |
kronos | SRabbelier, extracted it and ran "sudo python setup.py install" (installed it) | 17:54 |
*** lars_kurth has joined #melange | 17:54 | |
SRabbelier | kronos: ah | 17:55 |
SRabbelier | kronos: I have the patch | 17:55 |
*** maker has quit IRC | 17:56 | |
*** m4k3r has joined #melange | 17:56 | |
kronos | SRabbelier, can u send it to me somehow. | 17:56 |
SRabbelier | kronos: what's your email? | 17:56 |
SRabbelier | kronos: I'll cc you | 17:56 |
kronos | SRabbelier, [email protected] | 17:56 |
gedex | SRabbelier: patch for mechanize problem ? | 17:58 |
SRabbelier | gedex: no, university list :) | 18:00 |
*** lars_kurth has quit IRC | 18:01 | |
*** crodjer has quit IRC | 18:01 | |
SRabbelier | kronos: is your first name Bhargav? | 18:01 |
kronos | SRabbelier, yeah . | 18:01 |
SRabbelier | kronos: ok :), didn't want to misaddress you | 18:01 |
kronos | ok. | 18:02 |
gedex | kronos: It works like charm | 18:08 |
gedex | kronos: thanks man | 18:08 |
kronos | gedex, :) | 18:08 |
SRabbelier | kronos: see email | 18:09 |
SRabbelier | kronos: and thanks for helping out gedex :) | 18:09 |
kronos | SRabbelier, got it . | 18:10 |
SRabbelier | kronos: excellent, let us know if you can't implement this before, say, tomorrow :P | 18:10 |
*** lars_kurth has joined #melange | 18:27 | |
*** kronos has quit IRC | 18:29 | |
*** madrazr has quit IRC | 18:34 | |
SRabbelier | gedex: dude, awesome with the university data :P | 18:34 |
*** nrungta has joined #melange | 18:35 | |
gedex | SRabbelier: I am not sure if it is legal or not crawling the data from linkedin and webometric :p | 18:35 |
gedex | SRabbelier: I think it's fine if we used it on development | 18:36 |
SRabbelier | gedex: check their TOS I suppose? | 18:36 |
nrungta | Is there an estimate on when we will be able to invite mentors again? | 18:36 |
SRabbelier | nrungta: later today | 18:36 |
nrungta | thanks SRabbelier | 18:36 |
SRabbelier | nrungta: barring any major explosions | 18:36 |
*** madrazr has joined #melange | 18:39 | |
*** ChanServ sets mode: +o madrazr | 18:39 | |
*** lars_kurth has quit IRC | 18:41 | |
*** lars_kurth has joined #melange | 18:45 | |
*** kronos has joined #melange | 18:48 | |
*** kronos has joined #melange | 18:48 | |
*** lars_kurth has quit IRC | 18:50 | |
*** lars_kurth has joined #melange | 18:50 | |
BlankVerse | SRabbelier: what needs to be refactored in hompage/ in ways similar to org_home/ ? | 18:54 |
SRabbelier | BlankVerse: what would your best guess be? | 18:54 |
*** kstreith has joined #melange | 18:55 | |
BlankVerse | SRabbelier: i have never refactored any code to be honest | 18:55 |
SRabbelier | BlankVerse: well, look for duplication | 18:57 |
SRabbelier | BlankVerse: between org_home's Contact us box, and the one on homepage | 18:57 |
BlankVerse | BlankVerse: and move it from org_home's to homepage's | 18:58 |
*** kstreith has quit IRC | 18:59 | |
SRabbelier | BlankVerse: factor it out | 18:59 |
SRabbelier | BlankVerse: put it in a common place where they can both use it | 18:59 |
BlankVerse | SRabbelier: ok | 19:00 |
BlankVerse | SRabbelier: yay , now connect with us is working(not showning up) :) | 19:05 |
SRabbelier | BlankVerse: cool! | 19:07 |
BlankVerse | SRabbelier: should i move the blog feed out of base.html ? | 19:07 |
BlankVerse | SRabbelier: similar to other blocks | 19:08 |
BlankVerse | SRabbelier: to make it usable for both | 19:08 |
SRabbelier | BlankVerse: yes! | 19:08 |
SRabbelier | BlankVerse: you're a natural talent at refactoring :) | 19:08 |
SRabbelier | madrazr: shame on you for not doing that in the first place! | 19:08 |
* SRabbelier puts madrazr in the naughty chair | 19:09 | |
BlankVerse | SRabbelier: thanks , shame on you madrazr :P | 19:09 |
*** lars_kurth has quit IRC | 19:09 | |
madrazr | SRabbelier: heh | 19:10 |
SRabbelier | madrazr: that'll teach you! :P | 19:10 |
* SRabbelier kicks AppEngine in the shins for taking a small eternity to deploy | 19:11 | |
madrazr | SRabbelier: LoL! | 19:11 |
madrazr | SRabbelier: as far as blog block is concerned, I would not factor out the common code. The code that is necessary to use it will only be slightly smaller than the actual code itself | 19:12 |
madrazr | BlankVerse: too | 19:12 |
madrazr | but contact block yes, I agree | 19:12 |
* SRabbelier did not look at the code | 19:13 | |
*** jainbasil has left #melange | 19:13 | |
BlankVerse | madrazr: so let the blog block not be refactored ! | 19:14 |
madrazr | BlankVerse: Ok | 19:15 |
BlankVerse | BlankVerse: how do i send the code , as patch or a merge request(if google code has such a feature)? | 19:15 |
BlankVerse | should i just send "hg diff"? | 19:15 |
madrazr | BlankVerse: send the hg export | 19:16 |
madrazr | BlankVerse: commit your code snippet | 19:16 |
BlankVerse | madrazr: ok | 19:16 |
madrazr | and do hg export -r <rev number of your commit> | 19:16 |
BlankVerse | madrazr: a very naive question about refactoring , once you get the common code to a new file , how do i use that in both the initial code , they are on different folders ... | 19:20 |
BlankVerse | madrazr: apply.render uses _apply.html in the same folder , right? | 19:20 |
gedex | BlankVerse: hg export tip > patch would do if you updated to tip | 19:20 |
BlankVerse | gedex: thanks for that "tip" (pun intended) :P | 19:21 |
madrazr | BlankVerse: apply is an object of the class Template | 19:22 |
madrazr | BlankVerse: this object has the method templatePath | 19:23 |
madrazr | BlankVerse: which is a the path starting from v2/modules/... | 19:23 |
madrazr | BlankVerse: you can specify the right template | 19:23 |
madrazr | there | 19:23 |
BlankVerse | madrazr: got it , i was thinking about the same thing , thanks | 19:24 |
BlankVerse | madrazr: apply is an object of class Apply , where has it been declared? | 19:29 |
BlankVerse | madrazr: oops passed as context apply , i got it | 19:31 |
madrazr | BlankVerse: cool! | 19:31 |
* SRabbelier will be AFK for a few | 19:35 | |
BlankVerse | madrazr: should i pull before commiting? | 19:36 |
madrazr | BlankVerse: not really necessary, but it really depends | 19:38 |
madrazr | BlankVerse: you can always commit and rebase your patch in most of the cases | 19:38 |
BlankVerse | madrazr: http://paste.pocoo.org/show/359607/ | 19:40 |
tpb | Title: Paste #359607 | LodgeIt! (at paste.pocoo.org) | 19:40 |
BlankVerse | madrazr: my first patch to melange , can you please review it? | 19:40 |
BlankVerse | madrazr: should i send it to ml? | 19:40 |
madrazr | BlankVerse: send it to the dev list | 19:40 |
madrazr | BlankVerse: attach the patch, as well as inline it | 19:40 |
madrazr | easier for review | 19:41 |
BlankVerse | madrazr: ok | 19:41 |
madrazr | BlankVerse: you need to sign the google CLA, before we can accept the patch | 19:41 |
madrazr | BlankVerse: so please do | 19:41 |
madrazr | BlankVerse: http://code.google.com/legal/individual-cla-v1.0.html | 19:41 |
tpb | <http://ln-s.net/2ZcG> (at code.google.com) | 19:41 |
madrazr | sign the CLA there | 19:41 |
BlankVerse | madrazr: done | 19:44 |
BlankVerse | madrazr: should i inline it , its more than 50 lines | 19:45 |
madrazr | BlankVerse: yes | 19:46 |
BlankVerse | madrazr: ok | 19:46 |
madrazr | BlankVerse: both inline and attach | 19:46 |
BlankVerse | madrazr: i forgot to attach :( , should i send another mail as reply to it? | 19:51 |
madrazr | BlankVerse: its Ok | 19:52 |
madrazr | BlankVerse: attach in the subsequent mails | 19:52 |
BlankVerse | madrazr: ok , let people review and comment on the bad parts first :P | 19:52 |
BlankVerse | madrazr: anyways , it needs to be modifed | 19:53 |
BlankVerse | madrazr: can you also plz give some suggestions on it? | 19:53 |
madrazr | BlankVerse: let me see | 19:54 |
*** TommaS has joined #melange | 20:00 | |
* SRabbelier is back | 20:03 | |
SRabbelier | BlankVerse: you sent it three times | 20:04 |
SRabbelier | ? | 20:04 |
SRabbelier | :P | 20:04 |
BlankVerse | SRabbelier: srry gmail actually displayed error msg , cannot be send , i click again and again , next , i wrote and sent again , only to notice that errors were actually sent | 20:05 |
BlankVerse | :P | 20:05 |
SRabbelier | BlankVerse: ah | 20:05 |
BlankVerse | SRabbelier: gmails sucks now a days | 20:05 |
SRabbelier | BlankVerse: I haven't noticed that | 20:06 |
BlankVerse | SRabbelier: even spam comes on my inbox now a days , just do a google search , spam check quality of gmail has recently been gamed it seems | 20:06 |
BlankVerse | SRabbelier: i get 1/2 spam in inbox everyday | 20:06 |
SRabbelier | BlankVerse: curious | 20:06 |
BlankVerse | SRabbelier: before , the spam check of gmail was perfect (too perfect) | 20:07 |
kronos | SRabbelier, what should in name the file containing university data : "models/universities.py" ? | 20:11 |
SRabbelier | kronos: yeah | 20:12 |
*** lresende has joined #melange | 20:25 | |
*** m4k3r has quit IRC | 20:37 | |
BlankVerse | SRabbelier: btw , the connectwithus class in homepage.py and contactus in org_home.py looks same , do they need refactoring? | 20:37 |
SRabbelier | BlankVerse: yes, they should, indeed, be the same class | 20:38 |
*** m4k3r has joined #melange | 20:38 | |
*** SRabbelier changes topic to "Tips for GSoC students: http://goo.gl/VPjcV Melange powers the Google Code-In and Google Summer of Code site (http://www.google-melange.com) - Questions? Ask someone with op or voice - Logs at http://wSe" | 20:38 | |
*** SRabbelier changes topic to "Melange powers the Google Code-In and Google Summer of Code site (http://www.google-melange.com) - Questions? Ask someone with op or voice - Logs at http://www.thousandparsec.net/~irc/logm/" | 20:39 | |
SRabbelier | BlankVerse: LGTM | 20:47 |
*** crodjer has joined #melange | 20:47 | |
BlankVerse | BlankVerse: thanks :) , is it going to get merged to official repo? | 20:48 |
kronos | SRabbelier, I have completed "models/universities.py". | 20:50 |
SRabbelier | kronos: 0.O | 20:50 |
SRabbelier | kronos: nice :D | 20:50 |
kronos | SRabbelier, it is of 832 Kb :P | 20:51 |
SRabbelier | kronos: please don't inline it :P | 20:51 |
kronos | SRabbelier, need some help with the second part. i am not very familiar django, so can u direct me towards some resources. | 20:52 |
SRabbelier | kronos: can you send the file in for review though? | 20:52 |
SRabbelier | kronos: to make sure that it's the way we want? | 20:52 |
*** lresende has quit IRC | 20:52 | |
kronos | SRabbelier, ok .. i'll send the file to the dev mailing list. | 20:53 |
SRabbelier | kronos: cool | 20:54 |
SRabbelier | kronos: you should start by reading soc.views.base, soc.modules.gsoc.views.base, and soc.views.helper.access_checker | 20:54 |
SRabbelier | kronos: use one of the existing views as "reading guide" | 20:54 |
SRabbelier | kronos: I'd recommend soc.modules.gsoc.views.profile, since you'll want to edit that one | 20:55 |
kronos | SRabbelier, k.. will do that. | 20:55 |
SRabbelier | kronos: if you find that a useful approach to getting up to speed with the codebase, please add it to GettingStarted | 20:55 |
kronos | SRabbelier, I've sent the file to the existing thread and also cc-ed it to you. | 21:16 |
SRabbelier | kronos: can you tell me a little about how you munged the data? | 21:19 |
kronos | SRabbelier, wrote a python script using the csv library. :P | 21:20 |
SRabbelier | kronos: (LGTM) | 21:20 |
SRabbelier | kronos: nicely done, might be useful to submit that too, if we receive an updated version of the original file at some point? | 21:20 |
kronos | SRabbelier, hmm.. yeah that would help if the file is updated. will submit the script also. (need to modify it a little bit) . | 21:23 |
kronos | SRabbelier, anyways gotta sleep now, its 3am here. thanks for the help. will get back to you tomorrow. | 21:24 |
SRabbelier | kronos: thanks! | 21:25 |
*** kronos has quit IRC | 21:26 | |
*** diofeher has left #melange | 21:34 | |
*** maker has joined #melange | 21:37 | |
*** m4k3r has quit IRC | 21:37 | |
BlankVerse | for refactoring the connectwithus code , should i keep it in homepage.py and import it into org_home.py ? | 21:42 |
BlankVerse | or should i move it to base and import from there on both these files | 21:43 |
*** nmudgal has quit IRC | 21:43 | |
*** gedex has quit IRC | 21:59 | |
SRabbelier | BlankVerse: it should definitely not be moved to base | 22:08 |
SRabbelier | BlankVerse: nothing goes in base unless it's common to all views | 22:08 |
BlankVerse | SRabbelier: so i have kept it in hompeage.py and imported it to org_home.py | 22:09 |
BlankVerse | SRabbelier: is the new patch ok , or should i combine all of them as a single patch (for that i have to get around mercurial..) | 22:12 |
SRabbelier | BlankVerse: no, and yes | 22:13 |
SRabbelier | BlankVerse: see the comments Madhu had on your patch | 22:13 |
BlankVerse | SRabbelier: ya , i will fix that , i was talking about the template class connectwithus? | 22:13 |
BlankVerse | SRabbelier: the patch sent before madhu commented | 22:14 |
SRabbelier | BlankVerse: I think we should keep two different template classses (python side) | 22:14 |
SRabbelier | BlankVerse: both using the same template | 22:14 |
SRabbelier | BlankVerse: but passing it different context values | 22:14 |
BlankVerse | SRabbelier: the template class ConnectWithUs is exactly same as ContactUs in org_home.py , why should they be duplicate , different context values get passed anyways in homepage.py and org_home.py | 22:16 |
SRabbelier | BlankVerse: how will you know which value to pass to the template? | 22:17 |
BlankVerse | SRabbelier: can we pass the same context and modify the template for email and link? | 22:19 |
BlankVerse | SRabbelier: depending on which one is recieved... | 22:19 |
SRabbelier | BlankVerse: you could rely on Django's "ignore values that don't exist" feature, but since the Template is so small, I'd rather you didn't | 22:20 |
BlankVerse | SRabbelier: hmm , that seems gud , lets keep 2 different templates then | 22:21 |
*** crodjer has quit IRC | 22:31 | |
*** maker has quit IRC | 22:39 | |
BlankVerse | since i have the patches spread over few commits , can i send a diff between the current repo status and my final commit ? | 22:41 |
*** BlankVerse has quit IRC | 22:53 | |
*** BlankVerse has joined #melange | 22:53 | |
SRabbelier | BlankVerse: you should clean up the patches | 23:16 |
SRabbelier | BlankVerse: send them in coherent units | 23:16 |
BlankVerse | SRabbelier: combining them into a single patch :) | 23:17 |
SRabbelier | BlankVerse: preferrably split out | 23:17 |
SRabbelier | BlankVerse: unrelated changes (such as fixing the None bug) shouldn't go together | 23:17 |
SRabbelier | BlankVerse: although | 23:17 |
SRabbelier | BlankVerse: I think I already fixed that one anyway? | 23:17 |
SRabbelier | BlankVerse: not sure if it was the same thing | 23:17 |
*** dhaun has quit IRC | 23:19 | |
BlankVerse | SRabbelier: those two are actually related , fixing the template by refactoring fixed the None bug | 23:21 |
SRabbelier | BlankVerse: pull though | 23:21 |
SRabbelier | BlankVerse: to check if I fixed it or not | 23:21 |
SRabbelier | BlankVerse: is what you just sent the full diff? | 23:25 |
BlankVerse | SRabbelier: the changeset containing all my commits squashed into a single commit , | 23:26 |
SRabbelier | ok | 23:26 |
*** gedex has joined #melange | 23:33 | |
BlankVerse | SRabbelier: hope this patch looks fine , going to sleep, g' night :) | 23:39 |
SRabbelier | BlankVerse: yes, I think so, will probably commit it tomorrow | 23:40 |
SRabbelier | BlankVerse: you signed the CLA right? | 23:40 |
BlankVerse | SRabbelier: yep | 23:40 |
SRabbelier | BlankVerse: excellent | 23:41 |
BlankVerse | SRabbelier: git and mercurial are poles apart , i will need to learn mercurial from scratch , its getting confusing :P | 23:41 |
SRabbelier | BlankVerse: You can use git if you want | 23:41 |
SRabbelier | BlankVerse: I am | 23:42 |
SRabbelier | BlankVerse: you can use git-remote-hg to pull from your mercury repository | 23:42 |
BlankVerse | SRabbelier: that would be awesome .. | 23:42 |
SRabbelier | BlankVerse: we can discuss tomorrow | 23:42 |
BlankVerse | SRabbelier: sure | 23:42 |
*** penyaskito has quit IRC | 23:52 | |
*** penyaskito has joined #melange | 23:53 | |
*** penyaskito has quit IRC | 23:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!