Skip to content
Snippets Groups Projects

F remove boost rdep

Merged Timm Fitschen requested to merge f-remove-boost-rdep into dev

Summary

  1. Boost is being hidden behind an agnostic API and thus boost is a pure build-dependency now. (see #45 (closed))
  2. This MR also fixes a segfault (when calling “GetFileDescriptor().wrapped->path()” after Retrieval).

Focus

Boost is being used for the interaction with the (local) filesystem and for logging. So removing Boost as a runtime-dependency means moving code which mentions boost from our *.h to our *.cpp files. This affects mostly configuration and logging classes.

Most important changes are:

  1. we provide a wrapper for the boost logger class which hides the boosty stuff
  2. we hide all of boost's logging macros and replace them by our own. Since we already had those macros defined in our public API it shouldn't break anything.

Test Environment

Tests for the segfault bug are in caosdb-cppinttest!22 (merged)

Check List for the Author

Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines

  • All automated tests pass
  • Reference related issues
  • Up-to-date CHANGELOG.md (or not necessary)
  • Annotations in code (Gitlab comments)
    • Intent of new code
    • Problems with old code
    • Why this implementation?

Check List for the Reviewer

  • I understand the intent of this MR
  • All automated tests pass
  • Up-to-date CHANGELOG.md (or not necessary)
  • The test environment setup works and the intended behavior is reproducible in the test environment
  • In-code documentation and comments are up-to-date.
  • Check: Are there specifications? Are they satisfied?

For further good practices have a look at our review guidelines.

Edited by Florian Spreckelsen

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Timm Fitschen
  • Timm Fitschen
  • Timm Fitschen
  • Timm Fitschen changed the description

    changed the description

  • Timm Fitschen marked the checklist item Up-to-date CHANGELOG.md (or not necessary) as completed

    marked the checklist item Up-to-date CHANGELOG.md (or not necessary) as completed

  • Timm Fitschen marked the checklist item Reference related issues as completed

    marked the checklist item Reference related issues as completed

  • Timm Fitschen marked the checklist item Annotations in code (Gitlab comments) as completed

    marked the checklist item Annotations in code (Gitlab comments) as completed

  • Timm Fitschen added 1 commit

    added 1 commit

    Compare with previous version

  • Timm Fitschen added 1 commit

    added 1 commit

    • 1c5b0a5b - Remove boost::json from headers as well

    Compare with previous version

  • Timm Fitschen added 1 commit

    added 1 commit

    • 51c5b069 - More implementation for JsonValue

    Compare with previous version

  • Timm Fitschen added 3 commits

    added 3 commits

    Compare with previous version

  • Timm Fitschen added 1 commit

    added 1 commit

    Compare with previous version

  • Timm Fitschen added 1 commit

    added 1 commit

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading