github_connector_odoo
Extend the GitHub Connector to detect Odoo addons in repositories, parse their manifests, and expose their metadata, dependencies, and analysis metrics inside Odoo.
Key Features
- github.organization: Adds runbot scraping URL, runbot link pattern, and default manifest author text configuration used during repository analysis.
- github.repository: Retrieves runbot identifiers from the organization feed and stores them for downstream runbot link generation.
- github.repository.branch: Scans configurable addon paths when analyzing code to create or clean module versions from manifests and compute runbot URLs per branch.
- github.analysis.rule: Introduces a has_odoo_addons flag and manifest key filters so cloc-based rules target addon content or manifest-referenced paths.
- odoo.module.version: Stores each addon version’s manifest metadata, external dependencies, category, icon, GitHub URL, and inferred Odoo type and series.
- odoo.module.version: Parses authors, dependencies, manifest keys, and external libs to link versions with authors, licenses, modules, manifest keys, and required libraries.
- odoo.module: Aggregates versions to present latest description and icon, maintainers, series coverage, authors, and dependent module versions.
- odoo.author: Consolidates manifest authors across modules and counts their module participation.
- odoo.license: Deduplicates manifest licenses, tracks how many module versions use each, and lets records carry website, image, and description data.
- odoo.lib.python: Catalogs Python external dependencies from manifests with usage counts across module versions.
- odoo.lib.bin: Catalogs binary external dependencies from manifests with usage counts across module versions.
- reporting: Provides module reporting views such as modules by series and license, including analysis rule info per addon version.