struct Service::SyncRepo
- Service::SyncRepo
- Struct
- Value
- Object
Overview
This service synchronizes the information about a repository in the database.
Defined in:
service/sync_repo.crConstant Summary
-
Log =
Shardbox::Log.for("service.sync_repo")
Constructors
Class Method Summary
- .log_sync_failed(repo : Repo, event, exc = nil, metadata = nil)
- .log_sync_failed(db, repo : Repo, event, exc = nil, metadata = nil)
- .sync_failed(db, repo : Repo, event, exc = nil, tags = nil)
Instance Method Summary
- #perform
- #sync_metadata(repo : Repo, *, fetch_service = Service::FetchMetadata.new(repo.ref))
- #sync_owner(repo, *, service = CreateOwner.new(@db, repo.ref))
- #sync_releases(resolver, shard_id)
- #sync_repo(resolver : Repo::Resolver)
- #yank_releases_with_missing_versions(shard_id, versions)