Thursday, 2009-02-05

*** tpb has joined #melange00:00
*** dmitrig01|afk is now known as dmitrig0100:18
*** SRabbelier has joined #melange00:30
*** ChanServ sets mode: +v SRabbelier00:30
*** tlarsen has quit IRC01:24
*** penyaskito has quit IRC01:36
*** dmitrig01 has quit IRC01:38
*** dmitrig01|afk has joined #melange01:39
*** ChanServ sets mode: +v dmitrig01|afk01:39
*** dmitrig01|afk has quit IRC01:42
*** tansell is now known as tansell-laptop02:32
*** tansell-laptop is now known as tansell-02:32
*** tansell- is now known as tansell--02:32
*** tansell-- is now known as tansell---02:33
*** tansell--- is now known as tansell02:34
*** tansell has quit IRC02:34
*** tansell has joined #melange02:34
*** madrazr has joined #melange03:08
*** penyaskito has joined #melange03:25
*** Merio has joined #melange03:39
*** madrazr has left #melange04:00
*** Merio has quit IRC06:50
*** penyaskito has quit IRC07:05
*** penyaskito has joined #melange07:12
*** mithro_ has joined #melange07:18
*** ChanServ sets mode: +v mithro_07:18
*** MatthewWilkes has joined #melange07:24
*** penyaskito_ has joined #melange07:41
*** penyaskito has quit IRC07:49
*** madrazr has joined #melange08:24
madrazrSRabbelier: Hi08:30
SRabbeliermadrazr: hey man08:30
madrazrSRabbelier: You had asked me to implement Edit for selected documents08:30
madrazrSRabbelier: I am just looking at the code, feel it would have been better if Select-ing document worked08:31
SRabbeliermadrazr: it does :)08:31
SRabbeliermadrazr: committed yesterday08:31
madrazrSRabbelier: ouch, OK, haven't svn updated today08:31
SRabbeliermadrazr: anyway, what you could do08:31
SRabbeliermadrazr: is adding help text to the model properties08:32
SRabbeliermadrazr: and example text08:32
madrazrSRabbelier: Oh OK, is that all enough? Edit is not required?08:32
SRabbeliermadrazr: it is, but it can wait :)08:33
madrazrSRabbelier: Oh Ok08:33
madrazrwill first add help text and then start work on Edit thingie :)08:33
SRabbeliermadrazr: cool, :)08:34
MatthewWilkeshi guys, anyone had a chance to look at the commenting patch I submitted?  Would help to know where I'm going wrong08:39
SRabbelierMatthewWilkes: first time I had for melange this week was yesterday evening, and I did Merio's autocompletion patch then08:39
SRabbelierMatthewWilkes: but perhaps I can look into it today :)08:40
madrazrSRabbelier: this is simply awesome, but I felt "the Select" button would not have hurt08:40
madrazrisn't there a use case where person doesn't remember the title/link id of the document at all?08:41
SRabbeliermadrazr: they can look it up with 'list document' in that case I guess :)08:41
madrazrSRabbelier: that affects usability, extra work :)08:42
MatthewWilkesSRabbelier: hehe, I don't mean to push, I'm just afraid of going down a rabbit hole and wasting time08:42
madrazranyways depends on what others suggest, sorry if I have suggested wrongly :)08:43
SRabbeliermadrazr: well, the way it was didn't work either, since it discarded yoru changes08:44
madrazrSRabbelier: Oh Ok08:44
madrazrSRabbelier: should the help text be added for each type of FORM that can be created and uses Document Link ID?09:01
madrazror is there some generic way of doing this for Document Link ID field?09:01
SRabbeliermadrazr: no I mean09:02
SRabbeliermadrazr: just regular help_text09:02
SRabbeliermadrazr: look at the modules in /soc/models09:02
SRabbeliermadrazr: some of them have help_text defined, some don't09:02
madrazrSRabbelier: Ok looking09:02
madrazrSRabbelier: Ok09:02
*** penyaskito has joined #melange09:03
*** penyaskito_ has quit IRC09:04
*** penyaskito_ has joined #melange09:40
madrazrSRabbelier: if we take the example of tos_link_id for which help_text and example_text should be added, it is one of the extra_dynafields, so should I add help_text and example_text in its view rather than model?09:41
SRabbeliermadrazr: no, just add it in the model, if the view doesn't use it you can look into adding it in the view as well, that is, by pointing at the model09:42
*** penyaskito has quit IRC09:47
*** penyaskito has joined #melange10:01
*** SRabbelier has quit IRC10:04
*** SRabbelier has joined #melange10:04
*** ChanServ sets mode: +v SRabbelier10:04
*** MatthewWilkes has quit IRC10:17
*** MatthewWilkes has joined #melange10:17
*** penyaskito_ has quit IRC10:20
*** matthewwilkes_ has joined #melange11:36
*** MatthewWilkes has quit IRC11:57
*** matthewwilkes__ has joined #melange12:00
*** penyaskito_ has joined #melange12:00
*** matthewwilkes_ has quit IRC12:08
*** matthewwilkes__ has quit IRC12:13
*** MatthewWilkes has joined #melange12:16
*** penyaskito has quit IRC12:18
*** MatthewWilkes has quit IRC12:40
*** MatthewWilkes has joined #melange12:42
madrazrSRabbelier: there are some fields that are not defined in the views at all, for example tos_link_id, home_link_id, which are created as new_param['create_extra_dynafields'] in the views, what can I do to them?13:00
madrazris it still possible to add help_text and example_text to them in model by any chance?13:01
*** penyaskito_ has quit IRC13:04
SRabbeliermadrazr: yes, of course you can13:34
SRabbeliermadrazr: you can always add the text13:34
SRabbeliermadrazr: if you can't get it to show up in the view that's ok13:34
madrazrSRabbelier: if it doesn't show up in the view then whats the use?13:35
SRabbeliermadrazr: we will make it show up ;)13:35
SRabbeliermadrazr: but you don't have to worry about that13:35
madrazrSRabbelier: ah Ok, he he13:35
madrazrSRabbelier: what should the example_text should like, any suggestion?13:42
madrazrsay for ToS Link ID13:42
*** MatthewWilkes has quit IRC13:42
SRabbeliermadrazr: it should give an example or a link_id I guess?13:43
*** Merio has joined #melange14:02
madrazrSRabbelier: Ok14:04
madrazrSRabbelier: I have put example_text and help_text for just 2 types of fields, Home page link id and ToS link id, I will send in the patch, if you are satisfied with the work I will go ahead14:11
madrazror else please tell me where I should change things14:12
SRabbeliermadrazr: ok, go for it :)14:12
madrazrSRabbelier: sent :)14:17
SRabbeliermadrazr: ok14:17
*** madrazr has left #melange14:18
*** madrazr has joined #melange14:19
madrazrSRabbelier: leaving for the day, will get some sleep, catch you tomorrow. See you14:19
SRabbeliermadrazr: ok man! g'night :)14:20
SRabbeliermadrazr: thanks for the work14:20
madrazrSRabbelier: NP, thanks for all the suggestions14:20
*** madrazr has left #melange14:20
MerioSRabbelier: what about the autocompletion patch? Need we to work a bit together to let it work everywhere in Melange?14:48
SRabbelierMerio: nope, your part is done I think14:48
SRabbelierMerio: at least for now :)14:48
SRabbelierMerio: it's working perfectly14:48
MerioSRabbelier: great! :) Let me know if I can be useful for something else :)14:49
SRabbelierMerio: there will no doubt be something soon :)14:56
MerioSRabbelier: ok, I'll be glad :)14:58
SRabbelierMerio: if you want to get more familiar with the codebase you could look into writing some cleaner methods14:59
SRabbelierMerio: for example, atm you can fill in bogus for phone number14:59
MerioSRabbelier: do we need some sort of regexp checking?15:00
SRabbelierMerio: mhhh, you could do that, sure :)15:00
SRabbelierMerio: you could add a general regexp cleanear15:00
MerioSRabbelier: otherwise what were you thinking about?15:00
SRabbelierMerio: and than instantiate a specific one for phone number15:00
MerioSRabbelier: I don't know if there is something similar as a JQuery plugin, but in DojoToolkit you can add a sort of validation in forms against regexps and do anything (for example change the field class to let its background be red or something) in valid/invalid situations15:02
MerioSRabbelier: and then we can double check in Python if needed15:02
SRabbelierMerio: we want to do the check in python15:02
SRabbelierMerio: if the check fails in python, Django will inform the user15:02
MerioSRabbelier: that's better anyway (the check in python obviously)15:03
SRabbelierMerio: :)15:04
MerioSRabbelier: the JS would be just for more immediate interaction, however first the check in python ;)15:04
SRabbelierMerio: jup, :)15:04
SRabbelierMerio: you can have a look at teh other cleaners in cleaning.py15:04
SRabbelierMerio: feel free to ask though :)15:04
MerioSRabbelier: ok I'm going to look right now (half an hour spare time ;))15:05
SRabbelierMerio: cooL!15:05
MerioSRabbelier: I think I should add something also in validate.py, is it correct?. Is there any other checking needed beside phone numbers? So once I put my hands on the code I can do other checks as well. :)15:23
SRabbelierMerio: yup, you should probably put the actual validation code in validate :)15:23
SRabbelierMerio: I'm sure there is some, I'd say go through the app and see if you can input bogus anywhere? :P15:24
MerioSRabbelier: ehehehe, seems sensible :P15:24
SRabbelierMerio: good :)15:24
MerioSRabbelier: now I've to go away, keeping you updated :) Thanks for your help and guidance as always :) See you :)15:26
SRabbelierMerio: ok, cheers!15:27
SRabbelierMerio: keeip up the good work man!15:27
MerioSRabbelier: I will! :) Cheers! :)15:27
SRabbelier:)15:28
*** Merio has quit IRC15:28
*** tlarsen has joined #melange15:39
*** ChanServ sets mode: +o tlarsen15:39
durin42SRabbelier: git question if you have a minute15:53
durin42(should I join #git?)15:53
*** penyaskito has joined #melange15:53
tlarsenSRabbelier: If Google Code offered hg support for a DVCS before git, would you use hg, or would you stay with svn?15:53
tlarsen(hypothetical question to see if you are more of a DVCS fan or more of a git fan)15:54
durin42tlarsen: this is becoming moot, a coworker and I are starting to make git and hg interop sanely15:56
tlarsendurin42: Fine.  Rain on my flame-war starter.  :)15:57
durin42tlarsen: next time, try flamewar thermite?15:58
tlarsendurin42: or flame-war white phosphorus15:58
SRabbelierdurin42: you should talk with Johannes Schindelin if you try that16:18
SRabbelierdurin42: he's been working with some Dutch Hg guy on fast-import/export for Hg16:18
SRabbeliertlarsen: but anyway, I'd go for Hg for sure16:19
SRabbeliertlarsen: anything not svn really ;)16:19
durin42SRabbelier: You mean with Dirkjan?16:19
SRabbelierdurin42: possibly, yes16:20
SRabbelierdurin42: was he at the mentor summit?16:20
durin42SRabbelier: I've got a working clone function already. Trying it on git.git now.16:20
durin42SRabbelier: yeah16:20
SRabbelierdurin42: then yes, him16:20
SRabbelierdurin42: I still think Dscho would be interested to hear more of the effort ;)16:20
durin42SRabbelier: there's been some recent discussion of bolting on a backend to hg that would read git packs natively16:21
SRabbelierdurin42: I reckon you could use someone from the git team?16:21
durin42SRabbelier: if we go that route, right now I'm working to get basic workingness16:21
durin42a coworker figured out a way to have commits owrk16:21
durin42*work16:21
SRabbelierdurin42: ok :)16:21
SRabbelierdurin42: good luck16:22
SRabbelierdurin42: keep me posted :)16:22
durin42without having to do some of the voodoo that git-svn and hgsubversion do16:22
durin42SRabbelier: that coworker is working on git-hg :)16:22
SRabbelierdurin42: what's his na,e?16:22
SRabbelier**name16:22
durin42Cosmin Stejerean16:22
durin42our goal is basically to unify the world around one set of mutually interop'ing DVCS tools16:23
durin42SRabbelier: http://github.com/offbytwo/gitext/tree/master16:23
tpbTitle: offbytwo's gitext at master - GitHub (at github.com)16:23
SRabbelierdurin42: he's not in git.git nor did he post on the ML, what's he know about git? :)16:24
*** offbytwo has joined #melange16:24
SRabbelieroffbytwo: heya16:25
SRabbelieroffbytwo: why not talk on #git? ;)16:25
offbytwowe can do that16:25
SRabbelieroffbytwo: :)16:25
*** offbytwo has left #melange16:26
*** MatthewWilkes has joined #melange16:30
*** SRabbelier has quit IRC18:41
*** mithro_ has quit IRC19:00
*** lisppaste9 has quit IRC19:11
*** penyaskito_ has joined #melange19:31
*** penyaskito__ has joined #melange19:45
*** penyaskito has quit IRC19:50
*** mithro_ has joined #melange20:00
*** ChanServ sets mode: +v mithro_20:00
*** penyaskito_ has quit IRC20:03
*** dmitrig01|afk has joined #melange20:06
*** ChanServ sets mode: +v dmitrig01|afk20:06
*** dmitrig01|afk is now known as dmitrig0120:30
*** MatthewWilkes has quit IRC20:30
*** mithro_ has quit IRC20:32
*** mithro_ has joined #melange20:33
*** ChanServ sets mode: +v mithro_20:33
*** mithro_ is now known as mithro21:28
*** tlarsen has quit IRC21:51
*** penyaskito has joined #melange22:59
*** scorche has quit IRC23:10
*** scorche has joined #melange23:10
*** durin42 has quit IRC23:12
*** durin42 has joined #melange23:13
*** ChanServ sets mode: +v durin4223:13
*** penyaskito__ has quit IRC23:18

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