mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 02:44:16 +02:00
[arch][snap] improvement -> caching categories file for 24 hours
This commit is contained in:
@@ -400,6 +400,8 @@ class GenericSoftwareManager(SoftwareManager):
|
||||
return man.requires_root(action, app)
|
||||
|
||||
def prepare(self, task_manager: TaskManager, root_password: str, internet_available: bool):
|
||||
ti = time.time()
|
||||
self.logger.info("Initializing")
|
||||
if self.managers:
|
||||
internet_on = self.context.is_internet_available()
|
||||
taskman = task_manager if task_manager else TaskManager() # empty task manager to prevent null pointers
|
||||
@@ -408,6 +410,9 @@ class GenericSoftwareManager(SoftwareManager):
|
||||
man.prepare(taskman, root_password, internet_on)
|
||||
self._already_prepared.append(man)
|
||||
|
||||
tf = time.time()
|
||||
self.logger.info("Finished. Took {0:.2f} seconds".format(tf - ti))
|
||||
|
||||
def cache_available_managers(self):
|
||||
if self.managers:
|
||||
for man in self.managers:
|
||||
|
||||
@@ -391,7 +391,7 @@ status.caching_data=S’estan emmagatzemant {} dades a la memòria cau al disc
|
||||
style=estil
|
||||
success=success
|
||||
summary=resum
|
||||
task.download_categories=Download de categories [ {} ]
|
||||
task.download_categories=Download de categories
|
||||
task.waiting_task=Waiting for {}
|
||||
type=tipus
|
||||
uninstall=desinstal·la
|
||||
|
||||
@@ -391,7 +391,7 @@ status.caching_data={} Daten auf der Festplatte zwischenspeichern
|
||||
style=Stil
|
||||
success=success
|
||||
summary=Zusammenfassung
|
||||
task.download_categories=Downloading categories [ {} ]
|
||||
task.download_categories=Downloading categories
|
||||
task.waiting_task=Waiting for {}
|
||||
type=Typ
|
||||
uninstall=Deinstallation
|
||||
|
||||
@@ -392,7 +392,7 @@ status.caching_data=Caching {} data to disk
|
||||
style=style
|
||||
success=success
|
||||
summary=summary
|
||||
task.download_categories=Downloading categories [ {} ]
|
||||
task.download_categories=Downloading categories
|
||||
task.waiting_task=Waiting for {}
|
||||
type=type
|
||||
uninstall=uninstall
|
||||
|
||||
@@ -394,7 +394,7 @@ status.caching_data=Almacenando en antememoria los datos de {} para el disco
|
||||
style=estilo
|
||||
success=éxito
|
||||
summary=resumen
|
||||
task.download_categories=Descargando categorías [ {} ]
|
||||
task.download_categories=Descargando categorías
|
||||
task.waiting_task=Esperando por {}
|
||||
type=tipo
|
||||
uninstall=desinstalar
|
||||
|
||||
@@ -388,7 +388,7 @@ status.caching_data=Mise en cache des données de {} sur disque
|
||||
style=style
|
||||
success=succès
|
||||
summary=résumé
|
||||
task.download_categories=Téléchargement des catégories [ {} ]
|
||||
task.download_categories=Téléchargement des catégories
|
||||
task.waiting_task=Waiting for {}
|
||||
type=type
|
||||
uninstall=désinstaller
|
||||
|
||||
@@ -394,7 +394,7 @@ status.caching_data=Memorizza {} dati sul disco
|
||||
style=stile
|
||||
success=success
|
||||
summary=riepilogo
|
||||
task.download_categories=Download delle categorie [ {} ]
|
||||
task.download_categories=Download delle categorie
|
||||
task.waiting_task=Waiting for {}
|
||||
type=tipe
|
||||
uninstall=Disinstalla
|
||||
|
||||
@@ -392,7 +392,7 @@ status.caching_data=Cacheando dados de {} para o disco
|
||||
style=estilo
|
||||
success=sucesso
|
||||
summary=resumo
|
||||
task.download_categories=Baixando categorias [ {} ]
|
||||
task.download_categories=Baixando categorias
|
||||
task.waiting_task=Aguardando {}
|
||||
type=tipo
|
||||
uninstall=desinstalar
|
||||
|
||||
@@ -391,7 +391,7 @@ status.caching_data=Кэширование данных {} на диск
|
||||
style=Стиль
|
||||
success=success
|
||||
summary=Суммарно
|
||||
task.download_categories=Downloading categories [ {} ]
|
||||
task.download_categories=Downloading categories
|
||||
task.waiting_task=Waiting for {}
|
||||
type=Тип
|
||||
uninstall=Деинсталляция
|
||||
|
||||
@@ -391,7 +391,7 @@ status.caching_data={} verilerini diske önbellekle
|
||||
style=Görünüm biçimi
|
||||
success=başarılı
|
||||
summary=özet
|
||||
task.download_categories=Kategoriler indiriliyor [ {} ]
|
||||
task.download_categories=Kategoriler indiriliyor
|
||||
task.waiting_task=Waiting for {}
|
||||
type=tür
|
||||
uninstall=kaldır
|
||||
|
||||
Reference in New Issue
Block a user