eclipse-iceoryx / eclipse-iceoryx/iceoryx

Introduce paths according to XDG specification in `iceoryx_platform`

Open
#1,652 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
C++
Stars
2.2k
Forks
492
Avg merge
18h 57m
Merged PRs (30d)
1

Description

## Brief feature description

Files required for unit tests, the iceoryx config file, shared memory file handles or other user defined files have no well defined place to be currently in iceoryx.
When we define constants like `constexpr const char* TEMP_DIR = "/tmp";` in the `platform_settings.hpp` file we could define custom paths for every platform and use them for storage of test files, to look up the iceoryx config file or other things.

Paths we currently require:
* iceoryx_config
* system wide config lookup path
* user config lookup path
* unit tests
* path for temporary files

Contributor guide

Open the contributing guide

Research direction

Start with platform_settings.hpp and trace how iceoryx currently locates its config, creates unit-test temporary files, and handles user-defined files. Compare the required system-wide and user config paths and temporary-file path with the XDG specification across supported platforms. Done means the paths are defined per platform and used consistently for these storage and lookup needs, with unit tests covering the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.