Common structure of base libraries
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 24
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Right now `mapbox-base` is a set of small submodules. That makes hard to support consistency between each small repo. Maybe we should place all these files in one repo? Like a std library.
As example, in VisionSDK we want to use `optional` and `variant` from `mapbox-base` and have a troubles:
- `optional` class is placed inside `std::experimental` namespace, but variant places in `mapbox::util` one.
- `optional` package have different structure from `variant`. `variant` have `include/mapbox` folder that allow me to add include folder to `include_directories` and use `#include "mapbox/variant.hpp"`. But i can't do the same with `optional`. Because `optional.hpp` placed directly inside `optional` submodule directory
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the mapbox-base submodules and comparing the package layouts and namespaces of optional and variant, especially their include paths. Define a common repository structure and consistent public include and namespace conventions, then confirm that the VisionSDK use cases can consume both libraries consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- developer-experience
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100