feat: create autonomous Nivora package repository

Maintain a validated cross-distribution package catalog.
Automate upstream updates, isolated builds, diagnostics, and direct publication.
Build the official GitHub Desktop sources for Linux with working OAuth.
This commit is contained in:
Александр
2026-07-25 00:49:32 +10:00
commit f405ae2bcf
168 changed files with 8483 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/bin/bash
set -euo pipefail
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
repo_root="$(cd "${script_dir}/.." && pwd)"
recipe="${repo_root}/yandex-browser-stable/Staplerfile"
postinstall="${repo_root}/yandex-browser-stable/postinstall.sh"
grep -Fq 'https://repo.yandex.ru/yandex-browser/deb/' "$recipe"
grep -Fq '/usr/bin/yandex-browser-stable' "$recipe"
grep -Fq 'extracted/usr/share/applications' "$recipe"
grep -Fq 'compatibility_desktop=' "$recipe"
grep -Fq 'canonical_desktop=' "$recipe"
grep -Fq "sed -i '/^NoDisplay=true\$/d'" "$recipe"
grep -Fq "sed -i '/^\\[Desktop Entry\\]\$/a NoDisplay=true'" "$recipe"
grep -Fq 'update_codecs' "$postinstall"
if grep -Eq '/etc/(cron|xdg/autostart)' "$recipe"; then
echo 'Yandex Browser recipe must not package upstream auto-update hooks' >&2
exit 1
fi
echo 'OK: Yandex Browser управляется Stapler без upstream cron-задач'