Fixed mirrors pattern

This commit is contained in:
Dimitris Zlatanidis 2023-04-02 10:35:09 +03:00
parent 434a9e8b82
commit 5190867c2e
4 changed files with 80 additions and 54 deletions

View file

@ -33,7 +33,7 @@
PONCE_REPO_TAG = "_SBo" PONCE_REPO_TAG = "_SBo"
# Official repository for Slackware x86_64 15.0 stable. # Official repository for Slackware x86_64 15.0 stable.
# Official repository for Slackware x86_64 -current: # For Slackware x86_64 -current:
# https://slackware.uk/slackware/slackware64-current/ # https://slackware.uk/slackware/slackware64-current/
SLACK_REPO = false SLACK_REPO = false
SLACK_REPO_NAME = "slack" SLACK_REPO_NAME = "slack"
@ -43,7 +43,18 @@
SLACK_REPO_CHANGELOG = "ChangeLog.txt" SLACK_REPO_CHANGELOG = "ChangeLog.txt"
# Official repository for Slackware patches x86_64 15.0 stable. # Official repository for Slackware patches x86_64 15.0 stable.
# Official repository for Slackware patches x86_64 -current: # For Slackware patches x86_64 -current:
# https://slackware.uk/slackware/slackware64-current/extra/
SLACK_EXTRA_REPO = false
SLACK_EXTRA_REPO_NAME = "slack_patches"
SLACK_EXTRA_REPO_MIRROR = "https://slackware.uk/slackware/slackware64-15.0/"
SLACK_EXTRA_REPO_PACKAGES_MIRROR = "https://slackware.uk/slackware/slackware64-15.0/extra/"
SLACK_EXTRA_REPO_PACKAGES = "PACKAGES.TXT"
SLACK_EXTRA_REPO_CHECKSUMS = "CHECKSUMS.md5"
SLACK_EXTRA_REPO_CHANGELOG = "ChangeLog.txt"
# Official repository for Slackware patches x86_64 15.0 stable.
# For Slackware patches x86_64 -current:
# https://slackware.uk/slackware/slackware64-current/patches/ # https://slackware.uk/slackware/slackware64-current/patches/
SLACK_PATCHES_REPO = false SLACK_PATCHES_REPO = false
SLACK_PATCHES_REPO_NAME = "slack_patches" SLACK_PATCHES_REPO_NAME = "slack_patches"
@ -54,40 +65,40 @@
SLACK_PATCHES_REPO_CHANGELOG = "ChangeLog.txt" SLACK_PATCHES_REPO_CHANGELOG = "ChangeLog.txt"
# Repository for Slackware x86_64 15.0 stable. # Repository for Slackware x86_64 15.0 stable.
# Repository for Slackware x86_64 -current: # For Slackware x86_64 -current:
# http://slackware.uk/people/alien/sbrepos/current/x86_64/ # http://slackware.uk/people/alien/sbrepos/current/x86_64/
ALIEN_REPO = false ALIEN_REPO = false
ALIEN_REPO_NAME = "alien" ALIEN_REPO_NAME = "alien"
ALIEN_REPO_MIRROR = "http://slackware.uk/people/alien/sbrepos/15.0/x86_64/" ALIEN_REPO_MIRROR = "http://slackware.uk/people/alien/sbrepos/"
ALIEN_REPO_CHANGELOG_MIRROR = "http://slackware.uk/people/alien/sbrepos/" ALIEN_REPO_PACKAGES_MIRROR = "http://slackware.uk/people/alien/sbrepos/15.0/x86_64/"
ALIEN_REPO_PACKAGES = "PACKAGES.TXT" ALIEN_REPO_PACKAGES = "PACKAGES.TXT"
ALIEN_REPO_CHECKSUMS = "CHECKSUMS.md5" ALIEN_REPO_CHECKSUMS = "CHECKSUMS.md5"
ALIEN_REPO_CHANGELOG = "ChangeLog.txt" ALIEN_REPO_CHANGELOG = "ChangeLog.txt"
# Repository for Slackware x86_64 15.0 stable. # Repository for Slackware x86_64 15.0 stable.
# Repository for Slackware x86_64 -current: # For Slackware x86_64 -current:
# https://slackware.nl/people/alien/multilib/current/ # https://slackware.nl/people/alien/multilib/current/
MULTILIB_REPO = false MULTILIB_REPO = false
MULTILIB_REPO_NAME = "multilib" MULTILIB_REPO_NAME = "multilib"
MULTILIB_REPO_MIRROR = "https://slackware.nl/people/alien/multilib/15.0/" MULTILIB_REPO_MIRROR = "https://slackware.nl/people/alien/multilib/"
MULTILIB_REPO_CHANGELOG_MIRROR = "https://slackware.nl/people/alien/multilib/" MULTILIB_REPO_PACKAGES_MIRROR = "https://slackware.nl/people/alien/multilib/15.0/"
MULTILIB_REPO_PACKAGES = "PACKAGES.TXT" MULTILIB_REPO_PACKAGES = "PACKAGES.TXT"
MULTILIB_REPO_CHECKSUMS = "CHECKSUMS.md5" MULTILIB_REPO_CHECKSUMS = "CHECKSUMS.md5"
MULTILIB_REPO_CHANGELOG = "ChangeLog.txt" MULTILIB_REPO_CHANGELOG = "ChangeLog.txt"
# Repository for Slackware x86_64 15.0 stable. # Repository for Slackware x86_64 15.0 stable.
# Repository for Slackware x86_64 -current: # For Slackware x86_64 -current:
# https://slackware.nl/people/alien/restricted_sbrepos/current/x86_64/ # https://slackware.nl/people/alien/restricted_sbrepos/current/x86_64/
RESTRICTED_REPO = false RESTRICTED_REPO = false
RESTRICTED_REPO_NAME = "restricted" RESTRICTED_REPO_NAME = "restricted"
RESTRICTED_REPO_MIRROR = "https://slackware.nl/people/alien/restricted_sbrepos/15.0/x86_64/" RESTRICTED_REPO_MIRROR = "https://slackware.nl/people/alien/restricted_sbrepos/"
RESTRICTED_REPO_CHANGELOG_MIRROR = "https://slackware.nl/people/alien/restricted_sbrepos/" RESTRICTED_REPO_PACKAGES_MIRROR = "https://slackware.nl/people/alien/restricted_sbrepos/15.0/x86_64/"
RESTRICTED_REPO_PACKAGES = "PACKAGES.TXT" RESTRICTED_REPO_PACKAGES = "PACKAGES.TXT"
RESTRICTED_REPO_CHECKSUMS = "CHECKSUMS.md5" RESTRICTED_REPO_CHECKSUMS = "CHECKSUMS.md5"
RESTRICTED_REPO_CHANGELOG = "ChangeLog.txt" RESTRICTED_REPO_CHANGELOG = "ChangeLog.txt"
# Repository for Slackware x86_64 15.0 stable. # Repository for Slackware x86_64 15.0 stable.
# Repository for Slackware x86_64 -current: # For Slackware x86_64 -current:
# https://reddoglinux.ddns.net/linux/gnome/43.x/x86_64/ # https://reddoglinux.ddns.net/linux/gnome/43.x/x86_64/
GNOME_REPO = false GNOME_REPO = false
GNOME_REPO_NAME = "gnome" GNOME_REPO_NAME = "gnome"
@ -97,23 +108,23 @@
GNOME_REPO_CHANGELOG = "ChangeLog.txt" GNOME_REPO_CHANGELOG = "ChangeLog.txt"
# Repository for Slackware x86_64 15.0 stable. # Repository for Slackware x86_64 15.0 stable.
# Repository for Slackware x86_64 -current: # For Slackware x86_64 -current:
# https://slackware.uk/msb/current/1.26/x86_64/ # https://slackware.uk/msb/current/1.26/x86_64/
MSB_REPO = false MSB_REPO = false
MSB_REPO_NAME = "msb" MSB_REPO_NAME = "msb"
MSB_REPO_MIRROR = "https://slackware.uk/msb/15.0/1.26/x86_64/" MSB_REPO_MIRROR = "https://slackware.uk/msb/"
MSB_REPO_CHANGELOG_MIRROR = 'https://slackware.uk/msb/' MSB_REPO_PACKAGES_MIRROR = 'https://slackware.uk/msb/15.0/1.26/x86_64/'
MSB_REPO_PACKAGES = "PACKAGES.TXT" MSB_REPO_PACKAGES = "PACKAGES.TXT"
MSB_REPO_CHECKSUMS = "CHECKSUMS.md5" MSB_REPO_CHECKSUMS = "CHECKSUMS.md5"
MSB_REPO_CHANGELOG = "ChangeLog.txt" MSB_REPO_CHANGELOG = "ChangeLog.txt"
# Repository for Slackware x86_64 15.0 stable. # Repository for Slackware x86_64 15.0 stable.
# Mirror for Slackware x86_64 -current: # For Slackware x86_64 -current:
# https://slackware.uk/csb/current/x86_64/ # https://slackware.uk/csb/current/x86_64/
CSB_REPO = false CSB_REPO = false
CSB_REPO_NAME = "csb" CSB_REPO_NAME = "csb"
CSB_REPO_MIRROR = "https://slackware.uk/csb/15.0/x86_64/" CSB_REPO_MIRROR = "https://slackware.uk/csb/"
CSB_REPO_CHANGELOG_MIRROR = 'https://slackware.uk/csb/' CSB_REPO_PACKAGES_MIRROR = 'https://slackware.uk/csb/15.0/x86_64/'
CSB_REPO_PACKAGES = "PACKAGES.TXT" CSB_REPO_PACKAGES = "PACKAGES.TXT"
CSB_REPO_CHECKSUMS = "CHECKSUMS.md5" CSB_REPO_CHECKSUMS = "CHECKSUMS.md5"
CSB_REPO_CHANGELOG = "ChangeLog.txt" CSB_REPO_CHANGELOG = "ChangeLog.txt"
@ -127,7 +138,7 @@
CONRAID_REPO_CHANGELOG = "ChangeLog.txt" CONRAID_REPO_CHANGELOG = "ChangeLog.txt"
# Repository for Slackware x86_64 15.0 stable. # Repository for Slackware x86_64 15.0 stable.
# Mirror for Slackware x86_64 -current: # For Slackware x86_64 -current:
# https://packages.slackonly.com/pub/packages/current-x86_64/ # https://packages.slackonly.com/pub/packages/current-x86_64/
SLACKONLY_REPO = false SLACKONLY_REPO = false
SLACKONLY_REPO_NAME = "slackonly" SLACKONLY_REPO_NAME = "slackonly"

View file

@ -83,19 +83,17 @@ class CheckUpdates(Configs):
def alien_repository(self) -> None: def alien_repository(self) -> None:
self.local_chg_txt: Path = Path(self.repos.alien_repo_path, self.repos.alien_repo_changelog) self.local_chg_txt: Path = Path(self.repos.alien_repo_path, self.repos.alien_repo_changelog)
self.repo_chg_txt: str = f'{self.repos.alien_repo_changelog_mirror}{self.repos.alien_repo_changelog}' self.repo_chg_txt: str = f'{self.repos.alien_repo_mirror}{self.repos.alien_repo_changelog}'
self.compare[self.repos.alien_repo_name] = self.compare_dates() self.compare[self.repos.alien_repo_name] = self.compare_dates()
def multilib_repository(self) -> None: def multilib_repository(self) -> None:
self.local_chg_txt: Path = Path(self.repos.multilib_repo_path, self.repos.multilib_repo_changelog) self.local_chg_txt: Path = Path(self.repos.multilib_repo_path, self.repos.multilib_repo_changelog)
self.repo_chg_txt: str = (f'{self.repos.multilib_repo_changelog_mirror}' self.repo_chg_txt: str = f'{self.repos.multilib_repo_mirror}{self.repos.multilib_repo_changelog}'
f'{self.repos.multilib_repo_changelog}')
self.compare[self.repos.multilib_repo_name] = self.compare_dates() self.compare[self.repos.multilib_repo_name] = self.compare_dates()
def restricted_repository(self) -> None: def restricted_repository(self) -> None:
self.local_chg_txt: Path = Path(self.repos.restricted_repo_path, self.repos.restricted_repo_changelog) self.local_chg_txt: Path = Path(self.repos.restricted_repo_path, self.repos.restricted_repo_changelog)
self.repo_chg_txt: str = (f'{self.repos.restricted_repo_changelog_mirror}' self.repo_chg_txt: str = f'{self.repos.restricted_repo_mirror}{self.repos.restricted_repo_changelog}'
f'{self.repos.restricted_repo_changelog}')
self.compare[self.repos.restricted_repo_name] = self.compare_dates() self.compare[self.repos.restricted_repo_name] = self.compare_dates()
def gnome_repository(self) -> None: def gnome_repository(self) -> None:
@ -105,12 +103,12 @@ class CheckUpdates(Configs):
def msb_repository(self) -> None: def msb_repository(self) -> None:
self.local_chg_txt: Path = Path(self.repos.msb_repo_path, self.repos.msb_repo_changelog) self.local_chg_txt: Path = Path(self.repos.msb_repo_path, self.repos.msb_repo_changelog)
self.repo_chg_txt: str = f'{self.repos.msb_repo_changelog_mirror}{self.repos.msb_repo_changelog}' self.repo_chg_txt: str = f'{self.repos.msb_repo_mirror}{self.repos.msb_repo_changelog}'
self.compare[self.repos.msb_repo_name] = self.compare_dates() self.compare[self.repos.msb_repo_name] = self.compare_dates()
def csb_repository(self) -> None: def csb_repository(self) -> None:
self.local_chg_txt: Path = Path(self.repos.csb_repo_path, self.repos.csb_repo_changelog) self.local_chg_txt: Path = Path(self.repos.csb_repo_path, self.repos.csb_repo_changelog)
self.repo_chg_txt: str = f'{self.repos.csb_repo_changelog_mirror}{self.repos.csb_repo_changelog}' self.repo_chg_txt: str = f'{self.repos.csb_repo_mirror}{self.repos.csb_repo_changelog}'
self.compare[self.repos.csb_repo_name] = self.compare_dates() self.compare[self.repos.csb_repo_name] = self.compare_dates()
def conraid_repository(self) -> None: def conraid_repository(self) -> None:

View file

@ -51,11 +51,20 @@ class Repositories:
slack_repo_checksums: str = 'CHECKSUMS.md5' slack_repo_checksums: str = 'CHECKSUMS.md5'
slack_repo_changelog: str = 'ChangeLog.txt' slack_repo_changelog: str = 'ChangeLog.txt'
slack_extra_repo: bool = False
slack_extra_repo_name: str = 'slack_extra'
slack_extra_repo_path: Path = Path(config.lib_path, 'repositories', slack_extra_repo_name)
slack_extra_repo_mirror: str = 'https://slackware.uk/slackware/slackware64-15.0/'
slack_extra_packages_mirror: str = 'https://slackware.uk/slackware/slackware64-15.0/extra/'
slack_extra_repo_packages: str = 'PACKAGES.TXT'
slack_extra_repo_checksums: str = 'CHECKSUMS.md5'
slack_extra_repo_changelog: str = 'ChangeLog.txt'
slack_patches_repo: bool = False slack_patches_repo: bool = False
slack_patches_repo_name: str = 'slack_patches' slack_patches_repo_name: str = 'slack_patches'
slack_patches_repo_path: Path = Path(config.lib_path, 'repositories', slack_patches_repo_name) slack_patches_repo_path: Path = Path(config.lib_path, 'repositories', slack_patches_repo_name)
slack_patches_repo_mirror: str = 'https://slackware.uk/slackware/slackware64-15.0/' slack_patches_repo_mirror: str = 'https://slackware.uk/slackware/slackware64-15.0/'
slack_patches_packages_mirror: str = 'https://slackware.uk/slackware/slackware64-15.0/' slack_patches_packages_mirror: str = 'https://slackware.uk/slackware/slackware64-15.0/patches/'
slack_patches_repo_packages: str = 'PACKAGES.TXT' slack_patches_repo_packages: str = 'PACKAGES.TXT'
slack_patches_repo_checksums: str = 'CHECKSUMS.md5' slack_patches_repo_checksums: str = 'CHECKSUMS.md5'
slack_patches_repo_changelog: str = 'ChangeLog.txt' slack_patches_repo_changelog: str = 'ChangeLog.txt'
@ -63,8 +72,8 @@ class Repositories:
alien_repo: bool = False alien_repo: bool = False
alien_repo_name: str = 'alien' alien_repo_name: str = 'alien'
alien_repo_path: Path = Path(config.lib_path, 'repositories', alien_repo_name) alien_repo_path: Path = Path(config.lib_path, 'repositories', alien_repo_name)
alien_repo_mirror: str = 'http://slackware.uk/people/alien/sbrepos/15.0/x86_64/' alien_repo_mirror: str = 'http://slackware.uk/people/alien/sbrepos/'
alien_repo_changelog_mirror: str = 'http://slackware.uk/people/alien/sbrepos/' alien_repo_packages_mirror: str = 'http://slackware.uk/people/alien/sbrepos/15.0/x86_64/'
alien_repo_packages: str = 'PACKAGES.TXT' alien_repo_packages: str = 'PACKAGES.TXT'
alien_repo_checksums: str = 'CHECKSUMS.md5' alien_repo_checksums: str = 'CHECKSUMS.md5'
alien_repo_changelog: str = 'ChangeLog.txt' alien_repo_changelog: str = 'ChangeLog.txt'
@ -72,8 +81,8 @@ class Repositories:
multilib_repo: bool = False multilib_repo: bool = False
multilib_repo_name: str = 'multilib' multilib_repo_name: str = 'multilib'
multilib_repo_path: Path = Path(config.lib_path, 'repositories', multilib_repo_name) multilib_repo_path: Path = Path(config.lib_path, 'repositories', multilib_repo_name)
multilib_repo_mirror: str = 'https://slackware.nl/people/alien/multilib/15.0/' multilib_repo_mirror: str = 'https://slackware.nl/people/alien/multilib/'
multilib_repo_changelog_mirror: str = 'https://slackware.nl/people/alien/multilib/' multilib_repo_packages_mirror: str = 'https://slackware.nl/people/alien/multilib/15.0/'
multilib_repo_packages: str = 'PACKAGES.TXT' multilib_repo_packages: str = 'PACKAGES.TXT'
multilib_repo_checksums: str = 'CHECKSUMS.md5' multilib_repo_checksums: str = 'CHECKSUMS.md5'
multilib_repo_changelog: str = 'ChangeLog.txt' multilib_repo_changelog: str = 'ChangeLog.txt'
@ -81,8 +90,8 @@ class Repositories:
restricted_repo: bool = False restricted_repo: bool = False
restricted_repo_name: str = 'restricted' restricted_repo_name: str = 'restricted'
restricted_repo_path: Path = Path(config.lib_path, 'repositories', restricted_repo_name) restricted_repo_path: Path = Path(config.lib_path, 'repositories', restricted_repo_name)
restricted_repo_mirror: str = 'https://slackware.nl/people/alien/restricted_sbrepos/15.0/x86_64/' restricted_repo_mirror: str = 'https://slackware.nl/people/alien/restricted_sbrepos/'
restricted_repo_changelog_mirror: str = 'https://slackware.nl/people/alien/restricted_sbrepos/' restricted_repo_packages_mirror: str = 'https://slackware.nl/people/alien/restricted_sbrepos/15.0/x86_64/'
restricted_repo_packages: str = 'PACKAGES.TXT' restricted_repo_packages: str = 'PACKAGES.TXT'
restricted_repo_checksums: str = 'CHECKSUMS.md5' restricted_repo_checksums: str = 'CHECKSUMS.md5'
restricted_repo_changelog: str = 'ChangeLog.txt' restricted_repo_changelog: str = 'ChangeLog.txt'
@ -98,8 +107,8 @@ class Repositories:
msb_repo: bool = False msb_repo: bool = False
msb_repo_name: str = 'msb' msb_repo_name: str = 'msb'
msb_repo_path: Path = Path(config.lib_path, 'repositories', msb_repo_name) msb_repo_path: Path = Path(config.lib_path, 'repositories', msb_repo_name)
msb_repo_mirror: str = 'https://slackware.uk/msb/15.0/1.26/x86_64/' msb_repo_mirror: str = 'https://slackware.uk/msb/'
msb_repo_changelog_mirror: str = 'https://slackware.uk/msb/' msb_repo_packages_mirror: str = 'https://slackware.uk/msb/15.0/1.26/x86_64/'
msb_repo_packages: str = 'PACKAGES.TXT' msb_repo_packages: str = 'PACKAGES.TXT'
msb_repo_checksums: str = 'CHECKSUMS.md5' msb_repo_checksums: str = 'CHECKSUMS.md5'
msb_repo_changelog: str = 'ChangeLog.txt' msb_repo_changelog: str = 'ChangeLog.txt'
@ -107,8 +116,8 @@ class Repositories:
csb_repo: bool = False csb_repo: bool = False
csb_repo_name: str = 'csb' csb_repo_name: str = 'csb'
csb_repo_path: Path = Path(config.lib_path, 'repositories', csb_repo_name) csb_repo_path: Path = Path(config.lib_path, 'repositories', csb_repo_name)
csb_repo_mirror: str = 'https://slackware.uk/csb/15.0/x86_64/' csb_repo_mirror: str = 'https://slackware.uk/csb/'
csb_repo_changelog_mirror: str = 'https://slackware.uk/csb/' csb_repo_packages_mirror: str = 'https://slackware.uk/csb/15.0/x86_64/'
csb_repo_packages: str = 'PACKAGES.TXT' csb_repo_packages: str = 'PACKAGES.TXT'
csb_repo_checksums: str = 'CHECKSUMS.md5' csb_repo_checksums: str = 'CHECKSUMS.md5'
csb_repo_changelog: str = 'ChangeLog.txt' csb_repo_changelog: str = 'ChangeLog.txt'
@ -194,6 +203,14 @@ class Repositories:
slack_repo_checksums: str = repos_config['SLACK_REPO_CHECKSUMS'] slack_repo_checksums: str = repos_config['SLACK_REPO_CHECKSUMS']
slack_repo_changelog: str = repos_config['SLACK_REPO_CHANGELOG'] slack_repo_changelog: str = repos_config['SLACK_REPO_CHANGELOG']
slack_extra_repo: bool = repos_config['SLACK_EXTRA_REPO']
slack_extra_repo_name: str = repos_config['SLACK_EXTRA_REPO_NAME']
slack_extra_repo_mirror: str = repos_config['SLACK_EXTRA_REPO_MIRROR']
slack_extra_repo_packages_mirror: str = repos_config['SLACK_EXTRA_REPO_PACKAGES_MIRROR']
slack_extra_repo_packages: str = repos_config['SLACK_EXTRA_REPO_PACKAGES']
slack_extra_repo_checksums: str = repos_config['SLACK_EXTRA_REPO_CHECKSUMS']
slack_extra_repo_changelog: str = repos_config['SLACK_EXTRA_REPO_CHANGELOG']
slack_patches_repo: bool = repos_config['SLACK_PATCHES_REPO'] slack_patches_repo: bool = repos_config['SLACK_PATCHES_REPO']
slack_patches_repo_name: str = repos_config['SLACK_PATCHES_REPO_NAME'] slack_patches_repo_name: str = repos_config['SLACK_PATCHES_REPO_NAME']
slack_patches_repo_mirror: str = repos_config['SLACK_PATCHES_REPO_MIRROR'] slack_patches_repo_mirror: str = repos_config['SLACK_PATCHES_REPO_MIRROR']
@ -205,7 +222,7 @@ class Repositories:
alien_repo: bool = repos_config['ALIEN_REPO'] alien_repo: bool = repos_config['ALIEN_REPO']
alien_repo_name: str = repos_config['ALIEN_REPO_NAME'] alien_repo_name: str = repos_config['ALIEN_REPO_NAME']
alien_repo_mirror: str = repos_config['ALIEN_REPO_MIRROR'] alien_repo_mirror: str = repos_config['ALIEN_REPO_MIRROR']
alien_repo_changelog_mirror: str = repos_config['ALIEN_REPO_CHANGELOG_MIRROR'] alien_repo_packages_mirror: str = repos_config['ALIEN_REPO_PACKAGES_MIRROR']
alien_repo_packages: str = repos_config['ALIEN_REPO_PACKAGES'] alien_repo_packages: str = repos_config['ALIEN_REPO_PACKAGES']
alien_repo_checksums: str = repos_config['ALIEN_REPO_CHECKSUMS'] alien_repo_checksums: str = repos_config['ALIEN_REPO_CHECKSUMS']
alien_repo_changelog: str = repos_config['ALIEN_REPO_CHANGELOG'] alien_repo_changelog: str = repos_config['ALIEN_REPO_CHANGELOG']
@ -213,7 +230,7 @@ class Repositories:
multilib_repo: bool = repos_config['MULTILIB_REPO'] multilib_repo: bool = repos_config['MULTILIB_REPO']
multilib_repo_name: str = repos_config['MULTILIB_REPO_NAME'] multilib_repo_name: str = repos_config['MULTILIB_REPO_NAME']
multilib_repo_mirror: str = repos_config['MULTILIB_REPO_MIRROR'] multilib_repo_mirror: str = repos_config['MULTILIB_REPO_MIRROR']
multilib_repo_changelog_mirror: str = repos_config['MULTILIB_REPO_CHANGELOG_MIRROR'] multilib_repo_packages_mirror: str = repos_config['MULTILIB_REPO_PACKAGES_MIRROR']
multilib_repo_packages: str = repos_config['MULTILIB_REPO_PACKAGES'] multilib_repo_packages: str = repos_config['MULTILIB_REPO_PACKAGES']
multilib_repo_checksums: str = repos_config['MULTILIB_REPO_CHECKSUMS'] multilib_repo_checksums: str = repos_config['MULTILIB_REPO_CHECKSUMS']
multilib_repo_changelog: str = repos_config['MULTILIB_REPO_CHANGELOG'] multilib_repo_changelog: str = repos_config['MULTILIB_REPO_CHANGELOG']
@ -221,7 +238,7 @@ class Repositories:
restricted_repo: bool = repos_config['RESTRICTED_REPO'] restricted_repo: bool = repos_config['RESTRICTED_REPO']
restricted_repo_name: str = repos_config['RESTRICTED_REPO_NAME'] restricted_repo_name: str = repos_config['RESTRICTED_REPO_NAME']
restricted_repo_mirror: str = repos_config['RESTRICTED_REPO_MIRROR'] restricted_repo_mirror: str = repos_config['RESTRICTED_REPO_MIRROR']
restricted_repo_changelog_mirror: str = repos_config['RESTRICTED_REPO_CHANGELOG_MIRROR'] restricted_repo_packages_mirror: str = repos_config['RESTRICTED_REPO_PACKAGES_MIRROR']
restricted_repo_packages: str = repos_config['RESTRICTED_REPO_PACKAGES'] restricted_repo_packages: str = repos_config['RESTRICTED_REPO_PACKAGES']
restricted_repo_checksums: str = repos_config['RESTRICTED_REPO_CHECKSUMS'] restricted_repo_checksums: str = repos_config['RESTRICTED_REPO_CHECKSUMS']
restricted_repo_changelog: str = repos_config['RESTRICTED_REPO_CHANGELOG'] restricted_repo_changelog: str = repos_config['RESTRICTED_REPO_CHANGELOG']
@ -236,7 +253,7 @@ class Repositories:
msb_repo: bool = repos_config['MSB_REPO'] msb_repo: bool = repos_config['MSB_REPO']
msb_repo_name: str = repos_config['MSB_REPO_NAME'] msb_repo_name: str = repos_config['MSB_REPO_NAME']
msb_repo_mirror: str = repos_config['MSB_REPO_MIRROR'] msb_repo_mirror: str = repos_config['MSB_REPO_MIRROR']
msb_repo_changelog_mirror: str = repos_config['MSB_REPO_CHANGELOG_MIRROR'] msb_repo_packages_mirror: str = repos_config['MSB_REPO_PACKAGES_MIRROR']
msb_repo_packages: str = repos_config['MSB_REPO_PACKAGES'] msb_repo_packages: str = repos_config['MSB_REPO_PACKAGES']
msb_repo_checksums: str = repos_config['MSB_REPO_CHECKSUMS'] msb_repo_checksums: str = repos_config['MSB_REPO_CHECKSUMS']
msb_repo_changelog: str = repos_config['MSB_REPO_CHANGELOG'] msb_repo_changelog: str = repos_config['MSB_REPO_CHANGELOG']
@ -244,7 +261,7 @@ class Repositories:
csb_repo: bool = repos_config['CSB_REPO'] csb_repo: bool = repos_config['CSB_REPO']
csb_repo_name: str = repos_config['CSB_REPO_NAME'] csb_repo_name: str = repos_config['CSB_REPO_NAME']
csb_repo_mirror: str = repos_config['CSB_REPO_MIRROR'] csb_repo_mirror: str = repos_config['CSB_REPO_MIRROR']
csb_repo_changelog_mirror: str = repos_config['CSB_REPO_CHANGELOG_MIRROR'] csb_repo_packages_mirror: str = repos_config['CSB_REPO_PACKAGES_MIRROR']
csb_repo_packages: str = repos_config['CSB_REPO_PACKAGES'] csb_repo_packages: str = repos_config['CSB_REPO_PACKAGES']
csb_repo_checksums: str = repos_config['CSB_REPO_CHECKSUMS'] csb_repo_checksums: str = repos_config['CSB_REPO_CHECKSUMS']
csb_repo_changelog: str = repos_config['CSB_REPO_CHANGELOG'] csb_repo_changelog: str = repos_config['CSB_REPO_CHANGELOG']

View file

@ -152,9 +152,9 @@ class UpdateRepository(Configs):
print(f"Downloading the '{self.green}{self.repos.alien_repo_name}{self.endc}' repository, please wait...\n") print(f"Downloading the '{self.green}{self.repos.alien_repo_name}{self.endc}' repository, please wait...\n")
self.make_dirs(self.repos.alien_repo_name) self.make_dirs(self.repos.alien_repo_name)
urls.append(f'{self.repos.alien_repo_mirror}{self.repos.alien_repo_packages}') urls.append(f'{self.repos.alien_repo_packages_mirror}{self.repos.alien_repo_packages}')
urls.append(f'{self.repos.alien_repo_changelog_mirror}{self.repos.alien_repo_changelog}') urls.append(f'{self.repos.alien_repo_mirror}{self.repos.alien_repo_changelog}')
urls.append(f'{self.repos.alien_repo_mirror}{self.repos.alien_repo_checksums}') urls.append(f'{self.repos.alien_repo_packages_mirror}{self.repos.alien_repo_checksums}')
self.utils.remove_file_if_exists(self.repos.alien_repo_path, self.repos.alien_repo_packages) self.utils.remove_file_if_exists(self.repos.alien_repo_path, self.repos.alien_repo_packages)
self.utils.remove_file_if_exists(self.repos.alien_repo_path, self.repos.alien_repo_changelog) self.utils.remove_file_if_exists(self.repos.alien_repo_path, self.repos.alien_repo_changelog)
@ -179,8 +179,8 @@ class UpdateRepository(Configs):
f"repository, please wait...\n") f"repository, please wait...\n")
self.make_dirs(self.repos.multilib_repo_name) self.make_dirs(self.repos.multilib_repo_name)
urls.append(f'{self.repos.multilib_repo_mirror}{self.repos.multilib_repo_packages}') urls.append(f'{self.repos.multilib_repo_packages_mirror}{self.repos.multilib_repo_packages}')
urls.append(f'{self.repos.multilib_repo_changelog_mirror}{self.repos.multilib_repo_changelog}') urls.append(f'{self.repos.multilib_repo_mirror}{self.repos.multilib_repo_changelog}')
urls.append(f'{self.repos.multilib_repo_mirror}{self.repos.multilib_repo_checksums}') urls.append(f'{self.repos.multilib_repo_mirror}{self.repos.multilib_repo_checksums}')
self.utils.remove_file_if_exists(self.repos.multilib_repo_path, self.repos.multilib_repo_packages) self.utils.remove_file_if_exists(self.repos.multilib_repo_path, self.repos.multilib_repo_packages)
@ -206,9 +206,9 @@ class UpdateRepository(Configs):
f"repository, please wait...\n") f"repository, please wait...\n")
self.make_dirs(self.repos.restricted_repo_name) self.make_dirs(self.repos.restricted_repo_name)
urls.append(f'{self.repos.restricted_repo_mirror}{self.repos.restricted_repo_packages}') urls.append(f'{self.repos.restricted_repo_packages_mirror}{self.repos.restricted_repo_packages}')
urls.append(f'{self.repos.restricted_repo_changelog_mirror}{self.repos.restricted_repo_changelog}') urls.append(f'{self.repos.restricted_repo_mirror}{self.repos.restricted_repo_changelog}')
urls.append(f'{self.repos.restricted_repo_mirror}{self.repos.restricted_repo_checksums}') urls.append(f'{self.repos.restricted_repo_packages_mirror}{self.repos.restricted_repo_checksums}')
self.utils.remove_file_if_exists(self.repos.restricted_repo_path, self.repos.restricted_repo_packages) self.utils.remove_file_if_exists(self.repos.restricted_repo_path, self.repos.restricted_repo_packages)
self.utils.remove_file_if_exists(self.repos.restricted_repo_path, self.repos.restricted_repo_changelog) self.utils.remove_file_if_exists(self.repos.restricted_repo_path, self.repos.restricted_repo_changelog)
@ -259,8 +259,8 @@ class UpdateRepository(Configs):
f"repository, please wait...\n") f"repository, please wait...\n")
self.make_dirs(self.repos.msb_repo_name) self.make_dirs(self.repos.msb_repo_name)
urls.append(f'{self.repos.msb_repo_mirror}{self.repos.msb_repo_packages}') urls.append(f'{self.repos.msb_repo_packages_mirror}{self.repos.msb_repo_packages}')
urls.append(f'{self.repos.msb_repo_changelog_mirror}{self.repos.msb_repo_changelog}') urls.append(f'{self.repos.msb_repo_mirror}{self.repos.msb_repo_changelog}')
urls.append(f'{self.repos.msb_repo_mirror}{self.repos.msb_repo_checksums}') urls.append(f'{self.repos.msb_repo_mirror}{self.repos.msb_repo_checksums}')
self.utils.remove_file_if_exists(self.repos.msb_repo_path, self.utils.remove_file_if_exists(self.repos.msb_repo_path,
@ -289,8 +289,8 @@ class UpdateRepository(Configs):
f"repository, please wait...\n") f"repository, please wait...\n")
self.make_dirs(self.repos.csb_repo_name) self.make_dirs(self.repos.csb_repo_name)
urls.append(f'{self.repos.csb_repo_mirror}{self.repos.csb_repo_packages}') urls.append(f'{self.repos.csb_repo_packages_mirror}{self.repos.csb_repo_packages}')
urls.append(f'{self.repos.csb_repo_changelog_mirror}{self.repos.csb_repo_changelog}') urls.append(f'{self.repos.csb_repo_mirror}{self.repos.csb_repo_changelog}')
urls.append(f'{self.repos.csb_repo_mirror}{self.repos.csb_repo_checksums}') urls.append(f'{self.repos.csb_repo_mirror}{self.repos.csb_repo_checksums}')
self.utils.remove_file_if_exists(self.repos.csb_repo_path, self.utils.remove_file_if_exists(self.repos.csb_repo_path,