What should I do to make this library work?

Hi,
I was trying to find location of pupil and track eyes. I found Drishti library. I created a TravisCI account to compile library. It passed tests. But I don't know how to compile library on my local computer. At first I tried to make it work on Ubuntu 16.04, but I couldn't.
When I run cmake . command in root folder, I got results below.

[hunter ** FATAL ERROR **] SHA1 suboption of HunterGate is mandatory
[hunter ** FATAL ERROR **] [Directory:/home/sparkh2o/installTest/drishti-master]

------------------------------ WIKI -------------------------------
    https://github.com/ruslo/hunter/wiki/error.incorrect.input.data
-------------------------------------------------------------------

CMake Error at cmake/HunterGate.cmake:76 (message):
Call Stack (most recent call first):
  cmake/HunterGate.cmake:100 (hunter_gate_wiki)
  cmake/HunterGate.cmake:104 (hunter_gate_fatal_error)
  cmake/HunterGate.cmake:364 (hunter_gate_user_error)
  CMakeLists.txt:34 (HunterGate)

-- Configuring incomplete, errors occurred!

When i run cmake . command in the src folder, I got results below.
CMake Error at CMakeLists.txt:19 (sugar_include):
  Unknown CMake command "sugar_include".

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.5)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/home/sparkh2o/installTest/drishti-master/src/CMakeFiles/CMakeOutput.log".

I tried to run travis codes below in terminal.
CONFIG=Release
TOOLCHAIN=gcc-5-pic-hid-sections-lto
INSTALL=--strip

# Add '--quiet' to avoid leaking the token to logs
git submodule update --init --recursive --quiet

# Install Python 3
if [[ "`uname`" == "Darwin" ]]; then travis_retry brew install python3; fi

# Install Python package 'requests'
# 'easy_install3' is not installed by 'brew install python3' on OS X 10.9 Maverick
if [[ "`uname`" == "Darwin" ]]; then pip3 install requests; fi
if [[ "`uname`" == "Linux" ]]; then travis_retry pip3 install --user requests; fi

# Install latest Polly toolchains and scripts
wget https://github.com/ruslo/polly/archive/master.zip
unzip master.zip
POLLY_ROOT="`pwd`/polly-master"
export PATH="${POLLY_ROOT}/bin:${PATH}"

# Install dependencies (CMake, Android NDK)
install-ci-dependencies.py

# Tune locations
export PATH="`pwd`/_ci/cmake/bin:${PATH}"

ARGS=(
    --toolchain ${TOOLCHAIN}
    --config ${CONFIG}
    --verbose
    --ios-multiarch --ios-combined
    --fwd
    DRISHTI_BUILD_REGRESSION_SIMD=NO
    DRISHTI_BUILD_REGRESSION_FIXED_POINT=NO
    DRISHTI_BUILD_TESTS=YES
    DRISHTI_BUILD_EXAMPLES=YES
    DRISHTI_COPY_3RDPARTY_LICENSES=ON
    GAUZE_ANDROID_USE_EMULATOR=YES
    HUNTER_USE_CACHE_SERVERS=ONLY
    HUNTER_DISABLE_BUILDS=YES
    HUNTER_CONFIGURATION_TYPES=${CONFIG}
    HUNTER_SUPPRESS_LIST_OF_FILES=ON
    --archive drishti
    --jobs 2
    --test
    ${INSTALL}
)

polly.py ${ARGS[@]} --reconfig

Unfortunately, this trial also failed. Log file is below.
Execute command: [
  `which`
  `cmake`
]
[/home/sparkh2o/installTest/drishti-master]> "which" "cmake"
/home/sparkh2o/installTest/drishti-master/_ci/cmake/bin/cmake
Execute command: [
  `cmake`
  `--version`
]
[/home/sparkh2o/installTest/drishti-master]> "cmake" "--version"
cmake version 3.9.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).
Execute command: [
  `cmake`
  `-H.`
  `-B/home/sparkh2o/installTest/drishti-master/_builds/gcc-5-pic-hid-sections-lto-Release`
  `-DCMAKE_BUILD_TYPE=Release`
  `-GUnix Makefiles`
  `-DCMAKE_TOOLCHAIN_FILE=/home/sparkh2o/installTest/drishti-master/polly-master/gcc-5-pic-hid-sections-lto.cmake`
  `-DCMAKE_VERBOSE_MAKEFILE=ON`
  `-DPOLLY_STATUS_DEBUG=ON`
  `-DHUNTER_STATUS_DEBUG=ON`
  `-DCMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH=NO`
  `-DCMAKE_IOS_INSTALL_COMBINED=YES`
  `-DCMAKE_INSTALL_PREFIX=/home/sparkh2o/installTest/drishti-master/_install/gcc-5-pic-hid-sections-lto`
  `-DDRISHTI_BUILD_REGRESSION_SIMD=NO`
  `-DDRISHTI_BUILD_REGRESSION_FIXED_POINT=NO`
  `-DDRISHTI_BUILD_TESTS=YES`
  `-DDRISHTI_BUILD_EXAMPLES=YES`
  `-DDRISHTI_COPY_3RDPARTY_LICENSES=ON`
  `-DGAUZE_ANDROID_USE_EMULATOR=YES`
  `-DHUNTER_USE_CACHE_SERVERS=ONLY`
  `-DHUNTER_DISABLE_BUILDS=YES`
  `-DHUNTER_CONFIGURATION_TYPES=Release`
  `-DHUNTER_SUPPRESS_LIST_OF_FILES=ON`
]
[/home/sparkh2o/installTest/drishti-master]> "cmake" "-H." "-B/home/sparkh2o/installTest/drishti-master/_builds/gcc-5-pic-hid-sections-lto-Release" "-DCMAKE_BUILD_TYPE=Release" "-GUnix Makefiles" "-DCMAKE_TOOLCHAIN_FILE=/home/sparkh2o/installTest/drishti-master/polly-master/gcc-5-pic-hid-sections-lto.cmake" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DPOLLY_STATUS_DEBUG=ON" "-DHUNTER_STATUS_DEBUG=ON" "-DCMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH=NO" "-DCMAKE_IOS_INSTALL_COMBINED=YES" "-DCMAKE_INSTALL_PREFIX=/home/sparkh2o/installTest/drishti-master/_install/gcc-5-pic-hid-sections-lto" "-DDRISHTI_BUILD_REGRESSION_SIMD=NO" "-DDRISHTI_BUILD_REGRESSION_FIXED_POINT=NO" "-DDRISHTI_BUILD_TESTS=YES" "-DDRISHTI_BUILD_EXAMPLES=YES" "-DDRISHTI_COPY_3RDPARTY_LICENSES=ON" "-DGAUZE_ANDROID_USE_EMULATOR=YES" "-DHUNTER_USE_CACHE_SERVERS=ONLY" "-DHUNTER_DISABLE_BUILDS=YES" "-DHUNTER_CONFIGURATION_TYPES=Release" "-DHUNTER_SUPPRESS_LIST_OF_FILES=ON"

[hunter ** FATAL ERROR **] SHA1 suboption of HunterGate is mandatory
[hunter ** FATAL ERROR **] [Directory:/home/sparkh2o/installTest/drishti-master]

-- Configuring incomplete, errors occurred!
------------------------------ WIKI -------------------------------
    https://github.com/ruslo/hunter/wiki/error.incorrect.input.data
-------------------------------------------------------------------

CMake Error at cmake/HunterGate.cmake:76 (message):
Call Stack (most recent call first):
  cmake/HunterGate.cmake:100 (hunter_gate_wiki)
  cmake/HunterGate.cmake:104 (hunter_gate_fatal_error)
  cmake/HunterGate.cmake:364 (hunter_gate_user_error)
  CMakeLists.txt:34 (HunterGate)

I am sorry to ask such question but I really need some information about compilation process. What should I do to make this library work?
Kind Regards

cmake .

In-source build is not recommended for CMake, always use out-of-source build:

http://cgold.readthedocs.io/en/latest/tutorials/out-of-source.html

When i run cmake . command in the src folder, I got results below

It's not designed to work this way.

Unfortunately, this trial also failed. Log file is below

I think submodule is not initialized. Is file ./drishti-upload/config.cmake present?

Thank you for your help. Yes, submodule was not initialized. Now I fixed it. I checked .travis.yml file again checked and applied whole steps. This time I cloned sources from repositories and I got different result.
Execute command: [
  `which`
  `cmake`
]
[/home/sparkh2o/installDrishti/elucideye/drishti]> "which" "cmake"
/home/sparkh2o/installDrishti/elucideye/drishti/_ci/cmake/bin/cmake
Execute command: [
  `cmake`
  `--version`
]
[/home/sparkh2o/installDrishti/elucideye/drishti]> "cmake" "--version"
cmake version 3.9.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).
Execute command: [
  `cmake`
  `-H.`
  `-B/home/sparkh2o/installDrishti/elucideye/drishti/_builds/gcc-5-pic-hid-sections-lto-Release`
  `-DCMAKE_BUILD_TYPE=Release`
  `-GUnix Makefiles`
  `-DCMAKE_TOOLCHAIN_FILE=/home/sparkh2o/installDrishti/elucideye/drishti/polly-master/gcc-5-pic-hid-sections-lto.cmake`
  `-DCMAKE_VERBOSE_MAKEFILE=ON`
  `-DPOLLY_STATUS_DEBUG=ON`
  `-DHUNTER_STATUS_DEBUG=ON`
  `-DCMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH=NO`
  `-DCMAKE_IOS_INSTALL_COMBINED=YES`
  `-DCMAKE_INSTALL_PREFIX=/home/sparkh2o/installDrishti/elucideye/drishti/_install/gcc-5-pic-hid-sections-lto`
  `-DDRISHTI_BUILD_REGRESSION_SIMD=NO`
  `-DDRISHTI_BUILD_REGRESSION_FIXED_POINT=NO`
  `-DDRISHTI_BUILD_TESTS=YES`
  `-DDRISHTI_BUILD_EXAMPLES=YES`
  `-DDRISHTI_COPY_3RDPARTY_LICENSES=ON`
  `-DGAUZE_ANDROID_USE_EMULATOR=YES`
  `-DHUNTER_USE_CACHE_SERVERS=ONLY`
  `-DHUNTER_DISABLE_BUILDS=NO`
  `-DHUNTER_CONFIGURATION_TYPES=Release`
  `-DHUNTER_SUPPRESS_LIST_OF_FILES=ON`
]
[/home/sparkh2o/installDrishti/elucideye/drishti]> "cmake" "-H." "-B/home/sparkh2o/installDrishti/elucideye/drishti/_builds/gcc-5-pic-hid-sections-lto-Release" "-DCMAKE_BUILD_TYPE=Release" "-GUnix Makefiles" "-DCMAKE_TOOLCHAIN_FILE=/home/sparkh2o/installDrishti/elucideye/drishti/polly-master/gcc-5-pic-hid-sections-lto.cmake" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DPOLLY_STATUS_DEBUG=ON" "-DHUNTER_STATUS_DEBUG=ON" "-DCMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH=NO" "-DCMAKE_IOS_INSTALL_COMBINED=YES" "-DCMAKE_INSTALL_PREFIX=/home/sparkh2o/installDrishti/elucideye/drishti/_install/gcc-5-pic-hid-sections-lto" "-DDRISHTI_BUILD_REGRESSION_SIMD=NO" "-DDRISHTI_BUILD_REGRESSION_FIXED_POINT=NO" "-DDRISHTI_BUILD_TESTS=YES" "-DDRISHTI_BUILD_EXAMPLES=YES" "-DDRISHTI_COPY_3RDPARTY_LICENSES=ON" "-DGAUZE_ANDROID_USE_EMULATOR=YES" "-DHUNTER_USE_CACHE_SERVERS=ONLY" "-DHUNTER_DISABLE_BUILDS=NO" "-DHUNTER_CONFIGURATION_TYPES=Release" "-DHUNTER_SUPPRESS_LIST_OF_FILES=ON"
-- [hunter *** DEBUG *** 2017-10-09T17:42:52] HUNTER_ROOT set using HOME environment variable
-- [hunter *** DEBUG *** 2017-10-09T17:42:52] HUNTER_ROOT: /home/sparkh2o/.hunter
-- [hunter *** DEBUG *** 2017-10-09T17:42:52] Settings (initialize):
-- [hunter *** DEBUG *** 2017-10-09T17:42:52]   HunterGate done (NO)
-- [hunter *** DEBUG *** 2017-10-09T17:42:52]   Cache init (NO)
-- [polly] Used toolchain: gcc 5 / PIC / c++11 support / hidden / function-sections / data-sections / LTO
-- [polly *** DEBUG ***] Used tag: gcc-5-pic-hid-sections-lto
-- [polly *** DEBUG ***] CMAKE_DEBUG_POSTFIX is empty
-- [polly *** DEBUG ***] CMAKE_DEBUG_POSTFIX set to 'd'
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc-5
-- Check for working C compiler: /usr/bin/gcc-5 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++-5
-- Check for working CXX compiler: /usr/bin/g++-5 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX: /home/sparkh2o/installDrishti/elucideye/drishti/_install/gcc-5-pic-hid-sections-lto
-- Performing Test COMPILER_SUPPORTS_NO_NARROWING
-- Performing Test COMPILER_SUPPORTS_NO_NARROWING - Success
-- Performing Test COMPILER_SUPPORTS_NO_UNUSED_PARAMETER
-- Performing Test COMPILER_SUPPORTS_NO_UNUSED_PARAMETER - Success
-- Performing Test COMPILER_SUPPORTS_NO_UNUSED_LOCAL_TYPEDEFS
-- Performing Test COMPILER_SUPPORTS_NO_UNUSED_LOCAL_TYPEDEFS - Success
-- Performing Test COMPILER_SUPPORTS_NO_UNKNOWN_ATTRIBUTES
-- Performing Test COMPILER_SUPPORTS_NO_UNKNOWN_ATTRIBUTES - Success
-- Performing Test COMPILER_SUPPORTS_NO_SHORTEN_64_TO_32
-- Performing Test COMPILER_SUPPORTS_NO_SHORTEN_64_TO_32 - Success
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- [hunter *** DEBUG *** 2017-10-09T17:42:58] Single-configuration generator
-- [hunter *** DEBUG *** 2017-10-09T17:42:58] List of cache servers:
-- [hunter *** DEBUG *** 2017-10-09T17:42:58]   * https://github.com/elucideye/hunter-cache
-- [hunter *** DEBUG *** 2017-10-09T17:42:58]   * https://github.com/ingenue/hunter-cache
-- [hunter *** DEBUG *** 2017-10-09T17:42:58] Settings (finalize):
-- [hunter *** DEBUG *** 2017-10-09T17:42:58]   HunterGate done (NO)
-- [hunter *** DEBUG *** 2017-10-09T17:42:58]   Cache init (NO)
-- [hunter *** DEBUG *** 2017-10-09T17:42:58] Variables from HunterGate:
-- [hunter *** DEBUG *** 2017-10-09T17:42:58]   HUNTER_GATE_ROOT: /home/sparkh2o/.hunter
-- [hunter *** DEBUG *** 2017-10-09T17:42:58]   HUNTER_GATE_VERSION: 0.19.116
-- [hunter *** DEBUG *** 2017-10-09T17:42:58]   HUNTER_GATE_SHA1: c872605eee88941a751fb91a028cc5a69c77eac0
-- [hunter] Calculating Toolchain-SHA1
-- [hunter *** DEBUG *** 2017-10-09T17:42:58] [/home/sparkh2o/installDrishti/elucideye/drishti/_builds/gcc-5-pic-hid-sections-lto-Release/_3rdParty/Hunter/toolchain] > "/home/sparkh2o/installDrishti/elucideye/drishti/_ci/cmake/bin/cmake" "-DTOOLCHAIN_INFO_FILE=/home/sparkh2o/installDrishti/elucideye/drishti/_builds/gcc-5-pic-hid-sections-lto-Release/_3rdParty/Hunter/toolchain/toolchain.info" "-DCMAKE_TOOLCHAIN_FILE=/home/sparkh2o/installDrishti/elucideye/drishti/polly-master/gcc-5-pic-hid-sections-lto.cmake" "-DHUNTER_SELF=/home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked" "-GUnix Makefiles" "-H/home/sparkh2o/installDrishti/elucideye/drishti/_builds/gcc-5-pic-hid-sections-lto-Release/_3rdParty/Hunter/toolchain" "-B/home/sparkh2o/installDrishti/elucideye/drishti/_builds/gcc-5-pic-hid-sections-lto-Release/_3rdParty/Hunter/toolchain/_builds" "-DCMAKE_MAKE_PROGRAM=/usr/bin/make" "-DCMAKE_RELEASE_POSTFIX="
-- [polly] Used toolchain: gcc 5 / PIC / c++11 support / hidden / function-sections / data-sections / LTO
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc-5
-- Check for working C compiler: /usr/bin/gcc-5 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++-5
-- Check for working CXX compiler: /usr/bin/g++-5 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sparkh2o/installDrishti/elucideye/drishti/_builds/gcc-5-pic-hid-sections-lto-Release/_3rdParty/Hunter/toolchain/_builds
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Already exists: /home/sparkh2o/.hunter/_Base/c872605/f04654b/toolchain.info
-- [hunter] Calculating Config-SHA1
>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>: /home/sparkh2o/installDrishti/elucideye/drishti/cmake/Modules;/home/sparkh2o/installDrishti/elucideye/drishti/drishti-upload/cmake/Modules;/home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/modules;/home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/find;/home/sparkh2o/installDrishti/elucideye/drishti/polly-master/utilities/../find;/home/sparkh2o/installDrishti/elucideye/drishti/polly-master/utilities <:<:<:<:<:<:<:<:<:<:<:<:<:<:<:<:<:<:<:<:<:<:<:
-- config.cmake --
  MSVC:
  APPLE:
  ANDROID:
  IOS:
  is_linux: 1
  XCODE:
is_linux =======================================================================
-- Found Git: /usr/bin/git (found version "2.7.4")
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Using git executable: /usr/bin/git
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Creating archive '/home/sparkh2o/installDrishti/elucideye/drishti/_builds/gcc-5-pic-hid-sections-lto-Release/_3rdParty/Hunter/git-archives/imshow.tar'
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] No SUBMODULE_SOURCE_SUBDIR specified, archive whole submodule
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Locking directory: /home/sparkh2o/.hunter/_Base/c872605/f04654b/4fca926
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Lock done
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Locking directory: /home/sparkh2o/.hunter/_Base/c872605/f04654b/4fca926
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Lock done
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Config: /home/sparkh2o/.hunter/_Base/c872605/f04654b/4fca926/config.cmake
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Config sha1: 4fca926eeb73638cde351959d31a919ab8915596
-- [hunter] HUNTER_ROOT: /home/sparkh2o/.hunter
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] HUNTER_TOOLCHAIN_ID_PATH: /home/sparkh2o/.hunter/_Base/c872605/f04654b
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] HUNTER_CONFIGURATION_TYPES: Release
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] HUNTER_BUILD_SHARED_LIBS:
-- [hunter] [ Hunter-ID: c872605 | Toolchain-ID: f04654b | Config-ID: 4fca926 ]
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Locking directory: /home/sparkh2o/.hunter/_Base/c872605/f04654b/4fca926
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] Lock done
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_C_SIZEOF_DATA_PTR = 8
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_C_COMPILER_ABI = ELF
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_C_IMPLICIT_LINK_LIBRARIES = gcc;gcc_s;c;gcc;gcc_s
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_C_IMPLICIT_LINK_DIRECTORIES = /usr/lib/gcc/x86_64-linux-gnu/5;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES =
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_C_LIBRARY_ARCHITECTURE = x86_64-linux-gnu
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_C_ABI_COMPILED = TRUE
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_CXX_SIZEOF_DATA_PTR = 8
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_CXX_COMPILER_ABI = ELF
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_CXX_IMPLICIT_LINK_LIBRARIES = stdc++;m;gcc_s;gcc;c;gcc_s;gcc
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES = /usr/lib/gcc/x86_64-linux-gnu/5;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES =
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_CXX_LIBRARY_ARCHITECTURE = x86_64-linux-gnu
-- [hunter *** DEBUG *** 2017-10-09T17:43:03] ABI forwarding: CMAKE_CXX_ABI_COMPILED = TRUE
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] load: /home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/projects/gauze/hunter.cmake
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] gauze versions available: [0.1.0;0.1.1]
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Install to: /home/sparkh2o/.hunter/_Base/c872605/f04654b/4fca926/Install
-- [hunter] GAUZE_ROOT: /home/sparkh2o/.hunter/_Base/c872605/f04654b/4fca926/Install (ver.: 0.1.1)
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Default arguments: GAUZE_BUILD_TESTS=OFF
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] User arguments:
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Locking directory: /home/sparkh2o/.hunter/_Base/Download/gauze/0.1.1/4993b09
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Lock done
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Already locked: /home/sparkh2o/.hunter/_Base/Download/gauze/0.1.1/4993b09
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Locking directory: /home/sparkh2o/.hunter/_Base/c872605/f04654b/4fca926
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Lock done
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Add extra CMake args: 'GAUZE_BUILD_TESTS' = 'OFF'
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Locking directory: /home/sparkh2o/.hunter/_Base/Cache
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Lock done
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Downloading file (try #0 of 10):
-- [hunter *** DEBUG *** 2017-10-09T17:43:04]   https://raw.githubusercontent.com/elucideye/hunter-cache/master/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:04]   -> /home/sparkh2o/.hunter/_Base/Cache/meta/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] File not found
-- [hunter *** DEBUG *** 2017-10-09T17:43:04] Downloading file (try #0 of 10):
-- [hunter *** DEBUG *** 2017-10-09T17:43:04]   https://raw.githubusercontent.com/ingenue/hunter-cache/master/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:04]   -> /home/sparkh2o/.hunter/_Base/Cache/meta/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:05] File not found
-- [hunter *** DEBUG *** 2017-10-09T17:43:05] Downloading file (try #1 of 10):
-- [hunter *** DEBUG *** 2017-10-09T17:43:05]   https://raw.githubusercontent.com/elucideye/hunter-cache/master/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:05]   -> /home/sparkh2o/.hunter/_Base/Cache/meta/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:05] File not found
-- [hunter *** DEBUG *** 2017-10-09T17:43:05] Downloading file (try #1 of 10):
-- [hunter *** DEBUG *** 2017-10-09T17:43:05]   https://raw.githubusercontent.com/ingenue/hunter-cache/master/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:05]   -> /home/sparkh2o/.hunter/_Base/Cache/meta/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:06] File not found
-- [hunter *** DEBUG *** 2017-10-09T17:43:06] Downloading file (try #2 of 10):
-- [hunter *** DEBUG *** 2017-10-09T17:43:06]   https://raw.githubusercontent.com/elucideye/hunter-cache/master/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:06]   -> /home/sparkh2o/.hunter/_Base/Cache/meta/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:06] Retry after 5 seconds (attempt #2) ...
-- [hunter *** DEBUG *** 2017-10-09T17:43:11] File not found
-- [hunter *** DEBUG *** 2017-10-09T17:43:11] Downloading file (try #2 of 10):
-- [hunter *** DEBUG *** 2017-10-09T17:43:11]   https://raw.githubusercontent.com/ingenue/hunter-cache/master/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:11]   -> /home/sparkh2o/.hunter/_Base/Cache/meta/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:11] Retry after 5 seconds (attempt #2) ...
-- [hunter *** DEBUG *** 2017-10-09T17:43:17] File not found
-- [hunter *** DEBUG *** 2017-10-09T17:43:17] Downloading file (try #3 of 10):
-- [hunter *** DEBUG *** 2017-10-09T17:43:17]   https://raw.githubusercontent.com/elucideye/hunter-cache/master/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:17]   -> /home/sparkh2o/.hunter/_Base/Cache/meta/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:17] Retry after 5 seconds (attempt #3) ...
-- [hunter *** DEBUG *** 2017-10-09T17:43:22] File not found
-- [hunter *** DEBUG *** 2017-10-09T17:43:22] Downloading file (try #3 of 10):
-- [hunter *** DEBUG *** 2017-10-09T17:43:22]   https://raw.githubusercontent.com/ingenue/hunter-cache/master/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:22]   -> /home/sparkh2o/.hunter/_Base/Cache/meta/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2017-10-09T17:43:22] Retry after 5 seconds (attempt #3) ...
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] File not found
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] Cache miss (no basic dependencies info found: /home/sparkh2o/.hunter/_Base/Cache/meta/f04654b/gauze/0.1.1/4993b09/34ce655/d41f56c/da39a3e/basic-deps.DONE)
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] Number of logical cores per physical core: 4
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] Number of physical cores: 4
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] Total number of cores: 16
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] HUNTER_JOBS_NUMBER:
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] HUNTER_JOBS_OPTION: 16
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] Add package: gauze
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] Download scheme: url_sha1_cmake
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] Url: https://github.com/hunter-packages/gauze/archive/v0.1.1.tar.gz
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] SHA1: 4993b09855e51047ea51136a05fcd6d0216f2716

[hunter ** FATAL ERROR **] Building package from source is disabled (dir: /home/sparkh2o/.hunter/_Base/c872605/f04654b/4fca926/Build/gauze)
[hunter ** FATAL ERROR **] [Directory:/home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/projects/gauze]

------------------------------ WIKI -------------------------------
    https://github.com/ruslo/hunter/wiki/error.build.disabled
-------------------------------------------------------------------

CMake Error at /home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message):
Call Stack (most recent call first):
  /home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_wiki)
  /home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/modules/hunter_download.cmake:530 (hunter_fatal_error)
  /home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/projects/gauze/hunter.cmake:37 (hunter_download)
  /home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/modules/hunter_add_package.cmake:53 (include)
  CMakeLists.txt:270 (hunter_add_package)

-- [hunter *** DEBUG *** 2017-10-09T17:43:28] Configuration types: Release
-- [hunter *** DEBUG *** 2017-10-09T17:43:28] Scheme file used: /home/sparkh2o/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/schemes/url_sha1_cmake.cmake.in
-- [hunter] Building gauze
-- Configuring incomplete, errors occurred!
See also "/home/sparkh2o/installDrishti/elucideye/drishti/_builds/gcc-5-pic-hid-sections-lto-Release/CMakeFiles/CMakeOutput.log".

I got same error for the option HUNTER_DISABLE_BUILDS equals to YES and NO just added one log here.

Those one used for CI optimization:

HUNTER_USE_CACHE_SERVERS=ONLY
HUNTER_DISABLE_BUILDS=YES
HUNTER_SUPPRESS_LIST_OF_FILES=ON

No need to use them while building locally.
You can find some info here:

https://docs.hunter.sh/en/latest/reference/user-variables.html#cmake

@ruslo I was getting the exact same failure on the gauze/0.1.1 dependency from the ingenue hunter cache. Turns out those options you called out were in my build script (taken from appveyor.yml)
export CONFIG=MinSizeRel
export TOOLCHAIN=ios-nocodesign-11-0-dep-9-0-bitcode-cxx11
export INSTALL=--install

git submodule update --init --recursive --quiet
wget https://github.com/ruslo/polly/archive/master.zip
unzip -o master.zip
POLLY_ROOT="`pwd`/polly-master"
export PATH="${POLLY_ROOT}/bin:${PATH}"
install-ci-dependencies.py
export PATH="`pwd`/_ci/cmake/bin:${PATH}"
export ANDROID_NDK_r10e="`pwd`/_ci/android-ndk-r10e"

polly.py --toolchain ${TOOLCHAIN} --config ${CONFIG} --verbose --ios-multiarch --ios-combined --fwd DRISHTI_BUILD_REGRESSION_SIMD=NO DRISHTI_BUILD_REGRESSION_FIXED_POINT=NO DRISHTI_BUILD_TESTS=YES DRISHTI_BUILD_EXAMPLES=YES DRISHTI_COPY_3RDPARTY_LICENSES=ON GAUZE_ANDROID_USE_EMULATOR=YES HUNTER_CONFIGURATION_TYPES=${CONFIG} --archive drishti --jobs 2 --test ${INSTALL}

For someone with absolutely no knowledge of Hunter, and who hasn't used cmake in 5+ years the curve to just getting this to build was mildly excessive. Part of the issue was the Git checkout not pulling submodules as mentioned above, but I only discovered that after reading the CI scripts and looking at the CMakeLists. Having a simple build script like this one for people to build locally would probably be a good addition for people looking into using this.
It's probably also worth noting that depending on which version of XCode you have installed you may need to change TOOLCHAIN to target the proper SDK. The Polly Toolchain wiki page removed all mention of iOS for some reason so it was a little hard to figure out exactly what was going on.

@ruslo After building with that new toolchain all the tests fail. What should I do to get the tests to run successfully?
UpdateCTestConfiguration  from :/Users/matthewbaker/Documents/Projects/drishti/_builds/ios-nocodesign-11-0-dep-9-0-bitcode-cxx11/DartConfiguration.tcl
UpdateCTestConfiguration  from :/Users/matthewbaker/Documents/Projects/drishti/_builds/ios-nocodesign-11-0-dep-9-0-bitcode-cxx11/DartConfiguration.tcl
Test project /Users/matthewbaker/Documents/Projects/drishti/_builds/ios-nocodesign-11-0-dep-9-0-bitcode-cxx11
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
      Start  1: DrishtiCoreTest

1: Test command: /Users/matthewbaker/Documents/Projects/drishti/_ci/cmake/bin/cmake "-DAPP_SOURCE=/Users/matthewbaker/Documents/Projects/drishti/_builds/ios-nocodesign-11-0-dep-9-0-bitcode-cxx11/src/lib/drishti/core/ut/MinSizeRel${EFFECTIVE_PLATFORM_NAME}/test-drishti-core.app/test-drishti-core" "-P" "/Users/matthewbaker/Documents/Projects/drishti/_builds/ios-nocodesign-11-0-dep-9-0-bitcode-cxx11/src/lib/drishti/core/ut/_3rdParty/gauze_test/DrishtiCoreTest.cmake"
1: Test timeout computed to be: 9.99988e+06
1: Test that iOS device is connected
1: > ios-deploy --no-wifi --detect
1: Result: No such file or directory
1: Output:
1: *** BEGIN ***
1:
1: *** END ***
1: CMake Error at _3rdParty/gauze_test/DrishtiCoreTest.cmake:47 (message):
1:   Command failed
1: Call Stack (most recent call first):
1:   _3rdParty/gauze_test/DrishtiCoreTest.cmake:79 (run_cmd)
1:
1:
 1/11 Test  #1: DrishtiCoreTest ..................***Failed    0.04 sec

After building with that new toolchain all the tests fail. What should I do to get the tests to run successfully?

On iOS platforms, the tests must be run on a physical device, which has to be tethered to the host machine.  From the error message, it looks like you don't have an iOS device connected.  You can also skip the tests by removing --test from your build command.  (The Android SDK has a QEMU emulator mode, so you can run the tests w/ GLSL shaders on your host machine without a device.)

For someone with absolutely no knowledge of Hunter, and who hasn't used cmake in 5+ years the curve to just getting this to build was mildly excessive.

It's probably also worth noting that depending on which version of XCode you have installed you may need to change TOOLCHAIN to target the proper SDK. The Polly Toolchain wiki page removed all mention of iOS for some reason so it was a little hard to figure out exactly what was going on.

@mlb5000 Projects mentioned here are open source. Fixes/improvements are welcome:

Hunter: https://github.com/ruslo/hunter
Polly: https://github.com/ruslo/polly
CMake: https://gitlab.kitware.com/cmake/cmake

Having a simple build script like this one for people to build locally would probably be a good addition for people looking into using this.

@mlb5000 :  I agree with that.  We can refactor the CI scripts into a polly_cmake_setup_ci.{sh,cmd} configuration for a sandboxed CMake + Polly environment (something that can be sourced from a .bashrc or similar for PATH setup to demonstrate one possible working setup), and a drishti_build_ci.{sh,cmd} script for building (tab based autocompletion to enforce validTOOLCHAIN, CONFIG and INSTALL would be nice).  The polly_cmake_setup.{sh,cmd} would essentially contain the before_install: and install: sections from .travis.yml (and similar for appveyor.yml) as you have sketched in your script.
As a starting point...
This script is currently used for the appveyor CI build step:
https://github.com/elucideye/drishti/blob/master/bin/build-appveyor.cmd
This ones mimics the travis build:
https://github.com/elucideye/drishti/blob/master/bin/build-travis.sh
We can adapt it for use in .travis.yml.
CMake and Hunter (w/ Polly) do add some complexity (compared to Visual Studio, Android Studio, or Xcode projects), but I find the tools incredibly useful for multi-platform builds.  Perhaps a few notes describing the tools (and high level CMake build philosophy) in the README could help in combination with the refactored CI script.  I'll try to add something this week.

@ruslo Rereading what I wrote it was unintentionally harsh, I was just in a hurry. Mostly I was just suggesting having a handful of easy to follow steps for building locally for my target platform would be welcome, as well as additional steps for test support, etc. There were several things I only discovered I needed, how they were needed, and where they should reside, once I read the CI scripts.
@headupinclouds OK I fixed that part (needed this: https://gauze.readthedocs.io/en/latest/prereq/ios.html). Then they all failed with this error:
11: 2017-10-10 10:22:33.601 ios-deploy[51665:416160] [ !! ] Error 0xe800801c: No code signature found. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)

Then I removed -nocodesign from the toolchain (since all code deployed to iOS must be signed) and now it's at least trying to run the tests on device. I'm mostly just writing this out so I can document it a little later.

@mlb5000 :   I always use the standard code signing toolchain version for iOS builds.  When I'm building drishti on iOS w/ the optional QT facefilter application (real time demo), I typically use this:
cd drishti
./bin/build-xcode-ios-dev.sh -o

These are development scripts I maintain (my iPhone toolchain, etc), but it should serve as a starting point at least.
This requires a few variables to be configured.
Recent iOS projects require a development team to be set in the project, which can be provided (if using polly) with this variable:
export POLLY_IOS_DEVELOPMENT_TEAM="ABCD123456" # your id here

Additionally, the developer ID is needed (see the last argument):
COMMAND=(
    "--verbose --fwd "
    "${DRISHTI_BUILD_ARGS[*]} "
    "${DRISHTI_BUILD_HIDE[*]} "
    "${DRISHTI_BUILD_LOCAL[*]} "
    "CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET=9.0 "
    "${DRISHTI_POLLY_ARGS[*]} "
    "--framework-device "
    "--framework-lib libdrishti.*"
    "--install "
    "--jobs 8 "
    "--plist \"${DRISHTISDK}/cmake/framework/Info.plist\" "
    "--identity \"${DRISHTISDK_IOS_IDENTITY}\" "
)

That has the form:
export DRISHTISDK_IOS_IDENTITY="iPhone Developer: Your Name (QWERTY1234)"

I have these all in my ${HOME}/.profile:
export DRISHTISDK=${HOME}/path/to/drishti
export POLLY_IOS_DEVELOPMENT_TEAM="ABCD123456" # your id here
export DRISHTISDK_IOS_IDENTITY="iPhone Developer: Your Name (QWERTY1234)"

This might be a useful starting point for the device builds and tests.

I removed --archive and added --framework to produce a framework file for iOS, but the build fails with:
Expected only one lib in directory: /Users/matthewbaker/Documents/Projects/drishti/_install/ios-11-0-dep-9-0-bitcode-cxx11/lib
But found: ['/Users/matthewbaker/Documents/Projects/drishti/_install/ios-11-0-dep-9-0-bitcode-cxx11/lib/libdrishti_world-MinSizeRel.a', '/Users/matthewbaker/Documents/Projects/drishti/_install/ios-11-0-dep-9-0-bitcode-cxx11/lib/libdrishti-MinSizeRel.a']

What is the supported way to generate a framework file?

See the "--framework-lib libdrishti.*" polly.py option in the script above.  If there is more than 1 library in the install folder lib directory you need to tell polly which one to use.

@headupinclouds after updating the TOOLCHAIN argument to iOS 11 in build-xcode-ios-dev.sh and setting the proper environment variables I get the following error:
[hunter ** FATAL ERROR **] Broken package:  Some parts of Qt can't be built for armv7s. For example Qt Multimedia: https://bugreports.qt.io/browse/QTBUG-48805
[hunter ** FATAL ERROR **] [Directory:/Users/matthewbaker/.hunter/_Base/Download/Hunter/0.19.116/c872605/Unpacked/cmake/projects/Qt]

------------------------------ WIKI -------------------------------
    https://github.com/ruslo/hunter/wiki/error.broken.package
-------------------------------------------------------------------

It looks like that fails because bitcode toolchains build for all 3 architectures set(IPHONEOS_ARCHS armv7;armv7s;arm64). I modified that line in polly-master/ios-11-0-dep-9-0-bitcode-cxx11.cmake as a quick hack to see if I could get it to build that omitting armv7s. It's kind of annoying that the QT CMake scripts check the architecture limitations for QT as a whole, even though you guys are only integrating with qtbase.
It's still building. Has been for a couple hours now, lol

@headupinclouds OK, I got it to build by omitting everything but amd64. It generated an xcodeproj file, which builds (after I updated the CMake Rules build phase to inlclude POLLY_IOS_DEVELOPMENT_TEAM). What does that project actually generate? Is this a fully sample app? If so how do I deploy it?

@headupinclouds Update: GOT IT TO RUN! Just needed to set the target to facefilter.
Now the million dollar question. Any support for Gaze detection in here yet, and if not, any recommendation of which part of the library I should focus on to develop a really naive heuristic?

@headupinclouds If I have generated the XCode project and gotten it to build, can I just take the built libdrishtisdkd.a and libdrishti_worldd.a files and use them in a new project? I only point those out because they're what facefilter links against.
Basically, I need just the core library (or .framework file if you can generate one) to integrate into a Swift app, and not the QT demo application.

Update: GOT IT TO RUN! Just needed to set the target to facefilter.

Glad to hear it.  Be sure to set the facefilter scheme to Release mode (or a variant of it) in Xcode.  SFML (instead of Qt) paired with a native mobile camera lib might be a good lightweight alternative to QT for a demo/test app.

Any support for Gaze detection in here yet

Not yet, but minimal calibration absolute gaze for mobile screens is a stretch goal: 2x2, 3x3 grid keypads, etc.  I don't currently have a labeled dataset for this, but the SimGAN project in this issue might be workable to create some eye + gaze ground truth data: https://github.com/elucideye/drishti/issues/479#issuecomment-318902381.  I'm not sure what your application is, but the current eye models are sufficient for some simple relative gaze approaches.  You can register a listener in the high leveldrishti::hci::FaceFinder class as shown in this test:
https://github.com/elucideye/drishti/blob/ea74b892e1f57fc4c6b53dcc42d5d2bebcd38053/src/lib/drishti/hci/ut/test-FaceFinder.cpp#L196-L197
Where the callback would look something like this:
class YourFaceCallback : public drishti::hci::FaceMonitor
{
public:
    virtual Request request(const Faces& faces, const TimePoint& timeStamp)
    {
        for(const auto &f : faces)
        {
             if(f.eyeFullL->has && f.eyeFullR->has)
             {
                 std::array<cv::Point2f, 2> eyes {{ f.eyeFullL->irisEllipse.center, f.eyeFullR->irisEllipse.center }};
                 auto modelBasedGaze = yourGazeFunction(eyes); // some simple model based gaze

                 // Return a request (infrequently) for corresponding image data:
                 int frameCount = needFrames(f);
                 return Request {frameCount, true, true}; // request `frameCount` frames
             }
        }
    }
    virtual void grab(const std::vector<FaceImage>& frames, bool isInitialized)
    {
        auto imageBasedGaze = doFurtherGazeClassificationFromFramesIfRequestedAbove(frames);
    }
   // ...
};

That would be instantiated in the facefilter app for now.  The classes mentioned above use the low level OpenCV based API, which is wrapped in a dependency free public API layer, which is currently exported by CMake.  That layer is intended for dependency free shared library builds in projects without Hunter.  Once drishti is added as a package to Hunter (for easier builds from source w/ package management) it will probably make sense to export the lower level OpenCV interface in the CMake build.

Basically, I need just the core library (or .framework file if you can generate one) to integrate into a Swift app, and not the QT demo application. What is the supported way for producing that?

Completing the design and implementation of the library API is currently an open issue:
https://github.com/elucideye/drishti/issues/301
The discussion in the comment above should provide some background.  The exported API layer, using a set of locally defined primitive types, is all contained in this directory:
https://github.com/elucideye/drishti/tree/master/src/lib/drishti/drishti
I would consider it a first draft, but it should have the necessary pieces required to instantiate and run face detection + landmark and eye model regression.  You can check the ut folder in that directory for some pointers.
See classes with DRISHTI_EXPORT in that folder.  For example:
https://github.com/elucideye/drishti/blob/ea74b892e1f57fc4c6b53dcc42d5d2bebcd38053/src/lib/drishti/drishti/FaceTracker.hpp#L224
As you've noted, this is not the API that is currently used in the facefilter app.  I have a separate sample project (not yet public) to test the Hunter integration which does use that API.  I'm adding it primarily for testing Hunter packaging, but it will also be a useful reference for using the public API itself.  I'll try to make the project available this weekend.

You can generate an iOS framework using polly.py.  It seems CMake may have added direct support for this recently.  A script like this (untested) should be close to what you need:
cd drishti && ./bin/build-ios-full.sh
#!/bin/bash

. ${DRISHTISDK}/bin/build-common-devel.sh

TOOLCHAIN=ios-10-1-dep-8-0-libcxx-hid-sections

COMMANDS=(
    "--verbose --fwd "
    "${DRISHTI_BUILD_ARGS[*]} "
    "${DRISHTI_BUILD_HIDE[*]} "
    "CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET=8.0 "
    "${DRISHTI_POLLY_ARGS[*]} "
    "--framework-device "
    "--ios-multiarch --ios-combined --archive drishti"
    "--install "
    "--jobs 8 "
    "--plist ${DRISHTISDK}/cmake/framework/Info.plist "
)

COMMAND+=( $(add_polly_commands "$@") )

polly.py --toolchain ${TOOLCHAIN} ${COMMANDS[*]} --identity "${DRISHTISDK_IOS_IDENTITY}"

You will need to set a few Xcode type variables as discussed in this issue:
https://github.com/elucideye/drishti/issues/574#issuecomment-335522781

If I have generated the XCode project and gotten it to build, can I just take the built libdrishtisdkd.a and libdrishti_worldd.a files and use them in a new project

Not really.  Those are the static OpenCV based API libraries (primarily).  If you try to link to them without using Hunter, your app will be responsible for managing all of the dependencies.  It isn't trivial are there are a few caveats.  There is an open issue related to this feature here: https://github.com/ruslo/hunter/issues/274.  It will be much easier to use those libs directly once drishti is added to Hunter.  For your use case, I recommend using the exported public API layer as a shared library (or framework), so you won't have any dependencies to manage (the build script shown here https://github.com/elucideye/drishti/issues/574#issuecomment-335664959 should be a good starting point).  This should all be more ironed out in a month or so, but if the lib seems close enough to what you need in the near term I think it should be manageable.

@headupinclouds this is extremely helpful, thanks. If I were to try to expose registerFaceMonitorCallback for the public Drishti framework, what all do you think that would entail?

If I were to try to expose registerFaceMonitorCallback for the public Drishti framework

Actually, there is an initial version of this already.  This file contains the public API related to face tracking:
https://github.com/elucideye/drishti/blob/master/src/lib/drishti/drishti/FaceTracker.hpp
It is geared towards a minimal extern "C" interface for a small final SDK size.
This unit test more or less demonstrates how to use that API:
https://github.com/elucideye/drishti/blob/master/src/lib/drishti/drishti/ut/test-FaceTracker.cpp
The basic approach is to register a callback to receive face+eye model updates in real time, where a history of corresponding frames (GPU->CPU) can be requested by a return argument that will trigger a second callback with the frames (images and/or textures).  In order to simplify things, there is no dynamically allocated memory that crosses that API layer, so the returned images are shallow copies -- you will have to clone any images if you want to keep a hold of them.  That code also illustrates how to configure state for the tracking pipeline.  The one with the most gotchas is probably the OpenGL context.   Drishti uses OpenGL via ogles_gpgpu (kind of a subset of GPUImage in C++) to load frames to textures efficiently and to compute the ACF pyramids in shaders in real time for mobile friendly face detection.

@mlb5000 , @emreaslan : I've refactored the CI build scripts a little to make the local build process a little easier.  There are now hunter_env.{cmd, sh} scripts that can be used to replicate the CI environment setup (CMake + Polly) on a local host and bin/drishti_build.{sh, cmd} scripts that can be used to replicate the CI drishti configuration for a specified TOOLCHAIN and CONFIG (Release,Debug,..) on both Linux/OSX and Windows hosts.   I've also added an initial "Quick Start" section to the README to provide some initial high level CMake + Hunter notes, and to walk through how one can replicate the CI build process on a local host.  Some additional notes regarding end project library integration with and without Hunter will be added at some point.  I hope this helps.

Dear @ruslo and @headupinclouds,
I really thank you for your help. I achieved to compile library and now I have drishti-acf, drishti-acf-mat2cpb, drishti-eye, drishti-eye-serialize, drishti-eyexml, drishti-face, drishti-facecrop, drishti-facexml, drishti-fddb, drishti-hci, drishti_test_shape_predictor programs in _install/gcc-5-pic-hid-sections-lto/bin/ directory.
Unfortunately, I don't know how to use them. How can I use these programs for eye segmentation or eye detection? Are there any references or examples if there are I would be very grateful if you could share with me.
Kindest regards

@emreaslan : Glad the docs helped.  I'll try to add a README for the console apps in the next few days.  Thanks for sticking with it while this is still under construction.  For now, you can take a look at the individual module unit tests, which should provide some hints for using the command line tools:
https://github.com/elucideye/drishti/blob/master/src/lib/drishti/{eye,face}/ut/*
These will run automatically when you specify --test on the polly.py command line.

UPDATE: Readme added for drishti-hci console app here https://github.com/elucideye/drishti/tree/master/src/app/hci


Server crash report with newest version

https://www.dropbox.com/home?preview=crash-2015-04-28_18.36.28-server.txt
I had to back date the version in order to get my server running again

your link to your crash report is broken
it tries to take me to my drropbox at "https://www.dropbox.com/home?preview=crash-2015-04-28_18.36.28-server.txt" which links to the person who opens the link's dropbox so it tries to open crash-2015-04-28_18.36.28-server.txt on my box which of course does not exist

Sorry,
https://www.dropbox.com/s/e9srb8srck105rf/crash-2015-04-28_18.36.28-server.txt?dl=0

@yepidoodles  Build <IP_ADDRESS> is targeted for Forge versions 1355 and above (after the fluid registry changes) so no wonder it crashed with 1307

Oh fantastic, see, I updated forge and it broke ender storage, had to back-date it and now I can't update Mekanism >.< Thanks for the help

EnderStorage has a build compatible with latest Forge

I didn't see one last time I looked, thanks

I did tests it also works on forge 1370 and 1388 1389 to 1395 have been marked with a bug so you can use 1388 on it and wait for next forge release that aint marked as bugged


Bad iCalendar encoding

I get a UnicodeEncodeError when trying to parse the ICS with icalendar on Python 2.7.12:
>>> import requests, icalendar
>>> r = requests.get('https://participez-2016.capitoledulibre.org/planning/program/public/?format=ics')
>>> icalendar.Calendar.from_ical(r.content)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/srv/http/webapp/venv/lib/python2.7/site-packages/icalendar/cal.py", line 336, in from_ical
    component.errors.append((None, str(e)))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u011e' in position 46: ordinal not in range(128)

It seems like the ICS file is not properly encoded.
This ICS validator raises another issue: the newline format should be \r\n instead of \n.
Maybe use icalendar instead of templating? :)

I didn't know this icalendar package… Maybe we should use it :)

You really should: https://github.com/AFPy/pyconfr_2017/issues/7

Thanks for the report, I'll fix this tonight :)

In [1]: import requests, icalendar
   ...: r = requests.get('https://participez-2016.capitoledulibre.org/planning/program/public/?format=ics')
   ...: icalendar.Calendar.from_ical(r.content)
   ...:
Out[1]:
Calendar([('PRODID',
           vText('b'-//participez-2016.capitoledulibre.org//Capitole du Libre 2016//FR'')),
          ('X-WR-CALNAME', vText('b'PonyConf'')),
          ('X-WR-TIMEZONE', vText('b'Europe/Paris'')),
          ('VERSION', vText('b'2.0'')),
          ('CALSCALE', vText('b'GREGORIAN'')),
          ('METHOD', vText('b'PUBLISH''))])

What's your python version again ? :)

ok, ok, I'll try to make this work on 2.7.

Sorry if I’m a bit sarcastic tonight, but to quote RFC 5545, page 46:

   ESCAPED-CHAR = ("\\" / "\;" / "\," / "\N" / "\n")
     ; \\ encodes \, \N or \n encodes newline
     ; \; encodes ;, \, encodes ,

Try entering https://cfp.pycon.fr/schedule/ics on https://icalendar.org/validator.html
20 warnings, 127 errors


[Package Request]: Carnac key press logger

Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[X] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Code52
Publisher Url: http://carnackeys.com/
Package Name: Carnac the Magnificent Keyboard Utility
Description: Mouseposé alternative for Windows. Displays keystrokes.
Package Version: 2.3.13
Installer URL: https://github.com/Code52/carnac/releases/download/2.3.13/Setup.exe
Current Package Identifier (for new versions):

Duplicate of #23692


Docker image from Dockerfile with war deployed on Tomcat Root Context

Description
I want to create a Docker image out of Tomcat, by deploying my war (myapp.war) at the Root Context. I dont want to delete the ROOT.war or rename my app to ROOT.war.
Instead if I define the context in tomcat/conf/server.xml as below
<Context path="" docBase="myapp"  override="true" reloadable="true" />

It works in a standalone Tomcat Deployment.
However, when I build my Docker image using Dockerfile, it shows me a Tomcat page upon http://localhost:8080/
The context is not getting reloaded upon Running the container.
docker run -p 8080:8080 myapp
Below is my Docker file.

Steps to reproduce the issue:

Have server.xml as attached in the docker context location, only diff is the addition of the line

Have myapp.war in the Docker context location
3.Build docker image  using below Dockerfile with the command , docker build -t myapp:latest .

#Dockerfile starts

FROM tomcat:8
COPY ["myapp.war","/usr/local/tomcat/webapps/"]
COPY ["server.xml","/usr/local/tomcat/conf/server.xml"]
CMD ["catalina.sh","run"]

Describe the results you received:
server.txt
Upon accessing http://localhost:8080/  I am greeted with the Tomcat HomePage rather than the "myapp" page
Describe the results you expected:
expected "myapp" home page since the tomcat/conf/server.xml contained

Additional information you deem important (e.g. issue happens only occasionally):
I tried to start/stop & start tomcat again in the Dockerfile, but that did not help either
Output of docker version:
docker -v
Docker version 1.9.1, build a34a1d5
Output of docker info:
docker info
Containers: 1
Images: 39
Server Version: 1.9.1
Storage Driver: devicemapper
 Pool Name: docker-202:16-9700292-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 107.4 GB
 Backing Filesystem:
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 2.377 GB
 Data Space Total: 107.4 GB
 Data Space Available: 105 GB
 Metadata Space Used: 3.125 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.144 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /scratch/sbetha/Dockers/images/devicemapper/devicemapper/data
 Metadata loop file: /scratch/sbetha/Dockers/images/devicemapper/devicemapper/metadata
 Library Version: 1.02.89-RHEL6 (2014-09-01)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.8.13-44.1.1.el6uek.x86_64
Operating System: <unknown>
CPUs: 4
Total Memory: 14.07 GiB
Name: den00rni
ID: J3V3:45ZX:W4FX:SAGY:2Y6L:NKI6:F3VO:O4Y7:KRKT:LFX6:VPXJ:SE4L
Username: sudhakarbetha
Registry: https://index.docker.io/v1/

Additional environment details (AWS, VirtualBox, physical, etc.):

@sudhakarbetha thanks for opening, but please keep in mind that the GitHub issue tracker is not intended as a general support forum,
but for reporting bugs and feature requests. For questions about running docker, consider using one of;

https://forums.docker.com
the Docker community Slack channel
StackOverflow

Also note that;

docker 1.9.1 is EOL, and no longer maintained
you're running docker on a 3.8 kernel; the minimum kernel version required to run docker is 3.10

I'm going to close this issue because this is a support question, not a bugreport, but feel free to continue the conversation 👍


Documented configuration example is incorrect

Integrated to my cucumber project following steps described in https://github.com/trivago/cluecumber-report-plugin/blob/master/README.md
Expected behavior
A sample report should be created at  ${project.build.directory}/generated-report
Actual behavior
Exception generated: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.trivago.rta:cluecumber-report-plugin:0.3.0:reporting (default-cli) on project UniteBPCAutomation: The parameters 'generatedHtmlReportDirectory', 'sourceJsonReportDirectory' for goal com.trivago.rta:cluecumber-report-plugin:0.3.0:reporting are missing or invalid
Reproduction steps
As described in README.md
Additional details (Maven version, Java version, etc.)
I moved the configuration block in pom.xml as follows to fix:
<plugin>
    <groupId>com.trivago.rta</groupId>
    <artifactId>cluecumber-report-plugin</artifactId>
    <version>Check the version number above</version>
    <configuration>
           <sourceJsonReportDirectory>${project.build.directory}/cucumber-report</sourceJsonReportDirectory>
            <generatedHtmlReportDirectory>${project.build.directory}/generated-report</generatedHtmlReportDirectory>
    </configuration>
    <executions>
        <execution>
            <id>report</id>
            <phase>post-integration-test</phase>
            <goals>
                <goal>reporting</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Thanks @qualityhabit !
I changed it in the documentation. In the next Cluecumber version there will be a full example project inside this repository.


Disable Context Menu

hi,
I'm working on a non text editor and would like to use right mouse down dragging to do something (pan a 3D camera), this works but is awkward because the context menu always pops up. I haven't been able to find a way to disable the context menu for pane. Am I just fighting an uphill battle?
Francois

You can listen for the contextmenu event on all element and act accordingly with the event provided.
You can see how Atom implements it here: https://github.com/atom/atom/blob/c039c820a42ff1e2210d31771c2b4cdf812e8956/src/window-event-handler.coffee#L111-L113


Support scopes in all providers

The following providers currently don't support scopes:

AzureAppServices->BatchingLogger
DebugLogger
EventLogLogger
TestLogger (also important to test scope behavior)
Application Insights (external, but from Microsoft)

IMO scopes are a very important part of logs and should be supported (at least optional) in every provider.
I'm wondering if this missing support is just due to lack of time or if supporting scopes is too complex right now?!
Is there something that could be done to make it easier for providers to support scopes? E.g. could there be a default AsyncLocal implementation (like ConsoleLogScope) in the Microsoft.Extensions.Logging.Abstractions package that providers could just use?
PS: Is it even required, that every provider has to do this on its own? Isn't this something that could be hidden completely from providers? Microsoft.Extensions.Logging could handle the scopes and just pass the calculated scope to the Log-method of the provider. (This would probably require a breaking change though)

Yes, we are going to provide a base class with scope support and use it in our loggers.

Planned work tracked here: https://github.com/aspnet/Logging/issues/682.


ERROR: file simulation.py: line 605: Could not find bl net in timing paths

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
What did you do to demonstrate the bug?
Please include your configuration file used.
Expected behavior
A clear and concise description of what you expected to happen.
Logs
If applicable, add logs or output to help explain your problem.
Additional context
Add any other context about the problem here.

Please submit the requested descriptions: version, how to recreate, etc.


Update concepts-network-design-considerations.md

Incorporated feedback from Issue: https://github.com/MicrosoftDocs/azure-docs/issues/96711

#sign-off


runtime error in trainning with ddp, Expected to mark a variable ready only once

Hi everyone, while trying to train boltz with the official processed data, we got runtime error. The command we used was "TORCH_DISTRIBUTED_DEBUG=DETAIL CUDA_VISIBLE_DEVICES=2,3 python scripts/train/train.py scripts/train/configs/structure.yaml find_unused_parameters=True".
RuntimeError: Expected to mark a variable ready only once. This error is caused by one of the following reasons: 1) Use of a module parameter outside the forward function. Please make sure model parameters are not shared across multiple concurrent forward-backward passes. or try to use _set_static_graph() as a workaround if this module graph does not change during training loop.2) Reused parameters in multiple reentrant backward passes. For example, if you use multiple checkpoint functions to wrap the same part of your model, it would result in the same set of parameters been used by different reentrant backward passes multiple times, and hence marking a variable ready multiple times. DDP does not support such use cases in default. You can try to use _set_static_graph() as a workaround if your module graph does not change over iterations.
[rank0]: Parameter at index 3633 with name structure_module.score_model.atom_attention_decoder.atom_decoder.diffusion_transformer.layers.2.transition.b_to_a.weight has been marked as ready twice. This means that multiple autograd engine  hooks have fired for this particular parameter during this iteration.

Solved by modify train.py as suggested in the error information, strategy = DDPStrategy(find_unused_parameters=cfg.find_unused_parameters, static_graph=True). Not sure whether it is a right way.

There were a couple of issues with the config files, could you verify this still occurs with the latest configs?


Fail to connect with provided constructors

Hi,
thank you for providing this logrus hook.
I can't connect to my mongo cluster using the provided constructors.
After few attempts I was able to connect to the mongo cluster with this code (coming from few different post found on internet, none of which was enough to work):
dialInfo := &mgo.DialInfo{
	Addrs: []string{
		"cluster-prefix-1.mongodb.net:27017",
		"cluster-prefix-2.mongodb.net:27017",
		"cluster-prefix-3.mongodb.net:27017",
	},
	Timeout:  20 * time.Second,
	Database: "admin",
	Username: "USER",
	Password: "PW",
	DialServer: func(addr *mgo.ServerAddr) (net.Conn, error) {
		conn, err := tls.Dial("tcp", addr.String(), &tls.Config{InsecureSkipVerify: true})
		return conn, err
	},
}

s, err := mgo.DialWithInfo(dialInfo)
if err != nil {
	log.Fatalf(can't connect: %v\n", err)
}

I propose the following new constructor with this PR to let the users be free to connect in whichever way they can:
func NewHookerFromCollection(collection *mgo.Collection)*hooker{
	return &hooker{c: collection}
}

Done with https://github.com/weekface/mgorus/pull/10


Smalltime window causing weird interaction with console.

If you have the right sidebar minimized and have the Small Time window relatively close to the right side of the Foundry Window, opening the console and closing it quickly creates a gray space that only goes away if you move the map to the right side of the scene.

0.8.9 Foundry, 1.13 Small Time

Uhhhh weird? I cannot reproduce that, no matter what I try. What are you using to view Foundry here?

The Electrum App. I haven't tried with Chrome browser yet.

Yeah I can't repro this in (macOS) Electron, Chrome, or Firefox.

This is how close I have it when opening/closing the Console

This is using Windows version of the Foundry/Electrum App.

Yeah, weird. Seems to be limited to Windows/Electron, which is a scenario I can't test on here. And since it's just a temporary visual glitch and also rarely triggered, not going to bother digging further. But I do appreciate the report nonetheless, thanks. :)


Non Blocking Audio for Recorder Raspberry PI

Script Title - non_blocking_audio_recorder.py
Brief - This audio recorder scripts would allow users to record wave files like a handheld record would allow but fo raspberry pi.
Press the button -> Start Recording
Hold the button -> Recording State
Release the Button -> Stop Recording and save the file to the appropriate location with name and a timestamp
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Programming Language

[x] Python

Happy Coding

@pawangeek Could I work on this script?

Okay @JenishRudani go ahead, concept looks good


Add Claude AI code in langchain

This PR adds the ability to switch between different LLM chat models (currently Anthropic and OpenAI models), and also adds some functionality to estimate price per message for each model.

I think I still want to deploy this and play around with it before merging, so might take a day or two. Does langchain have any kind of "dummy" client that returns placeholder text that we could use for testing?

It would appear there is: https://langchain-contrib.readthedocs.io/en/latest/llms/fake.html

Hi @vrajpatel9988, this seems to work well with GPT-based models but for Claude-based models I get the error:
Received an error from the API: Could not import transformers python package. This is needed in order to calculate get_token_ids. Please install it with `pip install transformers`..

 Consider choosing a different model and reloading the block.

I know this package was initially added as a dependency, but as these ML API packages move so fast (looks like there have been around 15 releases to each of the various langchain/openai/anthropic packages since this PR was opened), we should probably do a better job of pinning them.


Return commitid from Producer.send

https://stackoverflow.com/questions/29106996/what-is-a-git-commit-id

Rejected, now return filename and it is enough


Add option to use AND rather than OR for multi-item collections

The example in the docs show something like this
     content:         items:           -<EMAIL_ADDRESS>         - '@taxonomy':                category: [blog, featured]
It goes on to explain (and in practice I also can confirm) that the behavior is it will show all children from the current page, as well as anything in the blog or featured category.
I'm trying to find a way to do something similar, but show things that match both rather than either, so it would have to be @self.children AND category: [blog,featured].
I can't find any way to do this with the current implementation.

We plan on implement a much more powerful query language in a future version of Grav to get around limitations in how collections are built.  In the meantime, a workaround could be to use two collection defintions, and then merge them:
collection1:
   items<EMAIL_ADDRESS>collection2:
  items:
    - '@taxonomy':
         category: [blog, featured]

Then you merge them:
{% set collection1 = page.collection('collection1') %}
{% set collection2 = page.collection('collection2') %}
{% set collection =collection1|merge(collection2) %}

This will effectively combine the two collections creating an "OR" condition.

That's the exact opposite of what I'm asking.
It already does OR if you define multiple items
I'm asking about an AND condition.

Sorry misread your original issue. This turns out to be a little more complicated and requires some additional logic in Grav (namely a new Collection::intersect() method that can intersect multiple collections.  I've added this and its ready for testing in the develop branch.

Example:
{% set collection1 = page.collection('collection1') %}
{% set collection2 = page.collection('collection2') %}
{% set collection = collection1.intersect(collection2) %}


[Feature] No configuration to set GCE labels of the launched instance

There is not way to set GCE labels of the newly created instances.
The only labels that are set seem to be set by this code:
      for (InstanceConfiguration configuration : configurations) {
        configuration.setCloud(this);
        configuration.readResolve();
        // Apply a label that associates an instance configuration with
        // this cloud provide\
        configuration.appendLabel(CLOUD_ID_LABEL_KEY, getInstanceId());

        // Apply a label that identifies the name of this instance configuration
        configuration.appendLabel(CONFIG_LABEL_KEY, configuration.getNamePrefix());
      }
    }

Where keys are predefined:
  public static final String CONFIG_LABEL_KEY = "jenkins_config_name";
  public static final String CLOUD_ID_LABEL_KEY = "jenkins_cloud_id";

What is desired:
GCE Labels are configurable via UI and JCASC configuration the in a similar way to how Network Tags could be defined now

@ansafonov Thanks for reporting this. As a workaround for now this is possible with instance templates.


dubbo cannot find the correct port

Which Component
Dubbo ，Nacos
Describe the bug
Server A and B. Client C.
The dubbo port of A is 30000 and the dubbo port of B is 30010. After restarting A and B, the port of A is 30010 and the port of B is 30000. At this time, an error will be reported when calling the client C interface, and when C calls the service provided by A , Will also find the port 30000
To Reproduce
Steps to reproduce the behavior:

The dubbo port of A is 30000 and the dubbo port of B is 30010
restarting A and B,the port of A is 30010 and the port of B is 30000
call the client C interface
See error

Additional context
Add any other context about the problem here.
CentOs 8
OpenJDK 1.8
Sring cloud alibaba Version 2.2.2.RELEASE
spring cloud version Hoxton.SR8
spring boot version 2.3.3-RELEASE

Hello, I'm facing the same problem, so how did you fix it?

Hello, I'm facing the same problem, so how did you fix it?

大佬求教

大佬求教


sharded_moe: make top1gating ONNX-exportable

Extract code from top1gating into helper functions that are
torch.jit.scripted.
Otherwise during a torch.jit.trace, the non-Tensor
values used in the calculations get recorded as constants.
torch.jit.script coerces them into Tensors and preserves
their dynamic shapes. This enables ONNX export.
We can't script the entire top1gating function because it
includes stateful caching logic which is incompatible with ONNX.
Also clean things up:

Remove unneeded imports.
Move all imports to top of file.
Move comments to more relevant locations.
Consistently use already-imported unqualified type names
(e.g. Tensor instead of torch.Tensor)
Fix type annotations.

@awan-10 thanks for reviewing. Could you please merge it?


Move Thing.js from MyThings folder

The views folder is primarily meant for broad views or pages in our webapp, not individual components. Refactor the Thing.js, ThingFooter.js etc into their own component folders under the component folder.

Moved all those components out of the views folder into the components folder. Also moved the templates folder into the components folder because the templates are all just components as well.


Ability to export a whole task group

Add a radio button to the Export Builder (directly below Everything) to export only the current video's task group.

fulfilled in f44720344373ce9bb66a2bb07975f78fefa3973d


Add llamaindex to readme

Add llamaindex - popular OSS project for building LLM apps over your data. Should satisfy all your criteria but lmk if i'm missing anything
Github: https://github.com/jerryjliu/llama_index
Twitter: https://twitter.com/llama_index

Looks good, but please move the new entry to the bottom of its category.
BTW there is also a category Local search engines that is related but whose name is probably not optimal. Feel free to suggest improvements.

sure, just made the changes, lmk if anything else
also yeah i saw def makes sense as a separate category (llamaindex is a better fit as a developer tool though)


Add 'All' option for checkbox

What this PR does
Add an all props to <Checkbox /> component to allow for check-all option.

This looks good, though just wondering what the need to add the all prop to the Checkbox component is?
The checkbox acts as a radio button by default, so selecting all should reset to the All defined in the filter.

Hi @benhinchley, the props is needed for visual purpose, because there are cases that mutlple checkboxes are allowed, so selecting the All checkbox should deselect the others and vice versa (selecting at least one of the others will deselect the All checkbox). Hope this makes sense to you.


taskbar on top of the screen reverts back to bottom

Had to reboot after an update and sadly I cannot get the taskbar on top using the app or doing the manual  change in the registry (Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3   03->01   - the value reverts itself)
Anyone has the same behavior or is it just me?
Thanks

FYI, I  could work around it by using StartAllBack-3.3.3


Undesirable white background behind the FAB

First of all, thank you for this library it is a great one.
Now on to the bug.
There is an unnecessary white background coming behind the FAB and it is also blocking the background of the buttons.
Expected result
I expected the FAB with a group of buttons as shown in the gif, I am getting the buttons but I am also getting undesirable white background which is obstructing the other view.
https://cloud.githubusercontent.com/assets/16051008/23556763/b5264b74-0053-11e7-9d6c-7101192b0a3f.png

Can you confirm this only happens in >=N?
Possible duplicate of #29

I am using Marshmallow in my mobile device so it has to be a case for <N as well. No idea how it will work on pre-Marshmallow devices.

Well, I'm not able to reproduce this... I've tinted my sample app with a black background and everything looks fine.

You should investigate you XML, re-open this issue if required.


Define Contest/Problem Models

Design doc.: notion

[x] Define models related to contests and problems.
[ ] Define a class which supports auto-generated UUID id attribute.

I changed this PR to "Ready to Review".


Battery Power vs. consumption

Describe the current behavior
Hi,
first of all thanks for the awesome work. I rarely have any linux stuff that just werks. What i am seeing is that the templated sensors disagree quite a bit on some values, i guess due to the behaviour of the "native" sensors in the system. At night, under battery power, the calculated sensor.power_battery_discharging reads much higher than the calculated sensor.power_consumption. I don't know if this can be attributed to inverter loss.
What should be updated or changed?
Possibly making a template sensor that fails over to the higher value at bat discharge. If it is inverter loss, this is moot.
Home Assistant (please complete the following information):

Home Assistant Core Version: newest
solaredge-modbus-multi Version: newest

Additional context
Add any other context about the request here.

Hi,
i am very new to this and the solar system isn't even two days old, so there's not too much data. Here's last night. The rhythmic highs (and the crazy transients) are probably from the fridge(s) or the hot water circulation pump. Battery is always ~100W above the consumption.

That sounds like you have a stack of three batteries but are only using the data of one.

This isn't an integration issue so I'm going to move it to discussions.
Templates in the wiki are contributed (not by me): please contribute new templates as appropriate. I don't have batteries personally so I can't help.


How to get good results from voice lines taken from videogames game files

I tried training some models with different voice lines taken from a videogame, they were all about 10 minutes long, but I could't managed to get good results. The audio i used had all the different speaches very close to each others, like 0.5s. I tried training with 200/250 epochs but the results was always not clear. Also I noticed that the model could not reproduce silence very well, it filled it with random noises. How can I improve the results? Unfortunately the game files voice lines are all max 10/11 minutes long, so the duration is not something i can change.

Seems like your training dataset is of low quality. For low quality training datasets, increasing the epochs will NOT result in a better result. First, try to improve your training datasets - remove background noise, split the training audio into multiple files per speaker. Please note that RVC currently support only a single speaker. If you want to do multiple speakers, you have to create multiple experiments (one for each speaker) then mix them using a third party software.

Seems like your training dataset is of low quality. For low quality training datasets, increasing the epochs will NOT result in a better result. First, try to improve your training datasets - remove background noise, split the training audio into multiple files per speaker. Please note that RVC currently support only a single speaker. If you want to do multiple speakers, you have to create multiple experiments (one for each speaker) then mix them using a third party software.

Yes I trained only one speaker at the time. The voice lines are perfect in audio quality, but all the phrases are very short (max 2/3 seconds per phrase). Maybe this is the problem.

I doubt that is the issue, my training audio sample phrases are short as well and I seems to get good results. Try mixing all your sample phrases in a single file and see of that improve your results


[Hipify][clang] Coordinates are not converted

Dear Hipify developers. I am trying to convert the project with hipify-clang. To my surprise the kernel ccordinates like blockIdx ThreadIdx ... and so on were not converted. To a quick look to hipify-clang and in particular hipifyAction.cpp I was not able to see which AST Matcher that would convert that part.
For example when I try to convert square.cu with
hipify-clang HIP/tests/hipify-clang/unit_tests/samples/square.cu -o square_hippified.cpp
Coordinate are infact  not converted.
The output was:

// RUN: %run_test hipify "%s" "%t" %hipify_args %clang_args

/*
Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

  IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#include <stdio.h>
#include <hip/hip_runtime.h>

#define CHECK(cmd) \
{\
    hipError_t error  = cmd;\
    if (error != hipSuccess) { \
        fprintf(stderr, "error: '%s'(%d) at %s:%d\n", hipGetErrorString(error), error,__FILE__, __LINE__); \
        exit(EXIT_FAILURE);\
	  }\
}

/*
 * Square each element in the array A and write to array C.
 */
template <typename T>
__global__ void
vector_square(T *C_d, const T *A_d, size_t N)
{
    size_t offset = (blockIdx.x * blockDim.x + threadIdx.x);
    size_t stride = blockDim.x * gridDim.x;

    for (size_t i=offset; i<N; i+=stride) {
        C_d[i] = A_d[i] * A_d[i];
    }
}

int main(int argc, char *argv[])
{
    float *A_d, *C_d;
    float *A_h, *C_h;
    size_t N = 1000000;
    size_t Nbytes = N * sizeof(float);

    // CHECK: hipDeviceProp_t props;
    hipDeviceProp_t props;

    // CHECK: CHECK(hipGetDeviceProperties(&props, 0/*deviceID*/));
    CHECK(hipGetDeviceProperties(&props, 0/*deviceID*/));
    printf ("info: running on device %s\n", props.name);

    printf ("info: allocate host mem (%6.2f MB)\n", 2*Nbytes/1024.0/1024.0);
    A_h = (float*)malloc(Nbytes);

    // CHECK: CHECK(A_h == 0 ? hipErrorMemoryAllocation : hipSuccess );
    CHECK(A_h == 0 ? hipErrorMemoryAllocation : hipSuccess );
    C_h = (float*)malloc(Nbytes);

    // CHECK: CHECK(C_h == 0 ? hipErrorMemoryAllocation : hipSuccess );
    CHECK(C_h == 0 ? hipErrorMemoryAllocation : hipSuccess );
    // Fill with Phi + i
    for (size_t i=0; i<N; i++)
    {
        A_h[i] = 1.618f + i;
    }

    printf ("info: allocate device mem (%6.2f MB)\n", 2*Nbytes/1024.0/1024.0);
    // CHECK: CHECK(hipMalloc(&A_d, Nbytes));
    // CHECK: CHECK(hipMalloc(&C_d, Nbytes));
    CHECK(hipMalloc(&A_d, Nbytes));
    CHECK(hipMalloc(&C_d, Nbytes));

    printf ("info: copy Host2Device\n");
    // CHECK: CHECK ( hipMemcpy(A_d, A_h, Nbytes, hipMemcpyHostToDevice));
    CHECK ( hipMemcpy(A_d, A_h, Nbytes, hipMemcpyHostToDevice));

    const unsigned blocks = 512;
    const unsigned threadsPerBlock = 256;

    printf ("info: launch 'vector_square' kernel\n");
    // CHECK: hipLaunchKernelGGL(HIP_KERNEL_NAME(vector_square), dim3(blocks), dim3(threadsPerBlock), 0, 0, C_d, A_d, N);
    hipLaunchKernelGGL(HIP_KERNEL_NAME(vector_square), dim3(blocks), dim3(threadsPerBlock), 0, 0, C_d, A_d, N);

    printf ("info: copy Device2Host\n");
    // CHECK: CHECK ( hipMemcpy(C_h, C_d, Nbytes, hipMemcpyDeviceToHost));
    CHECK ( hipMemcpy(C_h, C_d, Nbytes, hipMemcpyDeviceToHost));

    printf ("info: check result\n");
    for (size_t i=0; i<N; i++)  {
        if (C_h[i] != A_h[i] * A_h[i]) {
            // CHECK: CHECK(hipErrorUnknown);
            CHECK(hipErrorUnknown);
        }
    }
    printf ("PASSED!\n");
}

same behaviour also for hipify-perl

Currently, HIP supports CUDA coordinates syntax. Do you have issues while compiling hipified source file?

Thanks for the fast answer. I am realizing now reading external sources.
https://www.olcf.ornl.gov/wp-content/uploads/2019/10/CAAR_HIP_on_Frontier.pdf
It fail with hipcc and platform = hcc. Should I use hip-clang ?

Yes, you should use hip-clang, and I should take into account platform {hcc, hip-clang} while hipifying. I think it would be done under an option. Thanks for pointing it out.


Can universal builds be created for macOS with ninja?

Can universal builds be created for macOS with ninja? Using ninja as a cmake generator and elsewhere on the web I see that one needs to use XCode for universal binaries - this also seems to be confirmed with https://github.com/ninja-build/ninja/commit/242b7dd90007e1ac493cdf59a0a5980a72409efa.

Yes, that should be possible as it's clang which does the heavy lifting, not Xcode. If it doesn't work, that would be a CMake issue.


[BUG]: sql request sent 2 times

How are you running AnythingLLM?
Docker (local)
What happened?
I use lmstudio and i see at each time i request a sql command with agent skill, the request is sending two times to the llm and to the database.
I have two times the request with : content": "You are a program which picks the most optimal function and parameters to call....
To avoid that, i have modify in lmstudio.js the "complete" function
 async complete(messages, functions = null) {
    try {
      let completion;
      if (functions.length > 0) {
        const { toolCall, text } = await this.functionCall(
          messages,
          functions,
          this.#handleFunctionCallChat.bind(this)
        );

in
  async complete(messages, functions = null) {
    try {
      let completion;
      if (functions.length > 0 && messages.slice(-1)[0].role !== "function") {
        const { toolCall, text } = await this.functionCall(
          messages,
          functions,
          this.#handleFunctionCallChat.bind(this)
        );

to avoid to recall the functionCall if the last message is the answer of the database request
but i'm not sure of my modification , but it's works
Are there known steps to reproduce?
No response

This will actually break a lot more function calls than you expect. For the OSS models we have function call throttling on every function that we think could be expensive, otherwise it's not a bug for an LLM to make the same tool call twice as some of them will do this for whatever reason to reach a text response.
I am not sure specific tool was being called, but if it is a low overhead one like sql-list-tables that is pretty inconsequential so its permissible especially since its not out of the realm of possibilities an agent needs to list the tables twice for a single action.
There is a call we have on mostly every skill called Deduplicator and that basically blocks OSS from infinite recursion of function calls via either one-time, a JSON signature that prevents functions with parameters from running more than once, and also a time-based cooldown. Given the variance between every OSS model and their ability to use tools and their outputs this is how we can prevent the duplication. An LLM calling a tool twice is not the end of the world, but calling it infinitely is.
Given the patch above, it would work in the case of general SQL queries but would fail on any call more than 2 steps long.


Add custom Tabular Data Text Editor provider

to enable Open With ... Tabular Data Viewer option.
see docs: https://code.visualstudio.com/api/extension-guides/custom-editors

will finish the rest, i.e. text document data loading and display in #4 and #9


Wallet not working to confirm in mobile Safari

https://github.com/user-attachments/assets/0f872b01-0d1d-42fa-a288-1c9caa59d75c

Thanks for reaching out and for the video. From Oisy's perspective, there might not be much we can do. The connection between Uniswap and Oisy is established successfully using WalletConnect. In your video, you remain on the "Confirm swap" screen because the focus doesn't return to the tab where Oisy is open. As far as I know, there isn't a web API that allows forcing focus to a tab for good reasons, so resolving this might be challenging. I'll investigate further to ensure I'm not missing anything. Do you know of another browser-based wallet that regains focus in Safari? If so, I can try to compare.

@peterpeterparker I think I don't know any wallet is browser base like Oisy.
Will Oisy wallet will have mobile version?

The flow work well with my PC

Thanks for the feedback. On your PC does the Oisy tab get the focus automatically or are you manually selecting it?
I'll have a look but, as I said, I doubt there is a solution but, let's see.

Will Oisy wallet have a mobile version?

No idea.

@peterpeterparker
Hey I know why, It not jump to Oisy so that why I thought it's a bug
https://github.com/user-attachments/assets/f74d3502-187e-4d51-be9e-9c7f24be3a80

But seems if you have multiple tabs, it gonna use the first tab to show the confirm button
https://github.com/user-attachments/assets/702fb01d-636a-4be7-8b42-aa40525cf1fa

It not jump to Oisy so that why I thought it's a bug

Exactly ✅

But seems if you have multiple tabs, it gonna use the first tab to show the confirm button

That's weird. It looks like it requests a new session in the first tab and send a request for confirmation at the same time. Maybe the state was no clean? I'll try to replicate.

It not jump to Oisy so that why I thought it's a bug

Exactly ✅

But seems if you have multiple tabs, it gonna use the first tab to show the confirm button

That's weird. It looks like it requests a new session in the first tab and send a request for confirmation at the same time. Maybe the state was no clean? I'll try to replicate.

I try to replicate with mobile in the video above but cannot

Thanks a lot for giving it a try and details. I'll try too!

I had a look, and unfortunately, it seems there's not much we can do; it's functioning as expected for a mobile web environment.
Since we've discussed and resolved your question, @baolongt, shall we go ahead and close this issue? Does that work for you?


Bug: wrong factory is selected

Description
Creating a custom base factory (with __is_base_factory__ = True) may have unexpected side-effects even if the factory is not used explicitly. This happens when the factory is being picked as the (first) one that supports a given model type. I first ran into this issue for https://github.com/litestar-org/polyfactory/pull/193 and I thought I fixed it (by reversing the iteration order of base factories) but apparently it's more tricky.
In the MCVE below, MyBaseFactory is a Pydantic base model factory that appears to be unused but in fact it is selected as the base of the dynamically generated factory of MyEmbeddedModel. The latter is an odmantic model so it should have been handled by OdmanticModelFactory (which supports bson types since #193). The reason MyBaseFactory is selected instead is because:

It is the last registered factory in BaseFactory._base_factories, and
Base factories are iterated in reverse, and
Odmantic models are also Pydantic models and thus MyBaseFactory.is_supported_type(MyEmbeddedModel) returns True.

Although the MCVE involves odmantic models, I think the issue is more general. IMO the crux of the matter is that the order of the _base_factories list (which reflects the order of their registration) should bear no relation to determining which factory to pick for a given model.
URL to code causing the issue
No response
MCVE
from datetime import datetime

import odmantic

from polyfactory.factories.odmantic_odm_factory import OdmanticModelFactory
from polyfactory.factories.pydantic_factory import ModelFactory

class MyEmbeddedModel(odmantic.EmbeddedModel):
    timestamp: datetime

class MyOdmanticModel(odmantic.Model):
    embedded: MyEmbeddedModel

class MyBaseFactory(ModelFactory):
    __is_base_factory__ = True

class MyOdmanticFactory(OdmanticModelFactory):
    __model__ = MyOdmanticModel

MyOdmanticFactory.build()

Steps to reproduce
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots
"In the format of: `![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)`"

Logs
Traceback (most recent call last):
...
polyfactory.exceptions.ParameterException: Unsupported type: <class 'odmantic.bson._datetime'>

Litestar Version
2.0.1
Platform

[ ] Linux
[ ] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

Hmm, ok thanks for the report.
Solution in place was obviously too naive. We need a way to set the base factory per type.
Any suggestions?

I couldn't come up with a (working) solution for the general need a way to set the base factory per type problem. Still, given that currently the issue manifests only with custom base factories (the five ones defined in polyfactory itself seem to work fine when iterated in reversed() order), what if we take a step back and disallow the registration of user-defined base factories?
AFAICT the use case for user-defined base factories is handling custom types. This can probably be achieved with a more explicit {custom_type: provider_callable} registration mechanism instead of subclassing an existing base factory and overriding its get_provider_map. This would have the extra benefit of decoupling the custom type provider from the enclosing class flavor (dataclass, TypedDict, Pydantic model, etc.).
For now I posted a draft PR that does the first part - disallow (or rather ignore) non-concrete factories from being registered in BaseFactory._base_factories. All tests are passing, including the one with custom base factory, even without introducing a new registration mechanism for custom types. I could follow up with a separate PR for it if you think it's worth going this direction.

If I understand correctly, the tuple of types would be the superclasses of the types which MyBaseFactory should handle? If so it wouldn't help here; what we want in this case is in fact the opposite: exclude odmantic.EmbeddedModel (and odmantic.Model) from being handled by MyBaseFactory (which are handled by default if __is_base_factory__ = True).
So perhaps __is_base_factory__ could be a callable __is_base_factory__(cls) that returns True if cls is a subclass of pydantic.BaseModel and is not subclass of odmantic._BaseODMModel. But what about beanie.Document, should it be excluded too? What if a new framework that extends pydantic comes along? Coming up with a complete exclusion list doesn't seem realistic, let alone user-friendly, way to define custom base factories.

If I understand correctly, the tuple of types would be the superclasses of the types which MyBaseFactory should handle? If so it wouldn't help here; what we want in this case is in fact the opposite: exclude odmantic.EmbeddedModel (and odmantic.Model) from being handled by MyBaseFactory (which are handled by default if __is_base_factory__ = True).
So perhaps __is_base_factory__ could be a callable __is_base_factory__(cls) that returns True if cls is a subclass of pydantic.BaseModel and is not subclass of odmantic._BaseODMModel. But what about beanie.Document, should it be excluded too? What if a new framework that extends pydantic comes along? Coming up with a complete exclusion list doesn't seem realistic, let alone user-friendly, way to define custom base factories.

Well, what we could do with a tuple of types is defined precedence using a map:
base_factory_type_map: dict[type, AbstractBaseFactory] = {
   odmantic.EmbeddesModel: OdmanticFactory,
}

Not sure I'm following but happy to check out an alternative PR, until then #199 works for me.

Another MCVE using plain vanilla dataclasses, no pydantic/odmantic models:
def test_multiple_base_factories() -> None:
    class Foo:
        def __init__(self, value: str) -> None:
            self.value = value

    class FooDataclassFactory(DataclassFactory):
        __is_base_factory__ = True

        @classmethod
        def get_provider_map(cls) -> Dict[Type, Any]:
            return {Foo: lambda: Foo("foo"), **super().get_provider_map()}

    class DummyDataclassFactory(DataclassFactory):
        __is_base_factory__ = True

    @dataclass
    class MyModelWithFoo:
        foo: Foo

    @dataclass
    class MyModel:
        nested: MyModelWithFoo

    class MyFactory(FooDataclassFactory):
        __model__ = MyModel

    MyFactory.build()

Output:
polyfactory.exceptions.ParameterException: Unsupported type: <class 'tests.test_factory_subclassing.test_multiple_base_factories.<locals>.Foo'>

       Either extend the providers map or add a factory function for this type.


missing CSRF token lets add to cart fail with 403

If you start visiting a page that does not add a token and then add sth. to the cart an error appears

@lauraluiz how do we want to solve this?

A page like in POP?

The thing is, in an online shop you may can insert from any page a product.

https://www.playframework.com/documentation/2.5.x/JavaCsrf
The global filter will add everywhere the token, but it also will require every form has a CSRF check.

Ok so if the theme is not supporting it properly, then it will fail. So we have to decide whether to force it or not. Forcing wouldn't be a bad idea either.

It is implemented with the CRSFFilter, enforced everywhere.


container prune command fixed as per docker prune command

makes podman container prune aligned with docker image prune command.
This PR is in continuation of https://github.com/containers/libpod/pull/4512 for container prune command
This PR makes following changes.

default podman container prune now ask for confirmation from user with warning message.

$ .podman container prune
WARNING! This will remove all stopped containers.
Are you sure you want to continue? [y/N]

adds --filter flag, which supports label & until format.
e.g.

$ podman container prune -a --filter until=10m
WARNING! This will remove all stopped containers.
Are you sure you want to continue? [y/N]

$ podman container prune -a --filter label=test-app
WARNING! This will remove all stopped containers.
Are you sure you want to continue? [y/N]

Signed-off-by: Kunal Kushwaha<EMAIL_ADDRESS>

Missing completions and man page updates.

/approve

LGTM and happy green tests

/lgtm
Thanks @kunalkushwaha


[#64] enhance dismissible options

I've implemented the suggestion in enhancement issue #64 (or at least my interpretation of it!) to enable finer control of dismissible behaviour.
The dismissible prop of NotificationItem component will now accept:

both (The disable button is visible and the user can click anywhere on the notification to dismiss)
click (The disable button is NOT visible and the user can click anywhere on the notification to dismiss)
button (The user can click on the disable button to dismiss the notification)
none (None)

(It will also still accept true / false and behave in the same way as previously)
I have also updated the examples and tests where appropriate.
I'd really appreciate any feedback on this PR.

Coverage decreased (-0.3%) to 95.62% when pulling aeaa303425fefdf03378185a94760eb197e8ceb9 on thepeted:master into 012e088079dc053dd0a52160dbf9b5929cb365f0 on igorprado:master.

Coverage decreased (-0.3%) to 95.62% when pulling bfbbd85cb3daee275a30157cabd3cf692a81a002 on thepeted:master into 012e088079dc053dd0a52160dbf9b5929cb365f0 on igorprado:master.

Are there any plans to merge this?

+1, please merge

Is there are any reasons why this PR was not merged yet?

Hi there, any chance this could be pushed to npm with a new version?

🚀 0.2.17

@igorprado You're the man! Thank you for all your hard work creating this great module.

This is awesome, been waiting for this, sadly can't use it as Types haven't been updated yet "@types/react-notification-system", do we need to create an issue here?


Mds 353

I'd address the comments about Injecting in AuditHelper. The rest as you see fit 🙂 As a general comment, there are a lot of objects being created for each audit call (case classes being used to pass data to create other case classes), might be worth taking a look at, but not a blocker.

I'd address the comments about Injecting in AuditHelper. The rest as you see fit 🙂 As a general comment, there are a lot of objects being created for each audit call (case classes being used to pass data to create other case classes), might be worth taking a look at, but not a blocker.


Bump dependencies

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: 6ca38504827c9f83c45ca1eaa3244dd7de566391
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: 1e7278c6f68408a28a4f24633c4fab9b5aafc803
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository