summaryrefslogtreecommitdiff
path: root/libre/reflector/rebranding.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/reflector/rebranding.patch')
-rw-r--r--libre/reflector/rebranding.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/libre/reflector/rebranding.patch b/libre/reflector/rebranding.patch
deleted file mode 100644
index d78462b06..000000000
--- a/libre/reflector/rebranding.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff --git a/Reflector.py b/Reflector.py
-index c046d23..ddf3ac8 100644
---- a/Reflector.py
-+++ b/Reflector.py
-@@ -63,7 +63,7 @@ def get_cache_file():
-
- class MirrorStatus():
- # JSON URI
-- URL = 'https://www.archlinux.org/mirrors/status/json/'
-+ URL = 'https://parabolagnulinux.org/mirrors/status/json/'
- # Mirror URL format. Accepts server base URL, repository, and architecture.
- MIRROR_URL_FORMAT = '{0}{1}/os/{2}'
- MIRRORLIST_ENTRY_FORMAT = "Server = " + MIRROR_URL_FORMAT + "\n"
-@@ -92,8 +92,12 @@ class MirrorStatus():
- 'extra',
- 'gnome-unstable',
- 'kde-unstable',
-+ 'libre',
-+ 'libre-testing',
- 'multilib',
-- 'multilib-testing'
-+ 'multilib-testing',
-+ 'nonprism',
-+ 'pcr',
- 'staging',
- 'testing'
- )
-@@ -449,7 +453,7 @@ class MirrorStatus():
-
- 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 = '{}\n{}\n{}\n'.format(border, header, border) + \
- '\n' + \
-@@ -516,7 +520,7 @@ def add_arguments(parser):
- '''
- Add reflector arguments to the argument parser.
- '''
-- parser = argparse.ArgumentParser(description='retrieve and filter a list of the latest Arch Linux mirrors')
-+ parser = argparse.ArgumentParser(description='retrieve and filter a list of the latest Parabola GNU/Linux-libre mirrors')
-
- parser.add_argument(
- '--connection-timeout', dest='connection_timeout', type=int, metavar='n', default=5,
-@@ -535,7 +539,7 @@ def add_arguments(parser):
-
- parser.add_argument(
- '--cache-timeout', dest='cache_timeout', type=int, metavar='n', default=300,
-- help='The cache timeout in seconds for the data retrieved from the Arch Linux Mirror Status API. The default is 300 (5 minutes).'
-+ help='The cache timeout in seconds for the data retrieved from the Parabola GNU/Linux-libre Mirror Status API. The default is 300 (5 minutes).'
- )
-
- parser.add_argument(
-@@ -615,7 +619,7 @@ def parse_args(args=None):
- Parse command-line arguments.
- '''
- parser = argparse.ArgumentParser(
-- 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'
- )
- parser = add_arguments(parser)
- options = parser.parse_args(args)