Commit Graph
10 Commits
Author SHA1 Message Date
James McMurrayandPhilip Mueller 38e2cfbf5b Cache go when installing yay (#57)
Added common issues to README.md
2023-06-22 22:33:26 +02:00
James McMurrayandGitHub 3ca2e01f1f Bump which to version 4 removing failure dependency (#55)
We are now completely free of failure dependencies!
2020-06-18 08:56:37 +03:00
James McMurrayandGitHub c04b5f5559 Add amd-ucode to default packages (#52) 2020-05-31 08:39:13 +03:00
James McMurrayandGitHub 7152901820 Migrate ALMA to anyhow (#54) 2020-05-31 08:38:20 +03:00
James McMurrayandGitHub c8b151fe5f Add support for installing AUR packages (#48) 2020-05-10 19:31:40 +03:00
James McMurrayandGitHub bc9969a0db Add shared_directories preset parameter (#35) 2020-03-26 20:57:46 +02:00
James McMurrayandGitHub 14347710ce Add linux package to defaults (#36)
Should fix mkinitcpio issues due to missing "linux" preset now it's no
longer included in "base".

Note this issue only affected newer Arch Linux installs (since the
change).
2020-03-21 20:38:25 +02:00
James McMurrayandGitHub 1f5b28c065 Recursively import presets from provided directory (#33)
Allow a directory to be passed as a preset, in which case all files
inside the directory (recursively) are treated as presets, loaded in
lexicographical order.

This allows one to compose a system by mixing in different presets, and
easily change their order of execution.
2020-03-21 07:16:15 +02:00
James McMurray 490ab30f4c Refactor main.rs and fix clippy lints
Status: WIP

Completed:
* Fixed flagged clippy lints
* Moved qemu(), main.rs::mount() and chroot() to the tools module.
* Moved constants in main.rs to constants.rs (including base packages
  array)
* Renamed Presets struct to PresetsCollection to avoid confusion with
  Preset struct
* Moved main() to the top of main.rs to highlight general logic path
* Added comments and docstrings to some functions
* Removed some uses of `use foo::*` to make the source of imported functions
  and structs clearer

TODO:
* Move remaining code in main.rs to modules (except main())
* Break up create() function in to separate steps
* Log every command run (with arguments) to debug! when verbose flag is used
* Add docstrings for remaining functions and document constants (e.g.
  why noatime is used)
* Remove remaining uses of `use foo::*`
* Consider renaming/moving tools module to address tool:: vs. Tool::
  confusion
2020-03-06 23:11:56 +01:00
James McMurray 1de58314e4 Add more comprehensive examples to README.md 2020-03-05 22:38:18 +01:00