Fix paru PKGBUILD repo name collision with pacman registry
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 2s
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 2s
Both the pacman package registry and the paru PKGBUILD repo used [moonarch] as section name, causing paru to fail resolving PKGBUILD upgrade targets against the wrong repo. Renamed PKGBUILD repo to [moonarch-pkgbuilds] and moved config from ~/.config/paru/paru.conf to system-wide /etc/paru.conf.
This commit is contained in:
parent
ba4a413097
commit
1004a0b986
@ -1,5 +1,11 @@
|
|||||||
# Decisions
|
# Decisions
|
||||||
|
|
||||||
|
## 2026-04-02 – Rename paru PKGBUILD repo, move config to /etc/paru.conf
|
||||||
|
- **Who**: Dominik, Ragnar
|
||||||
|
- **Why**: paru PKGBUILD repo and pacman package registry both used `[moonarch]` as section name. When pkgver-bot pushed version bumps, paru tried to resolve PKGBUILD targets (moongreet-git, moonlock-git) against the pacman repo — which only contains moonarch-git — causing "nicht alle benötigten Pakete gefunden" errors.
|
||||||
|
- **Tradeoffs**: Renaming the PKGBUILD repo section means existing installations need a one-time manual fix. Using `/etc/paru.conf` instead of `~/.config/paru/paru.conf` is consistent with moonarch's system-wide config philosophy.
|
||||||
|
- **How**: Renamed PKGBUILD repo section from `[moonarch]` to `[moonarch-pkgbuilds]`. Moved paru config (Mode + repo) from user-level `~/.config/paru/paru.conf` to system-wide `/etc/paru.conf`. Updated post-install.sh accordingly.
|
||||||
|
|
||||||
## 2026-04-01 – Replace dunst with swaync as notification daemon
|
## 2026-04-01 – Replace dunst with swaync as notification daemon
|
||||||
- **Who**: Dominik, Ragnar
|
- **Who**: Dominik, Ragnar
|
||||||
- **Why**: Dunst lacks wp_fractional_scale_v1 support, causing aliased/jagged font rendering on external monitors in mixed-DPI setups (laptop eDP-1 at 2.5x, externals at 1x). Confirmed by testing: removing fractional scaling fixed the issue. swaync uses GTK4 which handles fractional scaling natively.
|
- **Why**: Dunst lacks wp_fractional_scale_v1 support, causing aliased/jagged font rendering on external monitors in mixed-DPI setups (laptop eDP-1 at 2.5x, externals at 1x). Confirmed by testing: removing fractional scaling fixed the issue. swaync uses GTK4 which handles fractional scaling natively.
|
||||||
|
|||||||
@ -51,13 +51,16 @@ rm -f "$KEY_FILE"
|
|||||||
# --- Set up Moonarch custom paru repo ---
|
# --- Set up Moonarch custom paru repo ---
|
||||||
|
|
||||||
log "Setting up Moonarch paru repo..."
|
log "Setting up Moonarch paru repo..."
|
||||||
PARU_CONF="$HOME/.config/paru/paru.conf"
|
PARU_CONF="/etc/paru.conf"
|
||||||
mkdir -p "$(dirname "$PARU_CONF")"
|
if ! grep -q 'Mode.*p' "$PARU_CONF" 2>/dev/null; then
|
||||||
if ! grep -q '\[moonarch\]' "$PARU_CONF" 2>/dev/null; then
|
sudo sed -i '/^\[options\]/a Mode = arp' "$PARU_CONF"
|
||||||
cat >> "$PARU_CONF" <<'EOCONF'
|
log " + Mode = arp set in paru.conf."
|
||||||
[moonarch]
|
else
|
||||||
Url = https://gitea.moonarch.de/nevaforget/moonarch-pkgbuilds.git
|
log " ~ Mode already includes pkgbuilds."
|
||||||
EOCONF
|
fi
|
||||||
|
if ! grep -q '\[moonarch-pkgbuilds\]' "$PARU_CONF" 2>/dev/null; then
|
||||||
|
printf '\n[moonarch-pkgbuilds]\nUrl = https://gitea.moonarch.de/nevaforget/moonarch-pkgbuilds.git\n' \
|
||||||
|
| sudo tee -a "$PARU_CONF" > /dev/null
|
||||||
log " + Moonarch repo added to paru.conf."
|
log " + Moonarch repo added to paru.conf."
|
||||||
else
|
else
|
||||||
log " ~ Moonarch repo already in paru.conf."
|
log " ~ Moonarch repo already in paru.conf."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user