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://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" @@ -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' ) @@ -452,7 +462,7 @@ 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' + \ @@ -541,7 +551,7 @@ ''' 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', type=int, metavar='n', default=5, @@ -560,7 +570,7 @@ parser.add_argument( '--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( @@ -645,7 +655,7 @@ 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)