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

2017-05-11 Thread David Cook
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.hecax...@gmail.com] 
Sent: Friday, 12 May 2017 12:39 AM
To: koha-devel@lists.koha-community.org
Cc: dc...@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" <dc...@prosentient.com.au <mailto:dc...@prosentient.com.au> >
To: <koha-devel@lists.koha-community.org 
<mailto:koha-devel@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@lists.koha-community.org 
<mailto:Koha-devel@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

___
Koha-devel mailing list
Koha-devel@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/

Re: [Koha-devel] Packaging RDF::Trine

2017-05-11 Thread David Cook
I'm not sure that I understand the details of your message, but hurray for 
getting a recent build working in Jessie!

My pull request has about 2 lines of code changed, so it should build the same 
as 1.016.

The author of RDF::Trine suggested I try out Attean as well, but the 
documentation isn't very good and it looks like it won't work with a SPARQL 
endpoint, so no good to us. Plus it has a ton of dependencies it seems.

David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia

Office: 02 9212 0899
Direct: 02 8005 0595

> -Original Message-
> From: Mirko Tietgen [mailto:mi...@abunchofthings.net]
> Sent: Thursday, 11 May 2017 11:05 PM
> To: David Cook ; koha-de...@lists.koha-
> community.org
> Subject: Re: Packaging RDF::Trine
> 
> Hi David,
> 
> I tried a quick build of librdf-trine-perl 1.016 in Jessie and it works. It 
> will
> require some backports/packaging of dependencies.
> 
> libdbd-sqlite-perl (n/a)
> libcache-lru-perl (sid: 0.04-1)
> 
> librdf-trine-perl (sid: 1.015-1)
> 
> Cheers,
> 
> Mirko
> 
> 
> David Cook schrieb am 11.05.2017
> > 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
> >
> >
> >
> >



___
Koha-devel mailing list
Koha-devel@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/


Re: [Koha-devel] Authenticate to use Webservices/ Koha API

2017-05-11 Thread Francesco Rivetti

Hi,

maybe worth mentioning i've started working on this
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18315

Oha

On 2017-05-11 3:49 PM, Paul Poulain wrote:

Hi all,

Matthias is working on connecting Koha and Coral, and he's facing some
problems with authentication. We need to authenticate and use a session
cookie, that's not easy. Could we find another solution ? Should we
revive bz 13920 ?
(https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13920)

Suggestions/ideas welcomed !



___
Koha-devel mailing list
Koha-devel@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/


Re: [Koha-devel] Packaging RDF::Trine

2017-05-11 Thread Mirko Tietgen
Mirko Tietgen schrieb am 11.05.2017

> libdbd-sqlite-perl (n/a)

That is actually libdbd-sqlite3-perl these days and available.

-- Mirko
___
Koha-devel mailing list
Koha-devel@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/


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

2017-05-11 Thread 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" <dc...@prosentient.com.au>
> To: <koha-devel@lists.koha-community.org>
> Subject: [Koha-devel] Packaging RDF::Trine
> Message-ID: <025c01d2ca1c$f4da7be0$de8f73a0$@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@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
___
Koha-devel mailing list
Koha-devel@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/

Re: [Koha-devel] Authenticate to use Webservices/ Koha API

2017-05-11 Thread Tomas Cohen Arazi
We need to resurrect it, yes. We need to keep the idea of allowing API/key
management (add/delete/revoke) and provide basic authentication (though
headers) using those.

I mean the first patches from Julian, not the whole patchset that requires
a full Auth.pm rewrite/refactoring.

Martin was wroking on an Oauth2 implementation, but for trusted consumers,
it would be ok to use basic authentication through an SSL connexion.

Regards


El jue., 11 may. 2017 a las 10:49, Paul Poulain ()
escribió:

> Hi all,
>
> Matthias is working on connecting Koha and Coral, and he's facing some
> problems with authentication. We need to authenticate and use a session
> cookie, that's not easy. Could we find another solution ? Should we
> revive bz 13920 ?
> (https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13920)
>
> Suggestions/ideas welcomed !
>
>
> --
> Paul Poulain, Associé-gérant / co-owner
> BibLibre, Services en logiciels libres pour les bibliothèques
> BibLibre, Open Source software and services for libraries
>
> ___
> Koha-devel mailing list
> Koha-devel@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/

-- 
Tomás Cohen Arazi
Theke Solutions (https://theke.io )
✆ +54 9351 3513384 <+54%209%20351%20351-3384>
GPG: B2F3C15F
___
Koha-devel mailing list
Koha-devel@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/

[Koha-devel] Authenticate to use Webservices/ Koha API

2017-05-11 Thread Paul Poulain

Hi all,

Matthias is working on connecting Koha and Coral, and he's facing some 
problems with authentication. We need to authenticate and use a session 
cookie, that's not easy. Could we find another solution ? Should we 
revive bz 13920 ? 
(https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13920)


Suggestions/ideas welcomed !


--
Paul Poulain, Associé-gérant / co-owner
BibLibre, Services en logiciels libres pour les bibliothèques
BibLibre, Open Source software and services for libraries

___
Koha-devel mailing list
Koha-devel@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/

Re: [Koha-devel] Packaging RDF::Trine

2017-05-11 Thread Mirko Tietgen
Hi David,

I tried a quick build of librdf-trine-perl 1.016 in Jessie and it
works. It will require some backports/packaging of dependencies.

libdbd-sqlite-perl (n/a)
libcache-lru-perl (sid: 0.04-1)

librdf-trine-perl (sid: 1.015-1)

Cheers,

Mirko


David Cook schrieb am 11.05.2017
> 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
> 
>  
> 
> 

___
Koha-devel mailing list
Koha-devel@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/


[Koha-devel] Packaging RDF::Trine

2017-05-11 Thread David Cook
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

 

___
Koha-devel mailing list
Koha-devel@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/