2008-04-10T01:38:23 *** Mark__T has joined #openils-evergreen 2008-04-10T05:25:41 *** ibbo has joined #OpenILS-Evergreen 2008-04-10T05:34:58 *** ibbo has quit IRC 2008-04-10T05:38:19 *** ibbo has joined #OpenILS-Evergreen 2008-04-10T08:23:36 *** greg-g has joined #openils-evergreen 2008-04-10T09:10:50 *** gmcharlt has joined #OpenILS-Evergreen 2008-04-10T09:51:47 *** Mark__T has left #openils-evergreen 2008-04-10T10:29:23 *** EGUEST670 has joined #openils-evergreen 2008-04-10T10:31:14 *** sylvar has quit IRC 2008-04-10T10:38:59 *** ibbo has quit IRC 2008-04-10T10:39:25 I channged cgi-bin Alias to Allow from all in sites-available. 2008-04-10T10:40:17 I can now open config.cgi but the scripts it leads to do now work. 2008-04-10T10:41:17 I can now open config.cgi but the scripts it leads to do not work such as org_unit_types.cgi 2008-04-10T10:41:37 what do you mean by "do not work"? 2008-04-10T10:42:54 Internal Server Error. 2008-04-10T10:43:15 step back a bit. Does a srfsh login work? 2008-04-10T10:43:56 Server en countered an internal error or misconfiguration and was unable to complete your request. 2008-04-10T10:44:14 What is a srfsh login? 2008-04-10T10:47:25 EGUEST670: what install instructions are you following? 2008-04-10T10:47:38 I followed the wiki on installing on ubuntu 7.10 and am very close I think. 2008-04-10T10:48:21 I think jabber is the problem but not quite sure how to test it. 2008-04-10T10:49:23 *** Karen_ has joined #OpenILS-Evergreen 2008-04-10T10:50:23 Try giving http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/support-scripts/settings-tester.pl a run 2008-04-10T10:50:39 it will try to connect to ejabberd using your settings, amongst other things 2008-04-10T10:51:32 Thank you very much I will give it a try. By for now. 2008-04-10T11:03:48 phasefx: does the messagecatalog stuff need any special helper scripts to be loaded (like JSAN), or should it just work because the bindings are defined in chrome? 2008-04-10T11:06:45 running into some problems with marcedit.[js|xul] where it doesn't want to recognize $('catStrings').getString as a function 2008-04-10T11:07:04 and marcedit is, of course, miker_-special(TM) 2008-04-10T11:08:00 dbs: I may not be including whatever creates the bling func 2008-04-10T11:08:52 I naively thought that chrome would ensure it's everywhere 2008-04-10T11:09:04 okay, I'll try some cargo-cult fun 2008-04-10T11:12:29 there's a css file that binds the xbl to the widget 2008-04-10T11:14:18 ahh 2008-04-10T11:15:44 2008-04-10T11:15:49 yep 2008-04-10T11:16:27 strangely, that's one of the few chrome resources a remote xul can actually make use of :) 2008-04-10T11:17:05 and you always have the /xul/server/skin/global.css loaded as well 2008-04-10T11:17:59 phasefx++ 2008-04-10T11:45:32 berick: so, fieldmapper.aou.findOrgUnit( id /* org id */ [, true /* from "slim" cache is OK */ ) and friends from org_utils are implemented now ... once we dojo-ize OrgTree.js (just a matter of copying/linking into the right place) we'll have fully dojo-ized org_utils 2008-04-10T11:47:06 miker_: excellent! 2008-04-10T11:49:12 berick: that works on top of OpenSRF.js (a dojo-izing wrapper) and a new fieldmapper.OpenSRF.standardRequest method (and staffRequest as well) that uses a varient of the config.js method list 2008-04-10T11:49:24 I'll check this stuff in now so you can see... 2008-04-10T11:51:54 miker_: cool. i've seen some of it, since i'm using fieldmapper.dojoData, which requires OpenSRF.js 2008-04-10T12:23:17 *** phase_bb has joined #openils-evergreen 2008-04-10T12:43:20 phasefx: by the way, I'm unbreaking some recent cat stuff I checked in (sigh). 2008-04-10T13:07:14 *** djfiander has joined #OpenILS-Evergreen 2008-04-10T13:07:50 duh. I need to check css for grid problems. 2008-04-10T13:08:31 *** lisppaste6 has quit IRC 2008-04-10T13:08:33 *** edc_detached is now known as ecorrado 2008-04-10T13:20:09 *** lisppaste6 has joined #openils-evergreen 2008-04-10T13:21:55 *** ecorrado is now known as edc_fooding 2008-04-10T13:31:25 phasefx: I have a meeting this afternoon, so no training for me (again). Are these sessions being recorded? 2008-04-10T13:32:00 no recording, but I'm happy to keep them up indefinately with refreshers 2008-04-10T13:33:07 dbs: with all the source code you've been going through, you probably know more now than I remember :D 2008-04-10T13:33:33 hah! 2008-04-10T13:33:51 I'm still finding things. "Ooh, that's where copy notes are!" 2008-04-10T13:34:02 although I appear to have broken copy_notes.xul :( 2008-04-10T13:34:08 bleh :) 2008-04-10T13:34:36 we need to rework how notes are presented, and add UI interfaces for other notes that we have infrastructure for.. volumes, records 2008-04-10T13:34:39 fails on my_init() and I don't know why; nothing obvious in the console 2008-04-10T13:34:51 UI interfaces.. PIN numbers.. ATM machines 2008-04-10T13:36:45 phasefx_: you have an Office Space-style scam in mind? 2008-04-10T13:37:12 no, I was just poking fun at myself for being redundant 2008-04-10T13:37:18 :) 2008-04-10T13:39:42 * dbs wasts half an hour looking at TPC benchmarks 2008-04-10T13:43:50 ok, so, "Core 2 Duo" is a 64-bit arch. huh. 2008-04-10T13:44:05 finally running on 64-bit unix again. it's only been a decade. 2008-04-10T13:46:37 hey, we had "64-bit" gaming consoles before PC's were 64-bit :) of course, they often took multipe cpu's (say 8-bit and 8-bit), and added them together (hey, we have a 16-bit machine now!) 2008-04-10T13:46:57 marketechture 2008-04-10T13:48:04 * dbs wonders if the C64's SID chip made it a 16-bit architecture 2008-04-10T13:48:08 :) 2008-04-10T13:48:16 dbs: did it run unix? 2008-04-10T13:49:06 BASIC, but I'm sure it was POSIX-compliant 2008-04-10T13:50:05 I wonder if minux would run on it :) 2008-04-10T13:50:07 you mean ANSI-compliant. 2008-04-10T13:50:22 IEEE don't do BASIC 2008-04-10T13:50:42 I mean what I say, beeyotch. 2008-04-10T13:50:57 funny,you don't look like a giant egg 2008-04-10T13:51:17 what? with my smoothly shaven head, many would disagree 2008-04-10T13:51:36 * dbs gots to get to the library for a meeting 2008-04-10T13:51:53 *** dbs has quit IRC 2008-04-10T14:03:51 *** djfiander has quit IRC 2008-04-10T14:25:21 *** edc_fooding is now known as ecorrado 2008-04-10T14:26:18 *** EGUEST670 has quit IRC 2008-04-10T14:37:30 *** dbs has joined #openils-evergreen 2008-04-10T14:44:37 *** sarabee has quit IRC 2008-04-10T15:12:37 *** dbs has quit IRC 2008-04-10T15:54:39 *** ecorrado is now known as edc_detached 2008-04-10T15:58:00 *** sarabee has joined #openils-evergreen 2008-04-10T16:34:59 *** dbs has joined #openils-evergreen 2008-04-10T16:43:03 berick: so, dojo.require('fieldmapper.OrgUtils') will augment the fieldmapper, fieldmapper.aou and fieldmapper.aout (and window.aou[t], aliased for compat) objects will all kinds of fun new methods 2008-04-10T16:43:40 miker_: excellent. 2008-04-10T16:45:25 the dojo-admin branch also includes (untested) makefile and autogen modifications to put everything into place 2008-04-10T16:47:03 of course, it's not in /js/dojo/dojo/dojo/dojo/fieldmapper/ yet ... but moving stuff around is easy enough, and dojo.require makes it painless-ish 2008-04-10T16:48:04 haha 2008-04-10T16:48:11 dojodojodojodojodojo 2008-04-10T16:48:49 lemme just write a convenience method for you... 2008-04-10T16:49:06 :) 2008-04-10T16:49:16 I'm ready to merge whenever 2008-04-10T16:50:42 merge! merge like the wind! 2008-04-10T16:51:00 (if I was more rational, I would offer to test that makefile / autogen for you) 2008-04-10T16:51:12 seat_of_pants++ 2008-04-10T16:51:57 miker_: I have enough time to test it, actually, in the next ten minutes. If you like. 2008-04-10T16:53:33 * dbs starts checking out the dojo-admin branch 2008-04-10T16:53:38 so, in the interest of time, i'm going to forego the magic expanding grids in the (for now) funding source list page. making them expand is pretty easy, but building the sub-rows in pure JS is somewhat grueling 2008-04-10T16:54:10 using as much markup as possible is a good fast approach 2008-04-10T16:55:38 cp: cannot stat `/openils/lib//javascript/OpenSRF.js': No such file or directory 2008-04-10T16:58:00 OpenSRF.js lives in ../web/js/, which gets copied to $(WEBDIR) 2008-04-10T16:58:59 so the failing line is redundant, unless you move OpenSRF.js to /openils/lib/javascript/ (which is what we were talking about last night I think) 2008-04-10T17:00:08 so what do you want me to do - quick and dirty (remove the redundant line)? Or consolidate the world in /openils/lib/javascript/ before the merge? 2008-04-10T17:01:12 Karen_++ # kicking butt on the wiki 2008-04-10T17:01:37 :) 2008-04-10T17:03:14 who Karen_ 2008-04-10T17:03:20 oops :-) 2008-04-10T17:04:06 Karen_++ # rocking the docs 2008-04-10T17:04:39 you guys still looking at/using ODLIS for a dictionary? 2008-04-10T17:04:43 Finally found some time. :) 2008-04-10T17:06:26 kados: it's a good start 2008-04-10T17:06:45 *nod* 2008-04-10T17:06:55 recently came up on the koha list as well 2008-04-10T17:07:14 some stuff isn't in there, stuff like Postal Code or Zip Code 2008-04-10T17:07:41 I haven't looked around much to see if there's some other style/term guide that we could latch on to 2008-04-10T17:08:04 I wouldn't expect concepts that aren't library-specific to be there, to be honest 2008-04-10T17:11:36 * miker_ returns 2008-04-10T17:11:42 dbs: test away 2008-04-10T17:12:09 berick: I find markup works very well ... also, instead of subgrids, how about just a secondary grid below? 2008-04-10T17:13:14 miker_: tested and failed 2008-04-10T17:13:26 dbs: oh, did you reinstall trunk opensrf? 2008-04-10T17:13:39 Oh! One sec. 2008-04-10T17:13:57 dbs-- 2008-04-10T17:13:57 dbs: Error: You're not allowed to adjust your own karma. 2008-04-10T17:14:08 miker_: i'd be concerned about having to scroll down to see the details 2008-04-10T17:15:13 berick: you could just make the top grid take, say, 45% of the container, and give another 45% to the bottom grid ... leave 10% between ... let the grids handle scrolling on the page 2008-04-10T17:16:10 berick: in fact, you can just use a dijit.layout.LayoutContainer for that and do layoutAlign="top|bottom" for the grids, with a 45% height by CSS 2008-04-10T17:16:56 *** sylvar has joined #openils-evergreen 2008-04-10T17:18:03 i also have concerns about cramming too much into the page. click on details for a funding source, have options to see summary info. view credits, view allocations, create credits, etc. 2008-04-10T17:18:16 miker_: and where does dojo go? :) 2008-04-10T17:18:32 dbs: /openils/var/web/js/ 2008-04-10T17:19:05 dbs: that dir should contain the dojo, dijit, dojox and utils dirs ... yes, they'll move into /js/dojo/ :) 2008-04-10T17:20:59 berick: too much is a concern ... how about a markup-based grid in a popup dialog? oh, and if you use one big store for the details stuff you can just adjust the query on the model, and refresh 2008-04-10T17:22:14 i like the query adjustment approach.. this won't be one grid though. it will be a summary grid (or mabye just a simple table), a grid of credits, a grid of allocations, and action button(s) 2008-04-10T17:23:05 hmm.. 2008-04-10T17:24:14 ou_type_store is not defined. hmm 2008-04-10T17:24:32 dbs: did you autogen with the dojo-admin branch? 2008-04-10T17:24:42 hrm.. 2008-04-10T17:24:49 that is ... strange 2008-04-10T17:24:56 dbs: which interface? 2008-04-10T17:25:01 that's used on several 2008-04-10T17:25:28 Org types 2008-04-10T17:25:55 miker_: meh, I'll autogen again 2008-04-10T17:26:03 probably did it before opensrf reinstall 2008-04-10T17:27:23 yeah, status_store, group_store... nothing osrf-ish is getting found 2008-04-10T17:28:03 do I need to config apache to include the locale like you have on dev? 2008-04-10T17:28:13 nope 2008-04-10T17:28:16 shouldn't 2008-04-10T17:29:05 opac works okay, can log in... hrm 2008-04-10T17:29:37 ohhh 2008-04-10T17:29:39 [Thu Apr 10 17:26:24 2008] [error] [client 127.0.0.1] File does not exist: /openils/var/web/osrf-http-translator, referer: http://localhost/conify/global/actor/org_unit_type.html 2008-04-10T17:29:57 je me think that I need the translator! 2008-04-10T17:30:26 okay, assuming that that's an easy step, everything else appears to be in place. 2008-04-10T17:31:15 cooooool 2008-04-10T17:31:24 miker_++ 2008-04-10T17:33:58 I don't see any reference to the translator in OpenSRF trunk examples; I guess I set it up as a mod_python kind of thing? 2008-04-10T17:34:16 * dbs swings wildly 2008-04-10T17:34:28 berick? 2008-04-10T17:34:40 (it is, but I don't know how to do it) 2008-04-10T17:35:06 dbs: there is a apache config example in the translator code for now 2008-04-10T17:35:10 http_translator.py, i beliee 2008-04-10T17:35:13 believe 2008-04-10T17:35:32 berick: probably not in the dojo-admin branch 2008-04-10T17:35:57 opensrf 2008-04-10T17:35:59 ah ! doc_strings 2008-04-10T17:36:03 huzzah 2008-04-10T17:38:00 I hope it's just firebug that's making this crawl :) 2008-04-10T17:42:24 dbs: next up ---- an i18n widget subclass for those fields what should be i18n-ized :) 2008-04-10T17:43:01 but for now, dinner 2008-04-10T17:43:03 latorz 2008-04-10T17:43:08 moi aussi 2008-04-10T17:49:09 gah... just getting 404s from POST attempts to the translator. tonight shall be a night of learning and debugging, apparently 2008-04-10T17:49:20 *** dbs has quit IRC 2008-04-10T17:58:21 *** Karen_ has left #OpenILS-Evergreen 2008-04-10T18:00:07 food++ 2008-04-10T18:52:21 *** gmcharlt has quit IRC 2008-04-10T20:25:47 *** dbs has joined #openils-evergreen 2008-04-10T21:16:31 miker_: hmm - any authentication stuff required for dojo-admin? 2008-04-10T21:18:24 dbs: it is ... you can pass a ses param, or you can put the proxy in front of it 2008-04-10T21:19:18 *** agJohn has quit IRC 2008-04-10T21:19:47 @lisppaste6 help 2008-04-10T21:19:47 miker_: Error: "lisppaste6" is not a valid command. 2008-04-10T21:20:00 dbs pasted "Maybe osrf-http-translator misconfiguration, or dbs boneheadedness" at http://paste.lisp.org/display/58955 2008-04-10T21:20:00 lisppaste6: help 2008-04-10T21:20:00 To use the lisppaste bot, visit http://paste.lisp.org/new/OpenILS-Evergreen and enter your paste. 2008-04-10T21:20:37 hrm ... paste.lisp.org hates me 2008-04-10T21:21:56 http://rafb.net/p/hCFT6P43.html 2008-04-10T21:22:00 dbs annotated #58955 with "Live Headers" at http://paste.lisp.org/display/58955#1 2008-04-10T21:22:52 aha... miker_ - thanks for the answer! 2008-04-10T21:23:13 (i was busy grabbing logs and such for my own pastes, didn't see your response) 2008-04-10T21:33:40 *** asmodai has quit IRC 2008-04-10T21:35:26 miker_ annotated #58955 with "translator config from dev.gapines.org" at http://paste.lisp.org/display/58955#2 2008-04-10T21:39:32 ah, also, I suspect that I need to kick the permacrud service into gear. holy moly. 2008-04-10T21:41:32 * dbs hopes that we can just point to the site-packages dir and have it pick up the egg, otherwise he'll have to fiddle with setup.py 2008-04-10T21:41:55 heh 2008-04-10T21:41:58 miker_: is there indeed an open-ils.permacrud service to define in opensrf.xml? 2008-04-10T21:42:43 you know, I've been very bad ... I've been adding permacrud stuff to trunk, where the service lives, and developing the UI stuff in dojo-admin 2008-04-10T21:42:53 I have a reason for that ... 2008-04-10T21:43:18 permacrud is needed regardless of the dojo-admin stuff 2008-04-10T21:43:30 so, I work in it in trunk 2008-04-10T21:43:56 you know ... we need to just bite the bullet and merge, but I thinkI'll have to do it by hand 2008-04-10T21:44:09 right - but permacrud is a service that should be defined in opensrf.xml? 2008-04-10T21:44:14 which is not a big deal, but we need to nail down where all the JS is going to live 2008-04-10T21:44:22 yes, it should 2008-04-10T21:44:37 I thought I added it to the example ... 2008-04-10T21:44:37 because it doesn't seem to be in the example in either trunk or dojo-admin 2008-04-10T21:47:21 I will add that now 2008-04-10T21:48:29 so this exercise has been worthwhile - I'll be able to wikify some "howto" instructions including the osrf-http-translator, proxy for conify, and dojo location 2008-04-10T21:48:44 and we'll have a permacrud example 2008-04-10T21:49:14 arg ... brb 2008-04-10T21:49:39 sylvar: so you're going to go with RAID 1+0 in your hardware config, right? 2008-04-10T21:53:12 dbs: committed 2008-04-10T21:53:19 in trunk 2008-04-10T21:56:29 miker_: yay 2008-04-10T22:03:42 I'm not sure, actually. 2008-04-10T22:03:57 miker_: any comments on http://coffeecode.net/index.php?url=archives/155-Test-server-strategies.html ? 2008-04-10T22:04:21 I think that's what John Craig was suggesting, though, and I trust his judgment. 2008-04-10T22:04:30 sylvar: I did comment :) 2008-04-10T22:04:50 sylvar: comment 1.2.2 2008-04-10T22:04:52 Ah! :) 2008-04-10T22:05:48 * dbs cries 2008-04-10T22:06:08 basically, if you can afford more RAM, put your money there. if not, my experience has been better with RAID 1+0, but it's all very dependent on the controller and the OS 2008-04-10T22:06:13 * sylvar /dev/consoles dbs 2008-04-10T22:06:14 dbs: eh? 2008-04-10T22:06:20 still no love? 2008-04-10T22:07:08 miker_: and above all, NO SAN! 2008-04-10T22:07:22 dbs: yes. helz to the yes 2008-04-10T22:07:53 gah ... that is the /last/ time I ever listen to a "storage specialist" from an OEM 2008-04-10T22:08:47 still no love. osrfsys.log shows that cstore calls are being made to check perms, but dojo ain't getting the *_stores that it needs 2008-04-10T22:09:50 hrm... 2008-04-10T22:09:53 very strange 2008-04-10T22:09:58 it always is 2008-04-10T22:10:06 yes ... it always is 2008-04-10T22:10:26 dbs: what user are you logging in with? 2008-04-10T22:10:29 proxy, of course, worked _once_ for me and then just started automatically redirecting 2008-04-10T22:10:30 admin 2008-04-10T22:10:43 automatically redirecting? 2008-04-10T22:11:05 I tried switching to a ses id after (?ses=blahblahblah) but no diff 2008-04-10T22:11:47 yeah - from http://localhost/conify/global/admin.html to https://localhost/conify/global/admin.html 2008-04-10T22:11:51 just http to https 2008-04-10T22:12:21 well, it's supposed to do that ... but there's a switch to turn it off 2008-04-10T22:12:21 sec 2008-04-10T22:12:52 right - I just expected it to prompt me for a login after closing the browser and starting a new session 2008-04-10T22:12:55 it's global for now ... need to make it per- 2008-04-10T22:13:26 oh, no, it's a full-on cookie set to expire when your session would 2008-04-10T22:13:55 ahh 2008-04-10T22:14:01 well that explains that, at least :) 2008-04-10T22:14:25 I don't suppose this is "out there" 2008-04-10T22:20:02 I suspect this is still osrf-http-translator related: proxy logins are working fine, according to the log 2008-04-10T22:20:14 and gateway.log is showing me [ERR :8149:net.py:173:MainThread:1207880217.0881490] XMPP error message received from router@localhost/open-ils.permacrud 2008-04-10T22:20:48 d'oh! no running permacrud service 2008-04-10T22:20:52 dbs: can you srfh 2008-04-10T22:20:53 .. 2008-04-10T22:20:54 heh 2008-04-10T22:24:12 lets see if this stuff works in IE :) 2008-04-10T22:24:15 berick: did you have to switch to the src/python dir for the python path, or was that just a development convenience 2008-04-10T22:24:40 hahaha ... I fired up IE ... got an error message right away. on msn.com! 2008-04-10T22:25:32 dbs: development convenience 2008-04-10T22:25:38 it does not 2008-04-10T22:26:10 dbs: but, i have had some strange path issues with apache 2008-04-10T22:26:32 of course the debug message is entirely useless 2008-04-10T22:27:14 -= THIS MESSAGE NOT LOGGED =- 2008-04-10T22:27:41 "Oragnization Types" is working 2008-04-10T22:28:10 they should all work ... I hope 2008-04-10T22:28:13 (added the open-ils.permacrud branch to opensrf.xml, but forgot to add it to the enabled apps - double duh) 2008-04-10T22:29:09 yep. all working. Huzzah! 2008-04-10T22:29:21 rad 2008-04-10T22:30:09 only 1.5 hours more than my ten minute estimate 2008-04-10T22:30:13 hrm... well, something is unhappy 2008-04-10T22:32:14 ? 2008-04-10T22:32:31 fixed 2008-04-10T22:33:03 refactoring some stuff and moved a function off of a prototype object 2008-04-10T22:37:37 so ... we need to nail down the js layout, at the very lest with respect to the dojo-ified components 2008-04-10T22:39:00 I can get behind one extra dojo ... $WEBROOT/js/dojo/{dojo|dijit|dojox|fieldmapper|etc...} ... is that the concensus? 2008-04-10T22:39:14 matches dojo's natural layout, I'm good with that 2008-04-10T22:39:31 it has to be a real directory, though, because we're putting (at least) fieldmapper in there 2008-04-10T22:39:49 and I'm sure there will be a custom widget directory 2008-04-10T22:39:51 etc 2008-04-10T22:40:05 we do have the option of copying into place at build time.. but i'm fine either way 2008-04-10T22:40:31 that's the layout as I understand it will be 2008-04-10T22:42:09 berick: do we really want that level of indirection? I mean of copying files from random directories ... it seems like, especially for JS, having the repo and the installations mirror each other make sense ... because there are lots of interdependent files 2008-04-10T22:42:52 I think we removed some of that indirection a while back, as part of the consolidation on JSON_v1 2008-04-10T22:43:30 we're going to package our own version of dojo in releases, right? 2008-04-10T22:44:01 miker_: the more i think about it, having a dojo dir with local dojo-ified code in the repo makes 2008-04-10T22:44:16 since it's dojo-specific 2008-04-10T22:46:37 unless we want to force people like me to build our own dojo with fr-CA locale from CLDR; not an issue for you en-US types of course :) 2008-04-10T22:47:59 dbs: regarding packaging our own version of dojo.. is your main concern localization? 2008-04-10T22:49:57 berick: yep, that's my only concern (number/date/currency formatting, specifically) 2008-04-10T22:50:55 dojo comes with support for 8 locales by default, IIRC, and you can do your own custom build to add support for any locales defined in CLDR 2008-04-10T22:51:31 i wonder how many files actually have to be touched to create a fr-CA build... 2008-04-10T22:51:55 I think just one: dojo/i18n.js 2008-04-10T22:52:08 the thing I brought up before was to include a ShrinkSafe'd "official" dojo tarball ... and we can augment that with, say, fr-CA and friends in the repo, right next to fieldmapper 2008-04-10T22:53:18 yes, but... I don't think locale support is an "add-on" thing, it would be ShrinkSafe'd along with everything else 2008-04-10T22:53:26 yeah 2008-04-10T22:53:30 makes sense 2008-04-10T22:53:35 and remove the i18n.js file from the dojo tarball 2008-04-10T22:54:05 dbs: AIUI, we can tell shrinksafe to ignore specific files 2008-04-10T22:56:05 miker_: you're probably right 2008-04-10T22:56:51 so if we're including a shrinksafe'd official dojo tarball, what's the advantage to having i18n.js separate? 2008-04-10T22:57:28 we'd provide our own 2008-04-10T22:58:09 you can have a mixed "one big ol' file" and "bunch-o-little-files" setup 2008-04-10T22:58:12 So, if we're going to the trouble of building our own dojo build with the custom i18n.js, why wouldn't we just shrinksafe that? 2008-04-10T22:58:35 so, the core would be shrinksafe'd, and our stuff would be separate, or separately shrunk 2008-04-10T22:59:36 the point would be that it would be easier to upgrade dojo core if we don't shove it into the repo, at least in my head 2008-04-10T23:00:31 reason being, as things shift around inside dojo, we'd be overlaying with newer versions and end up with cruft .... 2008-04-10T23:01:39 tell you what - I'll do two builds of dojo, with differing sets of locales, so that I can confirm that it's just the one file that's affected 2008-04-10T23:01:54 but maybe externals solves it? ... I'm honestly not super keen on depending on an external repo as opposed to a tarball we download and mangle as needed... but I still have a bit of a bias against svn ;) 2008-04-10T23:02:01 Yeah, the churn would suck 2008-04-10T23:04:56 depending on some other repo seems fragile to me, and more apt to cause problems than using a static release tarball ... I'm willing to be convinced otherwise 2008-04-10T23:06:16 well - we have to download the static release source tarball to build the additional locales anyways 2008-04-10T23:06:59 I guess my point is - we're going to be going through all the work required to build a full stable dojo release (+ additional locales) - why not just shrinksafe that? 2008-04-10T23:07:01 do we if we use externals? I don't know if it has file granularity or not 2008-04-10T23:07:15 I'm not talking about using externals 2008-04-10T23:07:29 externals is directory-level only 2008-04-10T23:07:32 oh, I'm just wondering, because berick was suggesting that 2008-04-10T23:07:35 before 2008-04-10T23:07:36 ok 2008-04-10T23:08:59 i thought pointing externals at a stable tag would work, but I don't think dojo uses tags or branches (freaks) 2008-04-10T23:09:12 so ... yes, we should shrinksafe the "official" tarball, and also our stuff, but we can do them separately so that we end up with 2 files instead of one, the dojo file contains everything but the i18n stuff, and the "us" file contains the i18n and everything else of ours 2008-04-10T23:09:35 hmm - will they mash together like that? cool 2008-04-10T23:09:38 that way we only have to build the dojo shrunk file once for as many releases of EG as use it 2008-04-10T23:10:10 dbs: I think it can ... they call such a setup "layers" 2008-04-10T23:10:34 I'm quite sure we can leave out the i18n file on its own, though 2008-04-10T23:11:29 worst case, I think, is 2 files for dojo (the big ol' file and our custom i18n file) and I'm sure that will work 2008-04-10T23:12:15 and then a layer for our stuff ... or it may have to be a layer per top level directory? like for fieldmapper and dojo and dijit and dojox 2008-04-10T23:12:39 but, right now the admin interface fetches something like 50 files 2008-04-10T23:13:11 if it just had to get 2 or 3, or even 4, and they were shrunk, that would be a huge win 2008-04-10T23:18:30 ah - even better - it's dojo/cldr/nls//[currency|gregorian|number].js 2008-04-10T23:19:08 so locale support is just an addition, and shrinksafe'ing them will save plenty of lookups 2008-04-10T23:19:33 oh, cool 2008-04-10T23:19:46 so no mangling any dojo files 2008-04-10T23:20:11 (sorry, I looked at this back in December I think and memory was fuzzy) 2008-04-10T23:20:19 nono 2008-04-10T23:20:21 dbs++ 2008-04-10T23:20:33 hopefully not - if the shrinksafe + shrinksafe approach works 2008-04-10T23:22:08 well, worst case we add ? 2008-04-10T23:26:39 before loading dojo 2008-04-10T23:28:17 hrm 2008-04-10T23:28:34 you looking at http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dijit-and-dojo/i18n/specifying-locale ? 2008-04-10T23:29:27 no ... just from memory 2008-04-10T23:30:03 but that was more or less what I was recalling 2008-04-10T23:30:17 brb 2008-04-10T23:30:20 I don't know anything beyond the basic examples 2008-04-10T23:30:27 me either 2008-04-10T23:30:36 but we will :) 2008-04-10T23:31:15 (None of which seem to give options to specify functions to retrieve locales; just a static string) 2008-04-10T23:31:19 I think I'm going to crash 2008-04-10T23:31:23 g'nite! 2008-04-10T23:34:19 *** dbs has left #openils-evergreen 2008-04-10T23:42:42 *** greg-g has quit IRC