All writes to app models must go through the service layer. The API is documented per app in the service_api folder.
| Service | Module path | Short description |
|---|---|---|
| cppa_user_tracker | cppa_user_tracker.services |
Identity, profiles, emails, and staging (TmpIdentity, TempProfileIdentityRelation). |
| cppa_pinecone_sync | cppa_pinecone_sync.services |
Pinecone fail list and sync status (failure tracking, last-sync bookkeeping). |
| github_activity_tracker | github_activity_tracker.services |
Repos, languages, licenses, issues, pull requests, assignees, labels. |
| boost_library_tracker | boost_library_tracker.services |
Boost libraries, versions, dependencies, categories, maintainers/authors. |
| boost_library_docs_tracker | boost_library_docs_tracker.services |
Globally unique doc content (BoostDocContent) and (library-version, page) relation tracking (BoostLibraryDocumentation). |
| boost_usage_tracker | boost_usage_tracker.services |
External repos, Boost usage, missing-header tmp. |
- service_api/README.md – Index of all service modules (name + short description).
- service_api/cppa_user_tracker.md – Full API for
cppa_user_tracker.services. - service_api/github_activity_tracker.md – Full API for
github_activity_tracker.services(includes validation: emptynameraisesValueErrorfor Language/License). - service_api/boost_library_tracker.md – API for
boost_library_tracker.services. - service_api/boost_library_docs_tracker.md – API for
boost_library_docs_tracker.services. - service_api/cppa_pinecone_sync.md – API for
cppa_pinecone_sync.services. - service_api/boost_usage_tracker.md – API for
boost_usage_tracker.services.
Some service functions validate arguments and raise before writing:
- github_activity_tracker.services
get_or_create_language(name)– RaisesValueErrorifnameis empty or whitespace-only.get_or_create_license(name, ...)– RaisesValueErrorifnameis empty or whitespace-only.
- boost_library_tracker.services
get_or_create_boost_library(repo, name),get_or_create_boost_version(version),get_or_create_boost_library_category(name)– RaiseValueErrorif name/version is empty or whitespace-only.
- boost_library_docs_tracker.services
get_or_create_doc_content(url, ...)– RaisesValueErrorifurlis empty or whitespace-only.
See each app’s doc in service_api/ for parameter types, return types, and any Raises section.
Sync (orchestration): For syncing a repo from GitHub, see github_activity_tracker.md: sync_github(repo) in github_activity_tracker.sync—not a service write, but documented there so others can use it.
- Contributing.md – Rule that all writes go through the service layer.
- Schema.md – Database schema and models.