Commit Graph

260 Commits

Author SHA1 Message Date
Dylan M. Taylor 26a33000d8 Add descriptions for top-level profiles 2021-05-27 08:11:27 -04:00
Yash Tripathi 2aed8c6ad5 removed builtins usage and added gfx_package key in config 2021-05-24 22:12:25 +05:30
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
Anton Hvornum 49e6cbdc54
Reworking SysCommand & Moving to localectl for locale related activities
* 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>
2021-05-19 16:45:13 +02:00
Dylan Taylor da0da729c5 Proofreading: Fix misc. spelling and grammar issues 2021-05-18 09:36:22 -04:00
Dylan M. Taylor beb709792a
Add pavucontrol to XFCE profile
Adjusting volume doesn't work correctly without this - audio mixer shortcut is broken.
2021-05-16 16:36:23 -04:00
Dylan M. Taylor 3e0fe67ae3
Change LXQt back to SDDM per NullRequest's suggestion
https://github.com/lxqt/lxqt/issues/795
2021-05-15 21:59:17 -04:00
Dylan Taylor 0ac13c0958 Missed a couple of profiles; reformat package lists for these too. 2021-05-15 17:36:38 -04:00
Dylan Taylor 81423330aa Merge branch 'lxqt-lightdm' into formatting2 2021-05-15 17:31:14 -04:00
Dylan Taylor 3ee38afce1 One package per line formatting in profiles - easier to read/maintain 2021-05-15 17:30:20 -04:00
Dylan Taylor c036856a3e Switch LXQt to use LightDM to be consistent with other DEs. 2021-05-15 17:13:19 -04:00
Dylan Taylor 126c7ebfca More formatting fixes to satisfy PEP 8 2021-05-15 15:04:39 -04:00
Dylan Taylor a0cbb31d3e f-string fixes 2021-05-15 14:29:24 -04:00
Dylan Taylor 3b20adb7d2 Whitespace changes 2021-05-15 13:59:37 -04:00
Dylan Taylor e111dd9bc1 Final whitespace changes I think 2021-05-15 13:04:18 -04:00
Dylan Taylor 37e818b3d1 More manual fixes 2021-05-15 12:07:46 -04:00
Dylan Taylor d93ef24e8e A couple more small fixes 2021-05-15 11:53:10 -04:00
Dylan Taylor acb754ff2e Try to remove some unused imports 2021-05-15 11:45:36 -04:00
Dylan Taylor ffd5b5f804 Very selectively fix some PEP 8 issues with profiles 2021-05-15 11:35:18 -04:00
Marcus Pereira 5c6019124a rename package name 2021-05-15 08:29:25 -03:00
Anton Hvornum 631a94c89d
Merge pull request #441 from dylanmtaylor/patch-10
Fix deepin; missing lightdm packages
2021-05-15 09:47:36 +00:00
Anton Hvornum 2ebf92e5fa
Merge branch 'master' into enlightenment 2021-05-15 09:47:05 +00:00
Dylan Taylor c27445d134 Implement enlightenment desktop 2021-05-15 00:06:51 -04:00
Dylan M. Taylor b07320aec4
Fix deepin; missing lightdm packages 2021-05-15 00:00:23 -04:00
Dylan M. Taylor ea46693608
Add deepin to desktop profile list so it is selectable 2021-05-14 23:04:26 -04:00
Anton Hvornum 22750cefc8 Quotation error. 2021-05-14 16:55:47 +02:00
Anton Hvornum 4ff35663b8 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. 2021-05-12 13:55:41 +02:00
advaithm 69d079e63a
some type hint fixes and a bad catch fix 2021-05-12 15:45:45 +05:30
Ondřej Nekola 3c23f5e810 add dmenu dependency to i3 profile
dmenu is configured as the default launcher (Penguin-SPACE key)
in the default i3 configuartion.
2021-05-06 13:01:43 +02:00
Dylan M. Taylor d27fe9715f Attempt to fix #406
I think this should fix the comment Torxed made
2021-05-01 09:31:18 -04:00
Anton Hvornum 3e518be7ce
Merge pull request #396 from dylanmtaylor/patch-3
Add cockpit application profile
2021-04-29 23:00:33 +00:00
Anton Hvornum 5194fdc75c
Merge pull request #397 from dylanmtaylor/patch-4
Fix i3
2021-04-29 18:41:47 +00:00
Dylan M. Taylor cef3a3a792
Fix i3 2021-04-29 12:11:23 -04:00
Dylan M. Taylor af3d85dc7d
Add cockpit, depends on #396 2021-04-29 11:41:57 -04:00
Dylan M. Taylor 89bc10ad9a
Add cockpit application package 2021-04-29 11:11:26 -04:00
Dylan Taylor 5e567b6f3b Remove a comment 2021-04-29 10:39:01 -04:00
Dylan Taylor 8b6ee6f303 Merge branch 'master' into patch-1 2021-04-29 10:22:42 -04:00
Dylan M. Taylor 3c5dd7b335 First implementation of server top-level profile 2021-04-29 10:22:33 -04:00
Dylan M. Taylor c3bb503fab
Add SSH Server Application Profile 2021-04-29 08:01:15 -04:00
Anton Hvornum fb56fa3c5f
Merge pull request #390 from dylanmtaylor/patch-9
Add lighttpd application profile
2021-04-29 11:35:39 +00:00
Anton Hvornum a94cea235d
Merge pull request #389 from dylanmtaylor/patch-8
Add Docker Application Profile
2021-04-29 11:35:22 +00:00
Anton Hvornum 6e646ebebf
Merge pull request #388 from dylanmtaylor/patch-7
Add Tomcat application profile
2021-04-29 11:35:09 +00:00
Anton Hvornum c930ff826e
Merge pull request #387 from dylanmtaylor/patch-6
Add Apache HTTPD Application Profile
2021-04-29 11:34:50 +00:00
Anton Hvornum 6b2ea318f3
Merge pull request #385 from dylanmtaylor/patch-4
Add nginx application profile
2021-04-29 11:34:26 +00:00
Dylan M. Taylor f7cb4c8fb9
Add MariaDB Application Profile (#386) 2021-04-29 13:33:46 +02:00
Anton Hvornum 0ebc6be7ae
Added a postgresql application profile. (#383)
* Added a postgres application profile. Also introducing runas to the arch_chroot of the installation, to run commands as emulated users. This is highly WIP at the moment.

* Fixing top-level-listing of profiles. As well as testing some postgres installation steps.

* Removed dupe functions.

* Added safety check in case a comment mentions the top level profile thing.

* Patching namespace corruption.

* Avoiding runtime collision due to installation not being initiated yet.

* Allow for parameterization of filesystem in guided.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29 13:32:21 +02:00
Dylan M. Taylor 9d5e9333c7
Add lighttpd application profile 2021-04-29 07:18:38 -04:00
Dylan M. Taylor 5cf0419073
Add Docker Application Profile 2021-04-29 07:14:34 -04:00
Dylan M. Taylor 9e8446a96a
Add Tomcat application profile
Using Tomcat 10 as that is the latest release
2021-04-29 07:09:46 -04:00
Dylan M. Taylor 5c6cd59aec
Add Apache HTTPD Application Profile 2021-04-29 07:03:57 -04:00