[PR #7240] [MERGED] Refactor gitea-mirror env-file #6700

Closed
opened 2026-02-26 15:32:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/7240
Author: @CrazyWolf13
Created: 8/27/2025
Status: Merged
Merged: 8/30/2025
Merged by: @michelroegl-brunner

Base: mainHead: CrazyWolf13-patch-1


📝 Commits (10+)

  • 3e887d4 Refactor gitea-mirror update script and configs
  • 2c65d41 Refactor gitea-mirror service environment variables
  • 1ed40d8 Modify gitea-mirror.sh for database and auth settings
  • 8778bf7 Update gitea-mirror environment configuration
  • 480367d Change DATABASE_URL to use relative path
  • 03c0d8e Fix BETTER_AUTH_SECRET variable assignment
  • ffc7ce8 Comment out BETTER_AUTH_URL variable
  • 5f0cf0b Change JWT_SECRET to APP_SECRET in gitea-mirror.sh
  • 5f940fd Update BETTER_AUTH_URL to use dynamic HOST_IP
  • be5ce90 Update BETTER_AUTH_URL to use dynamic HOST_IP

📊 Changes

2 files changed (+49 additions, -9 deletions)

View changed files

📝 ct/gitea-mirror.sh (+35 -2)
📝 install/gitea-mirror-install.sh (+14 -7)

📄 Description

✍️ Description

Update Gitea-mirror to use env-file.

Link: #

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/7240 **Author:** [@CrazyWolf13](https://github.com/CrazyWolf13) **Created:** 8/27/2025 **Status:** ✅ Merged **Merged:** 8/30/2025 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `CrazyWolf13-patch-1` --- ### 📝 Commits (10+) - [`3e887d4`](https://github.com/community-scripts/ProxmoxVE/commit/3e887d4a02f7464db7722f7b60d5a0f51041d67f) Refactor gitea-mirror update script and configs - [`2c65d41`](https://github.com/community-scripts/ProxmoxVE/commit/2c65d41764e30b6d83b47830b18749d440c73465) Refactor gitea-mirror service environment variables - [`1ed40d8`](https://github.com/community-scripts/ProxmoxVE/commit/1ed40d8e978a9af5820305058a8fe72e79cd28d0) Modify gitea-mirror.sh for database and auth settings - [`8778bf7`](https://github.com/community-scripts/ProxmoxVE/commit/8778bf7acdbaa856d2c1f008a5f4ef7877348549) Update gitea-mirror environment configuration - [`480367d`](https://github.com/community-scripts/ProxmoxVE/commit/480367daf6a309b05d318772266ba001f75f1787) Change DATABASE_URL to use relative path - [`03c0d8e`](https://github.com/community-scripts/ProxmoxVE/commit/03c0d8e20aa56c355154db87d364bac9d062e57f) Fix BETTER_AUTH_SECRET variable assignment - [`ffc7ce8`](https://github.com/community-scripts/ProxmoxVE/commit/ffc7ce830b489e669539f94fbe78aebaeb0a7a85) Comment out BETTER_AUTH_URL variable - [`5f0cf0b`](https://github.com/community-scripts/ProxmoxVE/commit/5f0cf0b60a696d240c3ca4207d1522d4627f020f) Change JWT_SECRET to APP_SECRET in gitea-mirror.sh - [`5f940fd`](https://github.com/community-scripts/ProxmoxVE/commit/5f940fd1997b90416c4f0faaea8623c9344e0b55) Update BETTER_AUTH_URL to use dynamic HOST_IP - [`be5ce90`](https://github.com/community-scripts/ProxmoxVE/commit/be5ce905335b500555b10f8cd4b5588fef9d8fd4) Update BETTER_AUTH_URL to use dynamic HOST_IP ### 📊 Changes **2 files changed** (+49 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `ct/gitea-mirror.sh` (+35 -2) 📝 `install/gitea-mirror-install.sh` (+14 -7) </details> ### 📄 Description <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description Update Gitea-mirror to use env-file. ## 🔗 Related PR / Issue Link: # ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [ ] **Tested thoroughly** – Changes work as expected. - [x] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [ ] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [ ] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [x] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 15:32:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#6700
No description provided.