chore: replace github to git.linux-gaming.ru

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-06-01 18:26:10 +05:00
parent 2a5ce6c36f
commit 6f211c66c2
9 changed files with 22 additions and 28 deletions

@ -116,7 +116,7 @@ jobs:
- name: Build - name: Build
run: | run: |
cd /__w/portproton-repo cd /__w/portproton-repo
git clone https://github.com/Boria138/PortProtonQt.git git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git
cd /__w/portproton-repo/PortProtonQt/build-aux cd /__w/portproton-repo/PortProtonQt/build-aux
chown user -R .. chown user -R ..
su user -c "yes '' | makepkg --noconfirm -s -p PKGBUILD-git" su user -c "yes '' | makepkg --noconfirm -s -p PKGBUILD-git"

@ -73,7 +73,7 @@ jobs:
- name: Build - name: Build
run: | run: |
cd /__w/portproton-repo cd /__w/portproton-repo
git clone https://github.com/Boria138/PortProtonQt.git git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git
cd /__w/portproton-repo/PortProtonQt/build-aux cd /__w/portproton-repo/PortProtonQt/build-aux
chown user -R .. chown user -R ..
su user -c "yes '' | makepkg --noconfirm -s" su user -c "yes '' | makepkg --noconfirm -s"

@ -3,12 +3,12 @@ pkgver=0.1.1
pkgrel=1 pkgrel=1
pkgdesc="A modern GUI for PortProton project." pkgdesc="A modern GUI for PortProton project."
arch=('any') arch=('any')
url="https://github.com/Boria138/PortProtonQt" url="https://git.linux-gaming.ru/Boria138/PortProtonQt"
license=('MIT') license=('GPL-3.0')
depends=('python-numpy' 'python-requests' 'python-babel' 'python-evdev' 'python-pyudev' 'python-orjson' depends=('python-numpy' 'python-requests' 'python-babel' 'python-evdev' 'python-pyudev' 'python-orjson'
'python-psutil' 'python-tqdm' 'python-vdf' 'pyside6' 'icoextract' 'python-pillow' 'perl-image-exiftool' 'xdg-utils') 'python-psutil' 'python-tqdm' 'python-vdf' 'pyside6' 'icoextract' 'python-pillow' 'perl-image-exiftool' 'xdg-utils')
makedepends=('python-'{'build','installer','setuptools','wheel'}) makedepends=('python-'{'build','installer','setuptools','wheel'})
source=("git+https://github.com/Boria138/PortProtonQt.git#tag=$pkgver") source=("git+https://git.linux-gaming.ru/Boria138/PortProtonQt#tag=$pkgver")
sha256sums=('SKIP') sha256sums=('SKIP')
build() { build() {

@ -3,12 +3,12 @@ pkgver=.
pkgrel=1 pkgrel=1
pkgdesc="A modern GUI for PortProton project.(developerment build)" pkgdesc="A modern GUI for PortProton project.(developerment build)"
arch=('any') arch=('any')
url="https://github.com/Boria138/PortProtonQt" url="https://git.linux-gaming.ru/Boria138/PortProtonQt"
license=('MIT') license=('GPL-3.0')
depends=('python-numpy' 'python-requests' 'python-babel' 'python-evdev' 'python-pyudev' 'python-orjson' depends=('python-numpy' 'python-requests' 'python-babel' 'python-evdev' 'python-pyudev' 'python-orjson'
'python-psutil' 'python-tqdm' 'python-vdf' 'pyside6' 'icoextract' 'python-pillow' 'perl-image-exiftool' 'xdg-utils') 'python-psutil' 'python-tqdm' 'python-vdf' 'pyside6' 'icoextract' 'python-pillow' 'perl-image-exiftool' 'xdg-utils')
makedepends=('python-'{'build','installer','setuptools','wheel'}) makedepends=('python-'{'build','installer','setuptools','wheel'})
source=("git+https://github.com/Boria138/PortProtonQt") source=("git+https://git.linux-gaming.ru/Boria138/PortProtonQt.git")
sha256sums=('SKIP') sha256sums=('SKIP')
pkgver() { pkgver() {

@ -10,8 +10,8 @@ Version: %{pypi_version}
Release: %{rel_build} Release: %{rel_build}
Summary: A modern GUI for PortProton project (devel build) Summary: A modern GUI for PortProton project (devel build)
License: MIT License: GPL-3.0
URL: https://github.com/Boria138/PortProtonQt URL: https://git.linux-gaming.ru/Boria138/PortProtonQt
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
@ -49,7 +49,7 @@ PortProtonQt is a modern graphical user interface for the PortProton project,
designed to simplify the management and launching of games using Wine and Proton. designed to simplify the management and launching of games using Wine and Proton.
%prep %prep
git clone https://github.com/Boria138/PortProtonQt git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git
%build %build
cd %{oname} cd %{oname}

@ -7,8 +7,8 @@ Version: %{pypi_version}
Release: 1%{?dist} Release: 1%{?dist}
Summary: A modern GUI for PortProton project Summary: A modern GUI for PortProton project
License: MIT License: GPL-3.0
URL: https://github.com/Boria138/PortProtonQt URL: https://git.linux-gaming.ru/Boria138/PortProtonQt
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
@ -46,7 +46,7 @@ PortProtonQt is a modern graphical user interface for the PortProton project,
designed to simplify the management and launching of games using Wine and Proton. designed to simplify the management and launching of games using Wine and Proton.
%prep %prep
git clone https://github.com/Boria138/PortProtonQt git clone https://git.linux-gaming.ru/Boria138/PortProtonQt
cd %{oname} cd %{oname}
git checkout %{pypi_version} git checkout %{pypi_version}

@ -12,7 +12,6 @@ ARCH_PKGBUILD = BASE_DIR / "build-aux" / "PKGBUILD"
FEDORA_SPEC = BASE_DIR / "build-aux" / "fedora.spec" FEDORA_SPEC = BASE_DIR / "build-aux" / "fedora.spec"
PYPROJECT = BASE_DIR / "pyproject.toml" PYPROJECT = BASE_DIR / "pyproject.toml"
APP_PY = BASE_DIR / "portprotonqt" / "app.py" APP_PY = BASE_DIR / "portprotonqt" / "app.py"
GITHUB_WORKFLOW = BASE_DIR / ".github" / "workflows" / "build.yml"
GITEA_WORKFLOW = BASE_DIR / ".gitea" / "workflows" / "build.yml" GITEA_WORKFLOW = BASE_DIR / ".gitea" / "workflows" / "build.yml"
def bump_appimage(path: Path, old: str, new: str) -> bool: def bump_appimage(path: Path, old: str, new: str) -> bool:
@ -87,7 +86,7 @@ def bump_app_py(path: Path, old: str, new: str) -> bool:
def bump_workflow(path: Path, old: str, new: str) -> bool: def bump_workflow(path: Path, old: str, new: str) -> bool:
""" """
Update VERSION in GitHub or Gitea Actions workflow Update VERSION in Gitea Actions workflow
""" """
if not path.exists(): if not path.exists():
return False return False
@ -112,7 +111,6 @@ def main():
(FEDORA_SPEC, bump_fedora), (FEDORA_SPEC, bump_fedora),
(PYPROJECT, bump_pyproject), (PYPROJECT, bump_pyproject),
(APP_PY, bump_app_py), (APP_PY, bump_app_py),
(GITHUB_WORKFLOW, bump_workflow),
(GITEA_WORKFLOW, bump_workflow) (GITEA_WORKFLOW, bump_workflow)
] ]

@ -3,20 +3,18 @@ set -e
timestamp=$(date -u +"%Y-%m-%dT%H:%M:%SZ") timestamp=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
AUTHOR_EMAIL=${INPUT_AUTHOR_EMAIL:-'gitea-actions@users.noreply.gitea.com'} AUTHOR_EMAIL='gitea-actions@users.noreply.gitea.com'
AUTHOR_NAME=${INPUT_AUTHOR_NAME:-'Gitea Actions'} AUTHOR_NAME='Gitea Actions'
MESSAGE=${INPUT_MESSAGE:-"chore: update steam apps list ${timestamp}"} MESSAGE="chore: update steam apps list ${timestamp}"
BRANCH=main BRANCH=main
INPUT_DIRECTORY=${INPUT_DIRECTORY:-'.'} echo "Push to branch $BRANCH"
echo "Push to branch $INPUT_BRANCH"
[ -z "${GITEA_TOKEN}" ] && { [ -z "${GITEA_TOKEN}" ] && {
echo 'Missing input "gitea_token: bcde86030adcb863b8ff96f994ecf248ced607e4".' echo 'Missing input "gitea_token: bcde86030adcb863b8ff96f994ecf248ced607e4".'
exit 1 exit 1
} }
cd "${INPUT_DIRECTORY}" cd "."
remote_repo="https://${GITEA_ACTOR}:${GITEA_TOKEN}@${GITEA_SERVER}/${GITEA_REPOSITORY}.git" remote_repo="https://${GITEA_ACTOR}:${GITEA_TOKEN}@${GITEA_SERVER}/${GITEA_REPOSITORY}.git"

@ -311,8 +311,7 @@ def load_steam_apps_async(callback: Callable[[list], None]):
callback([]) callback([])
else: else:
app_list_url = ( app_list_url = (
"https://raw.githubusercontent.com/Boria138/PortProtonQt/" "https://git.linux-gaming.ru/Boria138/PortProtonQt/raw/branch/main/data/games_appid.tar.xz"
"refs/heads/main/data/games_appid.tar.xz"
) )
downloader.download_async(app_list_url, cache_tar, timeout=5, callback=process_tar) downloader.download_async(app_list_url, cache_tar, timeout=5, callback=process_tar)
@ -457,8 +456,7 @@ def load_weanticheatyet_data_async(callback: Callable[[list], None]):
callback([]) callback([])
else: else:
app_list_url = ( app_list_url = (
"https://raw.githubusercontent.com/Boria138/PortProtonQt/" "https://git.linux-gaming.ru/Boria138/PortProtonQt/raw/branch/main/data/anticheat_games.tar.xz"
"refs/heads/main/data/anticheat_games.tar.xz"
) )
downloader.download_async(app_list_url, cache_tar, timeout=5, callback=process_tar) downloader.download_async(app_list_url, cache_tar, timeout=5, callback=process_tar)