Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Tuesday, August 31st, 2010

< Monday, August 30th, 2010Raw Log FileWednesday, September 1st, 2010 >
#TimeNickMessage
#00:01:49denials miker_++ # speedups
#00:02:08denialsberick++ # going into the dojo dnd where others (ME) fear to tread
#00:02:56denialssleep++
#01:40:57youdonotexist has quit IRC
#01:59:06jamesrf has quit IRC
#03:03:33magnusenger has joined #evergreen
#05:17:25atz_ has joined #evergreen
#05:20:23atz__ has quit IRC
#07:41:54kmlussier has joined #evergreen
#08:01:23sfortin has joined #evergreen
#08:15:39alxp has joined #evergreen
#08:30:46Dyrcona has joined #evergreen
#08:52:36gdunbar has joined #evergreen
#08:55:05dbs has joined #evergreen
#09:00:08StephenGWills_ has joined #evergreen
#09:01:24mck9dbs: you have upgrade scripts 0380, 0381, and 0382 in trunk. Should they be applied to v2.0?
#09:02:18StephenGWills has quit IRC
#09:02:18StephenGWills_ is now known as StephenGWills
#09:02:21dbsmck9: only if the corresponding updates to the rest of the code are backported to v2.0
#09:04:00mck9That's what I'm asking. I'm building an upgrade script for 1.6 -> 2.0, and I need to know what to include. Do you plan to apply them to the 2.0 branch?
#09:05:26dbsSorry. You asked if the upgrade scripts should be applied to v2.0, and I responded that right now they shouldn't be because the corresponding changes to the rest of the code have not been backported to 2.0.
#09:06:25dbsIf you meant to ask "Are you going to backport your currently trunk-only changes to v2.0?' then I would respond that yes, I plan to at some point. I can always update your 1.6-2.0 upgrade script at that point.
#09:06:55Meliss has joined #evergreen
#09:07:15bshum has joined #evergreen
#09:07:21dbsmck9++ # for tackling the upgrade script
#09:08:09mck9My upgrade script is still aborning. In general I'll try to include whatever upgrade scripts show up in the 2.0 branch. I just don't want anything to fall between the stools.
#09:09:48gmcharltmck9: I suggest just writing the script to handle updates up to the state of rel_2_0 as it exists this morning - tacking on updates for stuff that gets merged into rel_2_0 later should be simple in comparison
#09:11:41r123 has joined #evergreen
#09:30:36StephenGWills has quit IRC
#09:31:44StephenGWills has joined #evergreen
#09:44:25jenny has joined #evergreen
#09:50:11tsbere is looking through the changes that phasefx made to the rel_2_0 staff client (that change how he does things with his tabs) and likes the number of things removed that he didn't want to touch before
#09:51:38dbsremoving_cruft++
#09:54:27tsbereFiguring out how the set_tab function changed from my diff file is difficult, though. It broke it up funny.
#09:56:07tsbereOh, so that is what he did with the augment content params. He just jammed it into set_tab. <_<
#10:08:50tsbere re-implements something phasefx removed in a slightly different manner because he will need it later
#10:15:32mrpeters-isl has joined #evergreen
#10:23:43yboston has joined #evergreen
#10:33:39tsbereI just realized that I have no clue how to access staff.chrome.menu_frame_overlay.tab#.accesskey via javascript.
#10:34:27tildeequals has quit IRC
#10:35:13senatortsbere: i don't believe you can, but for i18n-able strings accessible from javascript, there are the .properties files (for use in a XUL context, i think they're called "message catalogs") or dojo stringbundles for a html context
#10:37:57tsbereSo either I hardcode the access keys as 1-9 or 1-0, or I need a different way to get access to them to assign them.
#10:39:50phasefxdocument.getElementById('some_tab').setAttribute('accesskey','1'); ?
#10:41:01tsbereI see three things I don't like or know won't work in that. 1 - I don't assign ids to the dynamic tabs. 2 - I just use .accesskey=. 3 - I was trying to avoid hardcoding the '1' as the current ones are potentially changable with the translation files.
#10:41:03phasefxdocument.getElementById('some_tabbox').tabs[1].setAttribute('accesskey','1');
#10:41:53senatortsbere: re your point #3 you can replace '1' with document.getElementById("your_string_bundle").getString("your.accesskey.1")
#10:42:01phasefxas to how well accesskeys work if mucked with dynamically, I'm not sure
#10:43:11senatorassuming you have <messagecatalog id="your_string_bundle" src="/your/path" /> somewhere in your XUL
#10:43:23senatorbetter still to stick in it an existing stringbundle rather than add a new one though, really
#10:43:44senators/stringbundle/messagecatalog/; # potato, po-tah-toe
#10:43:44phasefxoffline.properties is what I've been using for chrome side stuff, I think
#10:44:27tsbereWell, dynamic accesskeys are fine, I already tested that.
#10:44:38phasefxcool deal
#10:45:59tsbereAs for what to use, the existing access keys are defined already in lang.dtd as staff.chrome.menu_frame_overlay.tab#.accessKey. Although the "tab names" being there makes no sense to me as I don't think they are ever used.
#10:48:38youdonotexist has joined #evergreen
#10:49:58jamesrf has joined #evergreen
#10:50:54tsbereI *think* that every translation just uses the 1-9 digits, though
#10:59:30tsbereLooks like they all use &# or have a blank translation
#11:01:43tsbere goes the hardcode route for now
#11:02:03tsbereThe numbers themselves were hardcoded anyway.
#11:02:19phasefxtsbere: you don't need to worry about other translations if you just want to put translatable strings in the en-US locale
#11:03:14tsberethe issue is I don't know how to *read* the translated strings out from the javascript side in any quick and easy way. Nor does this seem like something that should ever have been in the translation files to begin with to me.
#11:04:10phasefxare you working in menu.js or elsewhere?
#11:05:29tsbereAt this point in menu.js. For the record, the numbers themselves were always just a hardcode of the index value + 1 anyway, so if we are intending to translate the access keys we need to translate the numbers themselves too, IMO. Which I think is stupid. :P
#11:05:57tsbereEspecially as my code could theoretically allow hundreds of tabs
#11:06:28phasefxdon't think of it as necessarily translating, but localizing
#11:06:30tsbere is thinking about manually specifying a limit of 50 or something for sanity purposes
#11:07:00phasefxfor example, some folks may want to use Alt+Numberpad to enter weird characters, and not have those keys jump between tabs
#11:07:02dbsStart assigning Unicode codepoints as access keys. CTRL+SHIFT+U 2603
#11:07:37dbsThose folks certainly exist at Laurentian
#11:07:53dbsALT+0030
#11:08:01tsbereSo what changes do I have to make to files to get access to those lang.dtd values from menu.js?
#11:08:11phasefxand if we made the first 10 tabs have localizable accesskeys, Laurentian could use some key shortcuts and retain the tab-jumping functionality
#11:08:41phasefxtsbere: you remove them from lang.dtd, and put them in locale/en-US/offline.properties
#11:08:43senator☃. Love it.
#11:09:18atz_http://unicodesnowmanforyou.com/
#11:09:19phasefxthen in menu.js, since offlineStrings is already defined, you can just do offlineStrings.getString('identifier_here') to reference the strings in offline.properties
#11:10:01gmcharltatz_: it's part of the feature that ties into the weather.com API and lets library staff know to close the library because it's a snow day
#11:10:37senator guesses it'd have to be a heck of snow day by his standards to close laurentian
#11:11:42tsbereSo phasefx, if I add to offline.properties, is that going to break the translation scripts until someone updates those too?
#11:12:13dbsno, the translation scripts are pretty hardy (hahahahaha)
#11:12:29dbstsbere: seriously, though, go ahead and add strings as necessary
#11:12:31phasefxtsbere: it won't. folks are supposed to go through a certain build process if they want to use locales other than en-US, and that process will copy the English strings over if no translations have been made
#11:12:42tsbereok
#11:12:52phasefxdbs++ # making it low-barrier
#11:13:46phasefxremote_xul-- # for making us implement messagecat as a replacement to xul's native stringbundle
#11:14:18phasefxwe could use stringbundle in chrome, but no reason not to keep exercising messagecat
#11:15:49tsbereWhat happens if I getString for a value that doesn't exist?
#11:16:39phasefxit'll throw up an alert dialog I believe, or an exception at the very least
#11:17:13phasefxthe implementation for <messagecat> can be found in bindings.xml
#11:18:24phasefxan alert, Failed to get string <key> in bundle: <filename.properties>
#11:18:55phasefxthere's also a .getFormattedString if you want to use variable data within the string
#11:19:44tsbere looks at bindings.xml and finds the potentially excessively useful testString method
#11:22:12phasefxso you want to potentially have accesskeys for as many tabs as folks are willing to localize for
#11:22:20tsbereYep.
#11:22:24phasefxcool deal
#11:22:26tsbereMakes the code easier too, actually.
#11:32:37afterl has joined #evergreen
#11:33:58tsbere dislikes that the close button for tabs in a tabbox was removed in 1.9.2 xulrunner
#11:40:23LBA has joined #evergreen
#11:48:00atz_ is now known as atz
#12:05:17jeffprinting--
#12:05:43tsbere tests his tabs code by making 600 tabs in a window, then closing them from various points
#12:05:43jeffreports from patrons that receipts are fading after a day or two. very odd. i wonder if we just started using different paper.
#12:05:55atzlol tsbere
#12:07:03tsbereI much prefer being able to make large numbers of tabs over being limited to 9. :D
#12:07:31branflakes has quit IRC
#12:17:10tsbereHey, what code was it that supposedly just overwrote tabs as it felt it needed to?
#12:22:20leed has quit IRC
#12:26:28phasefx?
#12:27:02tsbereI recall someone saying at some point that some function that opened multiple tabs would loop around and start overwriting existing tabs. Might have been something experimental itself, though.
#12:31:24phasefx never wrote anything intending that behavior, so doesn't know
#12:32:14phasefxmaybe it was from some race condition with dom manipulation and lot of async new_tab invocations?
#12:45:02leed has joined #evergreen
#12:55:25sfortin has quit IRC
#13:02:28kmlussier has quit IRC
#13:04:09tsbereI decided that hardcoding a max tabs amount of 50 or any other number was a bad idea.
#13:04:26tsbereBut I threw in a check for a open-ils.window_max_tabs pref.
#13:05:15tsbere(which defaults to 0 in my code if it isn't there, and 0 means "no limit")
#13:07:47kmlussier has joined #evergreen
#13:08:41jenny has left #evergreen
#13:11:11tsbere really should have worked with a copy of his code that didn't have the cli changes already in it when doing this
#13:15:30tsberephasefx: Should I just build a new cli.patch with all of these changes in it (some of which would conflict with the changes in cli.patch) or should I try and make a new patch?
#13:16:18dbswe should move to a gitbzrhg repo to make it easier for people to maintain parallel branches
#13:16:48tsbereI am waiting on someone who is on vacation before attempting to get a git repo going here. <_<
#13:18:07dbsthen fulfillment and evergreen could just be branches of one other, rather than completely separate repos
#13:20:36phasefxtsbere: oy, I'm not sure. Don't have much experience with patch wrangling. Ideally I'd just be testing/committing one feature at a time, but if stuff is getting mingled, I could adapt
#13:26:25rsoulliere has joined #evergreen
#13:26:26berickdbs: even if FF/EG are different repos (which makes sense to me), w/ gitbzrhg you can do cross-repo merging, almost as if they were branches
#13:26:38phasefxtsbere: if you don't want to wait for that vacationer, you could setup a bazaar branch on launchpad
#13:27:06berickgit remote add Fulfillment
#13:27:10tsbereGetting git going will slow me down too. Need to learn it. :P
#13:27:22senatorbuy some aspirin :-)
#13:27:29berickhah
#13:27:50bericktrue, it's not w/o it's own brand of pain
#13:27:59dbsberick: okay. I've found it kind of kludgy using *-svn compared to working with one of the native gitbzrhgs and usually end up working without a local repo as a result
#13:28:24phasefxweirdest thing with git for me (having come from svn) is re-using the same physical directories when jumping between branches
#13:29:33berickdbs: oh, i agree. i was trying to add some points on the side of dropping svn entirely, just not on the side of making FF an EG branch
#13:30:00berick also has pain with *-svn
#13:30:19berickphasefx: it does feel odd ;)
#13:30:24phasefx has adapted to git-svn, no issues there anymore
#13:30:42dbsberick: ah, cool. I like that.
#13:31:04dbsit's been 3 or 4 years since we switched to svn, just about time to move again :)
#13:31:05phasefxberick: as a downside, it's harder to use not-repository aware tools that I might be tempted to use otherwise, like vimdiff (and the DirDiff plugin)
#13:31:28phasefxan Evergreen expansion pack :)
#13:31:40phasefxabout time for cataclysm
#13:32:25dbscool, I need more MTG keywords in my blog to steal more traffic from the real Dan Scott
#13:32:29tsbere uploaded a new patch
#13:36:58rsoulliere has quit IRC
#13:38:57jenny1 has joined #evergreen
#14:02:07jenny1 has quit IRC
#14:14:37jenny has joined #evergreen
#14:34:11rsoulliere has joined #evergreen
#14:42:51rsoulliere has left #evergreen
#14:49:45tildeequals has joined #evergreen
#14:53:56StephenGWills thinks that some days are just better than others! :)
#14:54:49tildeequals has quit IRC
#14:55:10tildeequals has joined #evergreen
#15:02:02magnusenger has quit IRC
#15:02:50StephenGWills_ has joined #evergreen
#15:04:15mrpeters-isl has quit IRC
#15:05:54StephenGWills has quit IRC
#15:05:54StephenGWills_ is now known as StephenGWills
#15:15:56jenny has quit IRC
#15:19:51zigo_ has joined #evergreen
#15:20:38dbs has quit IRC
#15:21:23zigo_Hi there!
#15:21:40zigo_I heard about Evergreen in the FLOSS weekly podcast.
#15:21:46zigo_I'm a Debian Developer.
#15:21:49jeffzigo_: greetings!
#15:21:59zigo_And I was wondering if you still need help for doing the packaging ...
#15:22:09jeffI think we'd welcome any help we can get.
#15:22:26zigo_I can teach / help / advise if you need.
#15:22:50jeffOne of the challenges with packaging is that we have several third party dependencies that are not packaged in Debian, or the most recent package is too old for Evergreen.
#15:22:50zigo_Jeff: Is that you that answered the questions of Randalf?
#15:23:13zigo_Well, in that case, you need to package them.
#15:23:18zigo_No choice !
#15:23:19jeffzigo_: I was in the IRC channel during the podcast and answered a question or two.
#15:23:44jenny has joined #evergreen
#15:23:49zigo_How many dependencies are we talking about here?
#15:24:06zigo_And what kind of packages? CPAN perl stuff?
#15:25:45jeffzigo_: there is OpenSRF and Evergreen. Evergreen is built on OpenSRF. They both have their own dependencies. There are Makefiles for installing those deps, both via package (when available) and source or CPAN:
#15:25:49jeffhttp://svn.open-ils.org/trac/OpenSRF/browser/trunk/src/extras/Makefile.install
#15:26:23jeffhttp://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/extras/Makefile.install
#15:26:27zigo_Have you guys sent an RFA to Debian?
#15:26:35zigo_RFA = Request For Packaging
#15:26:38jeffI do not know.
#15:26:50phasefxnot that I'm aware of
#15:26:51zigo_That would be the first step.
#15:27:13jeffAlso, we use libdbi, and require 0.8.3 -- 0.8.2 is the latest packaged in debian
#15:27:14zigo_Then maybe contact the Perl team at Debian, and see what they would be up to.
#15:27:18zigo_Tell about your issue.
#15:27:25zigo_Oh, I'm the maintainer of libdbi ! :)
#15:27:31berickwhoa!
#15:27:31pmplett has joined #evergreen
#15:27:41zigo_I am DD only since last June.
#15:27:44jeffHah! That's an amusing coincidence!
#15:27:46zigo_That's the issue...
#15:27:59zigo_I needed to updated many packages, but libdbi couldn't get in.
#15:28:04moodaepoamusing_coincidences++
#15:28:12zigo_It would have need a transition.
#15:28:22zigo_So I had no time to do it before Squeeze...
#15:28:26zigo_Sorry for that.
#15:28:32zigo_But I got a new version of the package.
#15:28:42zigo_It's ready in my laptop just right here.
#15:29:03zigo_Oh, and forgot to say: we can't upgrade because of an ABI that upstream made.
#15:29:05jeff"DD only"?
#15:29:13zigo_Debian Developer
#15:29:22zigo_tmd tla ... :P
#15:29:24jeffaha
#15:29:48zigo_So, upstream changed the enum for error codes without changing his so name ...
#15:30:03zigo_Said otherwise: we got stucked.
#15:30:29zigo_Now, I'm waiting for upstream to release a new version of libdbi with a new soname so that I can upload 0.8.4 in Experimental.
#15:30:55zigo_If you guys want, I can give you the current 0.8.3 version of libdbi ...
#15:31:08jeffyeah, i was just reading the bug on that abi issue...
#15:31:11zigo_But extra care should be made when using it, because anything that needs it has to be rebuilt.
#15:32:40zigo_So, appart from libdbi, it's mainly some perl packages?
#15:32:43zigo_How many of them?
#15:32:55kmlussier has quit IRC
#15:34:27phasefxzigo_: take a peek at that URL jeff pasted
#15:35:28jamesrf has quit IRC
#15:36:26phasefxover 20 it looks like
#15:36:28zigo_DateTime::Format::ISO8601 RHANDOM/Net-Server-0.90.tar.gz JSON::XS
#15:36:31zigo_Oh !
#15:36:42zigo_I don't know much about Perl, unfortunately.
#15:36:58zigo_But really, you should get in touch with the perl packaging team in Debian.
#15:37:07zigo_Or ... I teach you the basics of Debian packaging.
#15:37:15zigo_Maybe: both !
#15:38:37zigo_Also, not having some missing dependencies doesn't mean you can't start the packaging work.
#15:38:47zigo_Do you guys have some kind of DESTDIR= support?
#15:39:29zigo_I mean, normally, you got to install the app in the debian/opensrf/usr/share folder ...
#15:41:27phasefxthere's been work to autotoolsify the build. I'm not familiar with how it works, but I think DESTDIR comes with that
#15:41:45zigo_Do you have such a "make install DESTDIR=debian/opensrs support?
#15:41:55zigo_Oh ok.
#15:42:09zigo_That would be the first thing to try! :)
#15:42:34jeffthere's the ability to speficy --prefix with ./configure, but i don't know how well-tested anything other than /openils is.
#15:43:04zigo_No, the --prefix has nothing to do with what I'm talking about.
#15:43:10jeffk.
#15:43:12zigo_Here, the --prefix would still be /usr
#15:43:48zigo_It's just that instead of installing in / (the root of the filesystem), you got to install in debian/package-name so that later on, dh_* tools can build the binary package.
#15:43:57jeffyou're talking about the temporary buildroot/fakeroot/something -- yeah, right.
#15:44:00jeffgot it.
#15:44:20zigo_There's many ways to build a package, but most of the time, we use "debheper"
#15:44:30zigo_It's a set of scripts to build it...
#15:44:46zigo_Do: apt-get install build-essential devscripts
#15:44:46atzdebhelper
#15:44:57zigo_Then do dh_[TAB] to see them all ...
#15:45:08zigo_yup sorry
#15:45:10zigo_debhelper
#15:47:53atzone problem we have is that we don't actually move everything through the make install process... the support-scripts for example are still called from their uninstalled repo location
#15:49:48phasefxare they?
#15:49:58zigo_Hum... That's your internal stuff that I shouldn't care too much about, isn't it? :)
#15:52:48jamesrf has joined #evergreen
#15:54:48eby has quit IRC
#15:55:11phasefxzigo_: how easy is it to automate and maintain things once implemented?
#15:55:32zigo_What do you mean?
#15:55:42alxp has quit IRC
#15:56:16jeffzigo_: what is involved in packaging a new version of Evergreen for debian? What tooks are available to automate that process, what concerns are there in terms of sid, then testing, etc?
#15:56:20eby has joined #evergreen
#15:56:57zigo_You will be packaging for SID until the next release of Debian.
#15:57:06phasefxzigo_: for example, I assume our project would need someone empowered/willing to maintain things as the software changes, the surrounding environment changes, etc. How much effort might such a person expect to exert an ongoing basis?
#15:57:07zigo_As Squeeze is currently frozen, you can't target it.
#15:57:33zigo_In Debian, each package is normally maintain by a unique person.
#15:57:47zigo_It could be by a team though ...
#15:58:04tsbereAnyone mention the "ejabberd needs config messed with" part of this yet?
#15:58:09zigo_But there has to be an email and some identified individuals behind an email.
#15:58:20jefftsbere: shh! ;-)
#15:58:25StephenGWills_ has joined #evergreen
#15:58:43zigo_If you want to do the maintainership of the package yourself, then you got to have a PGP key in the web of trust in Debian.
#15:59:03phasefx whispers, and how do we apt-get install across a cluster of machines and get them all to sync up :D
#15:59:11zigo_That means that you have to see a Debian Developer in real life so that he checks your passport / ID card and sign your PGP key.
#15:59:31zigo_Where are you guys living in? USA mostly?
#15:59:41jeffzigo_: so if we have a requirement that an erlang config file be modified in order for opensrf to run -- can debconf help with that, or do we just call an external script to make the changes to /etc/ejabberd/ejabberd.cfg?
#16:00:30zigo_Every files in /etc are considered config files.
#16:00:41zigo_No config files can be installed somewhere else than /etc
#16:00:50zigo_Files in /etc can be configured by debconf, that's not a problem.
#16:00:51tsbereNot what was asked.
#16:00:56tsbereThat was what was asked
#16:01:07zigo_But if you edit /etc by hand, then debconf has to see the change and take it into account.
#16:01:19shadowsparre: perl module packaging -- one of the debhelper scripts gets you >90% of the way there
#16:01:23shadowspardh-make-perl
#16:01:23tsbere thinks we knew that stuff in /etc was config files, but just realized that opensrf doesn't keep config files in /etc
#16:01:51zigo_Also, you got to take care that debconf can be ran in non-interactive mode.
#16:01:56zigo_So there has to be good default values.
#16:02:07zigo_(or a way to live without them being configured)
#16:02:21shadowsparis having one package modify another packages config files allowed, though?
#16:02:31shadowsparor do we have to work around that...?
#16:02:34zigo_It's NOT allowed.
#16:02:36StephenGWills has quit IRC
#16:02:36StephenGWills_ is now known as StephenGWills
#16:02:40shadowsparmaybe with a separate ejabberd instance then
#16:02:49zigo_The workaround is to have a shell script in userland to do it.
#16:02:52zigo_But it's quite ugly.
#16:03:17zigo_What would you need to modify for example?
#16:03:30phasefxzigo_: for software that can run in clusters, I imagine it's common to just install a single-server configuration by default and let folks change things manually if they want otherwise?
#16:03:37jeffvarious max-user max-stanza size settings in ejabberd.cfg
#16:03:44tsbereAnd disabling offline messages
#16:03:45sfortin has joined #evergreen
#16:04:16jeffzigo_: documented in step 6 here: http://evergreen-ils.org/dokuwiki/doku.php?id=opensrf:1.2:install
#16:04:31jeffzigo_: also, there are things like creating ejabberd accounts, etc.
#16:05:07jeffzigo_: basically, everything in http://evergreen-ils.org/dokuwiki/doku.php?id=opensrf:1.2:install and http://evergreen-ils.org/dokuwiki/doku.php?id=server:1.6.0:install needs to be done. see any other "gotchas" where "you can't do that within debian policy"?
#16:05:09Meliss has quit IRC
#16:05:17zigo_Another workaround would be to have a specific package for yourself with different config files...
#16:05:53zigo_Well, I read that document, but it doesn't really tell what "make -f src/extras/Makefile.install squeeze" does ...
#16:06:08shadowsparI'd actually be very interested in going through the process to become a DM/DD myself, but I have to see if my new job will support the time investment needed
#16:06:41zigo_shadowspar: The first step is to create a PGP key and have it signed.
#16:06:53zigo_It can't hurt to do it even if you will change your mind...
#16:06:57jeffzigo_: for that, you'd need to read the Makefiles, which I pasted links to earlier:
#16:07:06jeffhttp://svn.open-ils.org/trac/OpenSRF/browser/trunk/src/extras/Makefile.install
#16:07:12jeffhttp://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/extras/Makefile.install
#16:07:17shadowsparzigo_: apt-get install <many packages>; then run the perl CPAN installer to install perl modules, plus other tweaks iirc
#16:07:33shadowsparzigo_: good point, I should see if I know anyone in the debian web of trust =)
#16:08:13zigo_http://db.debian.org
#16:08:16zigo_take your pick ...
#16:08:20zigo_Find a DD nearby.
#16:08:59zigo_There's a page especially for key signing process, but I can't find it... :(
#16:09:15jeffhttp://wiki.debian.org/Keysigning/Offers#US
#16:09:46zigo_http://wiki.debian.org/Keysigning
#16:09:51zigo_Yes.
#16:11:08zigo_shadowspar: I would suggest you to remove all these "apt-get install <many-package" from the install target and put that in another name.
#16:11:16zigo_install should just install, nothing more ...
#16:11:31zigo_make install-debian-depends
#16:11:35zigo_for example ...
#16:11:47zigo_And that until you got a Debian package in shape.
#16:11:51tsbereThose makefiles are part of the prereq step. The top level makefile still needs to be configured/run.
#16:12:04zigo_Oh ok.
#16:12:17zigo_I have to admit I didn't try to install ... :)
#16:12:35zigo_I'm willing to help, but I don't really need to run a library myself ... :)
#16:13:04sylvarI've been wanting to add Facebook 'Like' buttons to rdetail.xml pages, but Facebook doesn't wait for dojo to fetch the metadata. I'm open to suggestions.
#16:13:40tsberesylvar: Add the like buttons via the dojo metadata filling functions, however that is working?
#16:13:50zigo_Question: what is opensrf exactly?
#16:14:22sylvartsbere: Hmm. That might work.
#16:14:50jeffsylvar: you'll probably want to use one of the unapi urls as the canonical url
#16:15:45jeffsylvar: and i think it's worth considering linking to the metarecord instead of the record. i don't recall if there's an unapi link for that readily available where you'd want it, though.
#16:16:51dbs has joined #evergreen
#16:17:05dbs jumps in, waves excitedly at zigo_
#16:17:24zigo_:)
#16:17:36sylvar is going to be learning unapi, it seems :)
#16:17:43jeffsylvar: also, i'm fairly certain the default implementation of the Like button leaks your patron's browsing habits to facebook. If that can be worked around, great. Otherwise, need a way for libraries and patrons to turn if off. :P
#16:17:50zigo_Oh, another suggestion: it would be good if your tarball was doing opensrf-1.2.2 and not OpenSRF-1.2.2 ...
#16:18:05zigo_Otherwise, we got to repack it to build the Debian package.
#16:18:31dbszigo_: I've been building the OpenSRF releases recently, I'll be happy to change the naming conventions
#16:19:15phasefxzigo_: re: opensrf, it's a framework that services run on top of, and it handles message passing between those services
#16:19:32dbszigo_: we started adding DESTDIR support but it's still flaky. It would probably make sense to start with a goal of packaging OpenSRF first, as the footprint is smaller; then we can apply what we've learned to Evergreen
#16:19:47jeffsylvar: i'm not certain if the opengraph meta tags can be used dynamically with the like button, or if they rely on unique server-generated content for urls: http://developers.facebook.com/docs/opengraph
#16:20:29dbszigo_: having somebody who's been through the packaging process a few times willing to provide guidance like this is a godsend, thanks for dropping by
#16:21:03sylvarjeff: yeah, my first attempt is using createElement/setAttribute/appendChild to retroactively add meta tags to head.
#16:21:34zigo_dbs: I know how painful it can be, because I had to go through it...
#16:21:38tsberesylvar: I don't think that works
#16:22:00sylvartsbere: I think you're correct. :)
#16:22:36jeffsylvar: that probably works, as long as you don't see facebook request the url after you Like it. i believe all of the Like button implementations just fetch the og: meta tags from the dom.
#16:25:01dbssylvar: SSI is an ugly but practical way of ensuring that everything you need is in the initial HTML, before JavaScript runs; that's how we get the unAPI links in place
#16:25:15sylvarhm
#16:26:37jeffzigo_: oh, and how does debian feel about us taking over apache and changing it to run as our own user/group? ;-)
#16:26:41jeff ducks
#16:27:06zigo_jeff: We'd ask: why do you think you need to do that?
#16:27:32jeffthat's what I'd expect. :)
#16:28:31jeffdbs: but the SSI doesn't currently pay attention to or have knowledge of the bib content or even record id, right?
#16:28:53dbsSetting an explicit goal of "create a debian package that meets debian packaging standards" for 2.1 would let us at least find out all of the challenges we need to tackle and list them all as bugs
#16:29:41dbsjeff: mod_rewrite sets an env var that can be used in the SSI
#16:30:29dbsSee 'RewriteRule - - [E=OILS_OPAC_RID:%2]' in eg_vhost.conf
#16:30:49dbs(RID = record ID)
#16:30:53jeffah. thanks!
#16:31:05jeffseen, forgot.
#16:32:26dbsA product of Access 2008 hackfest
#16:35:42zigo_ is writing a start of a debian package for opensrf
#16:36:00phasefxzigo_++
#16:36:18zigo_I see "ntpdate" in your deps. Why that?
#16:36:44jeff(eww)
#16:36:49zigo_Isn't it up to the admin to decide?
#16:37:02zigo_Isn't "ntp" better?
#16:37:21zigo_Shit, no batteries in my keyboard ..
#16:38:16yitznewton has joined #evergreen
#16:38:31phasefx bets that was an overzealous entry in Makefile.install
#16:39:09gmcharltzigo_: it's cruft, AFAICT; EG requires that the clock be accurate, but OpenSRF doesn't use either ntpdate or ntp directly
#16:41:08ksclarke has joined #evergreen
#16:41:33zigo_Is "python-setuptools" a build dependency, or runtime?
#16:41:53tsbereProbably a prereq for building another prereq.
#16:42:22tsbereUnless I missed an optional python opensrf lib in there somewhere
#16:45:47dbspython-setuptools gets invoked at "make install" time
#16:46:08zigo_Only
#16:46:10zigo_?
#16:46:21dbs(assuming one has used the --enable-python switch)
#16:46:22dbsyep
#16:46:41zigo_Ok, so it goes in Build-Depends.
#16:46:46tsbere apparently did miss said lib
#16:50:31gmcharltzigo_: I've commited a patch to drop the ntpdate (and ntp) dependencies from Makefile.install
#16:51:31jeffgmcharlt++
#16:51:35gmcharltthere may be a bunch of deps specified there that are not actually required by OpenSRF proper (historical note: I think OpenSRF was orignally distributed in the Evergreen tarball)
#16:51:52moodaepogmcharlt++
#16:52:57tsbereSome of the stuff required on the database server is in the opensrf makefile.install there. Don't know if that is because opensrf needs it or just legacy there instead of the openils/evergreen makefile.install.
#16:53:02moodaepo wonders why our action.aged_circulation is empty
#16:53:14jeffmoodaepo: nothing populates it by default.
#16:53:34tsbereThere is another good point, though. Probably want a "database server" package too.
#16:53:34jeffmoodaepo: iirc, it can be populated at migration or by some not-enabled or not-finished processes.
#16:53:59zigo_Would opensrf build more than one binary package?
#16:54:06moodaepoShould we be running a cron script..
#16:54:08moodaeposome not-enabled or not-finished processes?
#16:54:18dbs has quit IRC
#16:55:19moodaepoWell I've been digging around to figure out why some holds don't get fulfilled during checkin...the vast amount do get captured
#16:55:22jeffmoodaepo: i don't recall which. others here may know offhand, or you could dig some. :)
#16:55:44moodaepojeff++ # no worries as long as it's not something EG requires
#16:56:05jefflack of aged circs should not have any bearing on your op-capture issue.
#16:56:06gmcharltmoodaepo: look to trunk-land for stuff that actually populates aged_circulation
#16:56:29moodaepogmcharlt: Will do
#16:56:46gmcharltspecifically, it's populated via a delete trigger on action.circulation
#16:58:08moodaepojeff: No I noticed that it was empty (again) via the view action.all_circulation which is pulling data from aged..
#16:58:39moodaepogmcharlt: Makes sense...is that a 2.0 feature?
#16:58:45gmcharltyep
#17:01:09bshum has quit IRC
#17:03:35gmcharltzigo_: if I understand your question correctly, just one binary package per platform (OpenSRF has C code, of course)
#17:04:27zigo_No.
#17:04:43zigo_How many .deb should it build?
#17:04:59zigo_Just opensrf_version_arch.deb ?
#17:05:17zigo_Oh, ok...
#17:05:19zigo_:)
#17:05:25zigo_Just one...
#17:05:31gmcharlt:)
#17:05:55afterl has quit IRC
#17:11:31zigo_http://dtc.xen650901.gplhost.com/debian.tar.gz
#17:12:36zigo_Get that, extrat in your source folder, review carefully each files and fill what's missing...
#17:13:23zigo_Then when dpkg-buildpackage does something send it back to me at zigo@debian.org
#17:13:51zigo_DO NOT include it in your upstream tarball ...
#17:13:55zigo_Ok ?
#17:14:10zigo_Time for me to go sleep ...
#17:14:41gmcharltzigo_: thanks!
#17:15:37zigo_The most important bit is debian/rules
#17:16:12zigo_(and debian/copyright for legal reasons...)
#17:16:37moodaepozigo_++
#17:16:49atz_ has joined #evergreen
#17:16:49zigo_bye
#17:16:55moodaepodebian++
#17:17:00zigo_ has quit IRC
#17:20:35atz has quit IRC
#17:21:20ksclarke has left #evergreen
#17:27:10Dyrcona has quit IRC
#17:28:15pmplett has quit IRC
#17:29:34yitznewton has left #evergreen
#17:42:22jamesrfapologies to anyone on the bug list just trying to tidy up a bit
#17:58:45agJohnIs the pg_loader/parallel_pg_loader step for authority data supposed to create a file to populate the auth.rec_descriptor table?
#17:59:30agJohnThe most recent thing I found said to use these switches with it: -or are -or afr -a afr
#17:59:32agJohnAnd that does not give anything for that table....
#18:00:06jenny has left #evergreen
#18:01:44sfortin has quit IRC
#18:09:12StephenGWills_ has joined #evergreen
#18:13:11StephenGWills has quit IRC
#18:13:11StephenGWills_ is now known as StephenGWills
#18:15:31r123 has quit IRC
#18:16:57pmplett has joined #evergreen
#18:31:13yboston has quit IRC
#18:49:00lisppastemoodaepo pasted "No suitable holds. But why?" at http://paste.lisp.org/display/114093
#18:49:48phasefx_jamesrf++ # bug maintenance
#18:50:11phasefx_scared me half to death though, seeing my inbox :)
#18:50:12moodaepoSo I'm trying to see why a title hold (hold_type = T) that was placed was not fulfilled when the item was checked in earlier today.
#18:51:02phasefx_this may not be it, but there's a scenario where you can place a hold on a title, add a new item to the title, and that item won't be on the eligible copy list for the hold until retargeting, and thus won't be captured if scanned through check-in
#18:51:06youdonotexist has quit IRC
#18:53:15moodaepophasefx: Sadly I don't that's what is happening...this has happened earlier on some check-ins, they just go to reshelving. This is the one from earlier today > http://ecrl.mnpals.net/opac/en-US/skin/craftsman/xml/rdetail.xml?r=139784
#18:53:17agJohnphasefx_: Do you know what the story is on generating data for auth.rec_descriptor? (As per my question above....)
#18:53:20tildeequals has quit IRC
#18:53:57moodaepos/Sadly I don't that's what/Sadly I don't think that's what
#18:54:01phasefx_agJohn: I'm not familiar with that table
#18:55:17agJohnmoodaepo; lisppaste: We had this hold-not-capturing problem at one of the sites I work with. It turned out the main issue was missing entries in actor.org_unit_proximity--but if it's not that, we never figured out anything beyond there. I'm suspicious that there's some gap in the logic, but I have not found it....
#18:55:43moodaepoagJohn++
#18:56:32moodaepo gives me hope that I'm not as insane as it has seemed the last week or so staring at this goat : )
#18:57:06agJohnphasefx_: Thanks anyhow.
#18:58:02agJohnmoodaepo: I should have said "some *other* gap in the logic"--you gotta have the proximity values or it no workie at all. If that's not it, then I can perhaps point you to some spots in the code to look--if I can find the notes we made as we were drilling down....
#18:58:10phasefx_agJohn: it's been forever since I imported records like that, and I've never done authorities, alas
#18:58:54agJohnNot many people have.... So the instructions I find are sketchy.
#18:58:56moodaepoagJohn: Yea mail me the notes if/when you get a chance. Also I haven't done any of the authority loads.
#18:59:43moodaepoWell then again the hold was from a patron of the library which own the item and checked-in at the same library.
#19:00:10moodaepoStill worth looking at your notes
#19:00:14phasefx_agJohn: if you get a good handle on it, please do write something up for folks to learn from
#19:01:01agJohnI had planned to do that, but when we figured out that we hadn't run autogen.sh w/ the -u switch I was mostly just embarrassed :~\
#19:04:49agJohnOr were you talking about authority loading?
#19:09:16agJohnmoodaepo: The heart of the matter for figuring out why the items were not getting captured, in our situation, was this bit of info from the redoubtable jeff:
#19:09:18agJohnOpenILS/Application/Storage/Publisher/action.pm in the subroutine "nearest_hold". the SQL is there.
#19:14:27agJohnBy taking apart the SQL in that subroutine, we figured out what was wrong in our case. All the drilling down through the Perl code hadn't provided an answer. So, I'd start there. If you find the hold_request.id value then plug in the values for the from_org and the target_copy and some appropriate value for the CAST( ? as interval ) spot, then start stripping out the various JOIN clauses and...
#19:14:29agJohn...WHERE conditions until it comes back, you'll have identified the problem spot.
#19:16:13agJohnAs far as we could tell, there really is not much to the logic on the Perl side--in our situation at least, it all came down to whether the query in action.pm's nearest_hold was giving a rational answer or not. If you find that this subroutine is finding the right request, then you've got a different kettle of fish.
#19:17:37agJohnThat's the summary of pages of printouts and lots of debug statements added to code and various scribblings--so we'll call that "the notes." If you want to talk to me about it directly, feel free to fire me off an email.
#19:21:28phasefx_moodaepo: it's also worth checking that the copy, the copy location, and copy status all have their holdable flags set to true
#19:21:35youdonotexist has joined #evergreen
#19:22:35phasefx_and for copy status, include the copy status that came before Reshelving
#19:34:59tildeequals has joined #evergreen
#19:36:16moodaepoagJohn++ phasefx++ # was on the phone
#19:36:32moodaepo runs to walk the dog
#20:22:21dbs has joined #evergreen
#20:23:55dbs_ has joined #evergreen
#20:27:56dbs has quit IRC
#20:28:36tildeequals_ has joined #evergreen
#20:29:32tildeequals has quit IRC
#20:32:41agJohnmoodaepo: There is also a patch relating to hold request capture that came up in our digging. The email from gmcharlt to the dev list on 10 Aug with this subject heading: Patch to 1.6.0 branch's 110.hold_matrix.sql indicates that the patch was put into the 1.6.0 and 1.6.1 branches. I do not know if this could possibly be part of the issue or not. (I'd forgotten about the fact that we...
#20:32:43agJohn...uncovered this, because it was actually unrelated to what was happening at our site.)
#20:33:48tildeequals has joined #evergreen
#20:34:55tildeequals_ has quit IRC
#20:37:30tildeequals_ has joined #evergreen
#20:38:24tildeequals has quit IRC
#21:00:29lisppastegmcharlt pasted "EG & OpenSRF trunk patchers" at http://paste.lisp.org/display/114096
#21:01:00gmcharlt^^ list of individuals I was able to derive from the svn logs of trunk for EG and OpenSRF
#21:01:08gmcharltif I've missed any individuals, please let me know
#21:03:46dbs_gmcharlt++
#21:08:04jeffgmcharlt++ #and (everyone on that list)++
#21:12:38tildeequals_ has quit IRC
#21:15:12tsberegmcharlt++
#21:15:20tsbereGot me and my boss, so :D
#21:17:46dbs_gmcharlt: getting all of the translators could be a bit of a challenge, as launchpad doesn't seem to be well set up for retrieving that info
#21:23:28gmcharltdbs_: and considering how strings are shared by projects on launchpad, ultimately an impossible task
#21:24:05jamesrf has quit IRC
#21:25:00gmcharltas far as direct updaters of translations, at the moment the only way I see to do it is manually checking each language's page
#21:28:12jeffwe might consider adding the (apparently special/magical) translators-credit message ... see the last comment here: https://bugs.launchpad.net/rosetta/+bug/589391
#21:28:46StephenGWillsI'm trying to change some usr.profile s. should "UPDATE actor.usr SET actor.usr.profile = 12 WHERE actor.usr.profile > 21;" work? I am getting an error from psql doing it.
#21:29:09gmcharltand that error is?
#21:29:27StephenGWillscolumn "actor" of relation "usr" does not exist
#21:29:55StephenGWillsselect * from actor.usr works fine, however.
#21:30:03jefftoo much specificity. drop actor.usr on all but the FROM
#21:30:06gmcharltyou don't need to qualify every column
#21:30:10gmcharltsnap
#21:30:19jeffUPDATE actor.usr set profile = 12 where profile > 21;
#21:31:51jeffin a column name, postgresql doesn't expect to see the schema. UPDATE actor.usr SET usr.profile = 12 WHERE usr.profile > 21; should also work
#21:32:06StephenGWillskk. hopefuly I didn't just wipe out half my patrons :)
#21:32:27StephenGWillsthanks
#21:33:47jeff(make backup, try on test datbase, etc, and/or) BEGIN; UPDATE actor.usr SET profile = 12 WHERE profile > 21; [check on things here with some sql, verify the # of updates seems to be what you expect, etc and if good...] COMMIT;
#21:35:37StephenGWillsnp. looks like it worked. a couple of my libraries got carried away with permission groups and were moving them back to "Patron" by hand.
#21:35:41StephenGWillsthanks again.
#21:39:53jamesrf has joined #evergreen
#21:58:15StephenGWills_ has joined #evergreen
#22:01:27StephenGWills has quit IRC
#22:01:27StephenGWills_ is now known as StephenGWills
#22:19:50StephenGWills has quit IRC
#22:50:20dbs_ has quit IRC
#23:01:58dbs_ has joined #evergreen
#23:11:07dbs_ has quit IRC
#23:36:59LBA has quit IRC
#23:40:09joe___ has joined #evergreen
#23:41:13joe___ok ive downloaded evergreen any clue on how to get it to work?
#23:43:38joe___ has quit IRC
< Monday, August 30th, 2010Raw Log FileWednesday, September 1st, 2010 >