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.patch26
1 files changed, 15 insertions, 11 deletions
diff --git a/libre/reflector/rebranding.patch b/libre/reflector/rebranding.patch
index b29653ffd..3b6adaad2 100644
--- a/libre/reflector/rebranding.patch
+++ b/libre/reflector/rebranding.patch
@@ -1,32 +1,36 @@
-diff --git a/Reflector.py b/Reflector.py
-index 20b7fc7..22e5f9d 100644
---- a/Reflector.py
-+++ b/Reflector.py
-@@ -63,7 +63,7 @@ def get_cache_file():
+diff -Nur reflector-2014.11.orig/Reflector.py reflector-2014.11/Reflector.py
+--- reflector-2014.11.orig/Reflector.py 2014-11-01 14:22:45.000000000 -0200
++++ reflector-2014.11/Reflector.py 2014-11-03 12:54:07.656310663 -0200
+@@ -64,7 +64,7 @@
class MirrorStatus(object):
# JSON URI
- URL = 'https://www.archlinux.org/mirrors/status/json/'
-+ URL = 'https://parabolagnulinux.org/mirrors/status/json/'
++ URL = 'https://www.parabola.nu/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,13 @@ class MirrorStatus(object):
+@@ -93,8 +93,18 @@
'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'
)
-@@ -453,7 +458,7 @@ class MirrorStatus(object):
+@@ -452,7 +462,7 @@
width = 80
colw = 11
@@ -35,7 +39,7 @@ index 20b7fc7..22e5f9d 100644
border = '#' * len(header)
mirrorlist = '{}\n{}\n{}\n'.format(border, header, border) + \
'\n' + \
-@@ -542,7 +547,7 @@ def add_arguments(parser):
+@@ -541,7 +551,7 @@
'''
Add reflector arguments to the argument parser.
'''
@@ -44,7 +48,7 @@ index 20b7fc7..22e5f9d 100644
parser.add_argument(
'--connection-timeout', type=int, metavar='n', default=5,
-@@ -561,7 +566,7 @@ def add_arguments(parser):
+@@ -560,7 +570,7 @@
parser.add_argument(
'--cache-timeout', type=int, metavar='n', default=300,
@@ -53,7 +57,7 @@ index 20b7fc7..22e5f9d 100644
)
parser.add_argument(
-@@ -646,7 +651,7 @@ def parse_args(args=None):
+@@ -645,7 +655,7 @@
Parse command-line arguments.
'''
parser = argparse.ArgumentParser(