Log of the #fcrepo channel on chat.freenode.net

Using timezone: Eastern Standard Time
* ajs6f joins06:58
* dwilcox joins07:39
* cmmills leaves07:59
* cmmills joins08:00
* cmmills leaves08:10
* cmmills joins
* chadmills joins08:12
* cmmills leaves08:15
* cmmills joins08:16
* chadmills leaves08:18
* MohamedAR joins08:27
* awead joins09:03
* whikloj joins09:14
<f4jenkins>Yippee, build fixed!
Project fcrepo4 build #2906: FIXED in 12 min: http://jenkins.fcrepo.org/job/fcrepo4/2906/
* ksclarke joins09:19
<ajs6f>awoods: Do you know if we offer an HTTP header that explains whether a resource is RDF or otherwise? Like something you can get from a HEAD request?09:25
<f4jenkins>Project fcrepo-camel build #342: UNSTABLE in 1 min 58 sec: http://jenkins.fcrepo.org/job/fcrepo-camel/342/
* Aaron Coburn: update mailing list address; update gh-pages theme
* Aaron Coburn: fixed minimum version number for camel dependency
* Aaron Coburn: rename fcrepo-kernel packages based on proposed upstream change
* ruestn: [maven-release-plugin] prepare release fcrepo-camel-4.3.0
* ruestn: [maven-release-plugin] prepare for next development iteration
* ruestn: FCREPO-1653 -- update site-maven-plugin from 0.11 to 0.12.
* ruestn: Address FCREPO-1659 -- Migration to TravisCI container-based infrastructure.
* Aaron Coburn: silence unnecessary javadoc output
* Aaron Coburn: move javadoc:jar and javadoc:test-jar into standard maven build; remove redundancy from travis config
* Aaron Coburn: update scm location
* Aaron Coburn: fix error in readme
<awoods>ajs6f: sure, the ldp link headers give that.09:28
* osmandin joins
<ajs6f>awoods: Okay, I'll go read up on that. Thanks.09:29
<awoods>ajs6f: for rdf resources they look like: Link: <http://www.w3.org/ns/ldp#Resource>;rel="type"
Link: <http://www.w3.org/ns/ldp#Container>;rel="type"
Link: <http://www.w3.org/ns/ldp#BasicContainer>;rel="type"
<ajs6f>awoods: And the absence of a Link: <http://www.w3.org/ns/ldp#Container>;rel="type" implies a NonRDF?09:30
<awoods>ajs6f: for non-rdf resources they look like: Link: <http://www.w3.org/ns/ldp#Resource>;rel="type"
Link: <http://www.w3.org/ns/ldp#NonRDFSource>;rel="type"
Link: <http://localhost:8080/fcrepo/rest/book/page/fcr:metadata>; rel="describedby"
<ajs6f>Oh, never mind. It's explicit. Okay.
<f4jenkins>Project migration-utils build #111: FAILURE in 1 min 22 sec: http://jenkins.fcrepo.org/job/migration-utils/111/09:35
* ruestn: Address FCREPO-1641 -- Update kernel package names based on proposed upstream changes.
* ruestn: Address FCREPO-1659 -- Migration to TravisCI container-based infrastructure.
* awoods: Added support for fedora 2 FOXML files.
* awoods: Added additional configuration examples and updated readme.
* md5wz: Added pid to migrated properties with configurable mapping
* md5wz: Fixed a bug that prevented datastream properties from being migrated.
* md5wz: Updated URLs to reflect new github ownership.
* awoods: Add fcrepo as parent
<awoods>MohamedAR: it looks like a renegade Jenkins is posting false info to this channel. ^^09:36
<f4jenkins>Yippee, build fixed!09:39
Project fcrepo4-T2 build #329: FIXED in 6 min 12 sec: http://jenkins.fcrepo.org/job/fcrepo4-T2/329/
<MohamedAR>@awoods: I just started some builds in the devtoolsstage to make sure everything would be ok on Java 8.09:41
<awoods>MohamedAR: great... but can you disable dev from posting false info to this channel?
<MohamedAR>awoods: will do.09:42
* acoburn joins
* f4jenkins leaves
<MohamedAR>@awoods: disabled IRC notification for devtoolsstage09:43
<acoburn>anyone want to see a curious bug with fedora? try issuing a sparql-update with a literal that contains this character string: />
for instance: INSERT { <> dc:description "Some<br/>Text" .09:44
} WHERE {}
awoods: can you reproduce this? ^^^
* f4jenkins joins09:46
<awoods>acoburn: I get this error:09:47
INFO 09:46:33.709 (FedoraResourceImpl) Problematic token(1): dc:description "Some<br/> in statement:PREFIX premis: <http://www.loc.gov/premis/rdf/v1#>
...
<acoburn>awoods: yep, it goes away when you remove the "/>" string
awoods: is this from jena or is it our code?09:48
<osmandin>our code probably
<awoods>acoburn: that is reminiscent of a "fix" that went in not too long ago.
osmandin: sound familiar?
<acoburn>awoods: wasn't it a regex for handling namespaces?09:49
awoods: or something like that?
<osmandin>awoods: yes.
<awoods>acoburn/osmandin: yes
<acoburn>awoods: ok, I'll file a ticket
<awoods>acoburn: https://github.com/fcrepo4/fcrepo4/blob/master/fcrepo-kernel-modeshape/src/main/java/org/fcrepo/kernel/modeshape/FedoraResourceImpl.java#L44409:50
acoburn: related to: https://jira.duraspace.org/browse/FCREPO-1409
<acoburn>awoods: https://jira.duraspace.org/browse/FCREPO-170609:53
<awoods>acoburn: you ran into this issue in real-life? like needing to add a description that had hypertext?09:55
<acoburn>awoods: yep, there was some malformed HTML being pushed into a description
awoods: like this: <a href="foo">link<a/>09:56
awoods: but it will also happen with any self-closed XHTML tags like <br/>
awoods: which are legit in HTML09:57
<awoods>acoburn: yes, open/close tags seem fine, just not self-closing.
<acoburn>awoods: yes, it's not the / character alone, it's the /> sequence09:58
<awoods>acoburn: it's the one-two combo.09:59
<acoburn>awoods: you know what they say about regular expressions…10:00
<awoods>acoburn: nope
<osmandin>It means we need more JIRA priority levels (besides the ones ajs6f proposed): NP-hard and NPC.
<acoburn>awoods: https://en.wikiquote.org/wiki/Jamie_Zawinski look under the "attributed" section10:01
<ajs6f>acoburn : i'm on FCREPO-1519 and trying to use your Camel fcrepo component. Time for a question or two?10:04
<acoburn>ajs6f: sure
<ajs6f>acoburn: How do I use it?10:05
acoburn: If I have the URI of a resource in hand, how do I send a request (say, HEAD) to that resource?
acoburn: Assuming that the component has already been set up for me.
<acoburn>ajs6f: there's a header: CamelFcrepoIdentifier10:06
<ajs6f>acoburn: Fill that with my URI?
<acoburn>ajs6f: set that to the fedora path
<ajs6f>acoburn: The whole URI, or just the path inside the repo?10:07
<acoburn>ajs6f: not the full URI, just the part from the repo
ajs6f: so everything after /rest
<ajs6f>acoburn: Urm. That's going to be lots of string munging. We should think about another header that just takes an URI.
<acoburn>ajs6f: then the component uses the part up /rest
<ajs6f>acoburn: Okay, once I've done that, to where do I send the message?10:08
<acoburn>ajs6f: to("fcrepo:localhost:8080/fcrepo/rest")
ajs6f: you'll want to set the Exchange.HTTP_METHOD to HEAD
<ajs6f>acoburn: Wait, is that supposed to be the URI of the repo?
<acoburn>ajs6f: yes
<ajs6f>acoburn: So what on Earth is the point of config properties like:10:09
<cm:property name="fcrepo.baseUrl" value="localhost:8080/fcrepo4/rest"/>
?10:10
<acoburn>ajs6f: that way you don't have to hardcode the fedora location:
ajs6f: to("fcrepo:{{fcrepo.baseUrl}}")
<ajs6f>acoburn: Okay, so why did you just tell me to do `to("fcrepo:localhost:8080/fcrepo/rest")`?10:11
<acoburn>ajs6f: it resolves to the same thing
ajs6f: if you're happy starting out with property placeholders, then by all means use the dynamic URI10:12
<ajs6f>acoburn: I know, but only one is hard-coded. Anyway, if I'm getting "${headers[org.fcrepo.jms.identifier]}" out of a repo-emitted message, can I put that directly into CamelFcrepoIdentifier, or do I need to mung it first?
<acoburn>ajs6f: nope, the component knows to look there
<ajs6f>acoburn: Wait, you mean I just leave org.fcrepo.jms.identifier in place and send the message on to fcrepo:?10:13
<acoburn>ajs6f: yep
<ajs6f>Okay. Does fcrepo: preserve message headers from in to out?
<acoburn>ajs6f: yes10:14
<ajs6f>acoburn: Cool. Okay, I'll go try this and come back with more questions.
<acoburn>ajs6f: there are two headers that can be used to identify the fedora path: org.fcrepo.jms.identifier and CamelFcrepoIdentifier
ajs6f: but the second one takes precedence10:15
<ajs6f>acoburn: That sounds convenient but it's also a bad verloading of the semantics of org.fcrepo.jms.identifier.
<acoburn>ajs6f: how so?
<ajs6f>acoburn: org.fcrepo.jms.identifier now means both "the thing that just changed" and "the thing you are now about to change".
acoburn: When you get a JMS message in, does org.fcrepo.jms.identifier have the full URI in it, or just the path?10:16
<acoburn>ajs6f: just the path
<ajs6f>acoburn: Then what was the point of adding the repository base url thing that escowles did?10:17
<acoburn>ajs6f: the org.fcrepo.jms.baseUrl header contains that
ajs6f: I think the camel component picks up that value, too, but let me check....10:18
<awoods>whikloj/acoburn: https://plus.google.com/hangouts/_/event/c1glu6soq43r1rr6ou17qtobug8
<MohamedAR>awoods: Everything seems to be building ok in devtoolsstage except migration-utils (which is failing in production as well). Should I go ahead and change the Jenkins production java version to 8?10:19
<awoods>MohamedAR: yes, please.
<ajs6f>acoburn: When you said "ajs6f: you'll want to set the Exchange.HTTP_METHOD to HEAD" did you mean a certain enumeration?
<acoburn>ajs6f: just a sec — in a meeting now
<ajs6f>NNNOOONONOOONONOO!!!!!!!10:20
* acoburn1 joins10:21
awoods: my internet connection is acting up10:23
* acoburn leaves10:25
<MohamedAR>awoods: Jenkins is now running on java 8.10:28
<awoods>MohamedAR++10:29
https://docs.google.com/document/d/1R3rHE38Kvp5npqahAEEwU8Nmoyh3R2MJ2GGhVqSBq28/edit?usp=sharing
<osmandin>awoods: I think the ultimate solution regarding 1409 and 1706 would be to file a bug with ModeShap, instead of having a regex workaround. I think having a regex could prove to be a maintenance issue. Another alternative could be parsing (somewhat replicating the jena arq parser). What do you think?10:31
<awoods>osmandin: on a call10:32
* ff_logger_dev leaves10:33
* osmandin leaves
<awoods>https://github.com/fcrepo4/fcrepo4/tree/master/fcrepo-auth-common/src/main/java/org/fcrepo/auth/common10:43
<f4jenkins>Project fcrepo4-T2 build #331: UNSTABLE in 5 min 8 sec: http://jenkins.fcrepo.org/job/fcrepo4-T2/331/10:53
* esm_ joins10:58
<ajs6f>acoburn: Why is the type FcrepoLink not public in fcrepo-camel?11:02
* dwilcox leaves
<whikloj>https://wiki.duraspace.org/display/FF/Design+-+WebAccessControl+Authorization+Delegate
* osmandin joins11:05
<ajs6f>acoburn: A) fcrepo-camel does not build for me. B) Why is fcrepo-camel running tests against fuseki? Does that stuff not belong in the camel toolbox?11:13
acoburn: Also, it seems to be running tests against Solr, too?! Again, does that not belong elsewhere?11:14
* github-ff joins11:18
[fcrepo-camel] ajs6f created PublicFcrepoLink (+1 new commit): http://git.io/vsEtE
fcrepo-camel/PublicFcrepoLink 48d02c8 ajs6f: Make FcrepoLink public
* github-ff leaves
* dwilcox joins11:19
* github-ff joins
[fcrepo-camel] ajs6f opened pull request #88: Make FcrepoLink public (master...PublicFcrepoLink) http://git.io/vsEth
* github-ff leaves
* travis-ci joins11:21
fcrepo4-exts/fcrepo-camel#210 (PublicFcrepoLink - 48d02c8 : ajs6f): The build failed.
Change view : https://github.com/fcrepo4-exts/fcrepo-camel/commit/48d02c89d52c
Build details : https://travis-ci.org/fcrepo4-exts/fcrepo-camel/builds/76649723
* travis-ci leaves
<ajs6f>I'm glad I'm not the only one who can't build fcrepo-camel.11:22
* MohamedAR leaves11:38
<whikloj>awoods: [acl:accessTo <card>; acl:mode acl:Read, acl:Write; acl:agent <card#i>].11:40
awoods/acoburn: https://github.com/read-write-web/rww-play/issues/112#issuecomment-3755766011:44
* awead leaves12:10
* awead joins12:13
<acoburn1>ajs6f: the reason FcrepoLink isn't public is because I didn't think it was needed outside of the component. Your PR, though, seems perfectly reasonable12:36
<ajs6f>acoburn1: Oh, it _seems_ reasonable, sure.
<acoburn1>ajs6f: as for the integration tests, the solr and fuseki stuff does properly belong in -toolbox12:37
ajs6f: those tests were written before -toolbox existed
ajs6f: I think ripping them out would be a good idea12:38
ajs6f: as for it not building — that is an issue related to the jena.atlas.RuntimeIOException class
<ajs6f>acoburn1: Okay. Let those tests flutter away like drunken tearful sparrows.
<acoburn1>ajs6f: fcrepo-camel depends on a clerezza library that doesn't include that class12:39
<ajs6f>acoburn1: Is hat a Clerezza prob?
<acoburn1>ajs6f: yes
<ajs6f>acoburn1: Damn them.
<acoburn1>ajs6f: the issue is that jena < v. 2.13 was really hard to work with in OSGi, so I used clerezza12:40
<ajs6f>acoburn1: I don't know that 3.0.0 will be much better.
<acoburn1>ajs6f: actually 2.13 and 3.0.0 are both much better
ajs6f: in principle, the use of clerezza could be replaced with jena12:41
<ajs6f>acoburn1: Okay, that's good. It would be even better to use COmmons RDF but I didn't have much success getting up enthusiasm to do a Jena impl, and there is no Sesame impl.
<acoburn1>ajs6f: and that error should go away
ajs6f: I agree. is there *any* implementation that handles RDF serialization?12:42
ajs6f: I mean with commons RDF12:43
<ajs6f>acoburn1: Only ntriples. That's all that Commond RDF requires.
<acoburn1>ajs6f: we should be able to work with that, that's all I'm using at present
<ajs6f>acoburn1: If you wanted to, you could write a RIOT-powered set of serializers that accept Commons RDF types.12:44
acoburn1: Personally, I'd rather go swimming.
<acoburn1>ajs6f: I can think of a lot of things I'd rather do
<ajs6f>acoburn1: My advice: start doing them. Today is the last day of the prolegomenon of your life.12:45
<acoburn1>ajs6f: leaving now…
* acoburn1 leaves
* awead leaves13:18
* osmandin leaves13:26
* github-ff joins13:32
[fcrepo4] awoods opened pull request #890: Follow-on to https://jira.duraspace.org/browse/FCREPO-1667 (master...fcrepo-1667.b) http://git.io/vsEju
* github-ff leaves
* awead joins13:33
<awoods>ajs6f: this PR fixes the fcrepo-camel issue, if you have a moment to review: https://github.com/fcrepo4/fcrepo4/pull/89013:35
<ajs6f>awoods: I don't understand the issue or the fix. I would prefer that acoburn see that.13:36
<awoods>ajs6f: the issue was that catching the RuntimeIOException required fcrepo-camel to pull in jena-arq... which acoburn and I were neither able to get working. The fix is to remove that dependency (i.e. remove the import statement).13:39
<ajs6f>awoods; okay, but it's on your head when the EBS starts whistling after this merge.
awoods: I'll wait for travis, just for fun.13:40
<awoods>ajs6f: this is a follow-on to the ticket that you previously reviewed: https://jira.duraspace.org/browse/FCREPO-1667
<ajs6f>awood: That means nothing. I can barely remember what groceries my wife told me to get this morning.
<awoods>ajs6f: hang in there
<ajs6f>awoods: See acoburn's comment— he doesn't like it.13:41
* dwilcox leaves14:00
<ajs6f>awoods: Dude. Seriously. You just called me Aaron.14:42
<awoods>ajs6f: that's odd.14:45
<ajs6f>awoods: It's unforgivable. You've thrown the piece of fat that broke the fire's back.14:46
* osmandin joins14:47
<ajs6f>awoods: Oh, an update: ironically, my wife says that she didn't ask me to get _any_ groceries this morning. Who knews?
<awoods>ajs6f: is there a difference between forgetting some groceries and forgetting no groceries?
* ajs6f1 joins14:48
* ajs6f leaves
<ajs6f1>awoods: http://www.infoq.com/presentations/Null-References-The-Billion-Dollar-Mistake-Tony-Hoare
* jgpawletko joins14:54
* github-ff joins15:17
[fcrepo4] barmintor deleted cdi at 1bf1da7: http://git.io/vsuPK
* github-ff leaves
* acoburn joins
awoods/ajs6f1: in fcrepo-camel I tried replacing the clerezza libraries with jena, and that appears to have fixed the issue with jena.atlas.RuntimeIOException15:48
I'll issue a PR in just a sec
<awoods>acoburn: that is very nice15:49
<acoburn>awoods: is there a jira issue I should reference?15:50
<awoods>acoburn: https://jira.duraspace.org/browse/FCREPO-1667
<acoburn>awoods: I'm looking at fcrepo-1667
awoods: got it
<awoods>acoburn: you are gutting clerezza?15:51
<acoburn>awoods: yes
awoods: it uses jena now
<awoods>acoburn: what is the destiny of rdf-commons?
<acoburn>awoods: that is a good question, and perhaps ajs6f has some insight.15:52
awoods: in an ideal world we'd just use rdf-commons, but (a) it's still a pretty fledgling project and (b) my main goal was to simply get the code to work15:53
<awoods>acoburn++15:55
* github-ff joins15:56
[fcrepo-camel] acoburn opened pull request #89: remove clerezza library in favor of jena (master...fcrepo-1667) http://git.io/vsub7
* github-ff leaves
* esm_ leaves16:00
<acoburn>awoods: what do you think about removing all the solr/fuseki-related tests from fcrepo-camel?16:01
awoods: they are really more appropriate for -toolbox
* acoburn leaves16:03
<awoods>acoburn: as long as they go to -toolbox (instead of being dropped), it seems like a good idea.16:04
* awead leaves
<awoods>afk
* osmandin leaves16:05
* escowles leaves16:33
* jgpawletko leaves16:48
* whikloj leaves16:53
* awead joins16:59
* awead leaves17:02
* jgpawletko joins
* ajs6f1 leaves17:31
* ksclarke leaves18:06
* ksclarke joins18:16
* github-ff joins18:44
[fcrepo4] acoburn pushed 2 new commits to master: http://git.io/vszFC
fcrepo4/master d8c90b6 Andrew Woods: Follow-on to https://jira.duraspace.org/browse/FCREPO-1667...
fcrepo4/master 59defcb Aaron Coburn: Merge pull request #890 from awoods/fcrepo-1667.b...
* github-ff leaves
* github-ff joins
[fcrepo-camel] awoods pushed 2 new commits to master: http://git.io/vszFu
fcrepo-camel/master f7f3fe3 Aaron Coburn: remove clerezza library in favor of jena
fcrepo-camel/master bed34bc Andrew Woods: Merge pull request #89 from acoburn/fcrepo-1667...
* github-ff leaves
* travis-ci joins18:48
fcrepo4-exts/fcrepo-camel#213 (master - bed34bc : Andrew Woods): The build passed.
Change view : https://github.com/fcrepo4-exts/fcrepo-camel/compare/9565e1258e9d...bed34bc278ac
Build details : https://travis-ci.org/fcrepo4-exts/fcrepo-camel/builds/76714018
* travis-ci leaves
* travis-ci joins18:52
fcrepo4-exts/fcrepo-camel#210 (PublicFcrepoLink - 48d02c8 : ajs6f): The build failed.
Change view : https://github.com/fcrepo4-exts/fcrepo-camel/commit/48d02c89d52c
Build details : https://travis-ci.org/fcrepo4-exts/fcrepo-camel/builds/76649723
* travis-ci leaves
* github-ff joins18:54
[fcrepo-camel] acoburn opened pull request #90: remove solr and fuseki (master...fcrepo-1707) http://git.io/vszNP
* github-ff leaves
* travis-ci joins18:59
fcrepo4-exts/fcrepo-camel#210 (PublicFcrepoLink - 48d02c8 : ajs6f): The build failed.
Change view : https://github.com/fcrepo4-exts/fcrepo-camel/commit/48d02c89d52c
Build details : https://travis-ci.org/fcrepo4-exts/fcrepo-camel/builds/76649723
* travis-ci leaves
* travis-ci joins19:01
fcrepo4/fcrepo4#3980 (master - 59defcb : Aaron Coburn): The build passed.19:02
Change view : https://github.com/fcrepo4/fcrepo4/compare/68f99e1a84c1...59defcbfffa0
Build details : https://travis-ci.org/fcrepo4/fcrepo4/builds/76713893
* travis-ci leaves
* github-ff joins
[fcrepo-camel] acoburn closed pull request #88: Make FcrepoLink public (master...PublicFcrepoLink) http://git.io/vsEth
* github-ff leaves
* github-ff joins
[fcrepo-camel] acoburn deleted PublicFcrepoLink at 48d02c8: http://git.io/vszxR
* github-ff leaves
* github-ff joins19:07
[fcrepo-camel] awoods pushed 2 new commits to master: http://git.io/vszpw
fcrepo-camel/master 587f8c1 Aaron Coburn: remove solr and fuseki
fcrepo-camel/master 555078a Andrew Woods: Merge pull request #90 from acoburn/fcrepo-1707...
* github-ff leaves
* travis-ci joins19:11
fcrepo4-exts/fcrepo-camel#215 (master - 555078a : Andrew Woods): The build passed.
Change view : https://github.com/fcrepo4-exts/fcrepo-camel/compare/bed34bc278ac...555078a9a90c
Build details : https://travis-ci.org/fcrepo4-exts/fcrepo-camel/builds/76716474
* travis-ci leaves
* github-ff joins19:12
[fcrepo-camel] acoburn created PublicFcrepoLink (+1 new commit): http://git.io/vsEtE
fcrepo-camel/PublicFcrepoLink 48d02c8 ajs6f: Make FcrepoLink public
* github-ff leaves
* github-ff joins19:13
[fcrepo-camel] acoburn reopened pull request #88: Make FcrepoLink public (master...PublicFcrepoLink) http://git.io/vsEth
* github-ff leaves
* travis-ci joins19:15
fcrepo4-exts/fcrepo-camel#216 (PublicFcrepoLink - 48d02c8 : ajs6f): The build is still failing.
Change view : https://github.com/fcrepo4-exts/fcrepo-camel/commit/48d02c89d52c
Build details : https://travis-ci.org/fcrepo4-exts/fcrepo-camel/builds/76716904
* travis-ci leaves
* github-ff joins19:16
[fcrepo-camel] acoburn pushed 1 new commit to master: http://git.io/vszjV
fcrepo-camel/master 23afe74 ajs6f: Make FcrepoLink public
* github-ff leaves
* github-ff joins19:17
[fcrepo-camel] acoburn closed pull request #88: Make FcrepoLink public (master...PublicFcrepoLink) http://git.io/vsEth
* github-ff leaves
* github-ff joins
[fcrepo-camel] acoburn deleted PublicFcrepoLink at 48d02c8: http://git.io/vszxR
* github-ff leaves
* travis-ci joins19:18
fcrepo4-exts/fcrepo-camel#218 (master - 23afe74 : ajs6f): The build passed.
Change view : https://github.com/fcrepo4-exts/fcrepo-camel/compare/555078a9a90c...23afe740bc8e
Build details : https://travis-ci.org/fcrepo4-exts/fcrepo-camel/builds/76717204
* travis-ci leaves