aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update version for 2.2.4 releaseHEAD2.2.4masterZac Medico2019-02-132-2/+2
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* setup.py: extend sdist to archive files owned by rootZac Medico2019-02-131-0/+14
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* selectors.py: Give urllib hostname info (bug 604968)Michel Ganguin2019-02-131-2/+8
| | | | | | | | | | | | Give urllib hostname info such that: * it will not fail when using HTTPS because of hostname mismatch (CertificateError) * it will not fail when the server is a virtualhost * it will not fail when the server validates ssl SNI Bug: https://bugs.gentoo.org/566778 Bug: https://bugs.gentoo.org/604968 Bug: https://bugs.gentoo.org/639156 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* selectors.py: handle ssl.CertificateError (bug 639156)Xiami2019-02-131-1/+1
| | | | | Bug: https://bugs.gentoo.org/639156 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* selectors.py: handle ssl.CertificateError (bug 604968)Daniel Harding2019-02-121-1/+2
| | | | | Bug: https://bugs.gentoo.org/604968 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* Update version for 2.2.3 releaseZac Medico2019-01-232-3/+3
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* Mirrorselect: add 'exclude' option to allow excluding hosts from mirrors list.i.Dark_Templar2018-05-262-0/+10
|
* main.py: Remove obsolete 'SYNC' option2.2.3Brian Dolbec2017-07-181-4/+1
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* main.py: fix isinstance(hosts[i], bytes)Zac Medico2017-02-201-1/+1
| | | | Fixes: c91509d823c2 ("main.py: Fix Bytes error in hosts list bug 610016")
* extractor.py: Add climit param for >=ssl-fetch-0.4Brian Dolbec2017-02-201-1/+1
|
* main.py: Fix Bytes error in hosts list bug 610016zakalwe2017-02-201-2/+3
| | | | | | | The code was only checking the first host which was not a bytes instance in that case. This resulted in the remaining host entries to not be decoded. Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* deeptime: cancel alarm signal before handling socket.error (bug 523312)Zac Medico2016-11-131-10/+12
| | | | | | | | In order to avoid a race condition, the alarm signal must be cancelled before socket.error is handled. X-Gentoo-Bug: 523312 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=523312
* Add missed output mode function assignment.Brian Dolbec2015-01-271-0/+1
|
* update version with latest release as a baseBrian Dolbec2015-01-261-1/+1
|
* Update for ssl-fetch api changeBrian Dolbec2015-01-261-0/+1
|
* Update version for the release2.2.2Brian Dolbec2014-05-291-1/+1
|
* Ssl-fetch renamed args-* to kwargs-*Brian Dolbec2014-05-281-2/+2
|
* Update for recent ssl-fetch changesBrian Dolbec2014-05-281-1/+9
|
* selectors.py: Add IncompleteRead exception2.2.1Brian Dolbec2014-05-041-3/+11
| | | Improve output formatting.
* Update man page with new optionsBrian Dolbec2014-05-041-8/+38
|
* main.py: Sort the cli optionsBrian Dolbec2014-05-041-30/+30
|
* Fix typo in help message.Brian Dolbec2014-03-061-1/+1
|
* Tweak the proxy code to correctly handle the cli option.sslBrian Dolbec2014-01-311-3/+4
|
* Indent adjustmentBrian Dolbec2014-01-311-10/+10
|
* Fix some long lines.Brian Dolbec2014-01-313-63/+78
|
* Use the new sslfetch pkg for the Connector class.Brian Dolbec2014-01-231-2/+4
|
* Remove connections.py. Instead moved it to it's own ssl-fetch pkg.Brian Dolbec2014-01-231-182/+0
|
* Manpage updatesBrian Dolbec2014-01-141-2/+8
|
* Work in progress for adding ssl support for downloading the mirrors lists.Brian Dolbec2013-10-202-18/+200
| | | | add the request code in it's own file and class.
* Add a proxy option to the cli. Preliminary only, not tested.Brian Dolbec2013-10-191-0/+6
|
* wrap a long line.Brian Dolbec2013-10-191-1/+2
|
* Make --debug level settable on the cliBrian Dolbec2013-10-191-2/+2
|
* Add new urls for api.gentoo.orgBrian Dolbec2013-10-191-2/+7
|
* fix HTTPError import and exceptionBrian Dolbec2013-10-191-2/+2
|
* fix url testing for vhosts that do not handle ip requests.Brian Dolbec2013-10-191-17/+43
| | | | | | Migrate to urllib2 Add HTTPError exception handling Move the code to it's own function in order to handle recursion to test the connection using the hostname url since the ip url failed.
* Improve debug print statements.Brian Dolbec2013-10-193-6/+8
|
* Move the TimeoutException and handler out of the Deep class's deeptime().Brian Dolbec2013-10-191-6/+8
|
* refactor Deep classes deeptime()Brian Dolbec2013-10-181-28/+37
| | | | | | | Thanks to Douglas Freed, fixed many errors, including dns errors on my system. Adds improved debug reporting. Adds total download failures output to the results.
* Add -f, --file & -m, --md5 options to override mirrorselect-test file used.Brian Dolbec2013-10-172-4/+21
|
* Improve python version testing for imports.Brian Dolbec2013-10-173-3/+3
| | | Use Arfrever's suggested code.
* get_filesystem_mirrors() cleanup & fixesBrian Dolbec2013-10-171-34/+44
| | | | | | Fix py3 string.letters error Unwrap function in try: except:, narrow it to only lex.get_token() Cleanup sloppy/redundant code. Thanks to Arfrever's help.
* Fix bug 483232, incorrect urlparse import for python3.Brian Dolbec2013-10-171-1/+1
|
* Fix py3 compatibilty.Brian Dolbec2013-10-161-1/+1
|
* Add repos.conf support.Brian Dolbec2013-10-162-119/+226
| | | Move config file actions to their own file.
* Move Extractor class to it's own file.Brian Dolbec2013-10-163-74/+118
|
* remove unused unicode variableBrian Dolbec2013-10-162-12/+0
|
* Make the -r -a options select only the rotation server rather than force -o ↵Brian Dolbec2013-10-161-8/+6
| | | | for screen output only.
* Force -o for -a + -r options to prevent multiple results being saved to the ↵Brian Dolbec2013-10-161-1/+7
| | | | config.
* tweak message formattingBrian Dolbec2013-10-161-1/+1
|
* fix some typosBrian Dolbec2013-10-161-2/+2
|