IRC log for #koha, 2012-03-05

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
00:02 BobB joined #koha
00:59 rgbv joined #koha
02:06 miltsNZ joined #koha
02:08 Space_Librarian hey all, I'd like to introduce one of my awesome staff to the channel - miltsNZ is going to set the library world on fire one of these days. So it's good to have him online. :)
02:09 rangi :)
02:09 hi miltsNZ
02:09 miltsNZ hah cheers for the overstated intro :)
02:09 jcamins_away Welcome to #koha, miltsNZ.
02:11 Space_Librarian not by much. :p
02:17 miltsNZ I'm actually just having my first real play in the Koha MARC frameworks and was curious about something I couldn't find documentation...
02:18 does anyone know if it's possible to set up a framework which will autopopulate certain fields with some pre-set information every time you create a record using that framework?
02:18 rangi using plugins yep, but you'd have to write the plugins
02:18 miltsNZ e.g. creating a framework for course papers, and wanting a specific entry in the 540 field to be added automatically
02:19 ah cheers
02:19 a little beyond my purview atm
02:25 druthb joined #koha
02:25 druthb o/
02:36 bag hi druthb
02:38 druthb hi, bag!
02:39 how's the BEST BOSS EVAR doing tonight?
02:47 wahanui: bag?
02:47 wahanui I LIKE BASEBALL
02:48 * druthb nods.
03:09 jcamins_away Space_Librarian: tell miltsNZ that you can do that by setting the default value in the framework.
03:09 I do it all the time.
03:11 Woohoo! Third most signoffs in 3.6.4!
03:20 Space_Librarian jcamins_away: I will - thanks so much! He was pretty impressed with the IRC - he'll be back. :)
03:21 jcamins_away :)
03:21 * druthb squees and waves at Space_Librarian.
03:22 Space_Librarian :D hey druthb!
03:23 druthb :D
03:26 Amit_Gupta joined #koha
03:27 Amit_Gupta heya bag
03:29 * druthb waves to Amit_Gupta.
03:30 kathryn joined #koha
03:30 * druthb updates her first stable test server to 3.6.4.
03:31 Amit_Gupta heya druthb
03:32 * druthb updates two more, Just Because.
03:38 Irma joined #koha
04:00 Space_Librarian Adieu, until tomorrow! :)
04:00 druthb left #koha
04:20 Irma joined #koha
04:35 eythian is it possible to make item types show up in the search results? Insofar as this question makes sense...
04:35 I know the MARC item type shows up, but that's next to useless.
04:44 mib_c56cpx joined #koha
04:44 mib_c56cpx hello
04:44 wahanui bonjour, mib_c56cpx
04:45 mib_c56cpx can anybody help me
04:45 eythian I don't know. Can they?
04:45 mib_c56cpx i want my users to login using their google apps email id
04:45 is it possible?
04:45 eythian hmm. Not that I'm aware of.
04:46 I have no idea how one would go about authenticating against a google apps account.
04:46 mib_c56cpx ok..
04:46 Oak joined #koha
04:46 eythian I assume most bigger places do the reverse, and have google authenticating against some system of theirs, or some such.
04:46 mib_c56cpx do you have any idea who would be able to answer my question?
04:47 Oak kia ora #koha
04:47 mib_c56cpx i need this google apps koha integration
04:47 eythian I'm pretty sure I'm right, that it's not currently possible. However if you want to be sure, best email the koha users mailing list.
04:47 mib_c56cpx whr can i find that
04:47 eythian If there's a way to implement it, I'm sure you'd be able to find someone willing to do the development.
04:47 wahanui: email lists
04:47 wahanui eythian: sorry...
04:47 eythian oh
04:47 one moment...
04:47 wahanui: mailing list
04:47 wahanui i guess mailing list is at http://koha-community.org/supp[…]ha-mailing-lists/
04:48 eythian ah, there we go.
04:48 mib_c56cpx: ^^
04:48 mib_c56cpx thanks wahanui
04:49 eythian wahanui: thanks wahanui is <reply>You're very welcome, $who
04:49 wahanui sure thing eythian
05:33 cait joined #koha
05:34 stuartyeates joined #koha
05:35 stuartyeates rangi: know anyone who might be interested in http://vacancies.vuw.ac.nz/pos[…]detail.asp?p=6057 ?
06:22 Amit_Gupta heya cait
06:22 cait hi Amit_Gupta
06:24 BobB joined #koha
06:28 eythian hrm, the data normalisation on the tags tables seems quite unusual to my eye.
06:30 cait heya eythian - you are back :)
06:30 eythian yep
06:30 hello
06:43 so when you hover over a tag in the tag cloud, it pops up a number. This number isn't the number of items (which is what I expected), it's the weight given to that tag, which is a function of the number of items. That's pretty odd.
06:44 cait eythian: I haven't played aroudn with it really
06:44 owen did work on something tag related
06:44 to highlight your own tags in the tag cloud
06:45 eythian I had someone ask me why the numbers didn't match up, she expected the hover number to be the number of items tagged with that tag.
06:59 damn, I was hoping it'd be an easy fix to provide the number of items, but it's surprisingly not.
07:00 cait the tags tables are a bit weird
07:00 eythian they are. It looks like they're structured that way for speed, but I would suspect some well thought out indices would allow the same speed but with a better structure.
07:01 * cait nods
07:01 eythian also the "tags" table is empty
07:01 cait I had the same thought
07:01 only explanation is speed, because else it's really weird
07:01 eythian which is silly, unless its for something else.
07:02 cait hm
07:04 we have approved and rejected
07:04 and all tags or something right?
07:05 eythian tags_all, tags_approval, and tags_index are all used
07:06 there's a tag_id which should be used but isn't, instead the term seems to be used as an ID.
07:06 which is generally considered bad form
07:06 cait ew
07:07 pastebot "eythian" at 202.78.240.7 pasted "Weirdo tags tables" (79 lines) at http://paste.koha-community.org/291
07:07 eythian that's what they look like with some test data in there.
07:07 cait interesting tags :)
07:08 eythian yeah, it's a not-yet-live client who has just been messing about to see how they work
07:08 cait yeah, they are weird
07:08 why does tags_index have the bilbionumber and the weigt?
07:08 eythian it's a reduction of tags_all
07:09 if more than one person tags something the same, it increases the weight
07:09 cait aha
07:09 alex_a joined #koha
07:09 alex_a bonjour
07:09 eythian I think the approval table and the _all table are canonical, and _index and tags_approval.weight_total are derived from that.
07:10 I'm not sure why they're not linking up on tag_id
07:10 * eythian goes home
07:10 eythian see you
07:10 hi alex_a, bye alex_a.
07:10 laurence joined #koha
07:19 laurence joined #koha
07:31 magnus_afk kia ora #koha
07:31 cait morning magnus :)
07:32 magnuse guten morgen cait
07:33 @wunder boo
07:33 huginn magnuse: The current temperature in Bodo, Norway is -1.0°C (8:20 AM CET on March 05, 2012). Conditions: Mostly Cloudy. Humidity: 55%. Dew Point: -9.0°C. Windchill: -8.0°C. Pressure: 30.24 in 1024 hPa (Steady).
07:33 magnuse @wunder marseille
07:33 huginn magnuse: The current temperature in Marseille, France is 7.0°C (8:00 AM CET on March 05, 2012). Conditions: Clear. Humidity: 53%. Dew Point: -2.0°C. Windchill: 1.0°C. Pressure: 30.12 in 1020 hPa (Steady).
07:33 cait :)
07:33 soon!
07:33 magnuse 2 weeks!
07:33 wahanui hmmm... 2 weeks is good
07:33 magnuse you lucky people
07:35 cait you will give an amazing presentation instead :)
07:36 magnuse nah, don't count on that
07:36 cait oh, I don't have to count on it.. I know it.
07:39 reiveune joined #koha
07:39 reiveune hello
07:39 wahanui hey, reiveune
07:40 rangi hi europe
07:42 mbalmer joined #koha
07:48 cait hi nz
07:49 sophie_m joined #koha
07:49 cait left #koha
07:49 marcelr joined #koha
07:49 marcelr hello koha
07:51 Irma left #koha
07:57 julian_m joined #koha
08:05 hdl joined #koha
08:05 Manderson joined #koha
08:05 gaetan_B joined #koha
08:06 gaetan_B good morning #koha!
08:07 asaurat joined #koha
08:11 hdl1 joined #koha
08:12 paul_p joined #koha
08:12 rangi wow, that guy is persistent, help me with this fork, help me
08:12 i know i downloaded the wrong version, but help me anyway
08:13 sophie_m hello #koha
08:13 hdl1 hi
08:13 marcelr hi]
08:13 s/]//
08:14 cait-m joined #koha
08:18 rangi marcelr: i wonder for bug 7310
08:18 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7310 normal, P3, ---, m.de.rooy, Signed Off , Improving permissions on lists (virtual shelves)
08:18 magnuse rangi++ for being patient and polite
08:18 rangi you might want to publish a branch
08:18 and just keep that up to date, and get ppl to do pull of it?
08:18 might be easier for you to keep up to date?
08:19 paul_p hello world
08:19 magnuse chris_n++ for 3.6.4
08:20 rangi hi paul_p
08:21 marcelr hi paul_p; bug 7310 welcomes your revisiting it
08:21 :-)
08:21 paul_p marcelr yes, i've seen
08:22 will try to work on it today, but I already have many patches to push
08:22 marcelr ;)
08:26 francharb joined #koha
08:36 Amit_Gupta heya paul_p, magnuse
08:36 magnuse namaste Amit_Gupta
08:37 * rangi is running out of patience, that will be my last email, someone else can take over
08:37 marcelr oops
08:37 paul_p rangi ???
08:37 wahanui I LIKE ALMONDS! HAVE SOME NUTS!
08:37 magnuse gah
08:38 rangi++
08:38 marcelr rangi++
08:39 paul_p ok, I think I get it = archer thread
08:39 rangi ahh mailing list paul, you'll see it :)
08:39 yep
08:39 marcelr he wants to deploy community version now ;)
08:40 rangi getting there :)
08:40 just fighting the fud that it has no support
08:40 magnuse marcelr: not "community version", just Koha ;-)
08:40 rangi and that :)
08:40 marcelr sorry..
08:40 :-)
08:41 clrh hello
08:41 marcelr hi
08:41 magnuse bonjour clrh
08:41 marcelr: i find myself thinking that way every so often too, but i try not to ;-)
08:42 marcelr good
08:44 halfie joined #koha
09:09 asaurat1 joined #koha
09:20 sophie_m joined #koha
09:40 kf joined #koha
09:40 kf hi #koha
09:40 halfie joined #koha
09:41 marcelr hi kf
09:42 halfie hi, I have deleted some fields shown while "adding MARC records". Now fewer fields are shown but they are still distributed among multiple tabs (0, 1, 2 etc). Is there a way to get a single screen showing all the required fields instead of those multiple tabs?
09:43 kf halfie: be careful - I don't recomment deleting fields from the default framework
09:43 better hide them if you don't want to use them or create your own frameworks
09:43 halfie: and yes, you can go to administration > bilbiographic frameworks > framework you want to change > marc structure > field you want to change > tab
09:43 halfie kf: I have created a new framework from which I have deleted those fields.
09:44 kf if you are more familiar with the right values the export options for frameworks are nice
09:44 you can edit them in libreoffice calc for example
09:44 that makes it easier to change in bulk
09:44 halfie: ok, that's ok then, but check out the hidden field
09:44 you can also jsut hide fields
09:45 morning marcelr
09:45 halfie kf: now I have 5-6 fields in my newly created "Book" framework but still they are distributed among multiple tabs. How do I disable this tabbing behaviour on "add new MARC records" page?
09:46 kf the tabs are configuration
09:46 It's not done by the number of fields
09:46 but an attribute of the configuration of each field
09:46 if you want to change that, you have to go back and change the tab value for the field
09:46 by default the 0xx fields show up on 0 tab, the 1xx on 1 etc. to make it easier for the cataloger
09:47 halfie kf: I tried changing the Tag value (not the tab value) for fields but the GUI doesn't save my changes somehow.
09:47 kf you have to tell the system for each field on which tab it should show
09:47 the tab is under advanced otpions
09:47 when you look at the subfields
09:47 there are 0-9 + 10(items) - don't change items
09:51 halfie kf: understood, I did what you said and it worked :) .. thanks.
09:51 kf :)
09:51 halfie kf: changing the tag for every sub-field is a PITA though.
09:51 kf yes
09:51 easier to do in sql
09:51 magnuse kf++
09:51 kf or using the export options for frameworks
09:56 styling the browse feature is quite annoying
10:02 Guillaume joined #koha
10:06 gaetan_B joined #koha
10:08 chris_n` joined #koha
10:15 halfie I have deleted a book but it still appears in search results. Do I have to run the full zebra re-indexing process again?
10:18 hdl1 yep
10:26 kf halfie: have you set up your cronjobs to reindex regularly?
11:11 Judit joined #koha
11:28 Amit_Gupta heya hdl1
11:31 hdl1 hi Amit_Gupta
11:39 asaurat joined #koha
12:28 jwagner joined #koha
12:31 tcohen joined #koha
13:03 NateC joined #koha
13:05 slef what's the zebra index containing marc data?
13:05 like kw is keywords IIRC
13:06 in other words, what's the bit before the , in bulkmarcimport -match to match MARC tags :)
13:07 or in the search box to search a MARC tag
13:07 morning #koha btw :)
13:09 http://manual.koha-community.o[…]earchindexes.html
13:10 oleonard joined #koha
13:11 ago43 joined #koha
13:12 slef answered my own question I think. Asking beggar to test
13:12 what's a nicer word for someone requesting a donation than "beggar"? :) I'm having a tact fail this Monday morning (yeah, what's new, you say)
13:16 jcamins_away slef: you can't search arbitrary MARC tags at present.
13:17 slef jcamins_away: being able to search the indexed ones is good enough for them I think.
13:18 jcamins_away slef: "panhandler"? "mendicant"? "supplicant"?
13:22 kf hi slef morning jcamins_away
13:24 * jcamins_away favors "supplicant."
13:26 jcamins_away magnuse: have I mentioned to you that we should markup the OPAC details page to include semantic information about the record? Embedded RDF, perhaps.
13:28 drojf joined #koha
13:29 kf hi drojf :)
13:29 drojf hi #koha
13:29 hi kf :)
13:31 slef jcamins_away: be nice. Co-ops donate to charities ;)
13:31 (or at least this one does... can't speak for NYC housing co-ops ;-) )
13:31 * oleonard listens for the sounds of jcamins_away's derisive laughter
13:32 jcamins_away oleonard: was that suitable? :)
13:35 magnuse jcamins_away: don'tt hink you have mentioned it, but definitely interesting! RDFa, i think?
13:36 jcamins magnuse: yes, that's what I meant.
13:39 magnuse jcamins: i have made some progress on converting records to RDF with https://github.com/digibib/marc2rdf , storing them in this triplestore: http://data.libriotech.no/semantikoha/ and enriching them with this script: https://github.com/MagnusEnger[…]er/arc2-client.pl
13:39 hope to have a poc of enhancing the opac with the data this week
13:39 jcamins Woohoo!
13:39 magnuse++
13:39 magnuse yay
13:43 jcamins magnuse: I think we also should have <link>s specifying alternate representations.
13:43 This is on my todo list. Along with about a billion other things.
13:46 magnuse hehe, sounds like a good idea, though
13:46 jcamins: you might want to add signing off bug 7092 to the list ;-)
13:46 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7092 normal, P5 - low, ---, magnus, Needs Signoff , Complete-subfield searches TraceCompleteSubfields syspref not working correctly
13:46 jcamins Yeah, I just did.
13:47 magnuse yay!
13:51 jcamins Ooh, you know what today is? Today is the day paul_p gets to push 7284! Lucky paul_p!
13:51 magnuse woohoo!
13:51 jcamins :D
13:51 magnuse bug 7284
13:51 wahanui hmmm... bug 7284 is the first step to making that happen.
13:51 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7284 major, P3, ---, jcamins, Passed QA , Authority matching algorithm improvements
13:51 paul_p lol :D
13:52 jcamins paul_p: you're so lucky... the second thing you have to push is a fun patch! :D
13:53 * paul_p fear that won't be for today, as I've other things I *must* do today, sorry jcamins
13:53 jcamins paul_p: in that case you can do fun things tomorrow! :D
13:53 magnuse lucky paul_p! :-)
13:57 * paul_p afk for a meeting
14:02 talljoy joined #koha
14:09 kf jcamins++
14:09 drojf joined #koha
14:09 kf wb drojf
14:09 jcamins kf: what did I do?
14:09 drojf damn university wifi :/
14:10 kf how is the migration?
14:12 drojf: talking to you :)
14:12 drojf downloading a file with 20k, impressive :D
14:12 slow
14:12 want to have a test import before next monday
14:12 so the ladies can check while i get some holiday
14:12 kf :)
14:13 drojf i guess we will not care for authorities now, i want to have something running in april
14:13 kf real holiday? or only working on something else?
14:14 drojf well. holiday from my two jobs, working on things for university so i can finally write my thesis
14:14 not real holidays i'm afraid
14:14 kf yes, doesn't sound like one
14:15 drojf can i search for several things in one search sting in koha? like "give me all results with x in this field or y in some other field"?
14:15 *search string
14:16 magnuse drojf: you can choose "or" between fields in advanced search
14:19 drojf thanks magnuse you're right of course. some things are just too obvious
14:19 magnuse hehe
14:22 * kf hands out cookiews
14:22 kf cookies even
14:22 it's monday
14:22 magnuse yay, monday cookies!
14:22 marcelr great
14:23 drojf woohoo cookies
14:23 kf lol
14:28 * marcelr leaves the room quietly, waving
14:36 Callender joined #koha
14:52 maximep joined #koha
14:58 drojf joined #koha
15:01 wizzyrea 7001 too :)
15:03 hdl1 bug 7001
15:03 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7001 enhancement, P3, ---, srdjan, Passed QA , User Configurable Slips
15:08 kf hi wizzyrea
15:08 * kf saves some cookies for you
15:09 * wizzyrea has girlscout cookies
15:09 wizzyrea thin mints!
15:09 * wizzyrea wonders if it's legal to ship them to germany
15:09 wizzyrea also, germany is awesome
15:09 http://www.ikea.com/us/en/cata[…]roducts/40134347/
15:09 er no
15:09 lol
15:09 http://feedproxy.google.com/~r[…]k/~3/jHXCUJg1YQk/
15:09 that
15:09 nice table tho.
15:10 kf ikea :)
15:13 wizzyrea?
15:13 wahanui I LIKE SCIENCE! or KOREAN
15:14 wizzyrea ok, that's probably confusing for people
15:14 forget wizzyrea
15:14 wahanui wizzyrea: I forgot wizzyrea
15:19 kf wizzyrea?
15:19 !
15:19 wizzyrea is <reply> I LIKE SCIENCE
15:19 wizzyrea?
15:19 wahanui I LIKE SCIENCE
15:19 wizzyrea :)
15:20 kf better :)
15:29 oleonard chris_n around?
15:37 * oleonard has filed Bug 7643
15:37 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7643 normal, P5 - low, ---, kyle.m.hall, NEW , Can't upload and import zipped file of patron images
15:38 kf oleonard++
15:41 wizzyrea sorry I meant to do that on friday >.<
15:41 but thanks oleonard
15:42 * wizzyrea hunts around for signoffs to atone.
15:42 oleonard ...because you could see into the future when someone would post that to the list?
15:42 wizzyrea he came here first asking about it I think
15:43 kf yes, there was swomeone asking abou tit
15:43 wizzyrea either way I was looking at that on friday
15:43 oleonard But anyway, signoffs? Bug 7629, Bug 7633. Nice 'n' easy.
15:43 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7629 trivial, P5 - low, ---, oleonard, Needs Signoff , Update sco.css to include CSS Gradients and prevent error upon missing background image file.
15:43 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7633 enhancement, P5 - low, ---, oleonard, Needs Signoff , Move display of patron image in self checkout
15:44 wizzyrea check. :)
15:44 also
15:44 test plan?
15:44 wahanui make me a test plan or I no test!
15:44 wizzyrea kekekekeke
15:44 j/k
15:44 I can test those wihtout a test plan
15:44 oleonard Both have instructions for testing :P
15:45 wizzyrea really that wasn't directed at you :)
15:45 but I wanted the response for test plan to be something a bit more... urgen than "test plans are nice"
15:45 urgent*
15:46 * kf is closing oooooold acq tickets from our libraries
15:46 loves 3.6.3 :)
15:46 wizzyrea because the problems are all fixed?
15:46 kf yep
15:47 wizzyrea WIN :)
15:47 kf yep
15:48 are you aware of any problems with attaching items to other records?
15:48 wizzyrea ! no?
15:48 kf I don't think there is a known problem right?
15:48 we had one case... where the xml was not updated properly
15:48 and the item appeared in both records...
15:48 after reindexing
15:48 I will just assume that's also fixed
15:49 wizzyrea hmm no I hadn't heard about that
15:49 that sounds... flukey
15:49 kf yes, had problems reproducing it
15:49 but had exmaples where it happened
15:50 wizzyrea busy library?
15:51 kf hm not really
15:51 * wizzyrea suspects a locked table or something where an update didn't happen when it was suppseed to
15:51 jcamins UTF-8 in the call number?
15:52 kf jcamins: possible
15:52 wahanui possible is, like, everything, but I think it's probably easy to miss something here
15:52 sekjal joined #koha
15:52 * wizzyrea waves at sekjal
15:52 wizzyrea hi :)
15:52 sekjal hi, wizzyrea
15:54 kf hi sekjal :)
15:54 sekjal hi, kf!
15:58 * wizzyrea goes on a tab closing frenzy
15:59 wizzyrea ah, that's nice. Down to 5.
16:05 reiveune bye
16:05 reiveune left #koha
16:08 * paul_p head for pushing some bugs...
16:08 paul_p bug 3516 first
16:08 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=3516 enhancement, P5 - low, ---, oleonard, Passed QA , Display picture of patrons in OPAC
16:09 paul_p (from oldest to newest QA)
16:10 wizzyrea \o/
16:11 jcamins paul_p: woohoo! Maybe you do get to have fun today! :D
16:11 paul_p your bug is 2nd on  my list ;-)
16:11 wizzyrea I wish git commit --amend -s would also add [Signed Off] to the first line of the commit.
16:11 jcamins paul_p: I know. :)
16:11 * wizzyrea is so lazy.
16:12 wizzyrea also, http://spheredev.org/wiki/Git_for_the_lazy
16:13 because, i couldn't resist that title.
16:13 it may be crap.
16:13 * paul_p bet that, with a git config one achieve that. Or maybe a hook
16:14 * wizzyrea is looking now, because that extra 5 seconds of typing stuff that i'm likely to forget is cramping my stlye.
16:14 wizzyrea style* even.
16:14 hdl1 paul_p: wizzyrea investigate git-alias
16:15 wizzyrea oh holy snaps.
16:15 hdl++
16:15 good one. :)
16:15 paul_p wizzyrea share if you are successfull ;-)
16:16 wizzyrea boo except that kernel.org is still down where they keep all of the examples.
16:16 hrmph.
16:17 maximep lazy++. I have bash aliases to only do "gci" to do a "git commit"
16:18 asaurat left #koha
16:19 * oleonard uses "ckm" for "git checkout master"
16:19 * jcamins has been typing everything out.
16:20 wizzyrea http://cheat.errtheblog.com/s/git
16:20 jcamins Maybe I should write a "qa nnnn" script.
16:21 wizzyrea also looks like you can do longish things with aliases as well: http://gitready.com/intermedia[…]mand-aliases.html
16:21 mveron joined #koha
16:21 wizzyrea ooooo
16:21 http://robots.thoughtbot.com/p[…]flow-with-aliases
16:21 this looks promising.
16:22 specifically
16:22 up = !git fetch origin && git rebase origin/master
16:22 or cob = checkout -b used like git cob qa-xxxx
16:24 mveron Hi everybody #koha
16:24 paul_p and now, ladies and gentlemen... pushing 7284 ... (or not, just to see jcamin angry ;-) )
16:24 jcamins I like the idea of `git qa 1234`=git fetch kc && git checkout -b bug_1234_qa kc/master && git-bz apply 1234
16:24 * wizzyrea throws confetti
16:24 * jcamins is sure this is the high point of paul_p's day. :)
16:25 jcamins Certainly the high point of mine. :)
16:25 bag good morning
16:25 sekjal morning, bag
16:26 bag hey ian
16:28 kf morning bag
16:29 jcamins Morning.
16:29 wahanui i think morning is a state of mind.
16:29 jcamins wahanui: Monday?
16:29 wahanui i think Monday is better
16:29 oleonard Better than what? A kick in the teeth?
16:30 jcamins Well, isn't it?
16:38 Shane-S joined #koha
16:39 Shane-S For a patron there is the "library management" section  w/ Sort 1 and Sort 2 fields, are the just for the library to use in say reports, or do they have a more specific purpose?
16:40 oleonard For any arbitrary purpose
16:41 Shane-S awesome, needed to add grade level and teacher for a fines report...now I can play :)
16:41 Every day I think I am nearing 100% to using Koha and I learn "one more thing" the library needs to have in place :P
16:42 wizzyrea :)
16:42 @quote get 123
16:42 huginn wizzyrea: Quote #123: "rangi: #thingsihavelearnt if there is a mad scheme a library somewhere will be doing it ... except madder" (added by wizzyrea at 09:20 PM, March 30, 2011)
16:42 wizzyrea just wait until they start inventing things they need it to do
16:42 that's when it gets really fun.
16:42 "oh hey, we have some control here, can you make it vomit ponies?"
16:42 "because that's really what I want"
16:43 Shane-S Yes...it can vomit out all the books with the word ponies....then hand them a PERL book :)
16:44 wizzyrea ^^ this
16:44 paul_p jcamins could you give me some details about "* Correctly destroy ZOOM recordsets in SearchAuthorities when finished. If left
16:44 undestroyed, efficiency appears to approach O(log n^n)" ?
16:45 jcamins paul_p: yeah, exactly what it sounds like. The ZOOM library has a destroy() function that the authority search wasn't calling.
16:45 Therefore, we were leaking memory like mad.
16:46 paul_p don't we have the same problem with bib search ?
16:46 jcamins paul_p: uhhh...
16:46 kf hm
16:46 jcamins I think I checked and found that we were destroying the query.
16:46 kf I have suggestion on but no suggestions form shows up in my opac? :(
16:46 oh found it
16:46 jcamins (the way we should be)
16:46 * paul_p think he remembers hdl speaking of something like that (leaking memory when linking authorities & biblio automatically).
16:46 jcamins paul_p: yeah, that was due to this bug.
16:47 paul_p jcamins doesn't the destroy result in a big lowering of performances ?(
16:47 because opening a connection is costly)
16:47 jcamins paul_p: no, we're not destroying the connection.
16:47 paul_p: ZOOM has a really weird API.
16:47 You have to destroy *each* resultset.
16:47 paul_p jcamins really ? no... you must be kidding... zebra/zoom are so handy to deal with
16:48 jcamins Even though they are invalid as soon as you leave scope.
16:48 paul_p (yes, *I* am kidding ;-) )
16:48 jcamins paul_p: ;)
16:48 Shane-S okay...I'm confused...searched for a Patron and the results of more then one showed, in the category it showed Student (C) when I go to view then it has Student (KID) .... (KID) I expect, it is my code, where does the (C) come from? Perhaps I bug I need to report?
16:49 kf C is probably the category type
16:49 which means Child
16:50 jcamins paul_p: it used to be a run of the linker took three days for 110k records.
16:50 paul_p (you know, we're having our annual meeting one-to-one with all BibLibre staff. 2 things are shared by all = "i'm happy to work at BibLibre, it's a cool company" and "well, i need more info on zebra, because it's un-understandable" )
16:50 jcamins Now it takes six hours, thanks to the addition of the destroy().
16:50 Heh.
16:50 paul_p wow ! impressive !
16:51 Shane-S kf: Ah okay, was odd seeing it different between screens
16:51 jcamins paul_p: yeah, I was pretty impressed!
16:51 paul_p (I think the 1st point is sincere, i'm sure the 2nd point is ;-) )
16:51 oleonard Something I'm working on: http://screencast.com/t/Rh7hOc21Z9
17:00 gaetan_B bye!
17:01 laurence left #koha
17:04 luisb joined #koha
17:05 kf time to leave - bye all!
17:06 oleonard: pretty cool :)
17:07 maximep anyone using misc/cronjobs/build_browser_and_cloud.pl with marc21 ? I have no idea what to pass to -t and -f
17:11 jcamins maximep: I have no idea, sorry.
17:11 maximep docs says 676a in UNIMARC for dewey for example
17:11 let's see if that does anything
17:13 sophie_m left #koha
17:19 * paul_p wife call me. family time now. See you tomorrow #koha !
17:19 wizzyrea bye paul_p
17:19 oleonard: very cool on the tags.
17:20 sekjal jcamins: qa = !sh -c 'git checkout master && git pull && git checkout -b bug$1-qa && git bz apply $1' -
17:20 jcamins sekjal: nice!
17:21 sekjal can be adapted as needed to change how the checkouts work, or the branch is named
17:21 maximep oh, looks like it's 082 in marc21 Not sure about the subfield :/
17:22 wizzyrea oh sekjal <3
17:22 that is awesome
17:22 kyleh joined #koha
17:22 sekjal could probably do an 'so' alias for signoffs, too
17:23 jcamins Yeah... more keypresses saved!
17:23 sekjal by abstracting the process, the usage becomes more consistent
17:24 wizzyrea something like
17:24 so = !sh -c 'git commit --amend -s && git bz attach -e $1 HEAD' -
17:25 sekjal you may not need to the !sh -c wrapper
17:25 I had to use that to use the $1 variable twice
17:25 wizzyrea if you want the $1 I think you do
17:25 ?
17:25 oh, twice.
17:25 sekjal or I could be mistaken
17:25 wizzyrea well, it's in the 2nd command... hm idk.
17:26 sekjal I makea  lot of twists and turns trying to nail that one-liner down
17:26 * wizzyrea just took what you did
17:27 cackles maniacally
17:28 wizzyrea hdl++
17:28 great idea.
17:28 sekjal could even add the git send-email phase, too
17:28 since we don't yet have the auto-emailer in place that mtj was working on
17:28 wizzyrea *nod*
17:29 sekjal aliases++
17:29 * wizzyrea wants to do one on the bz test bug
17:29 wizzyrea for signoff.
17:29 omg it's brilliant.
17:30 o.m.g.
17:30 Shane-S <-- is thinking of creating a "print" button the reports page that takes off the SQL statement...by using JS to dynamically add some CSS...hmmm
17:30 wizzyrea i just did a git so 6473, it amended my commit, let me obsolete the old patches and sent it
17:31 thatis*&$$@)$%amazing
17:31 sekjal wizzyrea++
17:31 wizzyrea life is too short to have non-working pens on your desk.
17:32 i also added
17:32 up = !git fetch origin && git rebase origin/master
17:32 so I say "git up"
17:32 and it does it
17:32 yee haw, so to speak.
17:32 jcamins lol
17:33 * sekjal still wants git -r done to be an official command
17:33 wizzyrea LOLOL
17:33 magnus_afk who's putting this on the wiki?
17:33 sekjal I am
17:33 * wizzyrea bets you can do it with aliases.
17:33 magnus_afk sekjal: yay :-)
17:33 wizzyrea :D sekjal++
17:34 this is what I was looking at mostly: http://robots.thoughtbot.com/p[…]flow-with-aliases
17:34 hey, sekjal, they have one for interactive rebase
17:34 which is git ir
17:34 close to git r
17:34 sekjal nice
17:34 wizzyrea oh and a done
17:34 lol
17:35 done = !git fetch && git rebase origin/master && git checkout master && git merge @{-1} && rake && git push
17:35 (ruby guy, apparently)
17:35 (could add prove t in there if you wanted)
17:35 (same thing)
17:35 oh, I should add tests in there.
17:35 at least the template ones.
17:37 *nod* that works, sticking a prove t xt in front of git commit --amend
17:40 sekjal so = !sh -c 'prove t xt && git commit --amend -s && git bz attach -e $1 HEAD' -
17:40 wizzyrea yep, exactly
17:41 now, how to get it to prepend the first line with [Signed Off]
17:41 which was the original reason for this alias adventure.
17:42 Shane-S is there a URL value I can pass to NOT show SQL statements in the guided_reports.pl w/ phase = Run this Report, I tried &showsql=0
17:42 wizzyrea not that I'm aware of
17:43 * wizzyrea learns something about git commit -- the -n flag for "no-verify" or "skip hooks"
17:43 wizzyrea that makes hooks a lot less annoying.
17:44 that will make hooks a lot less annoying. Grammar. geez.
17:44 kyleh joined #koha
17:46 jcamins Shane-S: no, you'll have to use javascript or CSS.
17:46 sekjal prepending [SIGNED-OFF] to the first line of the commit message was a convention we used larger for the patches list, as I recall
17:47 Shane-S yeah...problem is there is no "print media" CSS section through Admin area
17:47 wizzyrea so make one :P
17:47 sekjal we may need to reevaluate it in a git-bz based workflow
17:47 cait joined #koha
17:47 wizzyrea Shane-S: you know that you can just download the results as CSV or TAB right?
17:47 most people just do that if they want to print them
17:48 the first question
17:48 wahanui it has been said that the first question is "What are you trying to do?"
17:48 Shane-S For me...no problem...for a person who can't login to email....would like to keep it at "Print"
18:03 sekjal http://wiki.koha-community.org[…]ify_command_tasks
18:06 Shane-S where are template files? using locate .tmpl didn't return anything
18:06 sekjal Shane-S:  they're .tt now, and located in koha-tmpl
18:06 Shane-S ah okay thanks
18:08 kyleh joined #koha
18:11 maximep oh, that git prompt is cooler than mine
18:14 jcamins Maybe I should try that out, see if it is helpful.
18:16 JesseM joined #koha
18:17 mveron joined #koha
18:24 JesseM joined #koha
18:25 JesseM joined #koha
18:26 kyleh joined #koha
18:29 maximep @wunder yqb
18:29 huginn maximep: The current temperature in lac st-charles, quebec city, Quebec is -7.2°C (1:29 PM EST on March 05, 2012). Conditions: Scattered Clouds. Humidity: 61%. Dew Point: -13.0°C. Windchill: -12.0°C. Pressure: 30.02 in 1016.5 hPa (Rising).
18:30 maximep @wunder cyqb
18:30 huginn maximep: The current temperature in Quebec, Quebec is -10.0°C (1:00 PM EST on March 05, 2012). Conditions: Scattered Clouds. Humidity: 73%. Dew Point: -14.0°C. Windchill: -20.0°C. Pressure: 29.98 in 1015 hPa (Rising).
18:30 bag @wunder 93109
18:30 huginn bag: The current temperature in K6LCM-Westside/Mesa, Santa Barbara, California is 19.4°C (10:30 AM PST on March 05, 2012). Conditions: Mostly Cloudy. Humidity: 51%. Dew Point: 9.0°C. Pressure: 29.96 in 1014.4 hPa (Steady).
18:30 mveron_ joined #koha
18:45 Shane-S okay okay...sometime I have to learn git....but bug 7646 (I submitted my code change)
18:45 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7646 enhancement, P5 - low, ---, gmcharlt, NEW , Printing w/o the SQL Code showing
18:46 Shane-S It looks pretty on my print preview :)
18:48 maximep maybe just a diff between the original and your modification would be a start
18:48 Shane-S I feel kinda happy I have hopefully helped add a little to the project, tiny things I wanted...but hopefully others like and can use it :D
18:50 maximep the template could change before someone can take a look at your patch, so attaching a diff would be good
18:51 Shane-S how would I do that?
18:51 jcamins Shane-S: git is easy.
18:51 version control using git?
18:51 wahanui well, version control using git is at http://wiki.koha-community.org[…]Control_Using_Git
18:52 jcamins ^^ see that document for an introduction. :)
18:52 maximep or just a diff file1 file2 > diff.patch
18:52 but a git patch would be btter
18:52 jcamins maximep: right, I wasn't answering that question.
18:53 git patch would be much better, because if you just supply a diff, you're gambling that someone else will be interested enough to reformat it into a git patch.
18:53 Shane-S I can track my bugs right?
18:53 jcamins And if the template changes, git will help resolve the conflicts, whereas diff/patch will not (as I understand it).
18:54 Shane-S If so when I get around to setting up my home system I will use git
18:54 jcamins You'll now get an e-mail every time someone modifies that report.
18:57 Shane-S well it is trackable, so I am good I documented my change well enough for me to make it again if the template does change
18:57 So hopefully when I get git on my VM at home I can apply a git change
19:03 how involved would it be to add an input field to a saved report box. I know I can do it via SQL, I just need a variable passed through.  I would add it to the WHERE clause
19:06 magnus_afk Shane-S: have you seen http://manual.koha-community.o[…]tml#reportfromsql ?
19:06 jcamins Shane-S: I think that's already done.
19:06 Where you use double angle brackets.
19:12 * oleonard wonders how the git so alias handles bugs with multiple patches
19:12 wizzyrea hm probably doesn't
19:12 jcamins oleonard: not so well.
19:13 If it were really clever, it would do a git status to get the number of patches, and then loop through them.
19:14 wizzyrea or squash them
19:14 as part of it
19:14 that would probably be something like "git squash"
19:15 * jcamins prefers preserving multiple patches.
19:15 jcamins Use git ri if you are sure you want them squashed.
19:15 * wizzyrea doesn't care so much as long as I've authored them all
19:15 wizzyrea or I have permission from the followupper.
19:15 * jcamins either, but often you'll be testing a patch by one person, and a follow-up by someone else.
19:15 jcamins Remember, I am *very* lazy.
19:16 wizzyrea lol - laziness to rival my own no doubt.
19:17 sekjal patches that can be tested separately should be kept separate.  If multiple patches depend on each other to work, then I can squashing them
19:17 wizzyrea ^^
19:17 collum joined #koha
19:17 wizzyrea I hate it when you can't test a patch without another one applied first.
19:18 but I deal :P
19:18 sekjal I've thought about labeling my multiple patches on a bug with [Step 1], [Step 2], etc
19:18 and perhaps parallel patches could be [Step 1a], [Step 1b], etc
19:19 though if I'm going to get that fine-grained, I suppose I should just file separate reports
19:20 wizzyrea yea, idk how best to handle that
19:20 sort of thing.
19:21 sekjal I'm a big fan of small, easy to test patches
19:21 not always possible, but nice when it is
19:22 jcamins I went with monolothic for bug 7284 because people were starting to get annoyed at the number of patches.
19:22 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7284 major, P3, ---, jcamins, Passed QA , Authority matching algorithm improvements
19:22 jcamins Also, I kept on rewriting history.
19:23 Easier to say "okay, create a new branch and apply this one patch" than "okay, create a new branch and apply thirty patches."
19:23 wizzyrea yea, that's a huge feature. We did the same with 7001
19:23 went for monolith.
19:23 or srdjan did
19:24 (bless his patient heart. I keep saying it because it's true)
19:26 Shane-S magnus_afk / jcamins : Says it is limited to branches, itemtypes, and categorycode, I need borrowers sort1 sort2
19:26 sekjal ah, that reminds me, bag was asking me to look at bug 7641 on Frida
19:26 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7641 enhancement, P5 - low, ---, kyle.m.hall, Signed Off , Add ability to suspend reserves.
19:27 Shane-S nm that is for drop downs
19:29 sweet that is awesome!
19:30 Thanks guys...FYI Koha is massive, you should have Koha Certification classes to pay yourselves and make the project $$ :P
19:30 Just start that after I learn more first ;)
19:32 wizzyrea Koha *is* massive.
19:34 cait every ILS is I think
19:34 magnus_afk @get quote 123
19:34 huginn magnus_afk: Error: The command "get" is available in the Dunno, Herald, Lart, Quote, and ReleaseDay plugins.  Please specify the plugin whose command you wish to call by using its name as a command before "get".
19:34 wahanui i already had it that way, huginn.
19:35 jcamins @quote get 123
19:35 huginn jcamins: Quote #123: "rangi: #thingsihavelearnt if there is a mad scheme a library somewhere will be doing it ... except madder" (added by wizzyrea at 09:20 PM, March 30, 2011)
19:35 magnus_afk thanks jcamins
19:35 @dunno
19:35 jcamins magnus_afk: I thought Shane-S might not have been able to translate that into a quote. ;)
19:35 huginn magnus_afk: I suck
19:39 * magnus_afk wanders off
19:47 gmasters joined #koha
19:49 Shane-S Would the 3.2 Manual apply to 3.6, I need the PDF to print out for my Librarian so we can earmark and notate things we need, have done, or will do.
19:51 oleonard It will apply where they are the same. It won't apply where they are different.
19:51 wizzyrea I thought they were generating pdf's for that
19:52 Shane-S apparently I lost wifi...I missed the response
19:52 oleonard Shane-S: It will apply where they are the same. It won't apply where they are different.
19:52 gmasters joined #koha
19:52 wizzyrea and "I thought they were generating pdf's for that"
19:52 ping rangi - is jenkins still generating the pdf's for the manual?
19:52 or did we stop doing that?
19:53 Shane-S: it's not tooooo difficult to make your own pdf if you use linux
19:53 i might even be nice and make one for you if you ask nicely ;)
19:54 gmasters I just installed koha 3.06.04 and want to migrate my OPAC from OpenBiblio 0.6.1. The CSV report doesn't give full MARC records just my in-house accession numbers, call numbers, titles and collection names. Is there are a well-documented procedure that will help me complete the migration
19:54 wizzyrea oh wow.
19:55 we had a library go from openbiblio -> koha, but we didn't do the migration ourselves.
19:55 marcedit, you will need it :/
19:56 bag @wunder 93109
19:56 huginn bag: The current temperature in K6LCM-Westside/Mesa, Santa Barbara, California is 23.6°C (11:55 AM PST on March 05, 2012). Conditions: Mostly Cloudy. Humidity: 42%. Dew Point: 10.0°C. Pressure: 29.95 in 1014.1 hPa (Steady).
19:56 gmasters I do have that. Am I going to have to use my CSV listing from OpenBiblio and re-pull all my records (I have over 550 volumes in this rapidly growing library!)
19:56 bag yeah it's been hot here lately
19:57 jcamins gmasters: just be glad it's five hundred fifty and not fifty-five hundred or fifty-five thousand. ;)
19:58 gmasters Good point. I'll use the CSV and repull. I'll also try to document the procedure I used so that others will have it. OpenBiblio is very inactive. It was fine when I took over the library, but we have been growing exponentially and want to start a consortium of member libraries.
19:59 wizzyrea *nod* openbiblio was the first open source ILS we tried here at NEKLS too (for one small, poor library)
20:00 Koha will be a *much* better fit for you
20:00 in all truth, koha and openbiblio were about equivalent in terms of function at the time. Not anymore though.
20:00 it was years and years ago
20:00 gmasters Our local public library cataloger also recommended it to me highly.
20:01 oleonard When was that wizzyrea?
20:01 wizzyrea let's see, way pre-3.0
20:01 i remember I looked at koha and it was a lot more confusing than openbiblio
20:01 OB was a lot easier to use then Koha pre-3.0
20:01 * Shane-S had the same experience in 2008/2009
20:01 wizzyrea s/than/then/
20:01 gmasters A few months ago. My wife works for the Sunnyvale Public Library and their cataloger is into OSS even though they use Millenium
20:02 jcamins gmasters: I am a cataloger, but I get a lot of grief about catalogers not liking Koha.
20:02 wizzyrea 2005-2006?
20:02 wahanui -1
20:02 wizzyrea thanks wahanui :P
20:02 oleonard Heh.
20:03 * wizzyrea didn't know he did arithmetic
20:04 gmasters thanks all
20:04 wizzyrea sure, pop back anytime
20:04 Shane-S wizzyrea: So how would one go about making a PDF w/ Linux?
20:05 OMG...nearly 400 pages...Add duplexing...200 sheets of paper...hmm...not sure I can bind that :P
20:05 wizzyrea https://github.com/wizzyrea/Sc[…]er/PDF-convert.sh
20:05 you need
20:05 docbook2html
20:06 and xhtml2pdf
20:06 Shane-S I might just print the key pages we need instead :D
20:06 wizzyrea but that's the basic gist.
20:06 Shane-S ah okay thanks wizzyrea
20:07 wizzyrea that script converts it to html, adds the stuff to each page for pagenumber, tidies, then converts it into pdf
20:07 jcamins You can also just print to PDF if you're lazy like me.
20:07 wizzyrea or that
20:07 from what, jcamins?
20:07 your docbook viewer?
20:08 jcamins wizzyrea: the website.
20:08 wahanui rumour has it the website is http://www.koha-community.org
20:08 wizzyrea oh you mean page by page?
20:08 or section by section I guess.
20:08 Shane-S yeah how do you view it in whole?
20:09 wizzyrea it's a git repo, you can just download the source ;)
20:09 it's in docbook format
20:09 jcamins There's also a page with the entire manual.
20:09 Shane-S I meant online :P
20:09 jcamins No link to it, though...
20:09 wizzyrea ! lol, uh, there is?
20:09 where?
20:09 well shit, dawg.
20:09 * wizzyrea will put a link to it if you provide it :P
20:10 scolds jcamins for holding out
20:10 taps her toe impatiently
20:10 Shane-S so uh...http://koha-community.org/koha-3-6-1/ seems <pre> should be replaced with something that will wrap :P
20:10 jcamins wizzyrea: I'm trying to remember.
20:10 wizzyrea oh, in that case take your time >.>
20:10 jcamins wizzyrea: I used to have shell access. :P
20:10 wizzyrea mhm
20:10 we could just convert it
20:11 rangi wizzyrea: naw, jenkins isnt doing it anymore
20:11 wizzyrea k ty, I coudln't remember
20:12 oh hell I'm in.
20:13 !
20:13 sorry to be sweary today
20:14 maximep anyone remember having problems with the syspref QueryAutoTruncate not working correctly ?
20:14 cait hm yes
20:14 maximep set to only if * is added and it shows the same results with or without *
20:14 cait with icu I think
20:15 maximep -_-
20:15 how do I find out if i'm using icu
20:15 ah
20:15 zebraisx -V = using ICU
20:15 wizzyrea try
20:15 http://manual.koha-community.o[…]3.6/en/manual.pdf
20:15 maximep -_-
20:18 cait maximep: if you have not actiaved it manually, you are not using it
20:19 kathryn joined #koha
20:19 cait maximep: and I don't rmember the problem clearly :( could be in twas in combination with one of the other search prefs
20:19 Shane-S wizzyrea: thanks, but did jcamins ever jog his memory?
20:19 wizzyrea Shane-S: that's probably the link he was thinking of
20:19 jcamins wizzyrea: there's no manual.html?
20:20 * Shane-S wonders if wizzyrea toe hurts yet
20:20 kathryn good morning!
20:20 wizzyrea hi kathryn
20:20 * Shane-S notes that .pdf says 3.4
20:21 maximep yeah, probably a difference in some other pref because same zebra and doesn't work on one
20:21 * cait waves
20:22 * kathryn waves back
20:22 Shane-S jcamins: I tried manual.html, full.html, man.html, complete.html (no luck)
20:22 oleonard Man, testing template changes in multiple translations is a pain in the butt
20:22 cait oleonard: what are you trying to do?
20:23 wizzyrea Shane-S: I'll just tell you now, a monolith html doesn't exist on manual.k-c.org
20:23 there's a pdf, but it looks to be out of date.
20:23 (and is a bit ugly anyway)
20:23 maximep I guess you could download all the html pages hehe
20:23 wget mirror style :p
20:23 Shane-S oh well, thanks for looking, I can't print the whole thing anyway
20:24 I will just print out what she asks for
20:24 wizzyrea no, your best bet is going to be either convert it from docbook yourself to get a monolith, or wait a bit on me :P
20:25 Shane-S oh no....gut check time...apt-get just updated Koha...
20:26 * Shane-S wonders if files changed on me
20:28 Shane-S wait I think apt-get update just updates the file listings right?
20:30 mveron joined #koha
20:31 Shane-S any quick way to check my version?
20:31 wizzyrea more -> about koha
20:31 Shane-S damn...3.06.02
20:31 how do I make it update to 3.06.04?
20:31 I used packages
20:32 mtate joined #koha
20:32 rangi there isnt a package for 3.6.4 yet, it was only released yesterday, wait a couple of days
20:33 there is 3.6.3 tho, you could upgrade to that if you wanted to or just wait for 3.6.4
20:33 Shane-S I just want to test if it works and/or breaks my print change
20:34 rangi it will, if you locall modified files
20:34 Space_Librarian joined #koha
20:34 rangi then it will
20:34 Shane-S yeah I did
20:34 wizzyrea *nod* don't do code changes on a package install.
20:34 rangi wether you upgrade with packages or the tarball
20:34 wizzyrea do your dev on a git install, submit, qa, then get it back when it makes it in ;)
20:34 rangi im pretty sure 50,000 people have said this already, but use git
20:34 if you want to do dev
20:34 wizzyrea ^^^^^
20:35 rangi then deploy to production with packages
20:35 wizzyrea trust rangi, we all do.
20:35 cait ^^^^^
20:35 rangi i dont
20:35 cait :)
20:35 rangi that guys a clown
20:35 wizzyrea :)
20:35 a *brilliant* clown.
20:35 Shane-S how does git go to a package...aren't they seperate?
20:35 rangi the best way
20:35 wahanui the best way is to make the local sendmail server relay via my google mail service
20:36 wizzyrea forget the best way
20:36 wahanui wizzyrea: I forgot best way
20:36 wizzyrea silly
20:36 rangi get your changes into master, then they will come out in the next package
20:36 the 2nd best way
20:36 wizzyrea ^^^^
20:36 roll your own package
20:36 from git.
20:36 rangi use debian/build-git-snapshot
20:36 to build your own packages
20:36 Shane-S rangi...let me ask this....say I have my server from packages (easier install), but I use a home system with git to publish my changes, can my server be tied to my packages?
20:37 * Shane-S bear in mind I can even make a install.php file for a basic "hello world" script
20:37 * Space_Librarian pulls out the popcorn
20:37 Shane-S I can't*
20:38 * wizzyrea giggles at Space_Librarian
20:38 Shane-S I only ask that because I won't be making many changes on the server if it is a production system
20:38 wizzyrea ^^ smart
20:38 * Space_Librarian shares the popcorn with wizzyrea as they watch rangi be clownish
20:38 * wizzyrea nibbles
20:38 jcamins Shane-S: don't *ever* make code changes on a production system run off packages.
20:39 rangi what jcamins said
20:39 * wizzyrea nods
20:39 oleonard Since when does the language chooser not reflect the currently-chosen of multiple language variants? (fr-FR, fr-CA)
20:39 wizzyrea listen to the sages.
20:39 * Space_Librarian agrees
20:39 wizzyrea oleonard: I thought it was me >.< but it hasn't for a while
20:39 jcamins Shane-S: there are two important corollaries: don't make code changes on a production system, and don't make code changes on a system run off packages.
20:39 rangi you make your changes test them on a staging/test system, build and deploy packages to production
20:39 maximep just fyi, QueryAutoTruncate didn't work because QueryWeightFields  was turned on
20:39 looks like a bug to me :S
20:39 wizzyrea i assumed I did something wrong with translations.
20:39 rangi oh, good catch maximep
20:40 jcamins There's an old bug for that.
20:40 maximep of course there is :/
20:40 rangi oleonard: i was complaining about that the other day also
20:40 wizzyrea (being a dumb english speaker and all)
20:40 Shane-S okay...I will come back to this when I learn git...
20:40 rangi your life will be a million times easier Shane-S :)
20:40 wizzyrea Shane-S: it's really a lot... easier... than you think
20:41 * Shane-S walks away head down, hands in pockets, kicking dirt :P
20:41 jcamins hdl reported it, I think, but I didn't have time to test to see if it was still an issue.
20:41 Shane-S: see my e-mail to the list about git resources.
20:41 wizzyrea also we're here to help, and we like talking about git because every time we talk about it we learn something new
20:41 jcamins Actually, I never sent that e-mail to the list.
20:41 wizzyrea (that's not even a lie)
20:41 * jcamins doesn't have time to send the e-mail to the list now, so...
20:42 jcamins Shane-S: PM me your e-mail address?
20:42 * Shane-S has a Pinky & the Brain moment...are you pondering what I am pondering...how this can pay my salary so I can have the time to learn this...
20:42 wizzyrea if you do any kind of coding at all in your job
20:42 it will be great to know git.
20:43 not just great. Fabulous.
20:43 worth every penny of your salaried time to learn it.
20:43 * Shane-S is paid to know everything, do everything, and then explain....I am just a single human in the IT field
20:44 * oleonard dusts off git bisect
20:44 Shane-S alright all I have to split, thanks for the help
20:44 I have to go exchange toners :P
20:44 jcamins Okay, time to run off to the printers'.
20:44 Heh.
20:44 Similar tasks for similar times.
20:45 Shane-S lol jcamins yep
20:45 jcamins I'll be back later... much.
20:45 cait bye jcamins
20:45 Shane-S 49x don't fit our printers, need 49a
20:45 mveron I heard you all, my dev / git installation is ready... It finally runs paralel to the package installation, listens to port 81 and 8081
20:45 jcamins lol
20:45 Woohoo!
20:45 mveron++
20:45 rangi nice work mveron
20:45 mveron Thanks! I must say I'm a little bit proud....
20:45 cait mveron++ :)
20:46 mveron So I'm keen (ungeduldig) to do my first little step with git.
20:46 kathryn joined #koha
20:47 cait mveron: branches are your friend
20:47 :)
20:49 mveron We need Swiss Francs (CHF) as Currency Format, so I branched out, inserted the code in ascquisitions.pref. Works. What would be the next step?
20:49 rangi oh
20:49 what you really want to do
20:50 is build a TT plugin, like we have for Dates, for currencies
20:50 wizzyrea version control using git
20:50 wahanui version control using git is at http://wiki.koha-community.org[…]Control_Using_Git
20:50 wizzyrea specifically http://wiki.koha-community.org[…]_on_Koha_with_Git
20:51 rangi then the templats can just format the number in the appropriate format, without having to muck around in the .pl files
20:51 if you look in Koha/Template/Plugin/
20:52 you will see a file KohaDates.pm
20:53 cait mveron: why in acq.ref?
20:53 rangi http://wiki.koha-community.org[…]#Displaying_dates
20:53 cait the format therer eis hardly used anywhere
20:53 rangi be better the i18n tab?
20:53 cait what you want to do as a first step is insert it into administration > currencies, set it to 1 and make it active :)
20:54 rangi: sorry, just started reading back. there is a currency formatting thing in acq
20:54 mveron cait: Because there are choices like US: 360'000.00 (US) , for Euro as well, so I added CH: 360'000.00 (CHF) as additional choice...
20:54 cait but it's hardly used anywhere, only on a few screens I think
20:55 mveron: i doubt it will be enough
20:55 rangi yeah mveron what im saying is currently we do it badly, and if you want formatted currency in the opac, or somewhere else
20:55 you have to go touch .pl files
20:55 cait mveron: I think I use FR in our installations, similar enough. but as I said, it's hardly used anywhere for display - that system preference, only a few places in acq
20:55 rangi if we had a plugin, that used the syspref
20:55 then it would just be touching .tt files
20:55 wizzyrea that really would be top notch.
20:55 rangi much easier
20:56 cait and very easy to add more formats later on :)
20:57 mveron me/ I just want prevent potential Koha-Users in Switzerland to say: "They not even can display our currency".
20:57 cait mveron: we never got any complaints if that helps :)
20:58 mveron cait: How many Koha-Installations in Switzerland?
20:58 cait but it's true, it would be nice if Koha could do it better :(
20:58 7 in germany, but it's wrong here too
20:59 rangi yep, i just want us to fix it properly so we dont have to redo this all again for the next currency
20:59 :)
20:59 * cait nods
20:59 mveron Oh... I see. I just wanted to make a little joke about Euro :-)
20:59 cait if we get the plugin right
20:59 mveron But you are rigt, it should be done à fond.
20:59 cait ew could try to insert it into the templates in marseille perhaps
21:00 rangi the way the eurozone is going, who knows how long we will have the euro :)
21:00 cait could be a good time perhaps to step through lots of templates in a group
21:01 * mveron Just wanted to have some small thing to get used to git / patch / etc...
21:01 rangi well if you add the syspref and write the logic to format it
21:01 ill turn that into a plugin for you
21:02 cait not sure if we should reuse the existing pref
21:02 rangi you can move it
21:02 cait but might be cleaner to add a new pref in i18n?
21:03 rangi hmmm 2 prefs for currency?
21:03 that might get messy really fast
21:03 cait no, get rid of the other
21:03 rangi id just move it
21:03 cait not sure how that works really
21:03 rangi you can move it by just changin what .pref file its in
21:03 simple as that
21:04 cait talking about the other pref
21:04 mveron You would have to extract tohe format string form "EURO: 360,000,00...
21:04 cait how it formats and where it's used
21:05 mveron: that does not look right
21:06 mveron rangi: I think 2 prefs would be OK, one to do the formats and one to choose. Anyway, there could be situations where you need e.g. CHF and EURO
21:06 So you need to be able to properly format all currencies.
21:07 sekjal would need to be able to indicate the formatting style for manually added currencies
21:08 so, a set of formats, and then each currency can be associated with one
21:08 rangi my first step would be get it in a plugin, and just add CHF to the list koha can format, next step would be to allow arbitrary formats
21:08 else you are doing it the hardway
21:09 consilidate code first, then change it
21:09 mveron rangi: I agree.
21:10 ...and add Euro in the same step. I dont'think they want t use CHF in Germany  :-) CHF is to heigh  :-) (Which is a problem for us).
21:12 I propose to file a bug / enhancementfor the currency thing (maybe there is alredy one?)
21:13 rangi yeah have a search, and file one
21:14 mveron And then look to find a very tiny, little bug/enhancement, because I would like to walk through the whole process... Just for learning...
21:14 Ok, Rangi, will seachr & file...
21:14 * mveron Should put his glasses
21:15 cait tired - night all!
21:17 mveron Good night, cait
21:17 wizzyrea gnite cait
21:17 cait :)
21:18 cait left #koha
22:00 mveron rangi: I found Bug 4078 - Display active currency symbol on currency output and input
22:00 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=4078 trivial, P5 - low, ---, aleksa, In Discussion , Display active currency symbol on currency output and input
22:00 mveron Patch by Aleksa Vujicic. Paul Poulin commented: "I think it's the *perfect* candidate for Template::Toolkit plugins."
22:00 Aleksa did a lot of work to find where in the code such function would apply (an dadded to patch).
22:00 IMHO the sub could be renamed / refactored not only to put a currency Indicator, but do the formatting as well
22:02 maximep hmmm and is that patch only for "$" or for "$ CAD" ?
22:04 mveron I would need such patch for CHF (Swiss Francs).
22:07 Enoria joined #koha
22:29 * Space_Librarian eyes her catalogue warily
22:30 mveron ?
22:31 Space_Librarian my catalogue caches, and I have to wait for the hour to see how it looks.
22:31 * Space_Librarian and the awesome wizzyrea have been hacking subfields
22:32 mveron Oh, my fvorite movie: Some gauge running through, waiting until it is finished
22:32 Space_Librarian :)
22:33 mveron The Zen of gauge... (or something like this...)
22:33 rangi your catalogue caches?
22:34 Space_Librarian seeing if we can get the 490a to display as a subtitle in the short form records of the articles...
22:34 it should work
22:34 but it's not showing in the opac yet
22:34 rangi ah yep
22:34 hmm it should show pretty much instaneously .. is there some kinda proxy between you and the catalogue?
22:35 Space_Librarian you would know better than I.
22:35 rangi well theres not at our end
22:35 Space_Librarian There are many things, Horatio... that work in the staff client and don't quite do it on the opac
22:35 wizzyrea memcache wouldn't affect it?
22:36 * wizzyrea doesn't know how it works
22:36 * Space_Librarian doesn't either
22:36 wizzyrea (in practice)
22:36 rangi you did it with keyword to marc mappings?
22:36 * Space_Librarian nods
22:36 rangi do you xslt display switched on for both ?
22:36 * Space_Librarian looks at wizzyrea
22:36 wizzyrea yep
22:36 Space_Librarian yup. Checked that
22:37 rangi then nope no idea, theres no caching of detail pages at this end
22:37 wizzyrea results either
22:37 Space_Librarian oh geez. this just keeps getting better.
22:37 wizzyrea http://catalog.nexpresslibrary[…]l?q=naruto&limit=
22:38 this is what ours looks like with the subtitle/volume keywords on
22:38 as far as I've been told you can stick any marc field in those mappings and it'll show up where the subtitle goes
22:38 also: we should make more keywords.
22:38 Space_Librarian and that looks good
22:38 wizzyrea :P
22:39 Space_Librarian more keywords. yes
22:39 rangi whats a good search to test with Space_Librarian ?
22:39 Space_Librarian emar2012
22:39 all the articles we're about to promote
22:42 rangi so 490 is the series statement right?
22:42 Space_Librarian yup.
22:42 490a
22:44 rangi interesting
22:45 Space_Librarian that's never a good sign.
22:46 rangi the only Other Title in the xsl for the opac is for 246
22:46 * Space_Librarian looks blankly at rangi
22:46 Space_Librarian I thought I'd changed that
22:47 rangi no not you, is in the xsl im just seeing where the subtitle bit is referenced in the xsl
22:47 and its not
22:48 the reason it shows up for liz
22:48 is this
22:48 <xsl:if test="marc:subfield[@code='b']">
22:48 <xsl:text> </xsl:text>
22:48 <xsl:call-template name="subfieldSelect">
22:48 <xsl:with-param name="codes">b</xsl:with-param>
22:48 </xsl:call-template>
22:48 </xsl:if>
22:48 Space_Librarian ah-ha.
22:48 rangi its showing the 245b
22:48 because the xsl is telling it to
22:48 wizzyrea we show the p and n and 490v as well
22:48 and afaict they all show... or maybe they don't.
22:49 rangi yep
22:49 Space_Librarian :s so confuzzed
22:49 rangi nothing to do with keywords tho
22:49 the xslt has no idea about that
22:49 Space_Librarian coolio
22:49 wizzyrea we have those all mapped in keyword -> marc mapping, they didn't show before, and now they do? THis seems odd to me based on what you're saying
22:50 http://screencast.com/t/Bmc9rmebYlNK
22:50 rangi can you show me one of that has 490 showing in your result list?
22:50 wizzyrea like so
22:50 sec
22:51 rangi do you have xslt on liz?
22:51 wizzyrea yep
22:51 and nothing special afaik
22:51 rangi cos looking at the code, nothing in here looks for keywords
22:51 but if you can find one with a 490v showing i can find out how its oding it
22:51 wizzyrea k sec
22:53 sorry, lol, takes a sec to find one I had to ask ^.^
22:56 rangi http://library.nzica.com/cgi-b[…]iblionumber=34847  <-- Space_Librarian i can see the 490a here .. so its just the results page you want it?
22:56 wizzyrea ok don't be mad - the v doesn't show in the opac
22:56 rangi hehe
22:56 wizzyrea but it does in the intranet :)
22:56 rangi not mad, just way less puzzled
22:56 yeah
22:56 xslt is different there
22:56 Space_Librarian yeah, we sorta need it in the results page.
22:56 it's fine in the full record
22:57 rangi because results in intranet ... doesnt use xslt :)
22:57 lemme try something
22:57 wizzyrea moar keywords :)
22:57 rangi (there is no results xslt for intranet)
22:57 so it uses normal, which does keywords xslt doesnt, and never has
22:58 http://library.nzica.com/cgi-b[…]rch.pl?q=emar2012
22:58 thats normal results display in the opac, and now, we have subtitles
22:58 wizzyrea hrm
22:59 rangi so there are 2 options, go with normal
22:59 MARC21slim2OPACResults.xsl
22:59 to display 490
22:59 wizzyrea not so keen on intranetxslt then bc our librarians lurve the subtitles
22:59 + volume stuff
22:59 and series info
22:59 rangi yep you can of course make the xslt show them
23:00 but it has to be something everyone wants to upstream it
23:00 Space_Librarian: that link was for you
23:00 wizzyrea I simply cannot imagine that people would *not* want to see the subtitles in results
23:00 @quote get 123
23:00 huginn wizzyrea: Quote #123: "rangi: #thingsihavelearnt if there is a mad scheme a library somewhere will be doing it ... except madder" (added by wizzyrea at 09:20 PM, March 30, 2011)
23:00 Space_Librarian gotit. Ta! :)
23:00 wizzyrea but there is that.
23:00 * wizzyrea sighs
23:01 wizzyrea well we have "link to custom xslt" now
23:01 Space_Librarian it is mad.
23:01 wizzyrea don't we?
23:01 so you can make your own and get rid of it if you don't like it :P
23:01 Space_Librarian Our reference librarian loves
23:01 it*
23:01 rangi not yet we dont
23:01 wizzyrea oh it's 5.
23:01 ha
23:02 Space_Librarian Yet the & are displaying as &amp; in the titles on the opac.
23:03 wizzyrea that was a bug
23:03 Space_Librarian Our cataloguer is having a heart attack. This is hilarious.
23:03 rangi just switch back to xslt
23:03 oh wait i just did
23:03 Space_Librarian wizzyrea++
23:03 rangi++
23:03 rangi back how it was
23:04 wizzyrea bug 7535
23:04 Space_Librarian awesome.
23:04 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7535 minor, P5 - low, ---, ruth, Pushed to Master , OPAC displays ampersands incorrectly.
23:04 wizzyrea fixed now though
23:04 Space_Librarian rofl
23:04 rangi so probably what you want is the 490(all subfields) to display in the xslt
23:04 wizzyrea *nod*
23:04 Space_Librarian you turned it back on, and we lost the 490a lol
23:04 rangi yes
23:04 like i said you can have xslt
23:05 or the 490a
23:05 at the moment
23:05 Space_Librarian Okay.
23:05 I need lunch, and I will think on it.
23:05 wizzyrea or you can go up to 3.6 4 and get that tiny patch >.>
23:05 * wizzyrea cackles
23:06 rangi yep or tht
23:27 maximep left #koha
23:52 Space_Librarian orly...
23:53 rangi that would fix the amp issue, so you could use normal view in the results page
23:53 Space_Librarian the thing is... could it display on the next line...
23:54 rangi but you might like the icons etc that you get in xslt
23:54 it could if you made the xslt display the 490
23:54 not using the keywords method
23:56 ky joined #koha
23:57 ky Hi All, Does anyone here have any experience with Koha + Vufind ?
23:57 rangi not me

← Previous day | Today | Next day → | Search | Index

koha1