Removed rested repository

This commit is contained in:
Dimitris Zlatanidis 2022-05-31 23:22:06 +03:00
parent 3a82750cc4
commit 7275d74bf5
10 changed files with 6 additions and 78 deletions

View file

@ -96,7 +96,6 @@ $ slpkg repo-list
msb http://slackware.org.uk/msb/ yes enabled
multi http://www.slackware.com/~alien/multilib/ yes disabled
ponce http://ponce.cc/slackware/slackware64-14.2/packa~ no enabled
rested http://taper.alienbase.nl/mirrors/people/alien/r~ yes disabled
rlw http://rlworkman.net/pkgs/ yes disabled
salix http://download.salixos.org/ yes disabled
sbo http://slackbuilds.org/slackbuilds/ yes enabled
@ -107,7 +106,7 @@ $ slpkg repo-list
Repositories summary
===============================================================================
3/13 enabled default repositories and 1 custom.
3/12 enabled default repositories and 1 custom.
For enable or disable default repositories edit '/etc/slpkg/repositories.conf'
file.

View file

@ -30,7 +30,7 @@
#
# Default repositories names:
# sbo, slack, rlw, alien, conrad, slonly, ktown, multi, salix,
# slackl, rested, msb, csb, connos, mles
# slackl, msb, csb, connos, mles
# NOTE: Slackware repository (slack) served from file slackware-mirros
# -----------------------------------------------------------------------------
#
@ -44,7 +44,6 @@
multi http://bear.alienbase.nl/mirrors/people/alien/multilib/
salix http://download.salixos.org/
slackl http://www.slackel.gr/repo/
rested http://bear.alienbase.nl/mirrors/people/alien/restricted_slackbuilds/
msb http://slackware.org.uk/msb/
csb http://slackware.uk/csb/
connos https://connochaetos.org/slack-n-free/

View file

@ -49,7 +49,6 @@ sbo
# multi
# salix
# slackl
# rested
# msb{1.18}
# csb
# connos

View file

@ -331,7 +331,6 @@ For example:
Alien's multilib = "multi"
SalixOS = "salix"
Slackel.gr = "slackel"
Alien's restricted = "rested"
MATE Desktop Environment = "msb{1.18}"
Cinnamon Desktop Environment = "csb"
Connochaetos slack-n-free = "connos"

View file

@ -599,7 +599,6 @@ Alien&rsquo;s ktown = &quot;ktown{latest}&quot; <br>
Alien&rsquo;s multilib = &quot;multi&quot; <br>
SalixOS = &quot;salix&quot; <br>
Slackel.gr = &quot;slackel&quot; <br>
Alien&rsquo;s restricted = &quot;rested&quot; <br>
MATE Desktop Environment = &quot;msb{1.18}&quot; <br>
Cinnamon Desktop Environment = &quot;csb&quot; <br>
Connochaetos slack-n-free = &quot;connos&quot; <br>

View file

@ -101,9 +101,8 @@ class MetaData:
"COMP_ARCH": "off",
"REPOSITORIES": ["slack", "sbo", "rlw", "alien",
"conrad", "slonly", "ktown{latest}",
"multi", "salix", "slackl",
"rested", "msb{1.18}", "csb", "connos",
"mles{desktop}"],
"multi", "salix", "slackl", "msb{1.18}",
"csb", "connos", "mles{desktop}"],
"BUILD_PATH": "/tmp/slpkg/build/",
"SBOSRCARCH": "off",
"SBOSRCARCH_LINK": "http://slackware.uk/sbosrcarch/by-name/",
@ -131,7 +130,7 @@ class MetaData:
default_repositories = ["slack", "sbo", "rlw", "alien", "conrad",
"slonly", "ktown", "multi", "salix",
"slackl", "rested", "msb", "csb", "connos", "mles"]
"slackl", "msb", "csb", "connos", "mles"]
# reads values from the configuration file
repositories = []

View file

@ -71,13 +71,6 @@ def repo_data(PACKAGES_TXT, repo, flag):
runsize
) = alien_filter(name, location, size, unsize)
elif repo == "rested":
(rname,
rlocation,
rsize,
runsize
) = rested_filter(name, location, size, unsize)
elif repo == "ktown":
(rname,
rlocation,
@ -158,31 +151,6 @@ def alien_filter(name, location, size, unsize):
return [fname, flocation, fsize, funsize]
def rested_filter(name, location, size, unsize):
"""Filter Alien"s repository data
"""
ver = slack_ver()
if _meta_.slack_rel == "current":
ver = "current"
path_pkg = "pkg"
if _meta_.arch == "x86_64":
path_pkg = "pkg64"
(fname, flocation, fsize, funsize) = ([] for i in range(4))
for n, l, s, u in zip(name, location, size, unsize):
if path_pkg == l.split("/")[-2] and ver == l.split("/")[-1]:
fname.append(n)
flocation.append(l)
fsize.append(s)
funsize.append(u)
return [fname, flocation, fsize, funsize]
def ktown_filter(name, location, size, unsize):
"""Filter Alien"s ktown repository data
"""

View file

@ -114,9 +114,6 @@ class RepoInit(Utils):
self.mirror = f"{self.def_repo_dict['slackl']}{arch}/current/"
def _init_rested(self):
self.mirror = self.def_repo_dict["rested"]
def _init_msb(self):
arch = "x86"
if self.meta.arch == "x86_64":

View file

@ -54,7 +54,6 @@ class Updates:
"multi": self._init.multi,
"salix": self._init.salix,
"slackl": self._init.slackl,
"rested": self._init.rested,
"msb": self._init.msb,
"csb": self._init.csb,
"connos": self._init.msb,

View file

@ -464,36 +464,6 @@ class Init(Utils):
self.remote(log, ChangeLog_txt, lib, PACKAGES_TXT, CHECKSUMS_MD5,
FILELIST_TXT, repo_name)
def rested(self):
"""Creating alien restricted local library
"""
repo = self.def_repos_dict["rested"]
log = self.log_path + "rested/"
lib = self.lib_path + "rested_repo/"
repo_name = Init.rested.__name__
lib_file = "PACKAGES.TXT"
# lst_file = ""
md5_file = "CHECKSUMS.md5"
log_file = "ChangeLog.txt"
self.make_dir([log, lib])
PACKAGES_TXT = f"{repo}{lib_file}"
FILELIST_TXT = ""
CHECKSUMS_MD5 = f"{repo}{md5_file}"
ChangeLog_txt = f"{repo}{log_file}"
if self.check:
return self.checks_logs(log, ChangeLog_txt)
self.down(lib, PACKAGES_TXT, repo_name)
self.down(lib, CHECKSUMS_MD5, repo_name)
self.down(log, ChangeLog_txt, repo_name)
self.remote(log, ChangeLog_txt, lib, PACKAGES_TXT, CHECKSUMS_MD5,
FILELIST_TXT, repo_name)
def msb(self):
"""Creating MATE local library
"""