dotfiles のブートストラップとツール管理を刷新 - #12
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
この dotfiles リポジトリのセットアップ経路を、現在の運用に合わせて刷新します。
~/dotfilesの clone/update、dotfile の symlink、miseの導入/修復、mise installまで実行するように変更mise.tomlに集約し、doctor/install/update/Vim plugin/shell lint タスクを追加.bashrcと alias を整理背景
これまでのセットアップは Linux、pyenv、submodule 前提の古い構成に寄っていました。今回の変更では Vim 9、portable な bash 設定、mise 管理のツール群、現在の Ubuntu bootstrap 確認に合わせています。
動作確認
python3 -m py_compile scripts/setup/install.py scripts/setup/autosetup.pybash -n .bashrc .bash_aliases scripts/setup/uninstall.bash scripts/utils/update.sh docs/index.html scripts/tools/rails.bash scripts/utils/functions.bash scripts/utils/setup_gitconfig_for_guest.bashgit diff --check --cachedvim -Nu .vimrc -i NONE -n --not-a-term +'set nomore' +qamise run doctormise run lint:shell補足:
mise実行時に sandbox 制限により/Users/tanacchi/Library/Caches/miseへの cache write warning が出ましたが、どちらの mise task も exit code 0 で完了しています。リスク
インストーラは既存の dotfile を timestamp 付き backup path に退避してから symlink を作成するようになります。Vim plugin 管理は vim-plug に移行するため、既存の NeoBundle 管理ディレクトリは repo 外で手動 cleanup が必要になる場合があります.