mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Updated for json data
This commit is contained in:
parent
e106813f01
commit
aeb11052e5
1 changed files with 1 additions and 22 deletions
|
@ -94,8 +94,7 @@ class UpdateRepositories(Configs):
|
|||
print()
|
||||
|
||||
def view_downloading_message(self, repo: str) -> None:
|
||||
print(f"Downloading the '{self.green}{repo}{self.endc}' repository "
|
||||
f"in the '{self.repos.repositories[repo]['path']}' folder, please wait...\n")
|
||||
print(f"Syncing with the repository '{self.green}{repo}{self.endc}', please wait...\n")
|
||||
|
||||
def slack_repository(self) -> None:
|
||||
if not self.option_for_install_data:
|
||||
|
@ -122,8 +121,6 @@ class UpdateRepositories(Configs):
|
|||
self.download.download(urls)
|
||||
print()
|
||||
|
||||
self.delete_bin_database_data(self.repos.slack_repo_name)
|
||||
self.delete_last_updated(self.repos.slack_repo_name)
|
||||
self.data.install_slack_data()
|
||||
|
||||
def slack_extra_repository(self) -> None:
|
||||
|
@ -153,8 +150,6 @@ class UpdateRepositories(Configs):
|
|||
self.download.download(urls)
|
||||
print()
|
||||
|
||||
self.delete_bin_database_data(self.repos.slack_extra_repo_name)
|
||||
self.delete_last_updated(self.repos.slack_extra_repo_name)
|
||||
self.data.install_slack_extra_data()
|
||||
|
||||
def slack_patches_repository(self) -> None:
|
||||
|
@ -190,8 +185,6 @@ class UpdateRepositories(Configs):
|
|||
self.download.download(urls)
|
||||
print()
|
||||
|
||||
self.delete_bin_database_data(self.repos.slack_patches_repo_name)
|
||||
self.delete_last_updated(self.repos.slack_patches_repo_name)
|
||||
self.data.install_slack_patches_data()
|
||||
|
||||
def alien_repository(self) -> None:
|
||||
|
@ -222,8 +215,6 @@ class UpdateRepositories(Configs):
|
|||
self.download.download(urls)
|
||||
print()
|
||||
|
||||
self.delete_bin_database_data(self.repos.alien_repo_name)
|
||||
self.delete_last_updated(self.repos.alien_repo_name)
|
||||
self.data.install_alien_data()
|
||||
|
||||
def multilib_repository(self) -> None:
|
||||
|
@ -254,8 +245,6 @@ class UpdateRepositories(Configs):
|
|||
self.download.download(urls)
|
||||
print()
|
||||
|
||||
self.delete_bin_database_data(self.repos.multilib_repo_name)
|
||||
self.delete_last_updated(self.repos.multilib_repo_name)
|
||||
self.data.install_multilib_data()
|
||||
|
||||
def restricted_repository(self) -> None:
|
||||
|
@ -286,8 +275,6 @@ class UpdateRepositories(Configs):
|
|||
self.download.download(urls)
|
||||
print()
|
||||
|
||||
self.delete_bin_database_data(self.repos.restricted_repo_name)
|
||||
self.delete_last_updated(self.repos.restricted_repo_name)
|
||||
self.data.install_restricted_data()
|
||||
|
||||
def gnome_repository(self) -> None:
|
||||
|
@ -315,8 +302,6 @@ class UpdateRepositories(Configs):
|
|||
self.download.download(urls)
|
||||
print()
|
||||
|
||||
self.delete_bin_database_data(self.repos.gnome_repo_name)
|
||||
self.delete_last_updated(self.repos.gnome_repo_name)
|
||||
self.data.install_gnome_data()
|
||||
|
||||
def msb_repository(self) -> None:
|
||||
|
@ -346,8 +331,6 @@ class UpdateRepositories(Configs):
|
|||
self.download.download(urls)
|
||||
print()
|
||||
|
||||
self.delete_bin_database_data(self.repos.msb_repo_name)
|
||||
self.delete_last_updated(self.repos.msb_repo_name)
|
||||
self.data.install_msb_data()
|
||||
|
||||
def csb_repository(self) -> None:
|
||||
|
@ -673,8 +656,6 @@ class UpdateRepositories(Configs):
|
|||
if not Path(self.repos.ponce_repo_path, self.repos.ponce_repo_slackbuilds).is_file():
|
||||
self.generate.slackbuild_file(self.repos.ponce_repo_path, self.repos.ponce_repo_slackbuilds)
|
||||
|
||||
self.delete_last_updated(self.repos.ponce_repo_name)
|
||||
self.delete_ponce_database_data()
|
||||
self.data.install_ponce_data()
|
||||
|
||||
def sbo_repository(self) -> None:
|
||||
|
@ -692,8 +673,6 @@ class UpdateRepositories(Configs):
|
|||
if not Path(self.repos.sbo_repo_path, self.repos.sbo_repo_slackbuilds).is_file():
|
||||
self.generate.slackbuild_file(self.repos.sbo_repo_path, self.repos.sbo_repo_slackbuilds)
|
||||
|
||||
self.delete_last_updated(self.repos.sbo_repo_name)
|
||||
self.delete_sbo_database_data()
|
||||
self.data.install_sbo_data()
|
||||
|
||||
def check_for_updates(self, queue) -> dict:
|
||||
|
|
Loading…
Reference in a new issue