[Koha-devel] Packaging RDF::Trine (Hector Castro)

David Cook dcook at prosentient.com.au
Fri May 12 03:59:05 CEST 2017


Hi Hector,

 

Ahh, I did see something about that. Well, after looking through the source code, it looks like Moose and MooseX::ArrayRef are only used in RDF/Trine/Parser/Turtle/Token.pm and RDF/Trine/Parser/Turtle/Lexer.pm, so if we don’t load those modules, then we won’t need to actually ‘use’ Moose. 

 

In the past, I think the fear has been that using Moose with CGI would slow down Koha too much, but Plack would solve that since it would load it at startup and keep it in memory for all the requests without having to reload for each page request. My work with RDF::Trine is in a daemon which doesn’t interact directly with end users, and the performance seems fine to me, although I’m using RDF/Trine/Parser/RDFXML.pm which doesn’t use Moose it seems.

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

Australia

 

Office: 02 9212 0899

Direct: 02 8005 0595

 

From: Hector Castro [mailto:hector.hecaxmmx at gmail.com] 
Sent: Friday, 12 May 2017 12:39 AM
To: koha-devel at lists.koha-community.org
Cc: dcook at prosentient.com.au
Subject: Packaging RDF::Trine (Hector Castro)

 

 

Hi David


I remember that the issue found in RDF::Trine at that moment was the dependencies used by module especially because use Moose. The policy was not to use Moose about some problems with Koha. I don't know if this policy has been change since the introduction of Plack.

Regards.

 


Message: 2
Date: Thu, 11 May 2017 16:08:06 +1000
From: "David Cook" <dcook at prosentient.com.au <mailto:dcook at prosentient.com.au> >
To: <koha-devel at lists.koha-community.org <mailto:koha-devel at lists.koha-community.org> >
Subject: [Koha-devel] Packaging RDF::Trine
Message-ID: <025c01d2ca1c$f4da7be0$de8f73a0$@prosentient.com.au <http://prosentient.com.au> >
Content-Type: text/plain; charset="us-ascii"

Hi all,



Magnus and I have been working on a RDF project for Stockholm University
Library, and I've been using RDF::Trine for our prototype. It works great
overall, although I found a bug with RDF::Trine::Store::SPARQL version 1.016
(most current version on CPAN*). I sent in a pull request yesterday
(https://github.com/kasei/perlrdf/pull/147) and the author of the module
said that he's hoping to review it and merge it into master in the next few
days. But what this means is that we'll be wanting to use the latest version
of RDF::Trine, and that's going to be much newer than what is in the Debian
repositories for Jessie and Wheezy. I've taken a peek at the code in those
repos, and it's buggy too.



I seem to recall on
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13642 that there
were some issues packaging RDF libraries, but I think it may have mostly
related to RDF::Helper, of which we have no need. But Mirko if I could get
your input, that would be great.



*Actually it seems the latest version in CPAN is newer than master in
Github. I'll have to talk to the maintainer about that too.



David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

Australia



Office: 02 9212 0899

Direct: 02 8005 0595



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20170511/90fe5c84/attachment-0001.html>

------------------------------

_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org <mailto:Koha-devel at lists.koha-community.org> 
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

End of Koha-devel Digest, Vol 138, Issue 10
*******************************************




-- 

Atte,

Héctor Eduardo Castro Avalos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20170512/be031865/attachment.html>


More information about the Koha-devel mailing list