How prodrivetechnologies/voyager works
Project type and purpose
• Voyager is a Python-based, command-line package manager for C/C++ that integrates with an Artifactory server.
• It provides a CLI frontend, core logic for dependency resolution, download, and install, and a plugin system for extending support (e.g., CMake, MSBuild).
File structure
• Top-level files and dirs:
• cli.py: CLI entry point
• voyager/: core Python modules (singleton, config, artifact downloader, plugin registry, generators, utilities)
• plugins/: external/plugin extensions (voyager_fake, voyager_listplugins)
• deploy/: PyInstaller spec and installer scripts
• docs/: MkDocs-based documentation
• tests/: integration and unit tests
• Patterns:
• Plugin architecture (plugin_interfaces.py, plugin_registry.py)
• Generators for build-system integration (voyager/generators)
• Static resources and schemas under voyager/static
• Deployment via PyInstaller and Windows Installer scripts
Insights from README
• Written for Python 3.10
• Commands: voyager login, voyager install
• Integrates with Artifactory via REST API
• Extensible via plugins conforming to plugin_interfaces
• Built as both pip wheel and standalone executable
• User → CLI
• CLI → Core Engine
• Core Engine ↔ Artifactory Server
• Core Engine → Plugin Registry → Plugin Implementations
• Plugin Implementations → File System / Generated Build Files
• Blue for core components
• Green for plugins
• Orange for external systems (Artifactory, file system)