-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from jessebot/add_work_section
Fix SSH known_hosts update; Add work section; bump rich version; fix python install process for debian bookworm
- Loading branch information
Showing
8 changed files
with
97 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,6 @@ brew: | |
default: | ||
# TUI browser | ||
- w3m | ||
# this installs rustup which installs cargo and rust | ||
- rustup | ||
- wget | ||
# terminal based web browser | ||
- lynx | ||
|
@@ -75,9 +73,10 @@ brew: | |
# revision control system | ||
- git | ||
# programming languages and their package managers | ||
- [email protected] | ||
- go | ||
- node | ||
# installs cargo and rust | ||
- rustup | ||
# linter for YAML | ||
- yamllint | ||
# linter for html5 | ||
|
@@ -108,6 +107,8 @@ brew: | |
- glab | ||
# macOS specific stuff. Won't work with LinuxBrew | ||
macOS: | ||
# python 3.11 already ships with debian, only needed for macOS | ||
- [email protected] | ||
# for testing apis and downloading things | ||
- curl | ||
# current version of bash :) | ||
|
@@ -158,6 +159,8 @@ brew: | |
- restic | ||
# terraform for building stuff | ||
- terraform | ||
- tflint | ||
- terraform-docs | ||
# cli for k8s (kubernetes) | ||
- kubectl | ||
# kubectl plugin manager | ||
|
@@ -181,6 +184,10 @@ brew: | |
# "aws-cli" | ||
# aws credentials switcher | ||
# "--cask aws-vault" | ||
work: | ||
# for work chats | ||
- "--cask slack" | ||
- "--cask zoom" | ||
|
||
apt: | ||
emoji: "🙃" | ||
|
@@ -200,7 +207,9 @@ apt: | |
- build-essential | ||
- cmake | ||
- vim-nox | ||
- python3 | ||
- python3-dev | ||
- python3-pip | ||
- mono-complete | ||
- openjdk-17-jdk | ||
- openjdk-17-jre | ||
|
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "onboardme" | ||
version = "0.17.1" | ||
version = "0.18.0" | ||
description = "Install dot files and packages, including a base mode with sensible defaults to run on most computers running Debian based distros or macOS." | ||
authors = ["Jesse Hitch <[email protected]>"] | ||
license = "AGPL-3.0-or-later" | ||
|
@@ -24,7 +24,7 @@ include = ["onboardme/scripts/update_apt_sources.sh", | |
[tool.poetry.dependencies] | ||
python = "^3.11" | ||
click = "^8.1.3" | ||
rich = "^13.0.1" | ||
rich = "^13.3.1" | ||
PyYAML = "^6.0" | ||
GitPython = "^3.1.30" | ||
wget = "^3.2" | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,7 +136,19 @@ which python3.11 > /dev/null | |
py_return_code=$? | ||
if [ $py_return_code -ne 0 ]; then | ||
echo "Installing Python3.11..." | ||
brew install [email protected] | ||
if [ "$OS" == "Darwin" ]; then | ||
brew install [email protected] | ||
else | ||
os_version=$(grep VERSION_CODENAME /etc/os-release | awk -F '=' '{print $2}') | ||
if [ $os_version == "bookworm" ]; then | ||
sudo apt install python3 python3-dev python3-pip | ||
else | ||
sudo apt install software-properties-common -y | ||
sudo add-apt-repository ppa:deadsnakes/ppa | ||
sudo apt install python3.11 | ||
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11 | ||
fi | ||
fi | ||
echo -e "\033[92mPython3.11 installed :3 \033[00m" | ||
else | ||
echo -e "\033[92mPython3.11 already installed :3 \033[00m" | ||
|