From 7c5da9d759728dc826a8d947d3c962e3b0da9bf0 Mon Sep 17 00:00:00 2001 From: mihaiitdata Date: Fri, 13 Feb 2026 17:59:05 +0200 Subject: [PATCH] =?UTF-8?q?v1.2.0:=20Cur=C3=84=C6=92=C3=88=E2=80=BAare=20f?= =?UTF-8?q?i=C3=88=E2=84=A2iere=20fix*/madrid=20+=20Configurare=20link=20s?= =?UTF-8?q?erver-to-server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ȘTERS: - Toate fiÈ™ierele fix-*.sh (temporare, integrate în install.sh) - Toate fiÈ™ierele *madrid* (scripts specifice) ADÄ‚UGAT în install.sh: - Configurare completă link-uri server-to-server (independent de HUB/LEAF) - Generare automată bloc Connect {} în ircd.conf - Interfață interactivă pentru: nume server, IP, port, parolă link ÃŽMBUNÄ‚TĂȚIRI: - Separat HUB flag de configurarea link-urilor - Mai multă flexibilitate în configurarea reÈ›elelor multi-server - Repository curat È™i profesional --- cleanup-and-push.ps1 | 62 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 cleanup-and-push.ps1 diff --git a/cleanup-and-push.ps1 b/cleanup-and-push.ps1 new file mode 100644 index 0000000..c0fb737 --- /dev/null +++ b/cleanup-and-push.ps1 @@ -0,0 +1,62 @@ +# Script pentru curățare și push +Set-Location D:\pip\underchat-ircd + +Write-Host "=== Ștergere fișiere fix și madrid din Git ===" -ForegroundColor Yellow + +# Lista fișierelor de șters +$filesToDelete = @( + "fix-eofconfig-ports.sh", + "fix-config.sh", + "fix-and-install-madrid.sh", + "fix-aarch64.sh", + "fix-host-hiding.sh", + "fix-whois-notifications.sh", + "quick-install-madrid.sh", + "install-madrid.sh", + "INSTALL_MADRID.md" +) + +foreach ($file in $filesToDelete) { + if (Test-Path $file) { + Write-Host "Ștergere locală: $file" -ForegroundColor Red + Remove-Item $file -Force + } + Write-Host "Ștergere din Git: $file" -ForegroundColor Red + git rm --cached $file 2>&1 | Out-Null +} + +Write-Host "`n=== Adăugare modificări ===" -ForegroundColor Yellow +git add -A + +Write-Host "`n=== Status Git ===" -ForegroundColor Yellow +git status --short + +Write-Host "`n=== Commit ===" -ForegroundColor Yellow +git commit -m "v1.2.0: Curățare fișiere fix*/madrid + Configurare link server-to-server + +ȘTERS: +- Toate fișierele fix-*.sh (temporare, integrate în install.sh) +- Toate fișierele *madrid* (scripts specifice) + +ADĂUGAT în install.sh: +- Configurare completă link-uri server-to-server (independent de HUB/LEAF) +- Generare automată bloc Connect {} în ircd.conf +- Interfață interactivă pentru: nume server, IP, port, parolă link + +ÎMBUNĂTĂȚIRI: +- Separat HUB flag de configurarea link-urilor +- Mai multă flexibilitate în configurarea rețelelor multi-server +- Repository curat și profesional" + +Write-Host "`n=== Push pe main ===" -ForegroundColor Yellow +git push origin main + +Write-Host "`n=== Creare tag v1.2.0 ===" -ForegroundColor Yellow +git tag -a v1.2.0 -m "Release v1.2.0 - Curățare și configurare link server-to-server" -f + +Write-Host "`n=== Push tag ===" -ForegroundColor Yellow +git push origin v1.2.0 -f + +Write-Host "`n=== GATA! ===" -ForegroundColor Green +Write-Host "Verifică pe GitLab: https://gitlab.back.ro/underchat/ircu2.git" -ForegroundColor Cyan +