Re: [VOTE] Release Apache Any23 2.2

2018-02-02 Thread lewis john mcgibbney
PING please, thank you

On Thu, Jan 25, 2018 at 11:24 AM, lewis john mcgibbney 
wrote:

> Hi Folks,
>
> I would like to open a VOTE on the Any23 2.2 RC#1
>
> We solved 40 issues:
> https://s.apache.org/BT4V
>
> Git source tag (b6ed4cfa288b29068c5d822f666ff38814c947c9):
> https://s.apache.org/GOLk
>
> Staging repo:
> https://repository.apache.org/content/repositories/orgapacheany23-1004
>
> Staging binaries:
> https://dist.apache.org/repos/dist/dev/any23/2.2/
>
> PGP release keys (signed using 48BAEBF6):
> https://dist.apache.org/repos/dist/release/any23/KEYS
>
> Vote will be open for 72 hours.
>
> [ ] +1, Release Apache Any23 2.2
> [ ] +/-0, fine, but consider to fix few issues before...
> [ ] -1, nope, because... (and please explain why)
>
> P.S. Here is my +1
>
> --
> http://home.apache.org/~lewismc/
> http://people.apache.org/keys/committer/lewismc
>



-- 
http://home.apache.org/~lewismc/
http://people.apache.org/keys/committer/lewismc


Re: [VOTE] Release Apache Any23 2.2

2018-02-02 Thread Andy Seaborne

Sorry : -1 : there are problems with the source code.

* There are two different apache-any23-2.2-src.zip files.
* There are no md5 for the proposed dist/any23
* The build depends on SNAPSHOTs

== 2 different apache-any23-2.2-src.zip

I can't get things to agree:

https://dist.apache.org/repos/dist/dev/any23/2.2/
apache-any23-2.2-src.zip is 2350548 bytes

This is the right one (?) but it is hard to find.

but

https://repository.apache.org/content/repositories/orgapacheany23-1004/org/apache/any23/apache-any23/2.2/

apache-any23-2.2-src.zip is 2311075 bytes

They have different files in them by about 30 files but unpack to the 
same directory name.


The repo one is newer.
The repo one has a apache-any23-2.2-src.zip.md5 which aligns with it.

== md5

There seems to be a process problem because .asc in the proposed dist 
are checksum'ed but not the files themselves. Download checksums are 
required.


http://www.apache.org/dev/release-distribution.html#sigs-and-sums

"""
The names of these files MUST be formed by adding to the name of the 
artifact the following suffixes:

"""

== SNAPSHOTS 1

in /pom.xml:

  
org.apache.commons
commons-csv
1.0-SNAPSHOT-rev1148315
  

This is not in central.maven.org.
(BTW it is from 2011)

== SNAPSHOTS 2

mvn clean  install  (on dist version of apache-any23-2.2-src.zip)

in
apache-any23-integration-test

pulls in any23 SNAPSHOTS:

~/.m2/repo >> find org/apache/any23/ -type d -name \*SNAPSHOT\*
org/apache/any23/apache-any23/1.2-SNAPSHOT
org/apache/any23/plugins/apache-any23-basic-crawler/1.0.6-SNAPSHOT
org/apache/any23/plugins/apache-any23-office-scraper/1.0.6-SNAPSHOT
org/apache/any23/plugins/apache-any23-html-scraper/1.0.7-SNAPSHOT

I guess 1.2-SNAPSHOT comes via the plugin SNAPSHOTS. - it's not in any 
pom.xml directly.




Finding the source:

Because any32 uses "src", not "source-release" (which is what the Apache 
parent POM produces) and there are also "sources.jar" binaries, it's not 
clear what's what.


At a minimum I suggest creating "source-release", not "src", for 
dist/any23 to clarify the different files.


Another way would be to have

dist/any23/source/
dist/any23/binaries/

or rely on maven for binaries and only put the master source code on 
dist/any23.


Andy


[jira] [Commented] (ANY23-327) Wrong error messages

2018-02-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ANY23-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16351261#comment-16351261
 ] 

ASF GitHub Bot commented on ANY23-327:
--

Github user lewismc commented on the issue:

https://github.com/apache/any23/pull/62
  
@jgrzebyta can you merge to master?


> Wrong error messages
> 
>
> Key: ANY23-327
> URL: https://issues.apache.org/jira/browse/ANY23-327
> Project: Apache Any23
>  Issue Type: Bug
>  Components: core
>Affects Versions: 2.2
>Reporter: Jacek Grzebyta
>Priority: Minor
>
> I found that parsing string values gives following error. My intention was in 
> that case string should be parsed into Literal value.
> {code:java}
> // 969  [main] ERROR org.apache.any23.rdf.RDFUtils  - Error processing href: 
> M20
> java.lang.IllegalArgumentException: Not a valid (absolute) IRI: M20
>     at org.eclipse.rdf4j.model.impl.SimpleIRI.setIRIString(SimpleIRI.java:76)
>     at org.eclipse.rdf4j.model.impl.SimpleIRI.(SimpleIRI.java:65)
>     at 
> org.eclipse.rdf4j.model.impl.AbstractValueFactory.createIRI(AbstractValueFactory.java:88)
>     at org.apache.any23.rdf.RDFUtils.isAbsoluteIRI(RDFUtils.java:527)
>     at org.apache.any23.rdf.RDFUtils.makeIRI(RDFUtils.java:602)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:115)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.lambda$processMap$0(ElementsProcessor.java:164)
>     at java.util.LinkedHashMap$LinkedKeySet.forEach(LinkedHashMap.java:559)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.processMap(ElementsProcessor.java:151)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:113)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.processList(ElementsProcessor.java:195)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:111)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.lambda$processMap$0(ElementsProcessor.java:164)
>     at java.util.LinkedHashMap$LinkedKeySet.forEach(LinkedHashMap.java:559)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.processMap(ElementsProcessor.java:151)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:113)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.processList(ElementsProcessor.java:195)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:111)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.lambda$processMap$0(ElementsProcessor.java:164)
>     at java.util.LinkedHashMap$LinkedKeySet.forEach(LinkedHashMap.java:559)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.processMap(ElementsProcessor.java:151)
>     at 
> org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:113)
>     at 
> org.apache.any23.extractor.yaml.YAMLExtractor.run(YAMLExtractor.java:77)
>     at 
> org.apache.any23.extractor.yaml.YAMLExtractor.run(YAMLExtractor.java:40)
>     at 
> org.apache.any23.extractor.SingleDocumentExtraction.runExtractor(SingleDocumentExtraction.java:470)
>     at 
> org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:258)
>     at org.apache.any23.Any23.extract(Any23.java:300)
>     at org.apache.any23.Any23.extract(Any23.java:452)
>     at org.apache.any23.cli.Rover.performExtraction(Rover.java:180)
>     at org.apache.any23.cli.Rover.run(Rover.java:213)
>     at org.apache.any23.cli.ToolRunner.execute(ToolRunner.java:136)
>     at org.apache.any23.cli.ToolRunner.main(ToolRunner.java:69)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] any23 issue #56: ANY23-321 Add openie toggle functionality to service

2018-02-02 Thread lewismc
Github user lewismc commented on the issue:

https://github.com/apache/any23/pull/56
  
@HansBrende @jgrzebyta can you both please have a look at dynamic plugin 
loading in this patch? I am at a loss, having tried to debug this with no 
progress. Thanks in advance, 


---


[jira] [Commented] (ANY23-321) Add openie toggle functionality to service

2018-02-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ANY23-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16351288#comment-16351288
 ] 

ASF GitHub Bot commented on ANY23-321:
--

Github user HansBrende commented on the issue:

https://github.com/apache/any23/pull/56
  
@lewismc you said you had some specific lines for debugging?


> Add openie toggle functionality to service
> --
>
> Key: ANY23-321
> URL: https://issues.apache.org/jira/browse/ANY23-321
> Project: Apache Any23
>  Issue Type: Bug
>  Components: openie, service
>Reporter: Lewis John McGibbney
>Assignee: Lewis John McGibbney
>Priority: Major
> Fix For: 2.3
>
>
> This issue is to add new functionality which provides an on-off switch for 
> running the openie module in addition to existing extractions. Basically 
> replicating the 'Report' or 'Annotate' check boxes would be ideal.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] any23 issue #56: ANY23-321 Add openie toggle functionality to service

2018-02-02 Thread HansBrende
Github user HansBrende commented on the issue:

https://github.com/apache/any23/pull/56
  
@lewismc you said you had some specific lines for debugging?


---


[GitHub] any23 issue #62: ANY23-327 Change log level to debug for RDFUtils.isAbsolute...

2018-02-02 Thread lewismc
Github user lewismc commented on the issue:

https://github.com/apache/any23/pull/62
  
@jgrzebyta can you merge to master?


---