mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[README]
This commit is contained in:
@@ -4,9 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
## [0.8.3] - 2020
|
||||
## [0.8.3] - 2020-02
|
||||
### Improvements
|
||||
- New update lifecycle:
|
||||
- now every package manager must provide all requirements before upgrading all selected packages ( can be disabled through the settings file **~/.config/bauh/config.yml** or the UI )
|
||||
- now every package manager must provide the best upgrade order for all the selected packages ( can be disabled through the settings file **~/.config/bauh/config.yml** or the UI )
|
||||
- AUR
|
||||
- allowing the user to bypass checksum errors when installing / upgrading / downgrading packages
|
||||
|
||||
@@ -247,8 +247,8 @@ ui:
|
||||
auto_scale: false # activates Qt auto screen scale factor (QT_AUTO_SCREEN_SCALE_FACTOR). It fixes scaling issues for some desktop environments ( like Gnome )
|
||||
updates:
|
||||
check_interval: 30 # the updates checking interval in SECONDS
|
||||
sort_packages: True # if the selected applications / packages to upgrade must be sorted to avoid possible issues
|
||||
|
||||
sort_packages: true # if the selected applications / packages to upgrade must be sorted to avoid possible issues
|
||||
pre_dependency_checking: true # displays all applications / packages that must be installed before upgrading the selected ones
|
||||
```
|
||||
#### Tray icons
|
||||
Priority:
|
||||
|
||||
@@ -13,6 +13,7 @@ from bauh.api.abstract.handler import ProcessWatcher
|
||||
from bauh.api.abstract.model import PackageStatus, SoftwarePackage, PackageAction
|
||||
from bauh.api.abstract.view import InputViewComponent, MessageType, MultipleSelectComponent, InputOption
|
||||
from bauh.api.exception import NoInternetException
|
||||
from bauh.commons.html import bold
|
||||
from bauh.view.core import config
|
||||
from bauh.view.qt import commons
|
||||
from bauh.view.qt.view_model import PackageView
|
||||
@@ -103,13 +104,13 @@ class UpdateSelectedApps(AsyncAction):
|
||||
if pkg.installed:
|
||||
icon_path = pkg.get_disk_icon_path()
|
||||
|
||||
if not os.path.isfile(icon_path):
|
||||
if not icon_path or not os.path.isfile(icon_path):
|
||||
icon_path = pkg.get_type_icon_path()
|
||||
|
||||
else:
|
||||
icon_path = pkg.get_type_icon_path()
|
||||
|
||||
return InputOption(label='{}{}'.format(pkg.name, ' ( {} )'.format(pkg.latest_version) if pkg.version else ''),
|
||||
return InputOption(label='{}{}'.format(pkg.name, ' ( {} )'.format(pkg.latest_version) if pkg.latest_version else ''),
|
||||
value=None,
|
||||
tooltip=pkg.get_name_tooltip() if tooltip else None,
|
||||
read_only=True,
|
||||
@@ -123,7 +124,7 @@ class UpdateSelectedApps(AsyncAction):
|
||||
opts = [self._pkg_as_option(p) for p in required_pkgs]
|
||||
|
||||
if not self.request_confirmation(self.i18n['action.update.requirements.title'],
|
||||
self.i18n['action.update.requirements.body'],
|
||||
self.i18n['action.update.requirements.body'].format(bold(str(len(opts)))),
|
||||
[MultipleSelectComponent(label='', options=opts, default_options=set(opts))],
|
||||
confirmation_label=self.i18n['continue'].capitalize(),
|
||||
deny_label=self.i18n['cancel'].capitalize()):
|
||||
|
||||
@@ -272,7 +272,7 @@ download=download
|
||||
clean=netejar
|
||||
action.update.status.sorting=Determinant el millor ordre d’actualització
|
||||
action.update.requirements.title=Requisits d’actualització
|
||||
action.update.requirements.body=Abans d’actualitzar cal instal·lar les següents aplicacions / paquets
|
||||
action.update.requirements.body=Abans d’actualitzar cal instal·lar les següents {} aplicacions / paquets
|
||||
action.update.install_req.fail.title=Ha fallat la instal·lació
|
||||
action.update.install_req.fail.body=No s'ha pogut instal·lar {}
|
||||
action.update.requirements.status=Verificant els requisits
|
||||
|
||||
@@ -227,7 +227,7 @@ download=download
|
||||
clean=reinigen
|
||||
action.update.status.sorting=Determining the best update order
|
||||
action.update.requirements.title=Upgrade requirements
|
||||
action.update.requirements.body=The following applications / packages must be installed before upgrading
|
||||
action.update.requirements.body=The following {} applications / packages must be installed before upgrading
|
||||
action.update.install_req.fail.title=Installation failed
|
||||
action.update.install_req.fail.body=It was not possible to install {}
|
||||
action.update.requirements.status=Checking requirements
|
||||
|
||||
@@ -275,7 +275,7 @@ download=descarga
|
||||
clean=limpiar
|
||||
action.update.status.sorting=Determinando el mejor orden de actualización
|
||||
action.update.requirements.title=Requisitos de actualización
|
||||
action.update.requirements.body=Las siguientes aplicaciones / paquetes deben estar instalados antes de actualizar
|
||||
action.update.requirements.body=Las siguientes {} aplicaciones / paquetes deben estar instalados antes de actualizar
|
||||
action.update.install_req.fail.title=Falló la instalación
|
||||
action.update.install_req.fail.body=No fue posible instalar {}
|
||||
action.update.requirements.status=Verificando los requisitos
|
||||
|
||||
@@ -227,7 +227,7 @@ download=download
|
||||
clean=pulire
|
||||
action.update.status.sorting=Sto determinando il miglior ordine di aggiornamento
|
||||
action.update.requirements.title=Requisiti di aggiornamento
|
||||
action.update.requirements.body=Le seguenti applicazioni / pacchetti devono essere installati prima dell'aggiornamento
|
||||
action.update.requirements.body=Le seguenti {} applicazioni / pacchetti devono essere installati prima dell'aggiornamento
|
||||
action.update.install_req.fail.title=Installazione non riuscita
|
||||
action.update.install_req.fail.body=Non è stato possibile installare {}
|
||||
action.update.requirements.status=Verificando i requisiti
|
||||
|
||||
@@ -278,7 +278,7 @@ download=download
|
||||
clean=limpar
|
||||
action.update.status.sorting=Determinando a melhor ordem de atualização
|
||||
action.update.requirements.title=Requisitos de atualização
|
||||
action.update.requirements.body=Os seguintes aplicativos / pacotes precisam ser instalados antes de atualizar
|
||||
action.update.requirements.body=Os seguintes {} aplicativos / pacotes precisam ser instalados antes de atualizar
|
||||
action.update.install_req.fail.title=Instalação falhou
|
||||
action.update.install_req.fail.body=Não foi possível instalar {}
|
||||
action.update.requirements.status=Verificando requisitos
|
||||
|
||||
Reference in New Issue
Block a user