mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[fix][flatpak] Ignoring no related updates
This commit is contained in:
@@ -8,9 +8,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
### Improvements
|
### Improvements
|
||||||
- Not breaking the application when a i18n (translation) key was not found
|
- Not breaking the application when a i18n (translation) key was not found
|
||||||
- Adding all english (**en**) i18n keys to help people with the application translation
|
- Adding all english (**en**) i18n keys to help people with the application translation
|
||||||
- AppImage:
|
- AppImage
|
||||||
- AppImage updater daemon replaced by a default Python thread to reduce memory usage
|
- AppImage updater daemon replaced by a default Python thread to reduce memory usage
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Flatpak
|
||||||
|
- Ignoring no related updates ( there are some scenarios the updates are not listed due to warnings / suggestions related to some specific runtimes if the param **--no-related** is not informed )
|
||||||
|
|
||||||
## [0.7.2] 2019-11-01
|
## [0.7.2] 2019-11-01
|
||||||
### Improvements
|
### Improvements
|
||||||
- Snap
|
- Snap
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ def update(app_ref: str):
|
|||||||
:param app_ref:
|
:param app_ref:
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
return new_subprocess([BASE_CMD, 'update', '-y', app_ref])
|
return new_subprocess([BASE_CMD, 'update', '--no-related', '-y', app_ref])
|
||||||
|
|
||||||
|
|
||||||
def uninstall(app_ref: str):
|
def uninstall(app_ref: str):
|
||||||
@@ -158,7 +158,7 @@ def uninstall(app_ref: str):
|
|||||||
|
|
||||||
def list_updates_as_str(version: str):
|
def list_updates_as_str(version: str):
|
||||||
if version < '1.2':
|
if version < '1.2':
|
||||||
return run_cmd('{} update'.format(BASE_CMD), ignore_return_code=True)
|
return run_cmd('{} update --no-related'.format(BASE_CMD), ignore_return_code=True)
|
||||||
else:
|
else:
|
||||||
updates = new_subprocess([BASE_CMD, 'update']).stdout
|
updates = new_subprocess([BASE_CMD, 'update']).stdout
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user