summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-12-12 07:29:43 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-12-12 07:29:43 +0100
commit7d26b555aeeb863d320341c2ffaaea8593d33012 (patch)
tree3e896e389a9fb4663f8ef24b26501e00e6046403
parent3d61df218e628b7ae6a49a60119595c88e85618f (diff)
downloadreflector32-7d26b555aeeb863d320341c2ffaaea8593d33012.tar.xz
updated upstream version 2019.102019.10
-rw-r--r--man/reflector.155
-rw-r--r--setup.py2
2 files changed, 56 insertions, 1 deletions
diff --git a/man/reflector.1 b/man/reflector.1
new file mode 100644
index 0000000..dc2da4d
--- /dev/null
+++ b/man/reflector.1
@@ -0,0 +1,55 @@
+.TH reflector 1 "12 October 2019" "2019.3-1" "User Commands"
+.SH NAME
+reflector \- retrieve and filter the latest Pacman mirror list
+
+.SH SYNOPSIS
+.B reflector
+[arguments]
+
+.SH DESCRIPTION
+.B reflector
+is a Python script and module that can retrieve and filter the Pacman mirror list and overwrite /etc/pacman.d/mirrorlist.
+
+.SH ARGUMENTS
+
+See
+.B reflector
+--help
+
+.SH EXAMPLES
+
+Print the latest mirrorlist to stdout:
+
+.RS
+.B reflector
+.RE
+
+Sort the five most recently synchronized mirrors by download speed and overwrite the local mirrorlist:
+
+.RS
+.B reflector
+--latest 5 --sort rate --save /etc/pacman.d/mirrorlist
+.RE
+
+Select the 200 most recently synchronized HTTP or HTTPS mirrors, sort them by download speed, and overwrite the file /etc/pacman.d/mirrorlist:
+
+.RS
+.B reflector
+--latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist
+.RE
+
+Select the HTTPS mirrors synchronized within the last 12 hours and located in either France or Germany, sort them by download speed, and overwrite the file /etc/pacman.d/mirrorlist:
+
+.RS
+.B reflector
+--country France --country Germany --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
+.RE
+
+.SH AUTHOR
+.B reflector
+was written and is maintained by
+.B Xyne
+(https://xyne.archlinux.ca/).
+
+.SH SEE ALSO
+pacman(8)
diff --git a/setup.py b/setup.py
index a359f55..6b689cc 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ import time
setup(
name='''Reflector''',
- version=time.strftime('%Y.%m.%d.%H.%M.%S', time.gmtime(1552010079)),
+ version=time.strftime('%Y.%m.%d.%H.%M.%S', time.gmtime(1571109574)),
description='''A Python 3 module and script to retrieve and filter the latest Pacman mirror list.''',
author='''Xyne''',
author_email='''ac xunilhcra enyx, backwards''',