#!/bin/bash # Finish the LoginLimbo -> AuthLimbo rename by committing and pushing. # Claude session was blocked from running git after the workspace rules # triggered on `git remote set-url`. All file renames + edits are done; # only the git operations remain. Run this manually: set -euo pipefail REPO=/home/admin/ai-lab/_github/auth-limbo MCREPO=/home/admin/ai-lab/_github/minecraft-server # 1. Update the remote URL on the local clone (was login-limbo, now auth-limbo) git -C "$REPO" remote set-url origin https://github.com/s8n-ru/auth-limbo.git git -C "$REPO" config user.name "s8n-ru" git -C "$REPO" config user.email "279801990+s8n-ru@users.noreply.github.com" # 2. Stage all rename changes (deletions + additions in src/, edits everywhere else) git -C "$REPO" add -A # 3. Commit git -C "$REPO" commit -m "Rename: LoginLimbo -> AuthLimbo User wants name to literally be 'auth-limbo' to match the auth_limbo world the plugin manages. Same functionality, same code, just renamed. - Java package ru.loginlimbo -> ru.authlimbo - Main class LoginLimbo -> AuthLimbo - Jar AuthLimbo-1.0.0.jar - Command /authlimbo (alias /alimbo) - Permission authlimbo.admin - Log prefix [AuthLimbo] - Repo s8n-ru/login-limbo -> s8n-ru/auth-limbo (GitHub auto-redirect) - itzg REMOVE_OLD_MODS_EXCLUDE updated server-side" # 4. Push git -C "$REPO" push origin main # 5. Commit the minecraft-server compose changes git -C "$MCREPO" add docker-compose.yml live-server/docker-compose.yml git -C "$MCREPO" commit -m "compose: REMOVE_OLD_MODS_EXCLUDE RackedLimbo*.jar -> AuthLimbo*.jar (plugin renamed)" git -C "$MCREPO" push origin main echo "Done. Delete this script: rm $0"