Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/mirrors.py
AgeCommit message (Collapse)Author
2021-07-16Replace for loops with comprehensionsmonosans
2021-06-02Added docstringsAnton Hvornum
2021-06-01Windows fix + Sorting based on listAnton Hvornum
This fix introduces changes so that development can be done (and tested) on other platforms than Linux. This is a convenience fix and shouldn't break anything (simply a few Linux-specific imports that have moved into the functions where they are used). This commit also introduces sorting based on a list of priorities (where the default will be last if not matched).
2021-06-01Introduces HTTP mirror selectionAnton Hvornum
2021-05-20Add ArchInstall user-agent to mirror requestsDylan M. Taylor
2021-05-20Use pure Python code in filter_mirrors_by_regionJakobDev
2021-05-18Proofreading: Fix misc. spelling and grammar issuesDylan Taylor
2021-05-17Add missing urllib.error importDylan M. Taylor
Fixes an unresolved reference Add missing urllib.error import
2021-05-15Perform refactoring to PEP 8 naming conventionsDylan Taylor
2021-05-15Remove some redundant parenthesisDylan Taylor
2021-05-15f-string fixesDylan Taylor
2021-05-15Whitespace changesDylan Taylor
2021-05-15More formatting fixesDylan Taylor
2021-05-15Many more manual changesDylan Taylor
2021-04-27Moving away from custom log levels, to something that's well defined. (#360)Anton Hvornum
* Moving away from custom log levels, to something that's well defined. * Added backward compability to log() as well. * Added an option to force log messages out on screen even if the level is below the log level threashold. * Added force log messages when wrong notation is used. * Added some more length to the deprecated message * Swapped all log levels to use logging.<level> instead. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-12Adding some error handling to list_mirrors()Anton Hvornum
2021-01-24Trying to centralize the configuration for logging. Phasing out some ↵Anton Hvornum
parameters which also affects the current ability to create multiple log files for multiple runs. This will be re-introduced when logging is made into a class object in a later version
2021-01-22Change Arch Linux site URL'sGiancarlo Razzolini
Recently Arch Linux shed the www portion of its site. The links still work, but it's a 301 redirection to archlinux.org. Changed all the URL's still pointing to www.archlinux.org to avoid the unnecessary redirection, since on browsers the 301 is usually saved and respected, but command line tools line wget or python might not save this and always go through the redirect.
2020-11-04Forgot an import of storage.Anton Hvornum
2020-11-04Added multiple log features.Anton Hvornum
* [Reintroduced](https://github.com/Torxed/archinstall/blob/f64a605449f59c677dff39962f1cb46616d893b7/archinstall.py#L57-L71) log levels * Created a global log file definition * Optional support for `python-systemd`'s journald handler. * Optional file output that has a globally configurable definition, that archinstall will honor in `archinstall.storage['logfile']`.
2020-10-19Fix some PEP-8 errors.Varun Madiath
2020-09-01Added archinstall.Installer().set_mirrors, which allows to modify the ↵Anton Hvornum
mirrors in the finished installed medium.
2020-09-01Spelling errorAnton Hvornum
2020-09-01Added more loggingAnton Hvornum
2020-09-01Added list_mirrors() and prepared for selecting mirrors in guided.pyAnton Hvornum
2020-07-30Added add_custom_mirrors(). The function appends custom mirrors to ↵Anton Hvornum
/etc/pacman.conf
2020-07-21Added a set_timezone() and fixed set_locale() in the Installer() class. Also ↵Anton Hvornum
added a mirrors.py helper to rudimentary set mirror data on the installer host