-
-
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.
add linux gaming pkg mngr func, fix logging to file, fix packages ins…
…talled, and apt list cmd (#94) * adding gaming specific workflow * use sudo to edit /etc/apt/sources.list and only catch end of line with sed * remove wine, because lutris installs wine now * adding new script for running sed with sudo, and removing old include files from poetry * make subproc prettier in debug * adding comments for python and adding back ruff for auto linting * comments for auto linting * changing where gaming commands get called to avoid duplicate apt updates * fix required_pkg_groups variable to be available_pkg_groups to be more clear * fix comments to be more readable for console * turn off spinner so that we get a sudo prompt * fixing debug output to always use markup * fixing logging to file * fix apt list command to be apt-cache pkgnames * ticking up version because a few things changed and got updated * fix rich output for when we do log directly to console * remove broken release action
- Loading branch information
Showing
8 changed files
with
85 additions
and
91 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,35 +14,3 @@ jobs: | |
with: | ||
python_version: "3.11.0" | ||
pypi_token: ${{ secrets.DEPLOY_FROM_GITHUB_TO_PYPI_ONBOARDME }} | ||
release: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Get Previous Tag | ||
run: | | ||
PREV_TAG=$(git describe --abbrev=0 --tags "${{ github.ref }}^") | ||
echo "::set-env name=baseRef::$PREV_TAG" | ||
- name: Generate Changelog | ||
id: generate_changelog | ||
uses: nblagoev/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
base-ref: ${{ env.baseRef }} | ||
head-ref: ${{ github.ref }} | ||
|
||
- name: Create Release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
body: ${{steps.generate_changelog.outputs.result}} | ||
draft: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ brew: | |
- gh | ||
# gitlab cli | ||
- glab | ||
# making things | ||
# for setup scripts and compiling things (e.g. YouCompleteMe) | ||
- cmake | ||
# programming languages and their package managers | ||
- [email protected] | ||
|
@@ -151,7 +151,7 @@ brew: | |
apt: | ||
emoji: "🙃" | ||
commands: | ||
list: "apt list --installed" | ||
list: "apt-cache pkgnames" | ||
update: "sudo apt-get update -y" | ||
upgrade: "sudo apt-get upgrade -y" | ||
install: "sudo apt-get install -y " | ||
|
@@ -192,8 +192,8 @@ apt: | |
gaming: | ||
# helpful for gaming on linux | ||
- lutris | ||
- winehq-staging | ||
- steam | ||
- "steam:i386" | ||
- "nvidia-driver-libs:i386" | ||
# to format disks to exFAT; FAT is too thin for modern windows 10 ISOs | ||
# - exfat-utils | ||
|
||
|
@@ -236,17 +236,19 @@ pip3.11: | |
install: "pip3.11 install --upgrade " | ||
packages: | ||
default: | ||
# this is for python development | ||
# this is for python development - specifically linting/auto-linting | ||
- flake8 | ||
- pyflakes | ||
- ruff | ||
- autoflake | ||
# for building and installing packages | ||
- pip | ||
- build | ||
- twine | ||
- poetry | ||
# this does some magic with imports when developing | ||
- autoimport | ||
# this is all powerline | ||
# this is all powerline (status line for tmux/BASH) | ||
- "powerline-status" | ||
- "powerline-gitstatus" | ||
- "powerline-kubernetes" | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# enables contribution and non-free apt package manager sources | ||
|
||
# append "contrib non-free" to lines that end with "bookworm main" | ||
sed -i 's/bookworm main$/bookworm main contrib non-free/g' /etc/apt/sources.list |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "onboardme" | ||
version = "0.15.4" | ||
version = "0.15.6" | ||
description = "An onboarding tool to install dot files and packages including a default mode with sensible defaults to run on most Debian/macOS machines." | ||
authors = ["Jesse Hitch <[email protected]>"] | ||
license = "AGPL-3.0-or-later" | ||
|
@@ -16,10 +16,9 @@ classifiers = ["Development Status :: 3 - Alpha", | |
"Topic :: System :: Installation/Setup", | ||
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)"] | ||
packages = [{include = "onboardme"}] | ||
include = ["onboardme/config/onboardme_config.yml", | ||
"onboardme/config/packages.yml", | ||
"onboardme/config/brew/Brewfile_Darwin", | ||
"onboardme/config/brew/Brewfile_devops"] | ||
include = ["onboardme/scripts/update_apt_sources.sh", | ||
"onboardme/config/onboardme_config.yml", | ||
"onboardme/config/packages.yml"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.11" | ||
|