Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/packages.py
AgeCommit message (Collapse)Author
2022-01-06Added type annotations to all functions (#845)Anton Hvornum
* Added type annotations for 1/5 of the files. There's bound to be some issues with type miss-match, will sort that out later. * Added type hints for 4/5 of the code * Added type hints for 4.7/5 of the code * Added type hints for 5/5 of the code base * Split the linters into individual files This should help with more clearly show which runner is breaking since they don't share a single common name any longer. Also moved mypy settings into pyproject.toml * Fixed some of the last flake8 issues * Missing parameter * Fixed invalid lookahead types * __future__ had to be at the top * Fixed last flake8 issues
2021-11-05Cleaned up all flake8 issues/warnings. Did some code cleaning as well, ↵Anton Hvornum
mostly how we called things in guided.py but also some SysCommand calls
2021-07-16Replace for loops with comprehensionsmonosans
2021-05-17Add missing urllib.error importDylan M. Taylor
Fixes an unresolved reference Add missing urllib.error import
2021-05-15More formatting fixesDylan Taylor
2021-05-15Many more manual changesDylan Taylor
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-09Fixed #63Anton Hvornum
Validate against /groups as well. There's not really a search API that I could find *(with little effort on my part to try and find it)*. So I went ahead and just check for HTTP 200 on the package URL. This won't give search functionality, but it will at least validate a group definition.
2020-10-19Fix some PEP-8 errors.Varun Madiath
2020-10-18Wrong relative import, corrected to avoid .lib.lib.exceptionsAnton Hvornum
2020-10-18Implementing error handling for #50. So that the errors do not come at the ↵Anton Hvornum
very end, but in the beginning right after the user inputted something (quicker feedback to the user).
2020-09-15Adding package search via upstream package database and JSON.Anton Hvornum