class Service::SyncRelease

Overview

This service synchronizes the information about a release in the database.

Defined in:

service/sync_release.cr

Constant Summary

README_NAMES = ["README.md", "Readme.md"]

Constructors

Instance Method Summary

Constructor Detail

def self.new(db : ShardsDB, shard_id : Int64, version : String) #

[View source]

Instance Method Detail

def check_version_match(tag_version, spec_version) #

[View source]
def get_spec(resolver) #

[View source]
def perform #

[View source]
def sync_dependencies(release_id, spec : Shards::Spec, raw_spec) #

[View source]
def sync_files(release_id, resolver) #

[View source]
def sync_release(resolver) #

[View source]
def sync_repos_stats(release_id, resolver) #

[View source]
def upsert_release(shard_id : Int64, release : Release) #

[View source]