1 2011-05-24T00:10:44  <dreimark> gn
   2 2011-05-24T00:43:59  <ThomasWaldmann> hmm, moving modify to flatland forms is going to get a bit more complicated
   3 2011-05-24T00:46:04  <sinha> ThomasWaldmann: i have written edited some python code, now want to debug that that what is the value of a variable at a specific point ? how to do it ? can i use print command at that line and will it be outputted at console ?
   4 2011-05-24T00:47:17  <ThomasWaldmann> yes
   5 2011-05-24T00:47:31  <ThomasWaldmann> but don't forget to remove your prints before commit
   6 2011-05-24T00:47:37  <sinha> okay
   7 2011-05-24T00:47:40  <ThomasWaldmann> alternatively, you can use logging
   8 2011-05-24T00:49:25  <sinha> you mean log the value of the variable
   9 2011-05-24T00:54:56  <ThomasWaldmann> whatever you want, yes
  10 2011-05-24T00:55:15  <ThomasWaldmann> log output is stderr by default, thus also on the console
  11 2011-05-24T00:57:40  *** sinha has left #moin-dev
  12 2011-05-24T01:19:14  *** waldi has quit IRC
  13 2011-05-24T01:19:45  *** waldi has joined #moin-dev
  14 2011-05-24T01:33:59  *** ronny has quit IRC
  15 2011-05-24T01:49:45  *** ronny has joined #moin-dev
  16 2011-05-24T05:36:55  *** Marchael has joined #moin-dev
  17 2011-05-24T06:35:31  *** Marchael has quit IRC
  18 2011-05-24T06:41:29  *** Marchael has joined #moin-dev
  19 2011-05-24T08:17:19  *** Marchael has quit IRC
  20 2011-05-24T08:30:30  *** Marchael has joined #moin-dev
  21 2011-05-24T08:33:20  *** gwork has joined #moin-dev
  22 2011-05-24T08:46:15  *** ronny has quit IRC
  23 2011-05-24T09:40:28  <asmodai> moin
  24 2011-05-24T09:52:19  <dreimark> moin
  25 2011-05-24T09:58:49  <ThomasWaldmann> moin
  26 2011-05-24T10:25:30  *** ronny has joined #moin-dev
  27 2011-05-24T10:55:37  <ThomasWaldmann> Marchael: you need to create a diary and also add the entry for yesterday. and then later the one for today (when you finish working, that's always the last action for the day).
  28 2011-05-24T10:55:59  <ThomasWaldmann> Marchael: use a wiki page and put a <<MonthCalendar>> on it
  29 2011-05-24T10:56:20  <Marchael> moin
  30 2011-05-24T10:57:08  <Marchael> yes, I'm know that. But I really nervous about exam what starting through 1 hour
  31 2011-05-24T10:57:30  <Marchael> so, I can create my diary this evening
  32 2011-05-24T10:57:50  <dreimark> Marchael: ok
  33 2011-05-24T10:59:44  *** Marchael has quit IRC
  34 2011-05-24T12:00:39  *** raignarok has joined #moin-dev
  35 2011-05-24T12:19:17  *** greg_f has joined #moin-dev
  36 2011-05-24T12:37:25  *** pkumar has joined #moin-dev
  37 2011-05-24T12:38:23  <pkumar> ronny: hey, how do we convert our changesets into mq
  38 2011-05-24T12:38:58  <pkumar> ronny: further task may be eady using qpop and qpush
  39 2011-05-24T12:39:04  <pkumar> easy*
  40 2011-05-24T12:41:52  <ronny> pkumar: you can use qimport -r <first of your commits>
  41 2011-05-24T12:42:45  <pkumar> ronny: okay
  42 2011-05-24T13:08:31  <ronny> pkumar: sup?
  43 2011-05-24T13:09:32  *** m4k3r has joined #moin-dev
  44 2011-05-24T13:10:44  <pkumar> pkumar: I'm working on fixing the changesets. Should get over in  awhile
  45 2011-05-24T13:10:55  <pkumar> ronny: ^
  46 2011-05-24T13:12:31  <pkumar> ronny: mq is really interesting :)
  47 2011-05-24T13:12:37  <ronny> yup
  48 2011-05-24T13:27:01  <dreimark> where is the 2nd pytest student?
  49 2011-05-24T13:28:24  <ronny> no idea
  50 2011-05-24T13:44:02  *** m4k3r has quit IRC
  51 2011-05-24T14:07:05  *** Marchael has joined #moin-dev
  52 2011-05-24T14:15:13  *** m4k3r has joined #moin-dev
  53 2011-05-24T14:37:46  <pkumar> ronny: ok, now I have corrected the changesets and can view it. But if I try to push it to a repo it says >> abort: source has mq patches applied
  54 2011-05-24T14:40:04  <ronny> pkumar: you need to turn the mq commits back to normal commits before pushing
  55 2011-05-24T14:40:26  <ronny> pkumar: its a mechanism that prevents you from pushing unfinished patches by accident
  56 2011-05-24T14:40:56  <pkumar> yes, using  'hg qfinish tip' right?
  57 2011-05-24T14:45:02  <ronny> pkumar: that would only fiish the last one
  58 2011-05-24T14:45:23  <ronny> pkumar: im not sure, it should work that way
  59 2011-05-24T14:45:31  <ronny> (i never finished more than one patch at a timee
  60 2011-05-24T14:53:41  <ronny> bbl, going to another lab
  61 2011-05-24T14:54:35  <pkumar> ronny: I just created a test repo to see if all's fine. Would you please check that
  62 2011-05-24T14:54:48  <pkumar> https://bitbucket.org/pkumar/test_repo/
  63 2011-05-24T14:55:34  <pkumar> ronny: ^
  64 2011-05-24T14:59:09  <ronny> you did the merge the wrong way, now its all on default
  65 2011-05-24T14:59:17  <Marchael> ThomasWaldmann: diary was created, now I continue working on ep
  66 2011-05-24T14:59:55  <ronny> pkumar: and you didnt kill patches that got empty
  67 2011-05-24T15:00:21  <pkumar> ronny: lemme check
  68 2011-05-24T15:00:57  <ronny> pkumar: oh, and btw, you might want to extend your hg username setting to include a email
  69 2011-05-24T15:02:19  <pkumar> ronny: you mean- name <emailid>, something like this?
  70 2011-05-24T15:03:20  <ronny> yeah
  71 2011-05-24T15:03:45  <pkumar> okay
  72 2011-05-24T15:06:39  <pkumar> I think I deleted all the empty patches. Can you please point to the changesets if I'm missing any?
  73 2011-05-24T15:06:45  <pkumar> ronny:^
  74 2011-05-24T15:07:42  <ronny> pkumar: also kill the ones with the pytest.main calls
  75 2011-05-24T15:08:00  <ronny> ff4c9c8c53fe looks empty in hg view
  76 2011-05-24T15:09:25  <pkumar> ok, I'll take care of those empty patches, thanks
  77 2011-05-24T15:09:32  <pkumar> ronny: ^
  78 2011-05-24T15:21:59  *** ronny has quit IRC
  79 2011-05-24T15:28:16  <Marchael> ThomasWaldmann: what values I should use to create enviroment for test_request_context()?
  80 2011-05-24T15:30:37  *** ronny has joined #moin-dev
  81 2011-05-24T15:34:11  <Marchael> If I understand right, I need build test env using flask.app.test_request_context() but I don't know what vars I should put to it
  82 2011-05-24T15:42:02  <pkumar> ronny: https://bitbucket.org/pkumar/moin_pytest/
  83 2011-05-24T15:43:04  <pkumar> ronny: so, temporarily should I remove pytest_pycollect_makeitem() or do as you had suggested?
  84 2011-05-24T15:45:38  <pkumar> ronny: I mean using collector.classnamefilter(name) + inspect.isclass(obj):
  85 2011-05-24T15:49:04  <ronny> pkumar: just fix it as suggested
  86 2011-05-24T15:50:15  <ronny> pkumar: still the wrong branchname
  87 2011-05-24T16:00:20  <dreimark> pkumar: cia.vc or ohloh and others make some stats with given commits
  88 2011-05-24T16:00:54  <dreimark> so if you often change your name in commit messages you get a bad ranking result
  89 2011-05-24T16:02:53  <pkumar> so, we should always use same user name or may be configure using .hgrc
  90 2011-05-24T16:09:54  <pkumar> ronny: Actually, to merge I used the heads' revision numbers. How do we do it in a better way?
  91 2011-05-24T16:10:31  <pkumar> ronny: as desired here
  92 2011-05-24T16:15:41  <ronny> pkumar: you an use branch names
  93 2011-05-24T16:15:49  <ronny> pkumar: a branch name always refers to the head
  94 2011-05-24T16:15:57  <ronny> pkumar: there is even bash completion support for that
  95 2011-05-24T16:16:14  <ronny> pkumar: your commits are in the wrong branch as of now
  96 2011-05-24T16:30:00  <ThomasWaldmann> Marchael: http://flask.pocoo.org/docs/testing/#other-testing-tricks
  97 2011-05-24T16:30:08  <Marchael> ThomasWaldmann: also how we should parse acl with minus? like "-MinusGuy:read "
  98 2011-05-24T16:30:57  <ThomasWaldmann> Marchael: ignore the +/- for now
  99 2011-05-24T16:31:56  <Marchael> ThomasWaldmann: does it make sense in future?
 100 2011-05-24T16:34:28  <ThomasWaldmann> that depends on what people are searching for :)
 101 2011-05-24T16:38:24  <Marchael> I'm not sure what ignoring +\- is a good idea. But if I do so, how do you think I can implement this later?
 102 2011-05-24T16:39:31  <Marchael> or say simply, how many changes I'll do to make this code work.
 103 2011-05-24T16:40:32  *** raignarok is now known as Ardavan
 104 2011-05-24T16:43:27  <Marchael> Althought, I didn't have any working code for now :) So ok, just do as you say.
 105 2011-05-24T16:44:38  *** Ardavan has left #moin-dev
 106 2011-05-24T16:59:20  *** greg_f has quit IRC
 107 2011-05-24T17:11:15  <pkumar> ronny: hey, how about this one: https://bitbucket.org/pkumar/test_repo/
 108 2011-05-24T17:13:03  <ThomasWaldmann> Marchael: tokenizing the acls is just for making them searchable, not for acl processing
 109 2011-05-24T17:13:11  *** gwork has quit IRC
 110 2011-05-24T17:13:58  <Marchael> of course
 111 2011-05-24T17:15:12  *** m4k3r has quit IRC
 112 2011-05-24T17:19:30  <Marchael> ThomasWaldmann: btw, I don't use test_request() for testing
 113 2011-05-24T17:20:41  *** pkumar has quit IRC
 114 2011-05-24T17:20:52  <ronny> pkumar: worse,n ow you have a random set of your chagnes that are incompatible with the default branch on the default branch
 115 2011-05-24T17:29:48  *** Marchael has quit IRC
 116 2011-05-24T17:31:48  *** hardy_89 has joined #moin-dev
 117 2011-05-24T17:32:21  *** m4k3r has joined #moin-dev
 118 2011-05-24T17:32:48  *** raignarok has joined #moin-dev
 119 2011-05-24T17:33:28  *** raignarok has left #moin-dev
 120 2011-05-24T18:15:32  *** Marchael has joined #moin-dev
 121 2011-05-24T18:32:30  *** Marchael has quit IRC
 122 2011-05-24T18:46:49  *** hardy_89 has quit IRC
 123 2011-05-24T19:06:05  *** Marchael has joined #moin-dev
 124 2011-05-24T19:06:19  *** March has joined #moin-dev
 125 2011-05-24T19:06:30  <March> ping
 126 2011-05-24T19:06:45  *** March is now known as Guest88647
 127 2011-05-24T19:08:27  *** Guest88647 has quit IRC
 128 2011-05-24T19:08:29  *** Marchael has quit IRC
 129 2011-05-24T19:08:51  *** Marchael has joined #moin-dev
 130 2011-05-24T19:09:21  <Marchael> ping
 131 2011-05-24T19:09:41  * Marchael writing from his phone
 132 2011-05-24T19:10:43  <Marchael> ThomasWaldmann, I paste code for acl token. To ep
 133 2011-05-24T19:18:08  <Marchael> ThomasWaldmann, wi-fi can going down and wake up suddenly, I'm sorry about that but nothing can do :(
 134 2011-05-24T19:21:34  <ThomasWaldmann> Marchael: see ep
 135 2011-05-24T19:21:39  <Marchael> So please, hightlight me when you go back
 136 2011-05-24T19:21:47  <Marchael> Ok
 137 2011-05-24T19:29:10  *** pkumar has joined #moin-dev
 138 2011-05-24T19:32:45  *** sinha has joined #moin-dev
 139 2011-05-24T19:33:20  <pkumar> ronny: isn't the yellow line in my repo shows my changesets which is in same track of changes created by Thomas?
 140 2011-05-24T19:36:06  *** Marchael1 has joined #moin-dev
 141 2011-05-24T19:41:21  *** m4k3r has quit IRC
 142 2011-05-24T19:42:38  <pkumar> ronny: This is how I did: I first cleaned my repo ie. removing unwanted changes and the puleed from your repo.
 143 2011-05-24T19:43:22  <pkumar> ronny: At the end I merged pytest2 and default branches
 144 2011-05-24T19:43:56  <pkumar> ronny: I thought this would be correct
 145 2011-05-24T19:52:26  <ronny> pkumar: you where supposed to merge default into pytest2, then put your changes on top, noth the other way around
 146 2011-05-24T19:52:52  <ronny> now you have pytest2 stuff on code that will break there in any case and merged it to default even tho it was supposed to be in pytest2
 147 2011-05-24T19:53:02  <ronny> pkumar: also im afk now, going to the martial arts training
 148 2011-05-24T19:54:28  <pkumar> ronny: Actually merge doesn't work well due to already existing changes in conftest.py so I just removed them and then imported your changes
 149 2011-05-24T19:59:08  <ThomasWaldmann> brb
 150 2011-05-24T20:13:35  *** Marchael1 has quit IRC
 151 2011-05-24T20:15:54  *** Marchael1 has joined #moin-dev
 152 2011-05-24T20:22:22  <sinha> re
 153 2011-05-24T20:23:49  *** m4k3r has joined #moin-dev
 154 2011-05-24T20:34:58  *** sinha has quit IRC
 155 2011-05-24T20:39:51  *** Marchael1 has quit IRC
 156 2011-05-24T20:43:58  <ThomasWaldmann> Marchael: i am back
 157 2011-05-24T20:44:22  <Marchael> Ok
 158 2011-05-24T20:49:54  *** Marchael1 has joined #moin-dev
 159 2011-05-24T21:14:50  *** pkumar has quit IRC
 160 2011-05-24T21:26:08  *** Marchael has quit IRC
 161 2011-05-24T21:31:29  *** pkumar has joined #moin-dev
 162 2011-05-24T21:32:34  *** pkumar has joined #moin-dev
 163 2011-05-24T21:32:47  <dreimark> hmm, may be we should be able to have a different textcha for a different path
 164 2011-05-24T21:33:39  <dreimark> e.g. if one uses the fckeditor it should be possible to have a different question, whith may be a secret password
 165 2011-05-24T21:34:33  <dreimark> it looks like the spam we got is c&p
 166 2011-05-24T21:35:16  <dreimark> and then edited or fixed manually.
 167 2011-05-24T21:48:04  *** pkumar has quit IRC
 168 2011-05-24T21:50:56  *** Marchael1 has quit IRC
 169 2011-05-24T22:04:56  *** franklin_ has joined #moin-dev
 170 2011-05-24T22:07:29  *** franklin has quit IRC
 171 2011-05-24T22:08:24  *** pkumar has joined #moin-dev
 172 2011-05-24T22:13:04  *** pkumar has quit IRC
 173 2011-05-24T22:30:40  <ronny> re
 174 2011-05-24T22:32:17  *** pkumar has joined #moin-dev
 175 2011-05-24T22:32:52  <pkumar> ronny: you here?
 176 2011-05-24T22:34:58  <ronny> yeah
 177 2011-05-24T22:35:41  <pkumar> ronny: so, I need to have my changes in pytest2 branch right?
 178 2011-05-24T22:36:16  <pkumar> ronny: to merge I used 'hg merge pytest2'. Is it correct?
 179 2011-05-24T22:37:09  <pkumar> ronny: though, it merges pytest2 into default and not in the way we want
 180 2011-05-24T22:38:46  <pkumar> ronny: since my ancestor changesets are default I guess
 181 2011-05-24T22:40:46  <pkumar> ronny: how do I fix this?
 182 2011-05-24T22:43:17  <ronny> pkumar: you kill the changes to default first, since they break the tests
 183 2011-05-24T22:43:36  <ronny> the pytest import is NOT valid for pytest 1.3
 184 2011-05-24T22:44:10  <ronny> pkumar: your basic workflow should be update to the pytest branch, merge default, apply changes
 185 2011-05-24T22:44:39  <ronny> `hg merge something` will always merge something into the branch you are currently on
 186 2011-05-24T22:45:57  <pkumar> ronny: so, how do I merge default into pytest2 here?
 187 2011-05-24T22:46:49  <pkumar> ronny: as I'm pulling pytest2
 188 2011-05-24T22:48:20  <pkumar> ronny: one way may be is to start with your repo itself, then default can be merged into pytest I guess
 189 2011-05-24T22:51:23  <ronny> merging default into pytest2 is done by updating to pytest2, then merging from default
 190 2011-05-24T22:52:04  <ronny> it helps if you read 'hg merge $foo' as 'hg merge from $foo (into whatever i have right now)' in your mind
 191 2011-05-24T22:53:13  <ronny> its kinda sad how long this actually takes atm
 192 2011-05-24T23:11:46  *** pkumar has quit IRC
 193 2011-05-24T23:34:15  *** ronny has quit IRC
 194 2011-05-24T23:56:21  *** ronny has joined #moin-dev
 195 

MoinMoin: MoinMoinChat/Logs/moin-dev/2011-05-24 (last edited 2011-05-23 22:45:03 by IrcLogImporter)