diff --git a/docs/TODO.md b/docs/TODO.md index 5217df9b..e384c396 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -5,6 +5,7 @@ Create issue about setting up completions - https://github.com/rsteube/lazycompl This page outlines various projects and tasks that we are currently working on. Creating a GitHub issue for each of these items would be overkill. +- Integrate Sheldon - Add Mamba - https://containertoolbx.org/install/ - https://github.com/todotxt/todo.txt-cli diff --git a/home/.chezmoidata.yaml b/home/.chezmoidata.yaml index e4ddde05..c42298b5 100644 --- a/home/.chezmoidata.yaml +++ b/home/.chezmoidata.yaml @@ -287,7 +287,6 @@ softwareGroups: - goto - gping - gum - - hishtory - hoard - htmlq # htmlq is used by the the Firefox script - hyperfine @@ -1549,6 +1548,8 @@ softwareGroups: note: Might only be needed in headless scenarios since Android Studio will download the tools - pkg: editly note: Editly NPM package is failing to install on macOS. Attempts to compile with node-gyp and fails. + - pkg: hishtory + note: Erroring out - waiting on an alternate installation method like Homebrew to be released - pkg: metasploit note: Determine whether or not this will be flagged by management settings - pkg: rancher-desktop diff --git a/home/.chezmoiscripts/universal/run_onchange_after_50-rclone.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_50-rclone.sh.tmpl index bda14d5a..6542845a 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_50-rclone.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_50-rclone.sh.tmpl @@ -53,10 +53,10 @@ if command -v rclone > /dev/null; then {{- if and (or (and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_R2_ID"))) (env "CLOUDFLARE_R2_ID")) (or (and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_R2_SECRET"))) (env "CLOUDFLARE_R2_SECRET")) (ne .user.cloudflare.r2 "") }} logg info 'Removing ~/.config/rclone/rclone.conf INSTALL DOCTOR managed block' CONFIG_FILE="${XDG_CONFIG_HOME:-$HOME/.config}/rclone/rclone.conf" - if cat "$CONFIG_FILE" | grep '# INSTALL DOCTOR MANAGED S3'; then + if cat "$CONFIG_FILE" | grep '# INSTALL DOCTOR MANAGED S3 START'; then # TODO: Remove old block - START_LINE="$(echo `grep -n -m 1 "# INSTALL DOCTOR MANAGED S3" "$CONFIG_FILE" | cut -f1 -d ":"`)" - END_LINE="$(echo `grep -n -m 1 "# INSTALL DOCTOR MANAGED S3" "$CONFIG_FILE" | cut -f1 -d ":"`)" + START_LINE="$(echo `grep -n -m 1 "# INSTALL DOCTOR MANAGED S3 START" "$CONFIG_FILE" | cut -f1 -d ":"`)" + END_LINE="$(echo `grep -n -m 1 "# INSTALL DOCTOR MANAGED S3 END" "$CONFIG_FILE" | cut -f1 -d ":"`)" if command -v gsed > /dev/null; then gsed -i "$START_LINE,$END_LINEd" "$CONFIG_FILE" else @@ -65,7 +65,7 @@ if command -v rclone > /dev/null; then fi logg info 'Adding ~/.config/rclone/rclone.conf INSTALL DOCTOR managed block' tee -a "$CONFIG_FILE" > /dev/null < /dev/null; then neofetch + exit 0 fi fi diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 21d977bf..c5ac83b2 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -167,7 +167,7 @@ async function generateInstallOrders(pkgsToInstall) { packageKey = pkg } else { log('warn', logStage, `The package \`${pkg}\` was not found in the installation map`) - console.log('softwarePackages:', softwarePackages) + process.env.DEBUG === 'true' && console.log('softwarePackages:', softwarePackages) console.log('pkg:', pkg) continue } diff --git a/home/dot_local/bin/executable_rclone-mount b/home/dot_local/bin/executable_rclone-mount index 7dacad03..c29f3c5b 100644 --- a/home/dot_local/bin/executable_rclone-mount +++ b/home/dot_local/bin/executable_rclone-mount @@ -5,6 +5,15 @@ TYPE="$1" USER="$2" MOUNT="$3" +### Mount variables +if [ "$TYPE" = 'user' ]; then + MOUNT_REF="$USER-$MOUNT" + MOUNT_LOWERCASE="user/$USER-$MOUNT" +else + MOUNT_REF="$MOUNT" + MOUNT_LOWERCASE="$(echo "$MOUNT" | tr "[:upper:]" "[:lower:]")" +fi + ### Path definitions if [ "$TYPE" = 'user' ]; then if [ -d /Applications ] && [ -d /System ]; then @@ -46,13 +55,6 @@ if [ ! -f "$RCLONE_IGNORE" ] && [ -f "/etc/rcloneignore" ]; then fi ### Mount -if [ "$TYPE" == 'user' ]; then - MOUNT_REF="$USER-$MOUNT" - MOUNT_LOWERCASE="user/$USER-$MOUNT" -else - MOUNT_REF="$MOUNT" - MOUNT_LOWERCASE="$(echo "$MOUNT" | tr "[:upper:]" "[:lower:]")" -fi unset AWS_CA_BUNDLE export PATH="$PATH:/usr/local/bin:/usr/bin" # TODO: Only launch with --rc-web-gui if the servers hostname is the {{ .kubernetesHost }} @@ -79,9 +81,6 @@ sudo rclone --config "$CONFIG_FOLDER/rclone.conf" \ --no-modtime \ --noapplexattr \ --poll-interval 15s \ - --rc \ - --rc-pass rclone \ - --rc-user rclone \ --stats 0 \ --vfs-cache-max-age 1000h \ --vfs-cache-max-size 140G \ diff --git a/software.yml b/software.yml index b75cd65a..144bb827 100644 --- a/software.yml +++ b/software.yml @@ -2896,7 +2896,9 @@ softwarePackages: _bin: mongod _github: https://github.com/mongodb/mongo _name: MongoDB - brew: mongodb/brew/mongodb + _service: mongodb + _service:brew: mongodb/brew/mongodb-community + brew: mongodb/brew/mongodb-community choco: mongodb mongodb-compass: _bin: mongodb-compass @@ -4898,7 +4900,7 @@ softwarePackages: _github: https://github.com/ddworken/hishtory _name: hiSHtory _todo: Check for Homebrew version - _post: source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/private.sh" && echo y | hishtory init "$HISHTORY_USER_SECRET" + _post: source source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/private.sh" && echo y | hishtory init "$HISHTORY_USER_SECRET" script: curl -sSL --compressed https://hishtory.dev/install.py | python3 - git-town: _bin: git-town @@ -6771,7 +6773,7 @@ softwarePackages: _github: https://github.com/coder/coder _home: https://coder.com/ _name: Coder - brew: cdr/coder/coder-cli + brew: coder pulumi: _bin: pulumi _desc: Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages