Config
Log for #openttdcoop.devzone on 30th April 2010:
Times are UTC Toggle Colours
00:23:12  *** OwenS has quit IRC
07:27:21  *** ODM has joined #openttdcoop.devzone
09:12:00  <Webster> Latest update from devactivity: OpenGFX - Revision 449: Doc: remove "released " from dates <http://dev.openttdcoop.org/projects/opengfx/repository/revisions/449> || OpenGFX - Revision 448: Doc: Add official mirror from openttd.org <http://dev.openttdcoop.org/projects/opengfx/repository/revisions/448> || Redmine - Revision 3539: Merged r3698 from trunk. <http://dev.openttdcoop.org/projects/redmine/repository/revisions/3539> || Redmine - Revision 3541: Only copy visible issues. <http://dev.openttdcoop.org/projects/redmine/repository/revisions/3541> || Redmine - Revision 3538: Merged r3668 from trunk. <http://dev.openttdcoop.org/projects/redmine/repository/revisions/3538>
09:44:41  * Rubidium ponders filing a bug report to OpenGFX
09:45:06  <Rubidium> I wanted to download 0.2.3, but http://binaries.openttd.org/bananas/OpenGFX-0.2.3.tar.gz returns a 404
10:18:34  <Ammler> :-)
10:35:21  *** KenjiE20 has joined #openttdcoop.devzone
10:58:17  <Ammler> planetmaker: can you check opengfx hall station
10:58:30  <Ammler> I don't know, if the glass is there
10:58:43  <planetmaker> which tracks?
10:59:36  <planetmaker> Ammler, can you make me a ticket? :-)
11:01:24  <Ammler> no
11:01:36  <Ammler> it would be a shame :-$
11:02:21  <planetmaker> :-P
11:04:48  <Ammler> I try older revisions, I miss it on 0.2.3 too
11:06:03  <planetmaker> well... the glass sprites are in the source referenced
11:06:27  <planetmaker>  862 sprites/pcx/infra06.pcx 82 4760 09 38 64 0 0
11:06:28  <planetmaker>   863 sprites/pcx/infra06.pcx 162 4760 09 38 64 0 0
11:06:28  <planetmaker>   864 sprites/pcx/infra06.pcx 242 4760 09 52 66 0 0
11:06:28  <planetmaker>   865 sprites/pcx/infra06.pcx 322 4760 09 52 66 0 0
11:07:02  <planetmaker> as there's IMHO missing the rear part of the tubular bridges
11:09:48  <planetmaker> oh oh oh. All those infra* sprites... that could use a good code-refactoring
11:14:03  <Ammler> :-)
11:15:30  <planetmaker> ugly ugly big big graphics files
11:15:37  <planetmaker> and no documentation which sprite is what
11:17:16  <planetmaker> http://www.heise.de/newsticker/meldung/Firefox-soll-Benutzerkonten-verwalten-990791.html <-- interesting, Ammler ?
11:17:18  <Webster> Title: heise online - Firefox soll Benutzerkonten verwalten (at www.heise.de)
11:18:49  <Ammler> :-)
15:10:29  *** ODM has quit IRC
15:23:50  <Webster> Latest update from devactivity: OpenGFX - Revision 450: Revert r414: let us test grfcodec -c a bit more publicy <http://dev.openttdcoop.org/projects/opengfx/repository/revisions/450>
15:40:10  <Webster> Latest update from devactivity: OpenGFX - Feature #903: grfcodec -c (was missing(?) sprites) <http://dev.openttdcoop.org/issues/903#change-2465>
16:02:14  *** OwenS has joined #openttdcoop.devzone
16:12:53  <Yexo> planetmaker: instead of #902, what about adding "-D name=value" as command line argument to nml? when it's used 'name' becomes a valid tag in language files
16:13:05  <Yexo> and in other locations too, if that's useful
16:13:28  <planetmaker> how does that work with spaces for value?
16:13:44  <Yexo> -D "name=value with space"
16:13:50  <Yexo> or "-Dname=value with space"
16:14:11  <planetmaker> I've been pondering it... it'd be actually quite easy - as Ammler proposed - to just write a file which defines those tags
16:14:13  <Yexo> that way nml isn't tied to mercurial
16:14:44  <Yexo> reading those tasg from a file is another option
16:14:47  <planetmaker> like custom_tags.txt
16:15:11  <planetmaker> with each line like what you just wrote as command line argument
16:15:21  <Yexo> in that case: should the name of that file be constant (always "custom_tags.txt") or also modifiable by a commandline argument?
16:15:40  <planetmaker> for now it can be constant IMHO.
16:15:49  <Ammler> why that complicated?
16:16:14  <Ammler> why can't it be possible to write a simple "const file"?
16:16:27  <Ammler> like the rev.cpp in openttd
16:16:29  <planetmaker> Ammler: isn't that what I proposed?
16:16:30  <Yexo> Ammler: that is exactly what we are discussing now
16:17:55  <planetmaker> and yeah... writing the livery override for the turbo-train I got side-tracked to re-align all trains in OpenGFX. That's my excuse for not having done anything in that respect ;-)
16:18:25  * Yexo doesn't have any excuse :p
16:18:34  <Brot6> 2cctrainset: update from r512 to r516 done (1 errors) - http://bundles.openttdcoop.org/2cctrainset/nightlies/
16:18:36  <planetmaker> be creative! ;-)
16:18:51  <Brot6> fish: update from r335 to r360 done (1 errors) - http://bundles.openttdcoop.org/fish/nightlies/
16:19:28  <Brot6> opengfx: update from r442 to r450 done (0 errors) - http://bundles.openttdcoop.org/opengfx/nightlies/
16:19:29  <Brot6> Following repos didn't need a update: 32bpp-extra (r31), airportsplus (r48), bros (r10), comic-houses (r69), firs (r780), heqs (r318), nmts (r15), nutracks (r59), openmsx (r49), opensfx (r88), snowlinemod (r10), worldairlineset (r636)
16:31:01  <planetmaker> DJNekkid: there's another refit-bug it seems with valuables
16:31:09  <planetmaker> (again tt-forums)
17:02:04  <DJNekkid> *investigating*
17:04:03  <DJNekkid> and: this is the "pro" (vs "con") of releaseing "near finish" or "dev" things... people use it, and report bugs :)
17:07:25  <DJNekkid> but i cannot reproduce it...
17:10:44  <Ammler> DJNekkid: and what is con about?
17:11:30  <DJNekkid> but, i suspect he is useing 1.0.1 and not 2.0.0 dev version (nightly=
17:11:32  <DJNekkid> )
17:11:48  <DJNekkid> a con in this case would be some "closed beta test"-thing
17:12:10  <DJNekkid> and the nightlies of 2cc set are now quite playable and "near finished"
17:13:21  <Ammler> didn't you upload a 2cc to bananas?
17:13:49  <Ammler> is it only available for saves?
17:14:07  <Ammler> 2ccv2*
17:16:44  <DJNekkid> i did put up r509(ish)
17:16:53  <DJNekkid> but im not 100% sure on its availability
17:20:16  <Ammler> well, it is hidden...
17:20:22  <Ammler> with nightlies and stable
17:20:31  <DJNekkid> hmm
17:20:57  <DJNekkid> any idea on how it could be available for nightlies and not 1.0.0(openttd)
17:20:57  <Ammler> but doesn't matter
17:21:02  <Ammler> you get it with joining the server
17:21:22  <DJNekkid> but, it seems like noone is useing the server :)
17:21:34  <Ammler> true :-P
17:21:47  <Ammler> call it #openttdcoop something ;-)
17:22:23  <Ammler> wouldn't help either
17:22:29  <Ammler> as there are no binaries around
17:22:37  <DJNekkid> there is!
17:22:53  <DJNekkid> windows binaries plus linux patches plus debian builds
17:23:53  *** andythenorth has joined #openttdcoop.devzone
17:49:33  *** ODM has joined #openttdcoop.devzone
17:52:38  *** frosch123 has joined #openttdcoop.devzone
18:46:48  <Webster> Latest update from devactivity: NFO Meta Language - Feature #902 (Closed): Versioning of newgrfs <http://dev.openttdcoop.org/issues/902#change-2466> || NFO Meta Language - Revision 126: Feature: read custom_tags.txt which contains extra tags that ca... <http://dev.openttdcoop.org/projects/nml/repository/revisions/126>
18:48:26  <Yexo> planetmaker: format of custom_tags.txt is the same as the language files, ie "name  :value"
18:52:08  <Ammler> he, isn't using custom_tags.txt the complicated way? :-)
18:57:22  <Yexo> <Ammler> why can't it be possible to write a simple "const file"? <- I thought you wanted it this way?
18:57:54  <Ammler> I thought more about something like a #include in the nml :-)
18:58:33  <Ammler> rather then hardcode a single file
21:02:38  *** ODM has quit IRC
21:08:30  <Webster> Latest update from devactivity: FIRS Industry Replacement Set - Revision 781: Change: adjusted Arable Farm production multiplier <http://dev.openttdcoop.org/projects/firs/repository/revisions/781>
21:15:58  <planetmaker> Yexo: thanks. Works nicely
21:16:31  <planetmaker> Made use of immediately for OpenGFX+ :-)
21:19:29  <planetmaker> Ammler: can we somehow manage to make also nightlies for OpenGFX+? It needs NML...
21:20:49  <Ammler> planetmaker: symlink nml to /usr/local/bin
21:21:29  <planetmaker> well, the used NML should be the one as in the NML repo. I guess I will most often need the newest version of it.
21:21:40  <planetmaker> (and if not, it would still make sense ;-) )
21:22:03  <Ammler> yes, symlink _that_ to /usr/local/bin :-)
21:22:29  <planetmaker> then we need something which does a hg up there everytime there's a commit
21:22:41  <planetmaker> or not?
21:23:01  <Ammler> hmm
21:24:36  <planetmaker> I've solved it locally such that I use a Makefile.local which re-defines the NML command to a relative path to the NML dir
21:24:40  <planetmaker> NML = ../nml/nml2nfo
21:24:47  <planetmaker> instead of nml2nfo
21:25:26  <Ammler> yes, that is another topic
21:25:48  <planetmaker> hm?
21:27:51  <Ammler> that is the symlink to /usr/local/bin/
21:28:01  <Ammler> but I am not sure, if we should autoupdate
21:28:23  <planetmaker> well... it could update with the CF :-)
21:28:56  <planetmaker> in principle I say it's a bad idea to auto-update binaries
21:29:11  <planetmaker> But this case is different as it's all still alpha
21:29:23  <planetmaker> and not yet feature-complete
21:30:05  <Ammler> we need nightly of nml :-)
21:30:26  <planetmaker> yes, of course :-)
21:30:44  <planetmaker> but in principle we have that
21:30:56  <planetmaker> or rather can make that
21:31:15  <Ammler> does it have a make install?
21:31:43  <planetmaker> setup.py
21:31:53  <Ammler> he, I have already packaged a python script
21:33:02  <planetmaker> :-)
21:34:44  <Ammler> http://obs.openttdcoop.org/ammler/tortoisehg/tortoisehg.spec
21:35:28  <planetmaker> he :-)
21:35:36  <planetmaker> is tortoise purely python?
21:36:06  <Ammler> %{__python} setup.py build
21:36:14  <Ammler> %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix=%{_prefix}
21:36:39  <Ammler> is there something to build on nml?
21:39:20  <Webster> Latest update from devactivity: OpenGFX+ - Revision 9: Change: Make use of the support for custom string tags in order to automat... <http://dev.openttdcoop.org/projects/ogfxplus/repository/revisions/9>
21:39:35  <planetmaker> what do you mean with "to build on nml"?
21:39:57  <planetmaker> I *think* it's not required to run / build anything
21:40:08  <planetmaker> one can use the repo as is for compiling other projects
21:42:38  <Ammler> so I just copy nml to %{python_sitelib} and the wrapper to /usr/bin ?
21:43:05  <planetmaker> I *think* it might work
21:43:09  <Ammler> :-)
21:43:18  <Ammler> worth a try...
21:43:28  <Ammler> we need a package for the chroot environment
21:43:51  <Ammler> else we have to install it together with the grfs
21:45:08  <Ammler> but for now, we just symlink the wrapper from the repo directly
21:46:09  <Ammler> the name is nml2nfo?
21:46:36  <planetmaker> yes
21:48:41  <Ammler> http://pastebin.com/9Ari23s3
21:49:37  <Ammler> same, if I run it directly
21:50:10  <Yexo> <Ammler> so I just copy nml to %{python_sitelib} and the wrapper to /usr/bin ? <- "python setup.py install" does just that
21:50:19  <Ammler> no readme.txt?
21:50:28  <Ammler> Yexo: fine :-)
21:50:36  <Ammler> also installing the wrapper?
21:50:41  <Yexo> yes
21:51:08  <Ammler> Yexo: %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix=%{_prefix}
21:54:11  <Ammler> source package: hg archive -ttbz2 nml-r`hg id -n`.tar.bz2
21:54:35  <planetmaker> Ammler: our server misses ply.lex package for python
21:56:13  <Ammler> http://pastebin.com/JYR54M8M
21:56:20  <Ammler> python-ply installed
21:57:05  <Ammler> the last paste might be more useful for yexo :-)
21:57:57  <Yexo> Ammler: the DeprecationWarning is in ply, that's not part of my code (just another module that I use)
21:57:58  <planetmaker> :-)
21:58:13  <Yexo> the yacc: Warning lines are correct, those are partially implemented features
21:58:25  <Ammler> ok, so just ignore those?
21:58:28  <planetmaker> yes
21:58:30  <Yexo> yes
21:58:56  <Yexo> last few lines are also expected as you didn't give a file as argument (or should it take stdin in this case?)
21:59:10  <Ammler> renum does that
21:59:12  <planetmaker> hm... yes :-)
21:59:28  <planetmaker> that would allow using it in pipes
21:59:30  <Ammler> might be nice for experimenting
22:01:54  <Ammler> Yexo: possible to get the version?
22:02:05  <planetmaker> of NML?
22:02:12  <planetmaker> hg id -n ;-)
22:02:27  <Ammler> no nml2nfo -v :-)
22:02:28  <Yexo> ^^, not sure how it could be implemented otherwise
22:02:38  <Ammler> true :-)
22:02:43  <Ammler> something for the release
22:02:44  <Yexo> nml2nfo could run 'hg id -n', but then it doesn't work once installed
22:02:56  <Yexo> for a release it could return a predefined string indeed
22:03:01  <planetmaker> yeah, but Ammler's got a point ^
22:04:29  <Ammler> might also be an idea to define a require min version in nml code
22:07:18  <Yexo> more a version of the nml-spec
22:09:31  <Rubidium> can't setup.py "insert" something into the .py files and when there's nothing can't it check for mercurial and check the version that way?
22:11:04  <Yexo> setup.py uses python buildtools, a standard way to install python modules/applications
22:14:46  <Ammler> good old nml/rev.py :-)
22:15:58  <Ammler> license is gpl?
22:16:01  <Ammler> v2?
22:16:05  <Yexo> yes
22:16:16  <Yexo> I should add the licence file to the repo
22:16:44  <Yexo> Hirundo: ^^ licence gpl v2 is ok with you?
22:16:46  <planetmaker> add a dir docs
22:16:59  <planetmaker> where also a readme.txt could go
22:18:14  *** Yexo has quit IRC
22:18:27  <planetmaker> there he goes
22:18:31  *** Yexo has joined #openttdcoop.devzone
22:18:40  <planetmaker> and there he comes again ;-)
22:19:47  <planetmaker> Yexo: add build/ to .hgignore
22:19:56  <Yexo> you can do that :)
22:20:09  <planetmaker> for the repo?
22:20:17  <Yexo> sure
22:20:31  <Ammler> he is no dev :-)
22:21:18  <planetmaker> hm... drwxr-xr-x  2 root  staff  102 19 Apr 18:20 scripts-2.6 <-- bad permissions in my user dir...
22:21:29  <Yexo> nevertheless he has committed things before
22:22:24  <planetmaker> true :-)
22:22:33  <planetmaker> and pushed
22:25:10  <Ammler> it need build
22:26:13  <Ammler> nml-0.1-py2.6.egg-info <-- where is that 0.1 from?
22:26:43  <Ammler> planetmaker: then you should also add yourself to dev
22:27:04  <planetmaker> Ammler: I, myself?
22:27:11  <planetmaker> that feels wrong ;-)
22:27:23  <Ammler> yes, but then you should push either :-P
22:27:27  <Ammler> n't
22:27:53  <planetmaker> ah, what I did was tiny things, not really much development
22:28:23  <Yexo> Ammler: from setup.py
22:28:50  <Ammler> Yexo: not useable somehow?
22:28:51  <planetmaker> Ammler: basically I wouldn't want to do that as it feels to me as abusing my site admin rights ;-)
22:29:12  <Yexo> Ammler: maybe
22:29:37  <Ammler> well, our inofficial rule was that you should only push to repos you are at least dev
22:29:52  <Yexo> now planetmaker is a dev, problem solved
22:29:57  <Ammler> :-)
22:30:58  <planetmaker> :-P
22:37:14  <Ammler> http://pastebin.com/brn6Zfca <-- my final report :-)
22:41:28  <Yexo> Ammler: the last one is confusing, does it mean the package name should be "python-nml" or something like that?
22:41:30  <Webster> Latest update from devactivity: NFO Meta Language - Revision 127: Change: Ignore the build dir generated by installer <http://dev.openttdcoop.org/projects/nml/repository/revisions/127>
22:42:57  <Ammler> yexo, I guess so
22:43:05  <Ammler> I call it openttd-devel-nml
22:44:03  <Rubidium> shinkansen!
22:45:13  <Ammler> anyway, rpm looks fine and working
22:46:13  <Ammler> http://obs.openttdcoop.org/specs/openttd-devel-nml/nml.spec
22:47:46  <Yexo> Ammler: did you already try to run "python setup.py bdist_rpm --spec-only
22:47:46  <Yexo> " ?
22:49:19  * planetmaker needs sleep and wishes a good night everyone
22:49:44  <Ammler> you mean for the files list?
22:49:55  <Yexo> no, that generates a spec file from setup.py
22:50:04  <Ammler> oh wow, no :-)
22:50:31  <Yexo> I didn't realize what you were working on until you were done
22:52:31  <Ammler> --record=INSTALLED_FILES might be an idea
22:52:46  <Ammler> else no real difference
22:53:05  <Yexo> less maintenance effort, as it can be generated automatically
22:53:36  <Ammler> well, but you lose the track about what changed
22:53:45  <Ammler> files added or removed
22:53:58  <Ammler> but if I use *, it doesn't matter
22:54:20  <Ammler> good specs do list every single file
22:54:42  <Yexo> that's probably possible by listing every single file in setup.py
22:54:59  <Ammler> I could do that with the build script too
22:55:14  <Ammler> I just couldn't be bothered to copy&paste the list :-)
22:55:31  <Ammler> specially as you are still in dev...
22:55:35  *** frosch123 has quit IRC
22:55:39  <Ammler> I will use that --recored
22:56:17  <Ammler> where does the setup script have the url from?
22:56:21  <Ammler> Url: http://dev.openttdcoop.org:81/projects/nml
22:56:43  <Ammler> :81 could be skipped, it works but was just temporarly
22:58:20  <Yexo> it's hardcoded in setup.py itself
22:58:43  <Yexo> setup.py calls a generic setup function with some arguments, like which files to packages and the url/author etc.
22:58:55  <Yexo> it's currently only a very basic file that just works
23:01:11  <Ammler> it seems so, indeed :-)
23:27:48  <Webster> Latest update from devactivity: NFO Meta Language - Revision 128: Feature: read from stdin if no file is given, in this case writ... <http://dev.openttdcoop.org/projects/nml/repository/revisions/128>
23:43:00  <Webster> Latest update from devactivity: NFO Meta Language - Revision 129: Add: add some more information to setup.py <http://dev.openttdcoop.org/projects/nml/repository/revisions/129>
23:56:22  *** KenjiE20 has quit IRC

Powered by YARRSTE version: svn-trunk