Added category

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-11-26 11:46:18 +02:00
parent 6d9a1290d4
commit 65fd795bea
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
4.3.1 - 26/11/2022
Added:
- Category in the view command
4.3.0 - 23/11/2022
Added:
- Message for blacklisted packages

View file

@ -24,6 +24,7 @@ class ViewPackage:
BLUE = color['BLUE']
YELLOW = color['YELLOW']
CYAN = color['CYAN']
RED = color['RED']
ENDC = color['ENDC']
for package in packages:
@ -66,6 +67,7 @@ class ViewPackage:
f'Md5sum_x86_64: {YELLOW}{info[6]}{ENDC}\n'
f'Files: {GREEN}{info[7]}{ENDC}\n'
f'Description: {GREEN}{info[8]}{ENDC}\n'
f'Category: {RED}{info[9]}{ENDC}\n'
f'SBo url: {BLUE}{self.sbo_repo_url}/{info[9]}/{info[0]}{ENDC}\n'
f'Maintainer: {YELLOW}{maintainer}{ENDC}\n'
f'Email: {YELLOW}{email}{ENDC}\n'