Commit Graph

806 Commits

Author SHA1 Message Date
Anton Hvornum efd6e2add2 Tweaked some log messages in archinstall.Installer() 2020-11-04 23:58:55 +00:00
Anton Hvornum 16d9bd5934 Logic issue minor fix. 2020-11-04 23:55:26 +00:00
Anton Hvornum f594e6638a Fixed level issues on log output. Also tweaked it so that all log rows come to the log file, but not nessecarily the interactive screen (tty/journald). Also tweaked certain log messages to be printed vs not printed. 2020-11-04 23:53:39 +00:00
Anton Hvornum ab69cb7525 Cleaned up some logic. How the LOG_LEVEL is fetched from the storage. 2020-11-04 23:45:45 +00:00
Anton Hvornum d85c485b3a Updated contributors with the latest contributors. 2020-11-04 23:42:51 +00:00
Anton Hvornum 0d7789f195 Forgot an import of storage. 2020-11-04 23:40:41 +00:00
Anton Hvornum fb10e94c0a installer.log() should not be a property. 2020-11-04 23:39:55 +00:00
Anton Hvornum baf2ef1128 Forgot an import of storage. 2020-11-04 23:37:53 +00:00
Anton Hvornum f794cad7bb Forgot to remove self. reference when copying some code. 2020-11-04 23:36:54 +00:00
Anton Hvornum fd3c29f486 Spelling error on systemd-bootctl. 2020-11-04 22:59:12 +00:00
Anton Hvornum d899a1473f Merge branch 'master' of github.com:Torxed/archinstall into 56-log-data 2020-11-04 22:57:48 +00:00
Anton Hvornum b98850819b Added multiple log features.
* [Reintroduced](f64a605449/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-11-04 22:41:50 +01:00
Anton Hvornum 887d5ded07
Merge pull request #58 from demostanis/master
Shell script calling python & support for specifying remote profiles and full paths
2020-11-02 20:28:19 +01:00
Anton Hvornum 77f69f844b
Merge branch 'master' into master 2020-11-02 20:19:35 +01:00
demostanis d14f1156a0 md5 -> sha256 2020-11-02 18:52:10 +01:00
demostanis 8f7cc1280e Replaced spaces with tabs 2020-11-02 18:30:43 +01:00
Anton Hvornum 57eef46f95
Fix for issue #59
Relative paths work great for running as a script.
But break when running as a module since there is no `src/` folder to mention.
This should clear that up as the `src/` now lives under wherever the python package was installed.
2020-11-01 23:01:41 +00:00
demostanis 5d2b11e60f Ran autopep8 2020-10-23 15:53:31 +02:00
demostanis d018ae98a1 Remove useless log 2020-10-23 15:49:03 +02:00
demostanis 434cf71221 Add support for remote profiles 2020-10-23 15:44:02 +02:00
demostanis 7f72c0fd93 Add vim line 2020-10-23 12:02:06 +02:00
demostanis 4ef2a60e6a Added one single sh file to run archinstall 2020-10-23 11:55:36 +02:00
demostanis 0c235c929c Added sums to PKGBUILD 2020-10-23 11:50:25 +02:00
Anton Hvornum e06ca749a4 Preparing log-data and debug output. 2020-10-20 21:40:17 +00:00
Anton Hvornum 66e495e994
A new contributor, @vamega 2020-10-20 18:40:28 +00:00
Anton Hvornum 2fc51d540a
Merge pull request #57 from vamega/fixup
Fix minor issues like typos and code style violations.
2020-10-20 20:39:46 +02:00
Varun Madiath 5ded22a5d0 Fix some PEP-8 errors. 2020-10-19 23:07:35 -04:00
Varun Madiath e4f363ce7d Fix typo in function parameter
`suppress_errors` was previously spelt `surpress_errors`
2020-10-19 23:04:14 -04:00
Varun Madiath da59378cc4 Fix typos. 2020-10-19 23:04:14 -04:00
Anton Hvornum f32f1e238a
Merge pull request #55 from Torxed/43-overview
Added a configuration overview before formatting
2020-10-18 21:24:46 +02:00
Anton Hvornum 06ee896c6c Changed my mind, reverting to the original sig-handler is better. 2020-10-18 21:23:01 +02:00
Anton Hvornum db2e5d721c Revert to a some what default sig-kill handler. (needs some adjustments just to clean up things, but I think it will do for now) 2020-10-18 21:22:05 +02:00
Anton Hvornum ad2adec834 Reverted some changes. It was to 'complicated' to get status of the sys.stdin buffer while it did not contain a new-line character. So reverted that code. Here is an interesting read, but a bit to much code for a simple guided template: https://stackoverflow.com/a/41459565/929999 2020-10-18 21:19:08 +02:00
Anton Hvornum 2df4347b44 Added a slightly convoluted but non-intrusive 'are you sure?' on Ctrl+C/any input. 2020-10-18 20:49:44 +02:00
Anton Hvornum 479881a5a2 Tweaked the output a little. 2020-10-18 20:36:14 +02:00
Anton Hvornum 58201d7234 Tweaked the _guided storage. One variable was a loaded module, which is hard to convert to json in a meaningful way. 2020-10-18 20:32:26 +02:00
Anton Hvornum 1bd6a19dc4 Made Profile() json-dumpable 2020-10-18 20:27:40 +02:00
Anton Hvornum fa4be63e48 Forgot an import, as well as made BlockDevice() have less verbose output on json.dumps. 2020-10-18 20:26:09 +02:00
Anton Hvornum 3d4eaec466 Forgot an import 2020-10-18 20:19:21 +02:00
Anton Hvornum 17a70eb9f4 Removed a stub function 2020-10-18 20:18:20 +02:00
Anton Hvornum d5effa744f Added a JSON serializer for certain non-json objects. 2020-10-18 20:17:45 +02:00
Anton Hvornum 23365d2d8e Added a test version trying to solve #43. 2020-10-18 20:00:53 +02:00
Anton Hvornum 3ba6e69e05
Update pull_request_template.md 2020-10-18 14:57:22 +02:00
Anton Hvornum 7dd38f167b
Merge pull request #53 from Torxed/guided
Implemented early package-name-checks for guided.py
2020-10-18 13:31:54 +02:00
Anton Hvornum a69e1af4f1 Added error handling to guided.py when not selecting a profile to install. 2020-10-18 13:25:13 +02:00
Anton Hvornum 4b1f22bf91 Added error handling to guided.py when not selecting a profile to install. 2020-10-18 13:23:51 +02:00
Anton Hvornum dafe304b00 Added error handling to guided.py when not selecting a profile to install. 2020-10-18 13:21:42 +02:00
Anton Hvornum 9c5d1e9891 Added error handling to guided.py when not selecting a profile to install. 2020-10-18 13:20:58 +02:00
Anton Hvornum 0e8130af9a Wrong relative import, corrected to avoid .lib.lib.exceptions 2020-10-18 13:13:09 +02:00
Anton Hvornum fd3bcdd7db Merge remote-tracking branch 'origin' into guided 2020-10-18 13:08:24 +02:00