Compare commits

..

No commits in common. "main" and "develop/shahriar" have entirely different histories.

6 changed files with 36 additions and 152 deletions

View file

@ -1,50 +0,0 @@
name: Build and Deploy ISO
on:
release:
types: [published]
jobs:
build_iso:
runs-on: ubuntu-latest
container:
image: archlinux/archlinux:base-devel
privileged: true
env:
Desktop: "gnome"
steps:
- name: Install Node.js
run: pacman -Syyu --noconfirm nodejs npm git sudo
- name: Checkout code
uses: actions/checkout@v4
- name: Update system
run: pacman -Syyuu --noconfirm
- name: Check user
run: whoami
- name: Build ISO
run: |
sudo ./build.sh
echo "Renaming the output ISO file"
mv out/*.iso out/ParchLinux-${{ env.Desktop }}-latest.iso
echo "Generating MD5 checksum"
md5sum out/ParchLinux-${{ env.Desktop }}-latest.iso > out/md5sum.txt
echo "Build completed. Files generated:"
ls -lh out/
- name: Setup dependencies
run: pacman -Syu --noconfirm sshpass rsync
- name: Determine remote directory
run: |
if [[ "${{ github.event.release.tag_name }}" == *"beta"* ]]; then
echo "REMOTE_DIR=/srv/http/beta/${{ env.Desktop }}/" >> $GITHUB_ENV
else
echo "REMOTE_DIR=/srv/http/${{ env.Desktop }}/" >> $GITHUB_ENV
fi
- name: Deploy files
env:
PASS: ${{ secrets.PASS }}
HOST: ${{ secrets.HOST }}
run: |
sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$HOST "rm -rf $REMOTE_DIR && mkdir -p $REMOTE_DIR"
sshpass -p "$PASS" rsync -avz out/ParchLinux-${{ env.Desktop }}-latest.iso out/md5sum.txt parch@$HOST:$REMOTE_DIR

View file

@ -1,43 +0,0 @@
stages:
- build
- deploy
image: archlinux/archlinux:base-devel
variables:
Desktop: "gnome"
build_iso:
stage: build
script:
- ./build.sh
- echo "Renaming the output ISO file"
- mv out/*.iso out/ParchLinux-$Desktop-latest.iso
- echo "Generating MD5 checksum"
- md5sum out/ParchLinux-$Desktop-latest.iso > out/md5sum.txt
- echo "Build completed. Files generated:"
- ls -lh out/
artifacts:
paths:
- out/ParchLinux-$Desktop-latest.iso
- out/md5sum.txt
rules:
- if: $CI_COMMIT_TAG
deploy_iso:
stage: deploy
dependencies:
- build_iso
script:
- echo "Installing sshpass and rsync"
- pacman -Syu --noconfirm sshpass rsync
- echo "Determining the remote directory based on the tag"
- if [[ "$CI_COMMIT_TAG" == *"beta"* ]]; then export REMOTE_DIR="/srv/http/beta/$Desktop/"; else export REMOTE_DIR="/srv/http/$Desktop/"; fi
- echo "Removing old ISO files from remote directory"
- sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$SSH_ROOT rm -rf "$REMOTE_DIR/"
- echo "Creating new directory on remote host"
- sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$SSH_ROOT mkdir -p "$REMOTE_DIR/"
- echo "Uploading new ISO via rsync"
- sshpass -p "$PASS" rsync -r out/ParchLinux-$Desktop-latest.iso out/md5sum.txt parch@$SSH_ROOT:"$REMOTE_DIR/"
rules:
- if: $CI_COMMIT_TAG

View file

@ -1,25 +0,0 @@
### 📅 Changelog for Release 2024.10.25.beta
**English:**
- 🗓️ Added Persian calendar to GNOME
- ⌨️ Set **CTRL + ALT + T** as the default shortcut for launching Ptyxis terminal
- 📂 Integrated Ptyxis into Nautilus file manager
- 🆙 Updated GNOME Software to version 47
- 🛠️ Added AppIndicator plugin for displaying tray icons
- 🚀 Updated Calamares installer to version 3.3.10
- ❌ Removed the Papirus icon theme
---
‏
**فارسی:**
- 🗓️ افزودن تقویم فارسی به گنوم
- ⌨️ تنظیم **CTRL + ALT + T** به عنوان میانبر پیش‌فرض برای اجرای ترمینال Ptyxis
- 📂 افزودن Ptyxis به فایل‌مدیر ناتیلوس
- 🆙 بروزرسانی نرم‌افزار گنوم به نسخه ۴۷
- 🛠️ افزودن افزونه AppIndicator برای نمایش آیکون‌ها در نوار وضعیت
- 🚀 بروزرسانی نصاب Calamares به نسخه ۳.۳.۱۰
- ❌ حذف تم آیکون Papirus
‏

View file

@ -2,7 +2,7 @@
main() { main() {
set -e set -e
local Black DarkGray Red LightRed Green LightGreen Brown Yellow Blue LightBlue Purple Light Purple Cyan LightCyan LightGray White reset local Black DarkGray Red LightRed Green LightGreen Brown Yellow Blue LightBlue Purple Light Purple Cyan LightCyan LightGray White reset
## Save colors ## save colors
Black="\e[0;30m" Black="\e[0;30m"
DarkGray="\e[1;30m" DarkGray="\e[1;30m"
Red="\e[0;31m" Red="\e[0;31m"
@ -23,37 +23,38 @@ main() {
local reponame local reponame
reponame=${PWD##*/} reponame=${PWD##*/}
echo -e "$Green### Start install packages for build $reponame ###$reset" echo -e "$Green### start install packeges for build $reponame ###$reset"
echo -e "$Brown### Checking your OS ###$reset" echo -e "$Brown### checking your os ###$reset"
if type pacman >/dev/null 2>&1;then if type pacman >/dev/null 2>&1;then
if [ "$(id -u)" != "0" ]; then if [ "$(id -u)" != "0" ]; then
echo -e "$Red### You are not in root$reset" echo -e "$Red### you are not in root$reset"
exit 1 exit 1
else else
install install
echo -e "$Blue### Install complete ###$reset" echo -e "$Blue### install complete ###$reset"
echo -e "$Green### Start build $reponame with archiso ###$reset" echo -e "$Green### start build $reponame with archiso ###$reset"
build build
makezip
fi fi
else else
echo -e "$Red###OS can't supported###$reset" echo -e "$Red###os cant supported###$reset"
exit 1 exit 1
fi fi
} }
install() { install() {
set -e set -e
pacman -Sy; pacman --noconfirm -S --needed git wget github-cli p7zip reflector rsync pacman -Sy; pacman --noconfirm -S --needed git archiso github-cli p7zip
wget https://git.parchlinux.com/repos/ppr/raw/branch/main/x86_64/archiso-99-1-any.pkg.tar.zst
sudo pacman -U archiso-99-1-any.pkg.tar.zst --noconfirm
} }
build() { build() {
set -e set -e
mkarchiso -v iso/ mkarchiso -v iso/
} }
makezip() {
cd out
7z -v500m a "$(ls *.iso)".zip "$(ls *.iso)"
md5sum * > md5sums.txt
}
main main

View file

@ -1,7 +1,6 @@
alsa-utils alsa-utils
pipewire pipewire
pipewire-pulse pipewire-pulse
pipewire-alsa
ttf-apple-emoji ttf-apple-emoji
gstreamer-vaapi gstreamer-vaapi
gst-plugin-pipewire gst-plugin-pipewire
@ -9,7 +8,6 @@ gst-plugins-good
amd-ucode amd-ucode
arch-install-scripts arch-install-scripts
b43-fwcutter b43-fwcutter
broadcom-wl-dkms
base base
base-devel base-devel
bind bind
@ -32,10 +30,12 @@ edk2-shell
efibootmgr efibootmgr
espeakup espeakup
ethtool ethtool
exfatprogs
f2fs-tools f2fs-tools
fatresize fatresize
fsarchiver fsarchiver
git git
gnu-netcat
gpart gpart
gpm gpm
gptfdisk gptfdisk
@ -95,6 +95,7 @@ python
python-psutil python-psutil
python-systemd python-systemd
refind refind
reiserfsprogs
rp-pppoe rp-pppoe
rsync rsync
rxvt-unicode-terminfo rxvt-unicode-terminfo
@ -137,7 +138,9 @@ openssl
bluez bluez
bluez-utils bluez-utils
parch-bluetooth parch-bluetooth
parchlinux-keyring
#Tasky
tasky
#Desktop #Desktop
firefox firefox
@ -156,20 +159,14 @@ networkmanager
android-file-transfer android-file-transfer
gvfs-mtp gvfs-mtp
broadcom-wl-dkms broadcom-wl-dkms
gvfs-goa
inetutils
usbutils
gvfs-dnssd
gvfs-onedrive
#Apps needed for gnome #Apps needed for gnome
fractal fractal
tuba tuba
pipeline-gtk
folio
#extensions
nautilus-open-in-ptyxis
gnome-shell-extension-persian-calendar
gnome-shell-extension-appindicator
#videocodec #videocodec
jasper jasper
@ -200,6 +197,9 @@ flac
boost boost
qt6ct qt6ct
#themes
adw-gtk3-git
papirus-icon-theme
#parchlinuxstuff #parchlinuxstuff
calamares calamares
@ -208,10 +208,11 @@ gnome-initial-setup
gnome-parch gnome-parch
os-prober os-prober
paru paru
parch-grub
parch-branding parch-branding
parch-pacman parch-pacman
parch-gnome-backgrounds parch-gnome-backgrounds
vazirmatn-fonts
hack-nerd-fonts
parch-emoji-ios parch-emoji-ios
sof-firmware sof-firmware
text-engine text-engine
@ -219,6 +220,7 @@ extension-manager
parch-budgie parch-budgie
parch-plymouth parch-plymouth
plymouth plymouth
aptpac
power-profiles-daemon power-profiles-daemon
fastfetch fastfetch
parch-welcome parch-welcome

View file

@ -69,13 +69,13 @@ LocalFileSigLevel = Optional
# repo name header and Include lines. You can add preferred servers immediately # repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors. # after the header, and they will be used before the default mirrors.
[ppr]
SigLevel = Optional TrustedOnly
Server = https://raw.githubusercontent.com/parchlinux/ppr/main/x86_64/
#[core-testing] #[core-testing]
#Include = /etc/pacman.d/mirrorlist #Include = /etc/pacman.d/mirrorlist
[ppr]
SigLevel = Never
Server = https://git.parchlinux.com/repos/ppr/raw/branch/main/x86_64/
[core] [core]
Include = /etc/pacman.d/mirrorlist Include = /etc/pacman.d/mirrorlist
@ -95,9 +95,8 @@ Include = /etc/pacman.d/mirrorlist
#Include = /etc/pacman.d/mirrorlist #Include = /etc/pacman.d/mirrorlist
[pcp] [pcp]
SigLevel = Never SigLevel = Optional TrustedOnly
Server = https://git.parchlinux.com/repos/pcp/raw/branch/main/x86_64/ Server = https://raw.githubusercontent.com/parchlinux/pcp/main/x86_64/
# An example of a custom package repository. See the pacman manpage for # An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories. # tips on creating your own repositories.