1 2011-02-28T00:57:07  *** Pranav_rcmas has joined #moin-dev
   2 2011-02-28T01:10:45  *** izibi has quit IRC
   3 2011-02-28T01:26:31  <ThomasWaldmann> dreimark: why 170 failures?
   4 2011-02-28T01:27:09  <ThomasWaldmann> 32 failed, 2505 passed, 26 skipped, 3 xfailed, 5 xpassed in 438.95 seconds
   5 2011-02-28T01:32:16  *** Pranav_rcmas has quit IRC
   6 2011-02-28T01:33:12  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 29:87a2f219a310 2.0/MoinMoin/ (3 files in 3 dirs): fix pep8 issues
   7 2011-02-28T01:33:19  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 30:32b471240a8a 2.0/ (3 files in 2 dirs): merged main
   8 2011-02-28T01:33:29  <ThomasWaldmann> minus 3 fails
   9 2011-02-28T01:36:43  *** Pranav_rcmas has joined #moin-dev
  10 2011-02-28T01:39:12  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 31:084ee90bd176 2.0/MoinMoin/util/chartypes_create.py: chartypes_create: do not execute the main code if the module is just imported
  11 2011-02-28T01:43:18  *** Pranav_rcmas has quit IRC
  12 2011-02-28T01:55:32  *** Pranav_rcmas has joined #moin-dev
  13 2011-02-28T02:03:58  *** Pranav_rcmas has quit IRC
  14 2011-02-28T02:05:22  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 32:15f746a76acd 2.0/docs/devel/translate.rst: translator docs: fix some markup errors
  15 2011-02-28T02:09:27  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 33:8ab329ca6d6e 2.0/setup.py: require sphinx (needed to build the docs)
  16 2011-02-28T02:58:30  *** Trip_ has joined #moin-dev
  17 2011-02-28T03:09:16  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 34:adaaf414f80f 2.0/MoinMoin/util/python_compatibility.py: remove python_compatibility module, not needed any more
  18 2011-02-28T03:30:19  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 35:bd7ddd27cd8e 2.0/docs/conf.py: sphinx config: do not modify sys.path (not needed, we are in a virtualenv)
  19 2011-02-28T03:30:21  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 36:fe43d37ca0ef 2.0/MoinMoin/ (4 files in 4 dirs): docstrings: fix some typos in field names / field syntax
  20 2011-02-28T03:44:33  *** cosmos_thought_ has joined #moin-dev
  21 2011-02-28T03:47:13  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 37:74a543f57ce7 2.0/MoinMoin/ (4 files in 3 dirs): docstrings: fix some typos, move some (c) infos to comments
  22 2011-02-28T03:48:21  *** cosmos_thought has quit IRC
  23 2011-02-28T04:09:30  *** RogerHaase has joined #moin-dev
  24 2011-02-28T04:14:25  *** RogerHaase has left #moin-dev
  25 2011-02-28T04:34:42  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 38:1d8e9b1153d6 2.0/MoinMoin/ (60 files in 17 dirs): docstrings: convert epydoc fields to rst/sphinx fields
  26 2011-02-28T05:03:44  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 39:23c10f59e082 2.0/docs/devel/api/ (30 files): add api docs, automatically created by sphinx-autopackage-script
  27 2011-02-28T06:04:35  *** Marchael has joined #moin-dev
  28 2011-02-28T06:30:52  *** Marchael has quit IRC
  29 2011-02-28T06:44:20  *** Trip__ has joined #moin-dev
  30 2011-02-28T06:46:21  *** Trip_ has quit IRC
  31 2011-02-28T07:03:04  *** Marchael has joined #moin-dev
  32 2011-02-28T08:02:51  *** Marchael has quit IRC
  33 2011-02-28T08:14:56  *** Marchael has joined #moin-dev
  34 2011-02-28T08:17:53  *** Marchael has quit IRC
  35 2011-02-28T08:31:02  *** gwork has joined #moin-dev
  36 2011-02-28T09:03:07  <dreimark> moin
  37 2011-02-28T09:06:19  *** Marchael has joined #moin-dev
  38 2011-02-28T09:13:13  <dreimark> different system, strange py.test problem
  39 2011-02-28T09:13:21  <dreimark> http://paste.pocoo.org/show/345647/
  40 2011-02-28T09:28:44  *** kasun has joined #moin-dev
  41 2011-02-28T09:35:46  *** Marchael has quit IRC
  42 2011-02-28T10:48:09  <CIA-46> Reimar Bauer <rb.proj AT googlemail DOT com> default * 549:e75fc2c81653 extensions/data/plugin/macro/pdf2svg.py: macro.pdf2svg: identifier for updated content based on last modification time added
  43 2011-02-28T10:48:11  <CIA-46> Reimar Bauer <rb.proj AT googlemail DOT com> default * 550:f927d699ca0e extensions/data/plugin/macro/pdf2svg.py: macro.pdf2svg: checks timestamp of content for updating cached image
  44 2011-02-28T10:49:24  <dreimark> fsck rollback had not worked as expected
  45 2011-02-28T10:50:17  <dreimark> this should have been only one commit
  46 2011-02-28T10:51:33  *** greg_f has joined #moin-dev
  47 2011-02-28T11:06:31  <CIA-46> Reimar Bauer <rb.proj AT googlemail DOT com> default * 551:025a4f729389 extensions/data/plugin/macro/pdf2svg.py: macro.pdf2svg: unified link to pdf file
  48 2011-02-28T11:36:37  <CIA-46> Reimar Bauer <rb.proj AT googlemail DOT com> default * 552:d30ae1dca471 extensions/data/plugin/macro/pdf2svg.py: macro.pdf2svg: checks if attachment or URL exists
  49 2011-02-28T12:26:45  *** Pranav_rcmas has joined #moin-dev
  50 2011-02-28T12:47:55  *** Pranav_rcmas has quit IRC
  51 2011-02-28T12:51:09  *** Pranav_rcmas has joined #moin-dev
  52 2011-02-28T13:00:30  *** Pranav_rcmas has quit IRC
  53 2011-02-28T14:11:24  *** Pranav_rcmas has joined #moin-dev
  54 2011-02-28T14:40:22  *** kasun has quit IRC
  55 2011-02-28T15:40:28  *** dulotie has joined #moin-dev
  56 2011-02-28T15:53:32  *** sl33k_ has joined #moin-dev
  57 2011-02-28T15:55:02  *** RogerHaase has joined #moin-dev
  58 2011-02-28T16:13:54  <dulotie> no discussion? hehe
  59 2011-02-28T16:21:19  <ThomasWaldmann> hi dulotie
  60 2011-02-28T16:21:26  <ThomasWaldmann> it's not like radio :D
  61 2011-02-28T16:22:01  <ThomasWaldmann> RogerHaase: btw, i think i misunderstood you when you asked about wget.exe and 7za.exe
  62 2011-02-28T16:22:14  <dulotie> hi =D
  63 2011-02-28T16:22:36  <ThomasWaldmann> i meant it is fine to use them from the scripts, but I didn't mean that the exe files should be committed to repo
  64 2011-02-28T16:23:36  <ThomasWaldmann> but you maybe could recreate your bb repo anyway. you cloned it from the main repo and as you didn't use "fork" on the bb UI, bb now does not know the repos are related.
  65 2011-02-28T16:24:05  <ThomasWaldmann> but that would be nice to have, so that I see your incoming changesets better. :)
  66 2011-02-28T16:31:42  *** Pranav_rcmas has quit IRC
  67 2011-02-28T16:31:47  *** Pranav_rcmas has joined #moin-dev
  68 2011-02-28T16:33:38  <RogerHaase> ThomasWaldmann: OK, I will reclone bitbucket repo.
  69 2011-02-28T16:36:38  <RogerHaase> ThomasWaldmann: The chance of any Windows system of having wget.exe and 7za.exe in the system path are near zero.
  70 2011-02-28T16:39:11  *** gwork has quit IRC
  71 2011-02-28T16:40:12  <RogerHaase> ThomasWaldmann:  I looked for alternatives to wget.exe and 7za.exe, but could find nothing better.  Ideas?
  72 2011-02-28T16:44:11  <ThomasWaldmann> RogerHaase: about the wget/7za: yes. but we also just require some stuff on linux systems and don't bundle the binaries. :) of course probability there is much higher...
  73 2011-02-28T16:44:27  <ThomasWaldmann> same for mac, bsd, ...
  74 2011-02-28T16:44:55  <ThomasWaldmann> maybe the script could try calling them and see if they are there and if not, just tell the user?
  75 2011-02-28T16:54:04  <ThomasWaldmann> RogerHaase: maybe the return code is useful for that?
  76 2011-02-28T16:55:11  <ThomasWaldmann> RogerHaase: about alternatives, i still search someone to adopt the xstatic idea and implement it :D
  77 2011-02-28T16:55:55  <ThomasWaldmann> then we would not need to manually call wget/tar/gzip/zip
  78 2011-02-28T17:03:15  <RogerHaase> ThomasWaldmann: What is xstatic idea?
  79 2011-02-28T17:03:35  <ThomasWaldmann> http://etherpad.osuosl.org/xstatic
  80 2011-02-28T17:08:46  <dreimark> RogerHaase: it is quite easy to write a replacement for wget in python
  81 2011-02-28T17:08:57  <dreimark> and same counts too for unzipping
  82 2011-02-28T17:09:26  <dreimark> ThomasWaldmann: ^^
  83 2011-02-28T17:12:20  <ThomasWaldmann> yes, but as long as we do not need that for moin itself anyway, it would be also additional unrelated stuff in the repo
  84 2011-02-28T17:12:36  <dreimark> urllib.urlretrieve(url_of_zip_file, destination_on_local_filesystem).
  85 2011-02-28T17:18:38  <dreimark> not based on any binaries is also good. may be there is already something on pypi that can be installed optional
  86 2011-02-28T17:26:15  <ThomasWaldmann> http://comments.gmane.org/gmane.comp.python.wsgi.fanstatic/152 seems like that discussion is going nowhere
  87 2011-02-28T17:32:57  <ThomasWaldmann> RogerHaase: do you think xstatic would make sense?
  88 2011-02-28T17:35:40  <RogerHaase> I would agree that writing the wget/unzip in Python makes sense.  I worry that the installation process is getting more/too complex.   How many people will be turned off by needing an internet connection to install Moin.
  89 2011-02-28T17:38:01  <ThomasWaldmann> well, that is unrelated to the static stuff, rather a general issue if we fetch stuff from pypi
  90 2011-02-28T17:40:07  <dreimark> and we can do that at release package time, now we are in development process
  91 2011-02-28T17:40:48  <dreimark> if we package we can decide to do it with dependencies or not+
  92 2011-02-28T17:41:11  <dreimark> but the repository should be kept small
  93 2011-02-28T17:47:46  <RogerHaase> I am thinking of the number of installation related problems users are having now.   Will new users be able to describe a problem and will someone else be able to recognize what went wrong?
  94 2011-02-28T17:53:32  <ThomasWaldmann> yeah, the lots of stuff setup.py is emitting is not very helpful. especially since there is quite some stuff that can be ignored, but a new user won't know.
  95 2011-02-28T17:56:09  <RogerHaase> By writing it in python, we can control the output better - maybe only 6 success/fail messages for 6 downloads.
  96 2011-02-28T17:57:37  <ThomasWaldmann> and by packaging it would be the same mechanism for the static stuff as for the py stuff :)
  97 2011-02-28T17:58:03  <ThomasWaldmann> including a downloader and unpacker for free :)
  98 2011-02-28T17:58:45  <dreimark> good point
  99 2011-02-28T17:59:06  <dreimark> if you don't want to have it in the core code we can keep it separated
 100 2011-02-28T18:00:09  <dreimark> it is anyway more a independent tool
 101 2011-02-28T18:00:56  <dreimark> and i wonder if we are the first wanting that
 102 2011-02-28T18:01:50  <dreimark> brb
 103 2011-02-28T18:07:41  <RogerHaase> I am not sure we are thinking the same -- I was thinking of a mini-static -- a python program to read a config file with url:directory pairs.  Reads the url and unzips to the related directory.
 104 2011-02-28T18:08:20  <RogerHaase> :d should be url : directory
 105 2011-02-28T18:15:21  *** Pranav_rcmas has quit IRC
 106 2011-02-28T18:24:23  * ThomasWaldmann just tries to implement xstatic
 107 2011-02-28T18:25:06  <ThomasWaldmann> it is maybe not that clear from the etherpad (as there are also all sorts of additional ideas described), but it is intended as a very simple thing
 108 2011-02-28T18:32:25  <RogerHaase> rereading the etherpad...
 109 2011-02-28T18:32:57  <ThomasWaldmann> just the static files + some metadata
 110 2011-02-28T18:41:58  *** xjjk has quit IRC
 111 2011-02-28T18:53:07  <ThomasWaldmann> >>> from xstatic.pkg import jquery
 112 2011-02-28T18:53:07  <ThomasWaldmann> >>> jquery.LOCATIONS.get(('local', 'dir'))
 113 2011-02-28T18:53:07  <ThomasWaldmann> '/home/tw/w/xstest/lib/python2.6/site-packages/xstatic/pkg/jquery/data/'
 114 2011-02-28T18:53:44  <ThomasWaldmann> >>> jquery.LOCATIONS.get(('google', 'https'))
 115 2011-02-28T18:53:44  <ThomasWaldmann> 'https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/'
 116 2011-02-28T18:59:56  <RogerHaase> Sorry, I don't understand xstatic.  I think I will be of more use doing other things.
 117 2011-02-28T19:01:22  <ThomasWaldmann> it is just using python package infrastructure instead of homegrown wget/unzip/untar
 118 2011-02-28T19:01:42  <ThomasWaldmann> so we can require it in setup.py
 119 2011-02-28T19:06:38  <RogerHaase> That is only the first ... of the many parts I do not understand...
 120 2011-02-28T19:07:53  <ThomasWaldmann> yeah, python packaging. welcome to teh jungle. :D
 121 2011-02-28T19:24:38  *** greg_f has quit IRC
 122 2011-02-28T20:10:10  <RogerHaase> moin
 123 2011-02-28T20:10:42  <RogerHaase> oops, wrong window!
 124 2011-02-28T20:26:35  *** franklin_ has joined #moin-dev
 125 2011-02-28T20:29:10  *** franklin has quit IRC
 126 2011-02-28T20:37:32  *** cosmos_thought_ has quit IRC
 127 2011-02-28T20:55:21  <RogerHaase> ThomasWaldmann: I deleted bb repo, created a new fork, and uploaded my changes.  (minus wget, etc. plus TOC restyling)
 128 2011-02-28T20:57:06  <ThomasWaldmann> 5 incoming changesets found in bb+http://RogerHaase/moin-2.0
 129 2011-02-28T20:57:09  <ThomasWaldmann> works :)
 130 2011-02-28T21:00:15  <RogerHaase> There is a problem in moin change, I  dropped two lines related to XML import.
 131 2011-02-28T21:00:19  <ThomasWaldmann> RogerHaase: that nodetype 3, is that cross-browser?
 132 2011-02-28T21:01:00  <RogerHaase> Does not have to be, only looks at Firefox.
 133 2011-02-28T21:03:17  <ThomasWaldmann> ah, right, "mozilla"
 134 2011-02-28T21:03:30  <ThomasWaldmann> didn't you want to add your windows quickinstall.bat?
 135 2011-02-28T21:04:26  <RogerHaase> quikinstall.bat will fail without wget.exe and 7za.exe
 136 2011-02-28T21:06:47  <ThomasWaldmann> that like the linux quickinstall, it will also fail if wget etc. is not there
 137 2011-02-28T21:07:13  <ThomasWaldmann> so you could add it until we have something better
 138 2011-02-28T21:07:20  <ThomasWaldmann> (not the exes :)
 139 2011-02-28T21:09:28  <RogerHaase> OK, I will add it back.  (But first I need to fix the 2 lines I deleted from moin.)
 140 2011-02-28T21:13:11  *** xjjk has joined #moin-dev
 141 2011-02-28T21:14:13  *** sl33k_ has quit IRC
 142 2011-02-28T21:35:02  <RogerHaase> ThomasWaldmann:  OK, fixed moin and added quickinstall.bat and moin.bat.
 143 2011-02-28T21:38:45  <ThomasWaldmann> hmm, now the windows "moin" behaves different than the non-windows "moin"
 144 2011-02-28T21:40:43  <RogerHaase> the windows version does activate and deactivate? Anything else?
 145 2011-02-28T21:41:27  <ThomasWaldmann> well, it also talks about the server, even when not really starting it
 146 2011-02-28T21:41:37  <ThomasWaldmann> didn't you maybe just want
 147 2011-02-28T21:41:39  <ThomasWaldmann> python moin %*
 148 2011-02-28T21:41:47  <ThomasWaldmann> in the moin.bat?
 149 2011-02-28T21:42:51  <ThomasWaldmann> (btw, we have to document that stuff later, so if it behaves similar, it is less to document :)
 150 2011-02-28T21:46:10  <RogerHaase> Per the moin comments, moin; moin moin; moin runserver; and moin moin --port=888 are legal...
 151 2011-02-28T21:47:18  <RogerHaase> I had trouble saying moin --port=8888
 152 2011-02-28T21:49:54  <RogerHaase> So I added the test to see if the first parameter was moin.  Are you saying "moin --port=8888" would fail under *nix?
 153 2011-02-28T21:53:02  <ThomasWaldmann> no, I mean the other moin ... commands, that don't start a server, but do some scriptlike stuff
 154 2011-02-28T21:58:14  <RogerHaase> OK, I understand - moin shell fails, but python moin shell works.  moin --port=8888 should fail everywhare, but moin moin ==port=8888 will work.
 155 2011-02-28T21:59:20  <RogerHaase> Will simplify the script to use only  python moin %*.
 156 2011-02-28T22:00:23  <ThomasWaldmann> (please test it afterwards, i didn't try it)
 157 2011-02-28T22:01:04  <RogerHaase> OK to leave the activate/deactivate in?  Forgetting to activate is my most common error.
 158 2011-02-28T22:04:50  <ThomasWaldmann> well, the "moin" doesn't do it, so it would be better not to do it in moin.bat either
 159 2011-02-28T22:05:30  <ThomasWaldmann> the moin script is not the only place btw where entering the virtualenv is needed
 160 2011-02-28T22:08:47  <ThomasWaldmann> (e.g. running the wsgi app in other ways, building the docs, running the tests, ...)
 161 2011-02-28T22:09:05  <RogerHaase> I forget to activate before running tests as well.  :(
 162 2011-02-28T22:28:33  <dreimark> re
 163 2011-02-28T22:32:31  <dreimark> RogerHaase: you can try one of the other commands
 164 2011-02-28T22:32:59  <dreimark> e.g. /moin maint_xml -s -f data.xml --nrevs 2
 165 2011-02-28T22:33:23  <dreimark> that should save a data.xml file of the wiki items
 166 2011-02-28T22:33:35  <dreimark> and -l instead o -s will load it back
 167 2011-02-28T22:37:00  <RogerHaase> dreimark: thanks, that works.
 168 2011-02-28T22:38:58  <RogerHaase> ThomasWaldmann: Finished.
 169 2011-02-28T22:43:14  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 40:f4308cd49ba2 2.0/docs/ (5 files in 2 dirs): improved docs
 170 2011-02-28T22:43:20  <CIA-46> Roger Haase <crosseyedpenguin@yahoo.com> default * 41:6e62b745c28d 2.0/MoinMoin/static/js/common.js: remove trailing blanks
 171 2011-02-28T22:43:21  <CIA-46> Roger Haase <crosseyedpenguin@yahoo.com> default * 43:511bdff23b20 2.0/moin: fix moin startup script for windows
 172 2011-02-28T22:43:24  <CIA-46> Roger Haase <crosseyedpenguin@yahoo.com> default * 45:3711bbf71add 2.0/MoinMoin/themes/modernized/static/css/common.css: restyle TableOfContents: float right, reduce width, round corners, bolder shadow
 173 2011-02-28T22:43:27  <CIA-46> Roger Haase <crosseyedpenguin@yahoo.com> default * 47:026da86712e8 2.0/ (moin.bat quickinstall.bat): add windows version of quickinstall and moin scripts
 174 2011-02-28T22:43:32  <CIA-46> Roger Haase <crosseyedpenguin@yahoo.com> default * 42:21e6160353bc 2.0/MoinMoin/static/js/common.js: fix bug in moinFirefoxWordBreak effecting links in global history view
 175 2011-02-28T22:43:35  <CIA-46> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 49:5ac57ba008b5 2.0/ (5 files in 3 dirs): merged bb+http://RogerHaase/moin-2.0
 176 2011-02-28T22:43:36  <CIA-46> Roger Haase <crosseyedpenguin@yahoo.com> default * 44:a7fdf16d8225 2.0/MoinMoin/themes/modernized/static/css/common.css: remove trailing blanks
 177 2011-02-28T22:43:43  <CIA-46> Roger Haase <crosseyedpenguin@yahoo.com> default * 46:f63fba326824 2.0/moin: replace 2 lines that were deleted in error - related to script.maint.xml refactoring
 178 2011-02-28T22:43:44  <CIA-46> Roger Haase <crosseyedpenguin@yahoo.com> default * 48:4d884cd29174 2.0/moin.bat: simplify script to mimic "moin" actions
 179 2011-02-28T22:44:01  <dreimark> ThomasWaldmann: accepting of orgs is enabled
 180 2011-02-28T22:57:01  <ThomasWaldmann> ok.
 181 2011-02-28T22:57:06  * ThomasWaldmann fills out the form
 182 2011-02-28T23:04:33  <xorAxAx> cool
 183 2011-02-28T23:11:39  *** RogerHaase has left #moin-dev
 184 2011-02-28T23:32:00  <Trip__> fwiw it took me a while to figure out that I needed to "put the moin twice" in "moin moin --port=8081"
 185 2011-02-28T23:32:06  *** Trip__ is now known as MattMaker
 186 2011-02-28T23:38:50  <MattMaker> for my use locally I made a bash script that activates virtualenv before running whatever other sets of commands I am doing repeatedly. That's pretty much what I do anytime I need to type in a command longer than a few characters, more than one time. I create some manner of shortcut  :)
 187 2011-02-28T23:47:57  <dreimark> MattMaker: i have that in my .bashrc
 188 2011-02-28T23:49:06  <dreimark> MattMaker: http://playnice.ly/blog/2010/05/12/pip-virtualenv-python-library-package-management/
 189 2011-02-28T23:49:15  <MattMaker> dreimark, a good point. I haven't settled on which things should go in my .bashrc vs. in a bash function vs. in a bash script
 190 2011-02-28T23:50:15  <MattMaker> I am thinking about doing what some do and refactoring my bash environment into a cross-platform one that I then keep in a repository
 191 2011-02-28T23:50:15  <dreimark> that blog post is quite nice
 192 2011-02-28T23:52:20  <MattMaker> so far I have been using only pip, inside the virtualenv. it seems to work well.
 193 2011-02-28T23:53:07  <MattMaker> I was wondering if we would want to use it to replace part of the setup.py where it says we should use some method of packaging
 194 2011-02-28T23:53:14  <MattMaker> like that blog post suggests
 195 2011-02-28T23:54:46  <MattMaker> also, maybe moin should use virtualenv even for the default install, similar to the way 1.9.x has the "farmconfig" stuff as default

MoinMoin: MoinMoinChat/Logs/moin-dev/2011-02-28 (last edited 2011-02-28 00:00:03 by IrcLogImporter)