Closed amtoine closed 1 year ago
see
git diff 1e6ca0e^..ceeee65
or the diff on GitHubhere, i fixed most of the points in #35 and refactored the script into functions
see
git diff 6bf4098^..e46bb21
or the diff on GitHubhere, i refactored all the hardcoded values into constants at the top and created lists of things to iterate over them and avoid redundant code, such as the
./install.sh x86_64/...
orsudo systemctl enable ...
see
git diff 842a8da^..31a8bdc
or the diff on GitHubin these last changes, i tried to fix bugs that occured in a VM, mainly typos and pulling the files at the right places for now :+1:
cargo
dependencies do not install properly
work is to be done in the install_dependencies
functionsee
git diff f25476e^..b7fc147
or the diff on GitHub
in the order that they appear in the f25476e^..b7fc147 above
pkgs.toml
.
see conclusion below.system/
are installed in /
echo_and_run
to run commands but see them clearly at the same time
exit
s when the command given to it failspkgbuilds
and dmenu
take that error code and propagate the error
the result of this is that install.sh
now quits on any error :+1: apart from the missing dependencies, i've tried the script in a VM and it runs until completion :ok_hand:
there sould be an error on the paru
packages, as the name is not correct anymore :point_right: this is addressed in #67 and applying the same changes works fine as well :+1:
after that, the script should work fine and print a :green_circle: message at the end :tada: you can reboot and have an incomplete system, but running :+1:
things like dmscripts
, ghq
, ..., are missing
i would like to fix all of these dependency issues once and for all in #43, and leave the script as-is for now :relieved:
I read the script and it looks very good at first sight.
noice :yum:
I have several problems with VM currently so I cannot try to run it right now, but I will do it soon on another computer.
no worries, let's take some time to test this :wink:
@atxr i've launched a vanilla Arch Linux VM and recorded the installation
due to the reduced size of the VM, i was not able to install our goat-wallpapers-git
, too big for the VM partition...
to mitigate this size issue with other wallpaper-related packages and as paru
is veeeeery long to compile, i've applied the following diff to the install.sh
script
diff --git a/install.sh b/install.sh
index 7bf3ba2..37aa3b8 100644
--- a/install.sh
+++ b/install.sh
@@ -42,14 +42,10 @@ REMOTE_PKGBUILDS="https://github.com/goatfiles/pkgbuilds"
LOCAL_PKGBUILDS_DIR="/tmp/pkgbuilds"
PKGBUILDS=(
goat-mut-ex-wallpapers-git )
SYSTEM_FILES=(
in the end... it works :tada:
minor things broken, but sddm
is here, as well as a wallpaper!
bspwm
and sxhkd
allow to open and manage windows.
alacritty
and nushell
are working :ok_hand:
Awesome work! That's very clean!
:yum:
Would you like me to test? I mean if you tested on a fresh VM that sounds good for me!
here's what we can do:
- try to test this is a VM, possibly by removing the big dependencies such as
goat-paru-git
andgoat-wallpapers-git
, during the afternoon- if you do not have the time and do not post anything here by, let's say, 6 PM, i'll merge
- otherwise, you might be able to catch a few more things to change before merging :relieved:
sounds good? :smirk:
it's been 24+h since yesterday so, ready or not, here it comes :muscle:
This PR should address most of the points in #35.