Skip to content

Commit

Permalink
Update Packages, workflows, scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
blusewill committed Sep 24, 2023
1 parent 67b3bf1 commit 9e7fea5
Show file tree
Hide file tree
Showing 9 changed files with 105 additions and 60 deletions.
8 changes: 5 additions & 3 deletions .github/ISSUE_TEMPLATE/request-software.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ assignees: ''
**Why Would you like us to add this Software?**
I want you guys add this Software Because.........

**It is available on Debian's Repo?** [Check it Here](https://www.debian.org/distrib/packages)
**It is available on?** [Check it Here](https://www.debian.org/distrib/packages)

- [ ] Yes
- [x] Debian

- [x] No
- [ ] Flatpak

- [ ] Non of the above

**Additional context**
Add any other context or screenshots about the feature request here.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
18 changes: 18 additions & 0 deletions .github/workflows/combine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Combine Dependabot PRs"
on:
workflow_dispatch:

jobs:
combine-prs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.0
- uses: maadhattah/combine-dependabot-prs@main
with:
branchPrefix: "dependabot"
mustBeGreen: true
combineBranchName: "combined-prs"
ignoreLabel: "nocombine"
baseBranch: "main"
openPR: true
allowSkipped: false
55 changes: 55 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base

#
# Documentation:
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
#

#############################
# Start the job on all push #
#############################
on:
push:
# branches-ignore: [master, main]
# Remove the line above to run when pushing to master
pull_request:
branches: [master, main]

###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest

##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v4.1.0
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34 changes: 0 additions & 34 deletions dotfonts/LICENSE.txt

This file was deleted.

19 changes: 0 additions & 19 deletions dotfonts/fontawesome/otfs/README.md

This file was deleted.

16 changes: 13 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,23 @@ fi
username=$(id -u -n 1000)
builddir=$(pwd)

# Enable contrib to have wider range of packages
# Enable repos to have wider range of packages

sed -r -i 's/^deb(.*)$/deb\1 contrib/g' /etc/apt/sources.list
sed -r -i 's/^deb(.*)$/deb\1 non-free/g' /etc/apt/sources.list
sed -r -i 's/^deb(.*)$/deb\1 non-free-firmware/g' /etc/apt/sources.list

# Update packages list and update system

apt update
apt upgrade -y

# Install nala

apt install nala -y

# Making .config and Moving config files and background to Pictures

cd $builddir
mkdir -p /home/$username/.config
mkdir -p /home/$username/.fonts
Expand All @@ -47,7 +52,13 @@ xargs -a $builddir/pkg-files/flatpak.txt flatpak install -y

xargs -a $builddir/pkg-files/optional.txt nala install -y

# load KDE config and font install
# Install Scratch 3.0

wget https://github.com/redshaderobotics/scratch3.0-linux/releases/download/3.3.0/scratch-desktop_3.3.0_amd64.deb -O $builddir/pkg-files/scratch.deb

nala install $builddir/pkg-files/scratch.deb

# Font Install
cd $builddir
nala install fonts-font-awesome -y
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip
Expand All @@ -56,7 +67,6 @@ wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Meslo.zip
unzip Meslo.zip -d /home/$username/.fonts
wget https://github.com/justfont/open-huninn-font/releases/download/v2.0/jf-openhuninn-2.0.ttf
mv jf-openhuninn-2.0.ttf /home/$username/.fonts
mv dotfonts/fontawesome/otfs/*.otf /home/$username/.fonts/
chown $username:$username /home/$username/.fonts/*

# Reloading Font
Expand Down
6 changes: 5 additions & 1 deletion pkg-files/default.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
audacity
audacity-data
libreoffice
libreoffice-gtk3
firefox-esr
Expand All @@ -14,4 +16,6 @@ inkscape
ink-generator
inkscape-open-symbols
inkscape-textext
inkscape-tutorials
inkscape-tutorials
fcitx5*
kde-config-fcitx5
2 changes: 2 additions & 0 deletions pkg-files/optional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ mixxx
mixxx-data
lmms
lmms-common
musescore3
musescore3-common

0 comments on commit 9e7fea5

Please sign in to comment.