1. 15 Sep, 2022 1 commit
  2. 23 Aug, 2022 1 commit
    • Sam Habiel's avatar
      [YottaDB/Utils/YDBCMake#5] CMake files refactoring · dddc3b22
      Sam Habiel authored
      This commit re-writes the CMakeLists.txt in accordance with the
      instructions in YottaDB/Utils/YDBCMake#5 and removes ydbposixso.cmake
      as it's not needed anymore. The `ydbcmake` folder is removed as that's
      downloaded dynamically. Everything still works as before, so no
      instructions change.
      `needs_copyright.sh` and `pre-commit` were updated from the Octo sources
      as they were erroring out on files that were deleted. This was a problem
      we have since fixed.
      `git` was added to the pipeline, as it's now needed to download `ydbcmake`.
  3. 23 Feb, 2022 1 commit
  4. 21 Jan, 2022 1 commit
  5. 07 Jul, 2021 1 commit
    • Brad Westhafer's avatar
      Increase minimum CMake version to 3.0.0 · ea5efc6a
      Brad Westhafer authored
      This commit addresses CMake deprecation warnings by raising the minimum CMake version to 3.0.0. The CMake warnings say that compatibility with versions < 2.8.12 will be removed in a future CMake version. Since the current minimum for the YDB repo is 3.0.0, it makes sense to increase the minimum CMake version to 3.0.0 to be consistent with the YDB repo.
  6. 28 May, 2021 1 commit
    • Sam Habiel's avatar
      [#1][#2][#3][#4][#8] make test, pipeline etc · 33468b9d
      Sam Habiel authored
      1. make test now works. You can either run `make test`, `make test
      ARGS="-V"`, or ctest [-V].
      2. Pipeline now runs make test and also installs the plugin and tests
      the code after installation.
      3. README updated with make test instructions and removed inaccruate
      instructions to source ydb_env_set.
      4. ydbposix.xc.in needed to be updated in order to be able to produce
      different ydbposix.xc's for testing vs for installation.
  7. 03 Mar, 2021 1 commit
  8. 24 Feb, 2021 1 commit
  9. 15 Feb, 2021 1 commit
  10. 17 Dec, 2020 2 commits
    • Brad Westhafer's avatar
      [#5] Fix rare bug where CMake attempts to build _ydbposix.so in UTF-8 mode... · 16725078
      Brad Westhafer authored
      [#5] Fix rare bug where CMake attempts to build _ydbposix.so in UTF-8 mode before the M mode build has finished
      This commit fixes a rare bug where CMake attempts to build both versions of _ydbposix.so at the same time without waiting for the other one to finish. We discovered this bug in an internal build where the YDBPosix plugin did not work at all. The fix is to make the M mode version of _ydbposix.so a dependency for the UTF-8 version which ensures that CMake cannot start building the UTF-8 version of _ydbposix.so until after the M mode version has already been built.
    • Jaahanavee Sikri's avatar
      [DOC][#6] Updating documentation · 4fc04896
      Jaahanavee Sikri authored
      Changes made:
        - Edited conf.py to fix error (#6) and remove version value (r3)
        - Edited ydbposix.rst to comply with style guidelines
        - Edited Makefile to add clean target and htmlpatch.csh command
        - Edited htmlpatch.csh
  11. 15 Dec, 2020 1 commit
    • Brad Westhafer's avatar
      [#5] If YottaDB was installed with UTF-8, always build both M and UTF-8 mode versions · c877baeb
      Brad Westhafer authored
      This commit modifies CMakeLists to detect if YottaDB is installed with support for UTF-8. If UTF-8 mode support is installed, then the plugin is also built with UTF-8 support without having to run the installer twice. This is done by adding a file called ydbposixso.cmake which now handles the building of _ydbposix.so files. This file is based on sr_unix/mumps.cmake from the YDB repo and is used in a similar manner by CMakeLists.txt to ensure that the shared library is built for both M and UTF-8 modes.
  12. 28 Oct, 2020 1 commit
    • Jaahanavee Sikri's avatar
      [DOC] Report Sphinx warnings as errors · dfe1fd35
      Jaahanavee Sikri authored
        Changes made:
          - Added SPHINXOPTS to Makefile so that Sphinx reports warnings as errors
          - Updated the Copyright year
          - Changed parsed-literal to code-block to make it consistent with other documentation
  13. 14 Oct, 2020 2 commits
    • Joshua Nelson's avatar
      [YottaDB/DB/YDB!869] Stop using `rules` in gitlab pipelines · a8198849
      Joshua Nelson authored
      See YDB!869 for what's going on here.
    • Joshua Nelson's avatar
      [YottaDB/DB/YDB!863] Update YDBPosix for new version of `verify_commit.sh` in YDB · 2ff6168e
      Joshua Nelson authored
      - Add `needs_copyright.sh`
      - Change `pre-commit` to use `needs_copyright.sh`
      - Change `.gitlab-ci.yml` to use the new name `verify_commit.sh` instead of `verify_gpg_commit.sh`
      - Only run the `commit_verify` pipeline for MRs, not for individual
        If this is not done, the environment variables for `TARGET_BRANCH`
        will not be set and there will be nothing to compare the HEAD commit
        to: the script will not know how much of the history is pre-existing and
        how much was added for the current MR.
      This should not be merged until after YDB!863 lands, or it will not be
      able to find the new copyright script.
  14. 12 Oct, 2020 1 commit
  15. 02 Oct, 2020 1 commit
    • Ganesh Mahesh's avatar
      Adding gpgkey-verify job to pipeline · 3be32e52
      Ganesh Mahesh authored
      `commit_gpgkey_verify.sh` invocation is moved to separate job `gpgkey-verify`
      Upstream URL is added as argument to commit_gpgkey_verify script invocation
      before_script is used in gpgkey-verify job so that it is overridden at job level
  16. 25 Sep, 2020 1 commit
  17. 11 Aug, 2020 1 commit
  18. 05 Aug, 2020 3 commits
  19. 04 Aug, 2020 1 commit
  20. 03 Aug, 2020 1 commit
    • Joshua Nelson's avatar
      [YottaDB/DBMS/YDBOcto#567] Rename MUMPS -> M · 58358fd7
      Joshua Nelson authored
      This changes build output of the form
      [  0%] Building MUMPS object src/CMakeFiles/_ydbocto.dir/aux/_ydboctoAdmin.m.o
      [  0%] Building M object src/CMakeFiles/_ydbocto.dir/aux/_ydboctoAdmin.m.o
  21. 07 Jun, 2020 2 commits
  22. 18 Mar, 2020 1 commit
    • Narayanan Iyer's avatar
      Fix failure in regmatch^%ydbposixtest due to extraneous match results (regression in 9007dec8) · cbeff76f
      Narayanan Iyer authored
      The `v60001/gtm_posix` subtest in the YDBTest repo failed after commit 9007dec8 with the following diff.
      > FAIL regmatch^%ydbposix 4
      > FAIL REGMATCH^%ydbposix 4
      This is because that commit erroneously assumed that `matchresults(i,"start")` might not be set in the
      for loop in case `$&ydbposix.regofft2offsets` returned a non-zero value. And because of this, it added
      a `$data(matchresults(i,"start"))` check instead of the pre-existing `'matchresults(i,"start"))` check.
      Turns out `$&ydbposix.regofft2offsets` always returns a 0. Therefore, the `$data` check is not
      necessary and in fact incorrect since we need to actually check for 0 value of `matchresults(i,"start")`
      to terminate the for loop. This is now done. And comments added in the code to help a future reader.
  23. 16 Mar, 2020 1 commit
    • Narayanan Iyer's avatar
      Fix regression in $$regmatch^%ydbposix introduced in 3b8abd6d · 9007dec8
      Narayanan Iyer authored
      * The primary issue was a `if $increment(i,-1)` that was unconditionally done before the `quit:$quit`
        in `$$regmatch^%ydbposix`. I suspect the author of 3b8abd6d intended to do this in case
        the `$&ydbposix.regofft2offsets()` call returned a non-zero value (i.e. an error scenario)
        since that resulted in `matchresults(i,"start")` and `matchresults(i,"end")` not getting set.
        Therefore, this decrement is now moved to where it should have been by a `set i=i-1` just before
        we `quit` out of the for loop.
      * A secondary issue in my opinion is that `if 'matchresults(i,"start")` done after the `do` call
        would result in an LVUNDEF error in case `matchresults(i,"start")` did not get set in the
        `do` body. This is now fixed by instead doing a `$data()` on it.
  24. 08 Mar, 2020 3 commits
    • Tomas Morstein's avatar
      fix test output formatting · a1c3257a
      Tomas Morstein authored
    • Tomas Morstein's avatar
      explicitly test for systemd presence · 402b5093
      Tomas Morstein authored
      Journalctl won't work properly on systems not being initialized
      using systemd init system. It can be tricked to work by starting
      systemd logger service explicitly but the test does not assume that.
      Containers with systemd entrypoint needs to be running in privileged
      mode (as of today) which implies that most of the GitLab CI runners
      won't be able to run systemd-enabled containers.
      This commit is therefore properly detecting systemd rather than
      just assuming that it is not available in the CI pipelines only.
    • Tomas Morstein's avatar
      fix code according to coding standards · 3e683e4a
      Tomas Morstein authored
  25. 14 Jan, 2020 2 commits
  26. 17 Jul, 2019 1 commit
  27. 07 Jun, 2019 3 commits
  28. 23 May, 2019 1 commit
  29. 22 May, 2019 1 commit
  30. 20 May, 2019 1 commit
    • Christopher Edwards's avatar
      Add MacOS support · feebc2ae
      Christopher Edwards authored
      MacOS uses .dylib as the shared library name instead of .so. Add this
      to the list of library suffixes so that YottaDB can be found automatically.