struct Service::ImportCatalog

Defined in:

service/import_catalog.cr

Constant Summary

Log = Shardbox::Log.for("service.import_catalog")

Constructors

Instance Method Summary

Constructor Detail

def self.new(db : ShardsDB, catalog : Catalog) #

[View source]
def self.new(db, catalog) #

[View source]

Instance Method Detail

def archive_unreferenced_shards #

[View source]
def import_catalog #

[View source]
def import_categories #

[View source]
def import_repo(entry) : Int64 | Nil #

[View source]
def import_repos #

[View source]
def merge_shard(old_shard_id, shard_id) #

[View source]
def obsolete_repo(repo) #

[View source]
def perform #

[View source]
def set_role(repo_ref : Repo::Ref, role : Repo::Role, shard_id) #

[View source]
def set_role(repo_ref : Repo::Ref, role : Repo::Role) #

[View source]
def stats(elapsed) #

[View source]
def update_mirrors(entry, shard_id) #

[View source]