[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-27 Thread phrocker
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @calebj no worries, I'll get this merged. Thanks ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-27 Thread calebj
Github user calebj commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @phrocker That was the last one, I promise. ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-27 Thread phrocker
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @calebj We also haven't explored disabling optimizations to speed up catch builds or using CATCH_CONFIG_FAST_COMPILE ( which is supposed to help by 20% ) for travis builds. On my

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-26 Thread phrocker
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @calebj It's not archive that is the problem. It's the usage of uint64_t over long. * ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-26 Thread calebj
Github user calebj commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 The build fails both with or without the `struct` keyword; I'll try a different approach next. There are also some other things I forgot to add when moving to the extension. ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-25 Thread calebj
Github user calebj commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @phrocker I already have a travis-ci.org account, but I've granted access to @NifiLocal and synced the account. ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-25 Thread phrocker
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @calebj I emailed Travis their response: "" We've been experiencing some issues with our abuse system creating false positives lately, and I suspect that's what's happening

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-25 Thread calebj
Github user calebj commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @phrocker Cool. I can squash into one commit and force push, if needed. ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-25 Thread phrocker
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @calebj thanks for the fix. Something in the way this PR is submitted is causing travis not to run as as result I"ll go through re-verification on all platforms and merge once I have an

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-25 Thread phrocker
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @calebj Ignore the boost removal, that was unrelated. This processor will be moved to an EXCLUDE_BOOST so that those who wish to exclude boost will not see this and other libarchive

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-25 Thread calebj
Github user calebj commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 I'm changing the types for size, mtime and mtime_nsec in `ArchiveEntryMetadata`'s declaration instead of casting. Why'd you take out the boost header include? ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-25 Thread phrocker
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 diff --git a/libminifi/src/processors/FocusArchiveEntry.cpp b/libminifi/src/processors/FocusArchiveEntry.cpp index c262217..42962a6 100644 ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-25 Thread phrocker
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @calebj These failures are isolated to OSX. I noticed that travis isn't building your PRs to show you the build failure. I'll take a look to see why you aren't getting travis runs. My

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-24 Thread calebj
Github user calebj commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @phrocker For the first error, I'm pretty sure the only type it can convert to is int64. The JsonCPP docs don't have any ambiguities there, it's just signed and unsigned int and int64.

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-24 Thread phrocker
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @calebj I see two build failures. FocusArchiveEntry.cpp:161:38: error: ambiguous conversion for functional-style cast from 'const long' to 'Json::Value'

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-23 Thread calebj
Github user calebj commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 Thank @achristianson for the original implementation, way back in March/April against 070d8758fded4836f17816c1b1a34a48aa1bba20. I just brought it up to date. ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-23 Thread apiri
Github user apiri commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @phrocker With that header addition I believe we should be good to go. Thanks! ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-23 Thread phrocker
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @calebj One minor change RE the license header for ProcessSessionReadCallback. Assuming @apiri is good, we can merge. I'm going to make a follow on to break these archive classes into an

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-23 Thread calebj
Github user calebj commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 Rebased. ---

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-19 Thread achristianson
Github user achristianson commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 @calebj pls clarify with @phrocker if the stream-based export is truly necessary at this point. The greater concern may be ensuring that the stash resource claims are

[GitHub] nifi-minifi-cpp issue #148: MINIFI-244 Un/FocusArchive processors

2017-10-19 Thread calebj
Github user calebj commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/148 Things left to look into: * [ ] Move things which depend on libarchive to an extension * [ ] Use streams for exportContent * [ ] Move exportContent ReadCallback to another file