IRC log for #koha, 2017-01-16

All times shown according to UTC.

Time S Nick Message
00:03 papa joined #koha
02:35 dcook Interesting... I had started to avoid DBIx::Class because people said it was a performance killer
02:36 dcook But I'm actually noticing no difference when using it vs using DBI directly..
02:36 dcook In fact, I think it might be ever so slightly faster
02:36 dcook Well, that might be coincidence. I think it's exactly the same.
02:46 dcook mmm but that's with a single requst. I wonder at scale...
03:05 wizzyrea eythian:[…]irely-wind-energy whaaaaaat
03:32 dcook Even with 100 records instead of 3... time seems about the same, so that's good
04:51 cait joined #koha
05:18 magnuse_ joined #koha
05:19 * magnuse_ waves
05:23 magnuse left #koha
05:23 magnuse joined #koha
06:49 ashimema joined #koha
06:59 magnuse joined #koha
07:00 magnuse @wunder enbo
07:00 huginn magnuse: The current temperature in Bodo, Norway is -4.0°C (7:50 AM CET on January 16, 2017). Conditions: Clear. Humidity: 80%. Dew Point: -7.0°C. Windchill: -12.0°C. Pressure: 30.15 in 1021 hPa (Steady).
07:01 LibraryClaire joined #koha
07:04 LibraryClaire morning #koha
07:28 * LibraryClaire watches tumbleweeds roll by
07:28 LibraryClaire @wunder kopnstanz
07:28 huginn LibraryClaire: Error: HTTP Error 404: Not Found
07:28 LibraryClaire @wunder konstanz
07:28 huginn LibraryClaire: The current temperature in Mainaustraße, Konstanz, Germany is -1.3°C (8:20 AM CET on January 16, 2017). Conditions: Light Snow. Humidity: 88%. Dew Point: -3.0°C. Windchill: -1.0°C. Pressure: 30.15 in 1021 hPa (Steady).
07:30 marcelr joined #koha
07:30 marcelr hi #koha
07:33 LibraryClaire hey marcelr
07:34 marcelr hi LibraryClaire
07:34 fridolin joined #koha
07:34 fridolin hie tehre
07:34 LibraryClaire salut fridolin
07:35 marcelr bonjour fridolin
07:35 fridolin LibraryClaire: magnuse marcelr and ohers, le bonjour
07:36 paul_p joined #koha
07:40 alex_a joined #koha
07:40 alex_a bonjour
07:41 LibraryClaire hey alex_a
07:42 alex_a hello LibraryClaire
07:43 alex_a @wunder Konstanz
07:43 huginn alex_a: The current temperature in Mainaustraße, Konstanz, Germany is -1.2°C (8:40 AM CET on January 16, 2017). Conditions: Light Snow. Humidity: 88%. Dew Point: -3.0°C. Windchill: -1.0°C. Pressure: 30.15 in 1021 hPa (Steady).
07:43 LibraryClaire snow
07:43 alex_a @wunder Guéret
07:43 huginn alex_a: The current temperature in Lotissement en campagne, Sainte-Feyre, France is 2.3°C (8:38 AM CET on January 16, 2017). Conditions: Rain. Humidity: 97%. Dew Point: 2.0°C. Windchill: 2.0°C. Pressure: 30.12 in 1020 hPa (Steady).
07:43 reiveune joined #koha
07:44 reiveune hello
07:44 LibraryClaire turns out cycling in snow is quite exciting. And not always in a good way
07:44 LibraryClaire hi reiveune
07:44 reiveune salut LibraryClaire
07:47 alex_a LibraryClaire: you need that: http://medias.legrandbornand.c[…]mgp0482_copie.jpg
07:49 LibraryClaire omg yes :D
07:53 eythian @wunder Jordaan, Amsterdam
07:53 huginn eythian: The current temperature in Ten Kateplein, Amsterdam, Netherlands is 5.0°C (8:49 AM CET on January 16, 2017). Conditions: Clear. Humidity: 74%. Dew Point: 1.0°C. Windchill: 5.0°C. Pressure: 30.30 in 1026 hPa (Steady).
07:53 eythian @wunder ams
07:53 huginn eythian: The current temperature in Amsterdam, Netherlands is 0.0°C (8:25 AM CET on January 16, 2017). Conditions: Clear. Humidity: 93%. Dew Point: -1.0°C. Windchill: -2.0°C. Pressure: 30.30 in 1026 hPa (Steady).
07:54 eythian I'm not sure about that weather station.
08:10 drojf joined #koha
08:11 drojf hi #koha
08:13 LibraryClaire moin drojf
08:14 drojf hi LibraryClaire
08:23 Francesca joined #koha
08:26 ashimema joined #koha
08:29 gaetan_B joined #koha
08:29 gaetan_B hello
08:30 sophie_m joined #koha
08:32 LibraryClaire hi gaetan_B
08:48 sameeenz joined #koha
09:10 Joubu @later tell khall I have just attached a followup on bug 6782. I think it can be pushed bypassing the usual so+qa workflow
09:10 huginn Joubu: The operation succeeded.
09:20 irma joined #koha
09:22 Joubu @later tell francharb we are waiting from an answer from you in
09:22 huginn Joubu: The operation succeeded.
09:22 Joubu arg
09:23 Joubu @later tell francharb we are waiting from an answer from you on 11882
09:23 huginn Joubu: The operation succeeded.
09:23 LibraryClaire Hi Joubu
09:23 Joubu hi LibraryClaire, how are you doing?
09:23 cait joined #koha
09:23 LibraryClaire Joubu: yeah I'm alright. Cold!
09:25 Joubu move South, the weather is mild here :)
09:26 LibraryClaire I thought I was south! :D
09:31 Joubu cait: Are you around?
09:31 mape joined #koha
09:31 cait kind of
09:31 cait sitting in a cafe for 15 more minutes :)
09:31 Joubu cait: ok, try to be quick
09:31 cait and yeah... it's too cold
09:32 Joubu cait:[…]nuary/047053.html
09:32 Joubu there are some stuffs that should not happen because it's not possible in a normal workflow
09:32 cait hm link still loading
09:33 Joubu but, for instance, updated_on is in 16.11 and backported to 16.05
09:33 Joubu and... you are not 16.05 RM anyway, so you are not the right person, sorry
09:33 Joubu monday morning...
09:33 cait hehe no problem
09:33 cait but you are right, i was looking at it too
09:34 cait if we wanted to fix it tho...
09:34 cait we'd need to fix it in 16.11 and mster
09:34 Joubu but basically updated_on is added in 16.05 and 16.11
09:34 cait to avoid the error message
09:34 Joubu that raises the error
09:34 Joubu yep
09:34 cait did you check the refund_lot_item_fee_rules table too?
09:35 Joubu I added 3 sub to C4::Installer to check the existence of column, constraint, fk. I think we will need to backport them
09:35 cait i was wondering if they might have loaded the data in a newer db
09:35 Joubu refund_lot_item_fee_rules looks ok
09:35 cait hm is that the 5.7 fix
09:35 cait ?
09:35 cait i think i pusehd that last night if it was
09:35 Joubu yes
09:35 cait which reminds me... *checks jenkins*
09:35 Joubu yes you did
09:35 cait ah cool
09:35 cait only the arabic po file is failing now
09:36 cait https://jenkins.koha-community[…]Build/testReport/
09:36 mtj hi cait, Joubu... just reading above ^
09:36 cait not sure yet how to test those pre_rleease
09:36 cait hi mtj
09:37 drojf is the library code part of the free OPAC search? and if so, how do i get rid of that?
09:37 cait Joubu: so we just need a fix for master and 16.11.x adding the checks to the updatedatabae?
09:37 cait drojf: ?
09:37 Joubu yep
09:37 cait are you using the library pull down next to simple search?
09:37 cait or usemylibraryfirst or something like that?
09:38 cait ah, I wrote to bgkriegel to prepare string freeze - might happen today :)
09:38 cait just a note for people reading here
09:38 mtj hmm, did the backport of 'updated_on' cause some upgrade problems for 16.11?
09:38 drojf cait: in institution wants to find their stuff easily, but it shows everything, and i think it is because of the code, but i'm checking the data
09:38 cait mtj: yep
09:38 cait that's why we need to be extra careful with database changes
09:39 cait if you just backport, it will cuase errors for 'duplicate' for the versions up
09:39 cait because the columns is already there when it shouldn't be, make sense?
09:40 Joubu not upgrade problem, just a warning. It depends if you call a warning a problem :)
09:40 Francesca joined #koha
09:41 cait Joubu: problem is people can't tell - only we can
09:41 cait it looks red and scary
09:41 Joubu yes but does not corrupt the DB
09:42 Joubu cait: did you already have a look at the ar-Arab po file?
09:42 cait it's a translation error
09:42 cait it got in with the po file update
09:42 cait but i am not sure how to run the tests jenkins does, so i could just fix it before release
09:43 cait pushing po files is one of the last hings i do, so jenkins was not finished last time :)
09:43 mtj cait, yep.. makes sense :)
09:43 mtj looks like its bug 10459
09:43 huginn Bug[…]_bug.cgi?id=10459 minor, P5 - low, ---,, RESOLVED FIXED, borrowers should have a timestamp
09:44 Joubu mtj: I am going to fix it
09:44 cait Joubu: yeah, not critical, but generally good if we could avoid this
09:48 cait bye all
09:50 Joubu @later tell cait it's junitmsgfmt, to use it, install the translate-toolkit package, then `junitmsgfmt misc/translator/po/ar-Arab-staff-prog.po`
09:50 huginn Joubu: The operation succeeded.
09:54 mtj 10459 seems like a good bug to *not* backport
09:55 mtj ..its got low/minor status - and has db table changes
10:03 kivilahtio bag: I talked with kidclamp about BWS's plan to start piloting ES for Koha 17.05 . He told me that he has been working with ES and the same Bug 17255 I shared patches to Bugzilla for. I have similar plans for us. We discuss this wednesday what we are going to do with ES. My tests show that using ES cuts 10 seconds on some searches load time, so it might be a no-brainer to focus on ES. But we have many 3rd party integrations we need to
10:03 kivilahtio rebase to the newest master, so not sure if anybody in Finland can work with ES on Q1. I made a list of things that need to be resolved to use ES in production and did some time-estimates on those. Would be nice if kidclamp could comment on that.
10:03 huginn Bug[…]_bug.cgi?id=17255 normal, P5 - low, ---, srdjan, ASSIGNED , Upgrade Elastic Search code to work with version 5.1
10:04 kivilahtio Anyway, I am ready to do sign offs, on those topics and please correct me if there is anything you think should be added or removed. I hope we can get ES into production while we upgrade to the newest communit version. The speed improvement is gargantuan and our librarians will be truly positively shocked :)
10:06 magnuse shock all the librarians!
10:06 kivilahtio magnuse: ES cuts 10 seconds on our search with term 'koira'
10:06 kivilahtio magnuse: using caching properly and plack cuts page loads on average 2-4 seconds
10:06 magnuse :-)
10:06 kivilahtio I consider this gargantugigantical
10:07 LibraryClaire good word
10:07 kivilahtio not to mention the ES index i 1/10th of the Zebra index atm,
10:08 kivilahtio it wil lgrow but not by many factors
10:09 irma joined #koha
10:10 mtj wow, i did not expect that kivilahtio ^
10:11 mtj ..i thought they would be about the same size
10:11 kivilahtio mtj: me too
10:11 kivilahtio mtj: there can be something wrong with the ES indexing I did
10:11 kivilahtio mtj: this was just my initial test after getting the ES code rebased to ES 5.1
10:12 mtj yep understood
10:16 kivilahtio mtj: root@koha_ci_2:/home/koha/Koha# curl -XGET[…]blios/data/_count
10:16 kivilahtio {"count":1426035,"_shards":{"tota​l":5,"successful":5,"failed":0}}
10:16 kivilahtio mtj: hmm, looks like we actually have "most" of the records inddexed if the count == 1426035
10:16 kivilahtio w ehave something like 1.5 million records
10:21 Joubu ES mappings are very limited at the moment, that's certainly why the index is light
10:21 kivilahtio Joubu: es
10:21 kivilahtio Joubu: yes
10:21 kivilahtio Joubu: looking forward to never ever having to add/configure another Zebra index
10:21 kivilahtio never ever
10:22 Joubu on bug 17500 I have highlighted the fact that our indexing code is too records-centric
10:22 huginn Bug[…]_bug.cgi?id=17500 enhancement, P5 - low, ---, jonathan.druart, In Discussion , Use Elasticsearch to search for patrons
10:22 Joubu there are some changes to do before going further imo
10:22 kivilahtio Joubu: you can add a new ES index, patrons?
10:23 Joubu yes, what I did
10:23 kivilahtio Joubu: ok
10:23 kivilahtio Joubu: I get your point
10:23 Joubu the problem is the code, not ES side
10:23 kivilahtio Joubu: ES patron search would bring some nice improvements
10:25 Joubu patches are waiting for testing/feedbacks
10:25 kivilahtio Joubu: unfortunately we are targeting ES for biblios/authorities atm
10:27 Joubu yes, that's the problem. Everybody is always targeting on something else
10:27 kivilahtio Joubu: I agree
10:27 Joubu code is there, just need testing
10:27 kivilahtio Joubu: thatäs why I always say you should be able to push your patches :)
10:27 kivilahtio Joubu: trust the CI
10:27 Joubu I am saying that the code is wrong, and that need adjustement before going further
10:28 Joubu I don't think that is out of topic for biblios/auths
10:28 * Joubu trusts testers and code reviews
10:29 kivilahtio me too, but you need pragmaticism
10:29 kivilahtio Joubu: My another suggestion is for the Koha-community to direct the development. Instead of receiving code commits, you direct who does what and then review the code yourself/yourselves and push
10:30 kivilahtio Joubu: So instead of you writing code, you just evaluate quality, demand meticulous automated tests, and push
10:30 kivilahtio Joubu: make minor modifications yourself and push
10:30 kivilahtio and trust the CI :)
10:31 kivilahtio it is obvious that nobody cares about testing. So automate the borings bits to the machine?
10:31 kivilahtio *cares about doing testing*
10:31 kivilahtio but that is just my two cents
10:32 Joubu we have a lot of testers
10:32 Joubu and yes, we need more
10:32 kivilahtio Joubu: true dat
10:33 kivilahtio Joubu: we are reworking our testing processes
10:33 kivilahtio that is a lot of work
10:34 Joubu it's hard for the whole Koha community, so yes I can imagine it's hard to maintain you fork
10:34 Joubu your
10:36 kivilahtio Joubu: we will see. I havent gotten to the code upgrading part. A lot of work automating alll our infrastructure and deploying koha the "hard" way :)
10:36 kivilahtio Joubu: adding new support services
10:36 kivilahtio Joubu: lots of stuff happening :) Stuff I am not very familiar with
10:37 kivilahtio while stuff breaks around us :)
10:37 kivilahtio so gotta go fixing
10:37 kivilahtio take care
11:00 Joubu mtj: see bug 17914
11:00 huginn Bug[…]_bug.cgi?id=17914 major, P5 - low, ---, jonathan.druart, Needs Signoff , The installer process tries to create borrowers.updated_on twice
11:26 marcelr joined #koha
11:27 marcelr back after reboot
11:29 drojf marcelr: have you been updated?
11:29 marcelr hope so ;)
11:32 Joubu erk, that was sure
11:33 drojf Joubu: you can pm huginn to do @later
11:33 drojf if you dont want it to appear in the log
11:33 Joubu indeed
11:52 eythian @wunder amsterdam
11:52 huginn eythian: Error: No such location could be found.
11:52 eythian @wunder ams
11:52 huginn eythian: The current temperature in Amsterdam, Netherlands is 3.0°C (12:25 PM CET on January 16, 2017). Conditions: Partly Cloudy. Humidity: 75%. Dew Point: -1.0°C. Windchill: 0.0°C. Pressure: 30.36 in 1028 hPa (Steady).
12:21 eythian wizzyrea: yeah, kinda neat
12:33 kidclamp joined #koha
12:39 tcohen joined #koha
12:44 LibraryClaire @wunder konstanz
12:44 huginn LibraryClaire: The current temperature in Mainaustraße, Konstanz, Germany is 2.0°C (1:41 PM CET on January 16, 2017). Conditions: Mostly Cloudy. Humidity: 69%. Dew Point: -3.0°C. Windchill: 2.0°C. Pressure: 30.15 in 1021 hPa (Steady).
12:45 LibraryClaire hm, complete white-out with snow
12:46 * LibraryClaire loves snow
12:49 eythian It's impressively clear here today.
12:49 tcohen morning
12:49 LibraryClaire snow snow snow
12:49 LibraryClaire hi tcohen
12:50 * LibraryClaire goes to find coffee
12:50 eythian If I didn't know better, I'd say it was a really nice summer day out there.
12:52 * tcohen goes find a litre of coffee
12:52 magnuse @wunder enbo
12:52 huginn magnuse: The current temperature in Bodo, Norway is -2.0°C (1:20 PM CET on January 16, 2017). Conditions: Mostly Cloudy. Humidity: 69%. Dew Point: -7.0°C. Windchill: -9.0°C. Pressure: 30.09 in 1019 hPa (Falling).
12:53 tcohen joined #koha
12:55 tcohen hi
12:55 wahanui what's up, tcohen
13:03 alex_a joined #koha
13:11 Joubu marcelr: Hi! What do you mean on bug 10459 comment 80?
13:11 huginn Bug[…]_bug.cgi?id=10459 minor, P5 - low, ---,, RESOLVED FIXED, borrowers should have a timestamp
13:12 Joubu DB rev should not warn anything if nothing is wrong
13:12 marcelr warnings on fields already added and so on
13:12 marcelr but also many come from testing on dev systems
13:13 Joubu ok but what is the question?
13:13 marcelr let me look?
13:13 alex_a joined #koha
13:13 marcelr it doesnt need an answer
13:15 Joubu k
13:34 kchris joined #koha
13:48 mape joined #koha
14:24 tomk joined #koha
14:31 alex_a Is there a problem with the last pushed patch on master or it's me ?
14:32 alex_a cc Joubu
14:32 alex_a bz 17874
14:33 alex_a I get modals windows on patron and notice details that generate errors
14:33 alex_a And i can't close them :)
15:03 LibraryClaire alex_a have you cleared your cache?  that fixes it for me
15:05 kivilahtio Joubu: is the Koha-community's Jenkins and the tasks it executes somewhere where I can see how you have it configured?
15:05 alex_a LibraryClaire: yes it works after cache clearing. But now the top navbar is broken
15:06 alex_a Only get that with chromium
15:06 LibraryClaire alex_a what is broken on it? mine seems ok
15:06 LibraryClaire ah
15:06 Joubu kivilahtio: what kind of info do you wanT?
15:07 kivilahtio Joubu: I am looking at Smolder, Jenkins2.0 with the pipeline-plugin and Travis CI. Would prefer to maintain compatibility with the community-way.
15:07 kivilahtio Joubu: how you execute the perl test runs from Jenkins
15:07 kivilahtio Joubu: how you turn .tap-tests into the jUnit-ones
15:08 kivilahtio Joubu: so Jenkins can parse and store and statistize them
15:08 kivilahtio Joubu: I mean how you turn tap-test results into jUnit test results
15:08 kivilahtio or do you?
15:10 Joubu I am not sure to understand, we have a bash script, which set some env var and then prove the tests we need to launch
15:10 kivilahtio Joubu: ok
15:11 kivilahtio Joubu: and Jenkins eats the .tap-results?
15:11 kivilahtio Joubu: I guess this answers my question. Thank you :)
15:11 Joubu At the end of the perl script, there is covert -report clover
15:11 Joubu no idea what that does
15:11 Joubu but I guess the trick is there
15:12 Joubu we also export JUNIT_OUTPUT_FILE
15:12 kivilahtio clover generates code coverage reports
15:12 kivilahtio afaik
15:13 kivilahtio Joubu: is it possible to take a peek at the configurations, if they are not publicly available anywhere?
15:13 Joubu I did not configure it, just look at the config on the UI so I may answer something completely stupid
15:14 Joubu kivilahtio: I'd prefer you to ask tcohen as he is the admin of this server
15:14 kivilahtio Joubu: I understand. I will ask him
15:14 kivilahtio Joubu: thank you for your help
15:15 kivilahtio Joubu: I think I will install Jenkins2.0 for us
15:15 kivilahtio so we can cross-pollinate ideas sometime
15:15 kivilahtio it is rather de-facto standard so cant go wrong with it. It is just a bit hard translating the Perl-world to Java-world
15:19 drojf @wunder berlin, germany
15:19 huginn drojf: The current temperature in Aprikosensteig, Berlin, Germany is -0.5°C (4:18 PM CET on January 16, 2017). Conditions: Mostly Cloudy. Humidity: 89%. Dew Point: -2.0°C. Windchill: 0.0°C. Pressure: 30.30 in 1026 hPa (Rising).
15:21 eythian @wunder ams
15:21 huginn eythian: The current temperature in Schiphol, Badhoevedorp, Netherlands is 1.9°C (4:09 PM CET on January 16, 2017). Conditions: Partly Cloudy. Humidity: 75%. Dew Point: -2.0°C. Windchill: 2.0°C. Pressure: 30.40 in 1029 hPa (Rising).
15:43 tcohen hi kivilahtio
15:43 kivilahtio hi tcohen
15:43 tcohen waht about jenkins?
15:44 kivilahtio tcohen: I would like to see how you integrate the Koha's tap-tests to Jenkins and how you have configured Jenkins to run those tests. Also interested in how Clover works for you
15:44 tcohen Regarding the Clover plugin, it sucks, and its maintainers suck
15:44 kivilahtio tcohen: mainly curious if you have any code in github which i can study
15:45 eythian There's a particularly Rijksmuseumy sunset going on at the moment from where I'm sitting.
15:45 kivilahtio tcohen: looks like it needs a new maintainer :)
15:45 tcohen it breaks frecquently and I'm not being able to make it work
15:45 tcohen yeah, exactly
15:45 kivilahtio tcohen: there is a Perl-alternative, Smolder
15:45 kivilahtio I am not sure if this is better, but it is in Perl so I can fix it no matter what happens
15:45 tcohen link?
15:45 wahanui link is both helpful/unhelpful
15:45 kivilahtio not equally confident about the Java world
15:45 kivilahtio tch
15:45 kivilahtio tcohen:
15:45 kivilahtio[…]51/lib/
15:45 tcohen ok
15:46 tcohen clover works, but the jenkins plugin doesnt
15:46 kivilahtio tcohen: you are using the Jenkins v1.* ?
15:46 kivilahtio I wonder how bad it is for Jenkins 2.*
15:46 kivilahtio the pipeline-plugin for Jenkins is way too cool
15:47 tcohen we are using jenkins 2.19
15:47 kivilahtio ok
15:47 kivilahtio good
15:47 kivilahtio tcohen: I guess moving to smolder is out of question
15:47 kivilahtio tcohen: And I don't know if it is any better
15:47 kivilahtio tcohen: but maintaining Java scripts which parse .tap doesnät sound like fun to me
15:47 tcohen i'd like to move to using travis
15:48 kivilahtio tcohen: Travis has the disadvantage of not being able to measure hardware consumption during test runs
15:48 tcohen i don't worry about that
15:48 kivilahtio tcohen: travis would be really easy
15:49 tcohen really?
15:49 wahanui really is more trouble than she's worth.
15:49 tcohen how do you create a suitable environment for running Koha tests?
15:49 kivilahtio tcohen: well it integrates semalessly to GitHub
15:49 tcohen yeah, that part of the problem I don't worry about
15:49 kivilahtio tcohen: this I don't know, but it all seems very user friendly to me based on their promos
15:49 kivilahtio tcohen: but you have a good point
15:49 tcohen it is user firendly, but they provide baked containerized environments
15:50 tcohen which are of no use for us
15:50 tcohen we need to use kohadevbox scripts to generate our own
15:50 kivilahtio tcohen: I understand. And one cannot host Travis on his own server
15:50 tcohen adn I haven't had the time to try
15:50 tcohen yes, you can
15:50 jenkins joined #koha
15:51 kivilahtio tcohen: really? Where is the download link?
15:52 tcohen I think they provide docker images for that
15:53 kivilahtio tcohen: why Travis CI?
15:53 kivilahtio tcohen: if we presume you can deploy it and make Koha run there
15:53 kivilahtio tcohen: which looks like to be the case. Aside from Zebra, Travis CI deploys MariaDB and ElasticSearch for us
15:59 tcohen I like it that they thought of using containers from the ground
15:59 tcohen but I basically don't like Jenkins
16:00 tcohen I looed at GoCD too
16:00 kivilahtio tcohen: You can use Jenkins build slaves to do that?
16:00 tcohen abadoned due to the lack of plugins
16:00 tcohen kivilahtio: yes
16:00 tcohen we use build slaves already
16:00 kivilahtio tcohen: Smolder seems pretty easy to me :)
16:00 tcohen but still don't make use of docker integration
16:00 kivilahtio like really easy. You just upload .tap-archive files
16:01 kivilahtio you can use whatever scripting , like Ansible to automate it
16:01 kivilahtio Have a bash script listen to changes in GitHub. Trigger a Ansible test script
16:01 kivilahtio upload .tar-archive to Smolder
16:01 kivilahtio voila
16:01 kivilahtio no Java-world funny business
16:02 kivilahtio all pureperl and Ansible
16:02 tcohen if you have a working solution I can take a look, I'm open to any suggestions
16:02 kivilahtio tcohen:[…]
16:02 kivilahtio tcohen: because I get depressed by the JAva-world. I don't know why. Just thinking about how to configure Jenkins and not really understanding any of it makes me sad already
16:03 kivilahtio tcohen: hence I would prefere a pureperl solution
16:03 kivilahtio tcohen: I think I hack something with Smolder
16:03 tcohen kivilahtio: configuring jenkins has nothing to do with Java knowledge
16:03 kivilahtio tcohen: Looks like I alreaady started since I had configured the Smolder infrastructure LXC-container
16:03 kivilahtio tcohen: how do you solve stale plugins?
16:03 tcohen I don't
16:03 kivilahtio tcohen: which seems to be the problem with Clover?
16:04 tcohen he, you are right
16:04 fridolin left #koha
16:05 kivilahtio tcohen: thanks for the chat!
16:05 jenkins joined #koha
16:05 tcohen kivilahtio: i'm all ears regarding the CI infrastructure
16:06 tcohen my goal is to run the tests inside docker containers created out of our kohadevbox playbook, and distributed/stored on the docker hub, or our own's
16:07 tcohen that's the plan, until there's a better idea
16:07 kivilahtio tcohen: we use LXC
16:07 kivilahtio tcohen: provision LXC containers on the fly using Ansible
16:07 kivilahtio tcohen: or actualyl clone them when needed
16:07 kivilahtio a bit like docker does
16:08 kivilahtio I prefer to stick to LXC since our whole team understands LXC pretty well
16:08 kivilahtio using docker presents a new language of confiuration parameters which can be just as well be done with LXC on a more granular level
16:08 tcohen we could use that knowledge and fridolin's to do it with LXC
16:08 kivilahtio but they are both practicalyl the same
16:09 kivilahtio docker ecosystem is great
16:09 tcohen kivilahtio: did you look at ansible-container?
16:09 kivilahtio tcohen: yes, I stole the best parts in it :)
16:09 tcohen because that's what I was thinking of
16:09 kivilahtio tcohen: I was actually hoping I could add lxc-ansible-scripts there
16:09 tcohen I have no strong preference
16:09 kivilahtio tcohen: + remote debugger to the dev tools
16:09 tcohen on either technology
16:09 tcohen ahh
16:10 tcohen kivilahtio: remote debugger with plack is welcome
16:10 tcohen please help me integrate it into the devbox
16:10 kivilahtio tcohen: already got it working on pretty much anything Perl-related :)
16:10 kivilahtio tcohen: but you need a DBGP-compatible debugger, such as Komodo IDE
16:10 kivilahtio tcohen: it is no different than injecting a debugging session into any perl program
16:11 ashimema works in vim kivi
16:11 kivilahtio ashimema: ok
16:11 kivilahtio ashimema: I think there are instruction on how to do that in the Koha-community wiki?
16:11 tcohen yes, there are
16:12 ashimema yup
16:13 ashimema I think @atheia also has it working in emacs
16:13 kivilahtio ashimema: I am pretty sure it is doable
16:14 kivilahtio I had a fancy idea I could write my own Perl debugger which listens on a HTTP-port. Then it would communicate with the debugged perl session using Websockets :) or something
16:14 kivilahtio so instead of confiuring all the remote debugging hassle, you could just debug via a ad-hoc web-server
16:15 kivilahtio but that sounds like too much work
16:17 kivilahtio tcohen:
16:18 kivilahtio there is the koha-plack-daemon which starts a debugging session with this invocation
16:18 kivilahtio bash -x /etc/init.d/koha-plack-daemon start debug debugger development
16:19 kivilahtio If you run
16:19 kivilahtio . /home/tcohen/
16:19 kivilahtio before the koha-plack-daemon service
16:19 kivilahtio the starman-server initiates a remote debugging session
16:19 kivilahtio but you need to DL the Activestate remote debugger from their website
16:20 kivilahtio helpful to write $DB::single=1 to the perl CGI-script you want to debug
16:20 kivilahtio tcohen: that is pretty much it
16:20 kivilahtio or you can just as well debug in the typical perl debugger from the terminal
16:20 LibraryClaire laters #koha
16:20 LibraryClaire left #koha
16:21 Robert joined #koha
16:21 Robert Hello everyone
16:21 kivilahtio tcohen: I am planning to release our Ansible-scripts to GitHub. They ccreate our production environment completely. With all  the CI and Elastic and stuff :)
16:21 Robert i have a problem
16:21 kivilahtio Zabbis
16:21 kivilahtio Zabbix
16:21 kivilahtio but have some security kinks that need solving first
16:21 Robert i need to fix something
16:22 reiveune bye
16:22 reiveune left #koha
16:22 tcohen thanks kivilahtio
16:22 matts_away joined #koha
16:22 kivilahtio tcohen: no problem
16:22 Robert when I look for a patron
16:23 kivilahtio tcohen: here is the remote debugger
16:23 kivilahtio tcohen:[…]/remotedebugging/
16:23 kivilahtio but no idea what to use for whatever IDE you use
16:23 Robert and i want see his currents checkouts
16:24 tcohen kivilahtio: right now I use Sublime
16:24 Robert it shows "NULL" on some records
16:24 kivilahtio tcohen: Subllime has some great javascript debugging tools
16:24 kivilahtio tcohen: maybe in a couple of years, Koha is all about javascript :)
16:24 eythian Wash your mouth out
16:25 kivilahtio :)
16:28 matts_away joined #koha
16:29 kivilahtio eythian: there was a youtube video about a javascript sine wave being drawn to the canvas, and the guy modified the sine wave in real time without breaks or gaps using code hot reload from Sublime in Chrome
16:29 kivilahtio it is pretty crazy to see the program act differently in real time
16:29 mtompset joined #koha
16:29 mtompset @seen cait
16:29 huginn mtompset: cait was last seen in #koha 6 hours, 41 minutes, and 14 seconds ago: <cait> bye all
16:29 kivilahtio but it is possible in perl as well. You can inject new subroutines, or overload existing onew in running perl script
16:30 * mtompset cringes at the evil magic discussed.
16:31 Robert Hello everyone
16:31 Robert i have a problem
16:31 Robert i need to fix something
16:31 Robert when I look for a patron
16:31 Robert and i want see its currents checkouts
16:31 Robert it shows "NULL" on some records
16:32 mtompset Version? How was installed? How was the patron record generated?
16:33 Robert 3.22
16:33 Robert it was installed on a VM
16:34 Robert How was the patron record generated? (I don't understand what you're asking)
16:40 Joubu how did you create it?
16:40 Joubu on which screen do you see "NULL"? if it's in a table, which column?
16:41 Joubu 3.22.14?
16:41 Joubu Robert: ^
16:44 kivilahtio Robert: you might want to investigate your database, mainly koha.items-table, if some of the items on loan have NULL columns?
16:45 kivilahtio Robert: if you can see the barcode of the Items checked out, you can find them from the items-table
16:45 kivilahtio and see if they have NULL-comuns
16:45 kivilahtio and see if they have NULL-columns
16:48 kivilahtio Robert: I would imagine your data migrating scripts leave some of them empty
16:50 mtompset Patrons can be imported last time I checked, so I was asking if you entered the record yourself, or if you imported it.
16:51 mtompset Yes, all good suggestions above.
16:51 mtompset And how was it install is more of a question about... what set of instructions did you follow to install it?
16:52 mtompset (there are lots of bad/outdated instructions floating around on the internet)
16:53 kivilahtio mtompset: I was sad to find out our favourite dev-install instructions no longer existed in the INSTALL.ubuntu
16:54 mtompset I know. But install instructions are available on the wiki.
16:54 mtompset and the wiki can stay current more easily.
16:55 mtompset Plus, you would hope that the install instructions would be able to be the same across *nix versions.
16:56 mtompset Sadly, I've seen some code creeping in which makes anything other than Debian harder and harder.
16:56 * mtompset coughs, "wantarray"
17:03 Joubu we had the discussion on koha-devel before removing it
17:05 kivilahtio Joubu: thanks for the tip.
17:10 Robert the problem is when shows title
17:10 Robert it shows it empty
17:10 kivilahtio Robert: check the biblio-table
17:10 kivilahtio Robert: biblioitems-table
17:11 kivilahtio Robert: are you importing data using the -script in misc/migration_tools/ ?
17:11 Robert i didnt import
17:11 Robert i created a new record
17:12 Robert on cataloging
17:19 kivilahtio Robert, did you install the default marc frameworks?
17:20 kivilahtio Robert: when you did the web-installer? Did you install all optional data?
17:20 kivilahtio Robert: You should install all optional data when doing the web-installer because Koha works much better that way and it is much easier to test it
17:20 kivilahtio test and evaluate
17:20 kivilahtio otherwise you need to do some very complicated configurations
17:20 kivilahtio to get Koha to work at all
17:22 Robert that too
17:22 kivilahtio take care Koha-channel
17:22 kivilahtio going home
17:22 Robert all optional data
17:37 LibraryClaire joined #koha
17:42 Mauro_BR joined #koha
17:42 Mauro_BR Hello everyone
17:43 Mauro_BR i have a question, why exists 2 different versions of koha? like 3.xx and 16.xx???
17:43 tcohen it is the same version
17:44 tcohen we just made the number jump
17:44 LibraryClaire Mauro_BR: the naming was changed to reflect the year/month it is released
17:45 Mauro_BR ho ok... i was getting worry... jeje thanks
18:00 eythian @later tell drojf[…]d-warera-vineyard
18:00 huginn eythian: The operation succeeded.
18:13 drojf joined #koha
18:16 kchris Are there any handy tools for debugging template data?
18:17 kchris I created a system preference that and am trying to return a list of branchcodes from the preference
18:17 kchris withint a template
18:17 kchris But I don't template doesn't show that the list is defined.
18:19 pastebot "kchris" at pasted "retrieve a system preference in Koha" (4 lines) at
18:20 drojf eythian: might taste bad, but i kind of want a bottle now
18:25 cait joined #koha
18:26 mtompset kchris: Koha.Preference('Suggestio​nLibraryList').split('|') --- multiple effects on the same line while concise don't help the adding of debugging code. What if the system preference isn't defined?
18:27 mtompset kchris: Also, you probably are running under plack and that is a caching nightmare. Close and Restart Everything! -- Sorry, I don't know how to do it nicely. :)
18:28 kchris mtompset:There's an else statement that follows that handles  the situation where it isn't defined.
18:29 mtompset No no... the Koha.Preference('SuggestionLibraryList') might not be defined.
18:29 mtompset Not the whole thing.
18:29 kchris Oh...I see.
18:29 kchris You're right.
18:30 kchris In addition to restarting plack, is there anything else I should restart?
18:32 mtompset Frankly, I shut off my VM completely and close my browser completely, so there is absolutely no way caching can be blamed. It's slower, but it eliminates the whole "it might be cached" problem.
18:33 kchris okay..thank you!
18:34 mtompset Because caching while testing makes me cranky when it is clearly supposed to work and it doesn't. :)
18:34 kchris agreed. me too.
18:35 mtompset Now that said... what are you trying to do?
18:35 mtompset Because there is a Branches plugin already.
18:36 kchris I am working on bug 12219...
18:36 huginn Bug[…]_bug.cgi?id=12219 enhancement, P5 - low, ---, koha-bugs, NEW , Purchase Suggestions branch level permissions
18:37 mtompset Mmm.....
18:37 kchris I am trying to see if the user branchcode matches the one in the list on the system preference.
18:37 mtompset Okay, functionality idea good.
18:37 mtompset I'm not sure this is the way to implement it.
18:37 mtompset Why not tweak the branches table?
18:38 mtompset Add a "Allowed to make suggestions?" field?
18:38 mtompset Then tweak the Branches plugin with a new filtered list function.
18:39 kchris Okay. I was planning on using the Branches plugin.
18:39 kchris Branches.getLoggedInBranchcode
18:39 kchris and compare that value to the values in the list from the system preference.
18:41 mtompset A system preference is not the way to do it.
18:41 mtompset It requires data entry of codes.
18:41 kchris Okay...
18:42 mtompset That opens up possibility of typos.
18:42 kchris You're right.
18:42 mtompset A checkbox has no typos. :)
18:43 kchris Where would the "allowed to make suggestions?" field be populated?
18:43 kchris if not as a system preference?
18:44 mtompset At http://staff client URL/cgi-bin/koha/admin/branches.p​l?op=add_form&branchcode={the code being tweaked}
18:44 kchris Okay...I'll look at this.
18:45 mtompset But you'll need to tweak the table to have a field for it. A tiny int (1) can_suggest in branches.
18:45 mtompset But the question I have is...
18:45 mtompset Why can't other branches make suggestions?
18:46 mtompset Why only some of them?
18:46 kchris Well...some libraries want to turn off the purchase suggestion feature.
18:46 magnuse because the main library does not trust the branches ;-)
18:46 kchris and handle suggestions elsewhere.
18:46 mtompset magnuse: I know that situation!
18:46 kchris I am thinking of a consortium situation.
18:47 magnuse "Upgrade to done (Bug 8835). Everything is fine." that is some promise to make! ;-)
18:47 huginn Bug[…]w_bug.cgi?id=8835 minor, P5 - low, ---,, Pushed to Master , Two indexes on biblioitems.issn
18:47 kchris Actually, I have implemented this in jquery
18:47 rangi Joubu: ahh the new bit we just added? yeah ill turn those off
18:50 mtompset "Change already done" would have been better and less suspicious, magnuse. :)
18:52 rangi @later tell joubu done
18:52 huginn rangi: The operation succeeded.
18:52 LibraryClaire evenin #koha
18:53 mtompset Evening, LibraryClaire
18:53 LibraryClaire hi mtompset
19:00 kathryn joined #koha
19:05 jenkins Project Koha_Master_D8 build #91: STILL UNSTABLE in 1 hr 42 min: https://jenkins.koha-community[…]oha_Master_D8/91/
19:14 mtompset So, is someone fixing the member 502 issue?
19:15 mtompset I have a patch that works.
19:15 mtompset tcohen rangi?
19:17 tcohen mtompset: i've checked it is 6782's fault
19:17 tcohen but haven't had the time to fix it
19:18 tcohen from the tests POV, they are creating incomplete patrons
19:18 tcohen IssueSlip got fixed by using TestBuilder instead of the incomplete AddMember
19:19 mtompset Ah, because the issue is context->useenv is undef.
19:19 mtompset I went with the my $user_branch = ... then use $user_branch.
19:20 mtompset don't we have a public function for that somewhere?
19:22 tcohen i don't follow you
19:23 tcohen but don't go the hacky way on fixing this
19:26 mtompset But we've used the hacky way elsewhere. ;)
19:27 tcohen yeah, but there's this thing called 'improve' too
19:36 aleisha joined #koha
19:44 mtompset fine fine... holds fix coming up.
19:48 aleisha joined #koha
19:48 tcohen mtompset: I'm not saying you  need to refactor all the failing test files, and I can accept fixing the userenv
19:48 tcohen but this failures are saying something too
19:49 mtompset right which is why I'm going to fix it the long way.
19:49 mtompset and have obsoleted the hacky way.
19:49 mtompset if we put the hacky way in, bad code can creep in.
19:54 tcohen the fact that userenv makes our tests fail should worry
19:59 tcohen bye everyone
20:00 Gracie joined #koha
20:01 zoeS joined #koha
20:01 karen_ joined #koha
20:01 caitling joined #koha
20:01 lukecatalyst joined #koha
20:01 emma_ joined #koha
20:02 rangi so this is me
20:02 aleisha and me
20:02 rangi https://wiki.koha-community.or[…]yst_Academy#Day_1
20:06 aleisha joined #koha
20:06 aleisha
20:11 mtompset I really do hope this onboarding tools gets pushed through.
20:12 wizzyrea me too it's wicked
20:12 alexbuckley Thanks Yes I have implemented the changes from comments 70 and 71 which I will push up shortly
20:15 alexbuckley rangi and aleisha let me know if the setup is faster than expected and I will come down
20:18 aleisha will do alexbuckley :)
20:19 rangi
20:21 irma joined #koha
20:29 aleisha joined #koha
20:30 jac joined #koha
20:33 aleisha joined #koha
20:33 karen_ hello
20:36 wizzyrea hi
20:40 * cait waves all the way from Germany heh
20:41 irma good morning everyone
20:42 irma Irma waves 16,000+ km towards Germany
20:42 emma_ joined #koha
20:42 emma__ joined #koha
20:42 irma and waves 2,200+ km towards Wellington
20:43 irma karen hi, where are you located?
20:43 * jcamins waves 14k+ km to the Catalyst Academy.
20:43 irma hi jcamins ;-)
20:44 * jcamins waves to Germany and Australia, too.
20:44 wizzyrea hi jcamins
20:44 * wizzyrea waves from level 7
20:44 irma and waves to me?
20:44 * cait waves back at irma )
20:45 irma wizzyrea pls turn to your left and wave?
20:45 * cait waves again to make sure everyone got one
20:45 wizzyrea hehe
20:46 irma nice one cait :-)
20:47 aleisha joined #koha
20:54 rangi
20:54 wahanui are the better stats to optimise
20:56 rangi
20:56 cait @wunder Wellington
20:56 huginn cait: Error: No such location could be found.
20:56 cait oops
20:56 cait @wunder Wellington, NZ
20:56 huginn cait: The current temperature in Te Aro, Mt Cook, New Zealand is 20.6°C (9:47 AM NZDT on January 17, 2017). Conditions: Clear. Humidity: 52%. Dew Point: 10.0°C. Pressure: 29.86 in 1011 hPa (Steady).
20:56 cait @wunder Konstanz
20:56 huginn cait: The current temperature in MainaustraÃ&#376;e, Konstanz, Germany is -2.1°C (9:05 PM CET on January 16, 2017). Conditions: Mostly Cloudy. Humidity: 74%. Dew Point: -6.0°C. Windchill: -2.0°C. Pressure: 30.24 in 1024 hPa (Steady).
20:56 cait lots of snow today
21:01 rangi
21:01 wahanui is
21:05 rangi
21:07 rangi
21:10 rangi
21:13 rangi
21:19 karen_ https://wiki.koha-community.or[…]yst_Academy#Day_1
21:28 rangi[…]6be32d7a14c22.png
21:28 magnuse joined #koha
21:29 rangi[…]-2016-koha-group/
21:30 rangi[…]yst-academy-2015/
21:31 eythian[…]fm-radio-tomorrow <-- magnuse, your town is famous!
21:32 magnuse eythian: of course! ;-)
21:32 magnuse that harbour in the picture? i can see it from my (home) office
21:33 eythian Nice :)
21:33 eythian @wunder Amsterdam, nl
21:33 huginn eythian: The current temperature in Amsterdam, Netherlands is -4.0°C (10:25 PM CET on January 16, 2017). Conditions: Mostly Cloudy. Humidity: 93%. Dew Point: -5.0°C. Windchill: -6.0°C. Pressure: 30.51 in 1033 hPa (Steady).
21:33 eythian Chilly
21:33 magnuse @wunder enbo
21:33 huginn magnuse: The current temperature in Bodo, Norway is 1.0°C (10:20 PM CET on January 16, 2017). Conditions: Snow. Humidity: 100%. Dew Point: 1.0°C. Windchill: -4.0°C. Pressure: 29.95 in 1014 hPa (Steady).
21:33 eythian Tropical!
21:34 magnuse hehe
21:34 magnuse we are expecting "Strong gale, 22 m/s " on wednesday evening
21:34 rangi[…]d-have-been-here/
21:34 magnuse time to bring *everything* indoors
21:35 magnuse kia ora rangi!
21:35 magnuse how about marseille in march? ;-)
21:36 rangi not sure I can swing it, im in india in Feb
21:37 cait eythian: we got tons of the white stuff now
21:37 magnuse just go from there to europe ;-)
21:37 cait eythian: it's cold and kinda everywhere
21:38 magnuse oh well, better catch some beautysleep...
21:38 magnuse have fun #koha!
21:38 eythian magnuse: 80kph is a light breeze
21:39 irma keep warm magnuse, eythian, cait!
21:42 wizzyrea 120kph forecasted for later this week so ya
21:59 rangi git-bz apply 17855
22:18 cait bug 17855
22:18 huginn Bug[…]_bug.cgi?id=17855 enhancement, P5 - low, ---, alexbuckley, Failed QA , Updated Koha web installer and new onboarding tool feature to guide users through setting up Koha
22:21 cait :)
22:21 cait go academy students go!
22:29 rangi https://wiki.koha-community.or[…]ion#Signing_off_2
22:31 dcook @wunder syd
22:31 huginn dcook: The current temperature in Sydney Airport, Australia is 27.0°C (9:00 AM AEDT on January 17, 2017). Conditions: Haze. Humidity: 50%. Dew Point: 18.0°C. Pressure: 29.93 in 1013 hPa (Falling).
22:31 dcook magnuse: If you're still around, I think we're supposed to get up to 38 today
22:45 Francesca joined #koha
22:47 aleisha hi Francesca, are you around this week?
22:48 Francesca yup
22:48 Francesca I'll be in tomorrow
22:48 Francesca and probably a few other days as well
23:19 eythian dcook: wanna swap
23:19 eythian @wunder Amsterdam, nl
23:19 huginn eythian: The current temperature in Hogedijk, Schiphol-Rijk, Netherlands is -0.6°C (12:16 AM CET on January 17, 2017). Conditions: Mist. Humidity: 84%. Dew Point: -3.0°C. Windchill: -1.0°C. Pressure: 30.55 in 1034 hPa (Rising).
23:20 eythian @wunder Jordaan, Amsterdam
23:20 huginn eythian: The current temperature in Ten Kateplein, Amsterdam, Netherlands is 1.0°C (12:09 AM CET on January 17, 2017). Conditions: Mist. Humidity: 73%. Dew Point: -3.0°C. Windchill: 1.0°C. Pressure: 30.55 in 1034 hPa (Rising).
23:20 eythian I don't know what to believe
23:20 eythian Except it's definitely below 0
23:23 dcook Mmm nah I'm all right
23:23 dcook @wunder yvr
23:23 huginn dcook: The current temperature in Burkeville, Richmond, British Columbia is 4.6°C (3:23 PM PST on January 16, 2017). Conditions: . Humidity: 79%. Dew Point: 1.0°C. Windchill: 5.0°C. Pressure: 30.05 in 1017 hPa (Falling).
23:23 dcook @wunder yqr
23:23 huginn dcook: The current temperature in Regina, Saskatchewan is -8.0°C (5:00 PM CST on January 16, 2017). Conditions: Mostly Cloudy. Humidity: 86%. Dew Point: -10.0°C. Windchill: -16.0°C. Pressure: 30.12 in 1020 hPa (Falling).
23:23 dcook Oh that's not too bad..
23:24 dcook It was -40 and -50 recently in SK
23:28 papa joined #koha
23:32 aleisha joined #koha

| Channels | #koha index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary