Fixed for ponce repo

This commit is contained in:
Dimitris Zlatanidis 2024-04-12 19:27:28 +03:00
parent 8c05a8c58d
commit 9e5f253c35
2 changed files with 4 additions and 9 deletions

View file

@ -23,7 +23,6 @@ VERSION = "15.0"
[PONCE]
ENABLE = false
MIRROR = "https://cgit.ponce.cc/slackbuilds/plain/"
VERSION = "current"
[SLACK]
ENABLE = false

View file

@ -41,8 +41,7 @@ class Repositories:
ponce_repo: bool = False
ponce_repo_name: str = 'ponce'
ponce_repo_path: Path = Path(repositories_path, ponce_repo_name)
ponce_repo_mirror_packages: str = ''
ponce_repo_mirror_changelog: str = ''
ponce_repo_mirror: str = ''
ponce_repo_slackbuilds: str = 'SLACKBUILDS.TXT'
ponce_repo_changelog: str = 'ChangeLog.txt'
ponce_repo_tag: str = '_SBo'
@ -232,10 +231,7 @@ class Repositories:
sbo_repo_mirror_changelog: str = f'{sbo_repo_url}{sbo_repo_version}/'
ponce_repo: bool = repos_config['PONCE']['ENABLE']
ponce_repo_url: str = repos_config['PONCE']['MIRROR']
ponce_repo_version: str = repos_config['PONCE']['VERSION']
ponce_repo_mirror_packages: str = f'{ponce_repo_url}{ponce_repo_version}/'
ponce_repo_mirror_changelog: str = f'{ponce_repo_url}{ponce_repo_version}/'
ponce_repo_mirror: str = repos_config['PONCE']['MIRROR']
slack_repo: bool = repos_config['SLACK']['ENABLE']
slack_repo_url: str = repos_config['SLACK']['MIRROR']
@ -396,8 +392,8 @@ class Repositories:
ponce_repo_name: {
'enable': ponce_repo,
'path': ponce_repo_path,
'mirror_packages': ponce_repo_mirror_packages,
'mirror_changelog': ponce_repo_mirror_changelog,
'mirror_packages': ponce_repo_mirror,
'mirror_changelog': ponce_repo_mirror,
'slackbuilds_txt': ponce_repo_slackbuilds,
'changelog_txt': ponce_repo_changelog,
'repo_tag': ponce_repo_tag,