This PR is the first step before adding new data sources (like gitlab, see #4).
The idea is to use Organization and Repository schemas with their own structs.
The cache will be pushed with those structs.
The cache_warmer should be refactored into a generic builder and each client data source (github/gitlab) having its own way of getting data but always mapping into our schemas.
This PR is the first step before adding new data sources (like gitlab, see #4).
The idea is to use
Organization
andRepository
schemas with their own structs. The cache will be pushed with those structs.The
cache_warmer
should be refactored into a generic builder and each client data source (github/gitlab) having its own way of getting data but always mapping into our schemas.