diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-04-29 10:03:14 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-04-29 12:09:03 -0400 |
commit | c0781a1c6fced218135893e4835a2e0cd6749cc3 (patch) | |
tree | eb274bfc4226f37232d4573848255a7fc5ac8bed /libre/reflector/rebranding.patch | |
parent | 7f2d9488ae94f1d2c1551d2a80c44c205d6b6835 (diff) | |
download | abslibre-c0781a1c6fced218135893e4835a2e0cd6749cc3.tar.gz abslibre-c0781a1c6fced218135893e4835a2e0cd6749cc3.tar.bz2 abslibre-c0781a1c6fced218135893e4835a2e0cd6749cc3.zip |
[reflector]: upgrade to v2021.11
Diffstat (limited to 'libre/reflector/rebranding.patch')
-rw-r--r-- | libre/reflector/rebranding.patch | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/libre/reflector/rebranding.patch b/libre/reflector/rebranding.patch deleted file mode 100644 index fff949891..000000000 --- a/libre/reflector/rebranding.patch +++ /dev/null @@ -1,86 +0,0 @@ -diff --git a/Reflector.py b/Reflector.py -index 532484f..f3f1948 100644 ---- a/Reflector.py -+++ b/Reflector.py -@@ -21,7 +21,7 @@ - # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - ''' --Retrieve Arch Linux mirrors. -+Retrieve Parabola GNU/Linux-libre mirrors. - ''' - - import argparse -@@ -50,7 +50,7 @@ import urllib.request - - NAME = 'Reflector' - --URL = 'https://www.archlinux.org/mirrors/status/json/' -+URL = 'https://www.parabola.nu/mirrors/status/json/' - - DISPLAY_TIME_FORMAT = '%Y-%m-%d %H:%M:%S UTC' - PARSE_TIME_FORMAT = '%Y-%m-%dT%H:%M:%SZ' -@@ -598,7 +598,7 @@ def format_mirrorlist( - - width = 80 - colw = 11 -- header = '# Arch Linux mirrorlist generated by Reflector #'.center(width, '#') -+ header = '# Parabola GNU/Linux-libre mirrorlist generated by Reflector #'.center(width, '#') - border = '#' * len(header) - mirrorlist = f'{border}\n{header}\n{border}\n\n' + \ - '\n'.join( -@@ -653,8 +653,18 @@ class MirrorStatus(): - 'extra', - 'gnome-unstable', - 'kde-unstable', -+ 'libre', -+ 'libre-testing', -+ 'libre-multilib', -+ 'libre-multilib-testing', - 'multilib', -- 'multilib-testing' -+ 'multilib-testing', -+ 'nonprism', -+ 'nonprism-testing', -+ 'pcr', -+ 'kernels', -+ 'java', -+ 'cross', - 'staging', - 'testing' - ) -@@ -828,8 +838,8 @@ def add_arguments(parser): - parser.add_argument( - '--cache-timeout', type=int, metavar='n', default=DEFAULT_CACHE_TIMEOUT, - help=( -- '''The cache timeout in seconds for the data retrieved from the Arch -- Linux Mirror Status API. The default is %(default)s. ''' -+ '''The cache timeout in seconds for the data retrieved from the Parabola -+ GNU/Linux-libre Mirror Status API. The default is %(default)s. ''' - ) - ) - -@@ -1013,7 +1023,7 @@ def parse_args(args=None): - Parse command-line arguments. - ''' - parser = MyArgumentParser( -- description='retrieve and filter a list of the latest Arch Linux mirrors', -+ description='retrieve and filter a list of the latest Parabola GNU/Linux-libre mirrors', - fromfile_prefix_chars='@' - ) - parser = add_arguments(parser) -diff --git a/man/reflector.1 b/man/reflector.1 -index bd818cc..a543e02 100644 ---- a/man/reflector.1 -+++ b/man/reflector.1 -@@ -11,8 +11,8 @@ reflector - retrieve and filter the latest Pacman mirrorlist - .SH DESCRIPTION - .PP - reflector is a Python script and associated Python module that can --retrieve up-to-date Arch Linux mirror data from the Mirror --Status (https://www.archlinux.org/mirrors/status/) web interface. -+retrieve up-to-date Parabola GNU/Linux-libre mirror data from the -+Mirror Status (https://www.parabola.nu/mirrors/status/) web interface. - .SH ARGUMENTS - .PP - See \f[C]reflector --help\f[R]. |