Commit Graph

147 Commits

Author SHA1 Message Date
Anton Hvornum e32cf71ae7
Added type annotations to all functions (#845)
* 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
2022-01-06 22:01:15 +01:00
Anton Hvornum 33c27db1ba
Update README.md 2022-01-05 23:44:37 +01:00
Anton Hvornum b7cb77caf9
Update README.md 2022-01-02 11:53:55 +01:00
Anton Hvornum 66ec8663e2
Update README.md 2022-01-02 11:41:14 +01:00
remLse c6b499cf47
Update documentation (#803)
* Add guide for building docs locally

* Update documentation

- Fix typos
- Fix some formatting
- Fix broken links
- Improve readability of json profile specification
2021-12-18 19:01:40 +01:00
Dylan M. Taylor 5226fffec3
Mention the --advanced flag in the README 2021-11-22 15:16:04 -05:00
SecondThundeR ffe38c879a general: remove all found white-spaces
Also this change adds new line at the end for some scripts
2021-09-19 15:49:44 +03:00
Shohei Kusakata 243284d2fd
Update ReadMe document link
fix readthedocs link
2021-09-08 02:43:41 +09:00
Anton Hvornum e3b6a46b74
Update README.md 2021-09-06 18:23:19 +02:00
Anton Hvornum 51565314b4 Merged in master. 2021-09-06 14:40:05 +00:00
RustyRaptor 71ec22a349
fixed the git checkout non-existent branch
It looks like the `torxed-v2.2.0` branch doesnt exist anymore and I assume its now just `v2.2.0` instead so I changed this command in Using a live ISO
2021-08-17 13:54:26 -06:00
Anton Hvornum 51cb64cc97 Instructed to use truncate instead of dd, as dd is a bit slow. 2021-06-14 09:52:29 +02:00
Anton Hvornum fca6eba86c Removed Libera chat challenge as per request 2021-05-31 12:49:45 +02:00
Anton Hvornum 630045f4a6
Added Libera information 2021-05-29 11:43:35 +02:00
Anton Hvornum 6cd9c86691
Changed FreeNode -> LiberaChat for IRC 2021-05-25 12:45:08 +02:00
Dylan M. Taylor be6021b41f
The fixup vars commit made this optional param no longer correct 2021-05-24 14:00:57 -04:00
Dylan M. Taylor dd0cfa990a
Simplify the commands in the readme
Typing 'python -m' is largely unnecessary on the ISO with the package installed.
2021-05-21 16:43:43 -04:00
Владислав 7614166ed3
Change position of linter badge 2021-05-20 22:07:57 +03:00
Anton Hvornum a39cb41159
Merge pull request #475 from dylanmtaylor/patch-2
Add CI status badge to README
2021-05-20 09:09:28 +02:00
Anton Hvornum 0544274233
Update README.md 2021-05-20 09:08:58 +02:00
Dylan Taylor 434ed8f67f Point out that a URL can be used as well in README 2021-05-19 17:24:51 -04:00
Dylan Taylor 29ee237d80 Fix configuration sample link 2021-05-19 17:22:32 -04:00
Yash Tripathi bbb4599165
Added support for getting configuration from a config file (#364)
* added support for ingesting config

* fixed condition to check key in dictionary

* Removed redundant code, profile and desktop keys are now optional

* Added base-config.json and support for pulling credentials from .env

* added base config file and env file for users credentials

* added silent install switch

* added python-dotenv as a dependency

* Updated Readme to include argparse changes as well as config ingestion

* Updated Readme to include argparse changes as well as config ingestion

* fixed typo in pyproject.toml

* Replaced the magic __builtin__ global variable. This should fix mypy complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me.

* Fixes string index error.

* Quotation error.

* fixed initializing --script argument

* added python-dotenv as a dependency

* Installation can't be silent if config is not passed

* fixed silent install help

* fixed condition for ask_user_questions

* reverted to creating profile object properly

* Cleaned up and incorporated suggestions

* added Profile import

* added condition if Profile is null

* fixed condition

* updated parsing vars from argparse

* removed loading users from .env

* Reworking SysCommand & Moving to localectl for locale related activities (#4)

* Moving to `localectl` rather than local file manipulation *(both for listing locales and setting them)*.
* Swapped `loadkeys` for localectl.
* Renamed `main` to `maim` in awesome profile.
* Created `archinstall.Boot(<installation>)` which spawns a `systemd-nspawn` container against the installation target.
* Exposing systemd.py's internals to archinstall global scope.
* Re-worked `SysCommand` completely, it's now a wrapper for `SysCommandWorker` which supports interacting with the process in a different way. `SysCommand` should behave just like the old one, for backwards compatibility reasons. This fixes #68 and #69.
* `SysCommand()` now has a `.decode()` function that defaults to `UTF-8`.
* Adding back peak_output=True to pacstrap.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
Co-authored-by: Dylan Taylor <dylan@dylanmtaylor.com>

Co-authored-by: Anton Hvornum <anton@hvornum.se>
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>

* fixed indent

* removed redundant import

* removed duplicate import

* removed duplicate import

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2021-05-19 21:31:58 +02:00
Dylan M. Taylor 8acd6e4ad2
Add CI status badge to README 2021-05-18 14:59:36 -04:00
Dylan M. Taylor a0c627eae5
Reword another part of README.md
It just felt strange reading it the way it was written before. This feels more correct
2021-05-18 09:46:24 -04:00
Dylan Taylor da0da729c5 Proofreading: Fix misc. spelling and grammar issues 2021-05-18 09:36:22 -04:00
Dylan M. Taylor 2693e619c6
Correct README (closes #421)
Or we could switch the example to install awesome. One way or the other, let me know if you want me to change this.
2021-05-15 22:15:43 -04:00
Anton Hvornum a29eea26db
Updated readme about the help and log location 2021-04-27 14:40:53 +02:00
advaithm 15d56c2bc7
merged with master 2021-04-22 16:41:47 +05:30
Anton Hvornum 33458b72f3
Merge pull request #255 from dylanmtaylor/patch-1
WIP: Add documentation for MAC address example
2021-04-21 11:22:47 +00:00
Anton Hvornum 5fba277dda Merging in master to feature branch. 2021-04-17 09:52:09 +02:00
SecondThundeR 0fd0fb05ff Fix README table of content
Also commented out the code responsible for centering the logo for future decisions
2021-04-15 18:12:36 +03:00
Anton Hvornum 4e2c3c3dc7
Language issue 2021-04-14 13:26:14 +02:00
Anton Hvornum 48c679d501
Updated README's minimal example 2021-04-14 12:17:17 +02:00
Anton Hvornum 398f95ee56 Merge branch 'master' into torxed-v2.2.0 2021-04-12 00:09:55 +02:00
Anton Hvornum 48e801e6fd
Added a mission statement, and updated the minimal example in the readme. 2021-04-10 11:21:24 +02:00
Anton Hvornum 1f1f269e93
Update README.md 2021-04-09 16:23:06 +02:00
Dylan M. Taylor 4904b70db6
Update README.md 2021-04-09 10:18:34 -04:00
Dylan M. Taylor 8f48e1ac69
Update README.md 2021-04-09 09:55:16 -04:00
Anton Hvornum 42470dcc9a Merging changes from master into feature branch to avoid future conflics. 2021-04-07 11:15:42 +02:00
Dylan M. Taylor 08b48a144b
python setup.py build is not needed if you call install 2021-04-06 16:32:09 -04:00
Dylan M. Taylor 49e21cd043
After testing pacman -R, I noticed it didn't work right 2021-04-06 16:25:57 -04:00
Anton Hvornum 42d0d1af1e
Update README.md 2021-04-06 22:23:15 +02:00
Anton Hvornum 741df875da
Made it into more of a "step by step" structure 2021-04-06 22:21:45 +02:00
Dylan M. Taylor e1420af189
This is probably more technically correct 2021-04-06 16:19:34 -04:00
Dylan M. Taylor 5adc6e1785
DOCS: How to test a commit from a live image 2021-04-06 14:53:01 -04:00
Leonid Bloch 5a3988a0b2 README: Clarify about the profile installation example
* Clarify that 'awesome' is a window manager, and not a network-related
  entity.
* Add a link to Profile documentation.
* Remove a trailing whitespace.

Signed-off-by: Leonid Bloch <lb.workbox@gmail.com>
2021-04-05 18:32:21 +03:00
Rafael Fontenelle 5a321d6ce5 Update repo to archlinux/archinstall 2021-04-04 11:52:51 -03:00
Anton Hvornum 35855700f7 Merge branch 'master' of github.com:Torxed/archinstall into torxed-v2.2.0 2021-04-02 20:34:19 +02:00
Anton Hvornum fa90f4118d
Removed legacy link called workstation.json #142 2021-04-02 20:06:08 +02:00