mapbox / mapbox/mapbox-base

Common structure of base libraries

Open
#44 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.