[PR #5462] [CLOSED] Add Gitea link option to website #5549

Closed
opened 2026-02-26 14:34:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/5462
Author: @BramSuurdje
Created: 6/25/2025
Status: Closed

Base: mainHead: add-gitea-link-website


📝 Commits (2)

  • c80e0ff Update Tooltips component to conditionally display updateable status based on item type
  • 7ba6a2a Enhance InstallCommand component to support Gitea as an alternative source for installation scripts, including user guidance for when to use Gitea over GitHub.

📊 Changes

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

View changed files

📝 frontend/src/app/scripts/_components/ScriptItems/InstallCommand.tsx (+47 -12)
📝 frontend/src/app/scripts/_components/ScriptItems/Tooltips.tsx (+2 -2)

📄 Description

✍️ Description

This pull request introduces enhancements to script installation and tooltip handling in the frontend. The changes include support for a Gitea mirror as an alternative to GitHub for script installation, improved user interface elements for displaying installation options, and refined logic for tooltip badges based on script properties.

Script Installation Enhancements:

  • Support for Gitea Mirror: Added a useGitea parameter to the getInstallCommand function to allow users to generate installation commands using a Gitea mirror as an alternative to GitHub. This helps address issues like slow connections, API rate limits, and lack of IPv6 support.
  • User Interface Updates: Introduced new tabs for selecting between GitHub and Gitea as the source for script installation. Added an informational alert explaining when to use Gitea, enhancing the user experience.

Tooltip Logic Refinements:

  • Updateable Badge Logic: Modified the conditions for displaying "Updateable" and "Not Updateable" badges in the Tooltips component. Scripts of type pve are now excluded from being marked as "Updateable," ensuring accurate representation of script properties.

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.

image
image


🔄 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/5462 **Author:** [@BramSuurdje](https://github.com/BramSuurdje) **Created:** 6/25/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-gitea-link-website` --- ### 📝 Commits (2) - [`c80e0ff`](https://github.com/community-scripts/ProxmoxVE/commit/c80e0ffb706f7c3c2a916f4632dc8b400893ac41) Update Tooltips component to conditionally display updateable status based on item type - [`7ba6a2a`](https://github.com/community-scripts/ProxmoxVE/commit/7ba6a2a07b7750552613d3e5922afe310f853df7) Enhance InstallCommand component to support Gitea as an alternative source for installation scripts, including user guidance for when to use Gitea over GitHub. ### 📊 Changes **2 files changed** (+49 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/app/scripts/_components/ScriptItems/InstallCommand.tsx` (+47 -12) 📝 `frontend/src/app/scripts/_components/ScriptItems/Tooltips.tsx` (+2 -2) </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 This pull request introduces enhancements to script installation and tooltip handling in the frontend. The changes include support for a Gitea mirror as an alternative to GitHub for script installation, improved user interface elements for displaying installation options, and refined logic for tooltip badges based on script properties. ### Script Installation Enhancements: * **Support for Gitea Mirror**: Added a `useGitea` parameter to the `getInstallCommand` function to allow users to generate installation commands using a Gitea mirror as an alternative to GitHub. This helps address issues like slow connections, API rate limits, and lack of IPv6 support. * **User Interface Updates**: Introduced new tabs for selecting between GitHub and Gitea as the source for script installation. Added an informational alert explaining when to use Gitea, enhancing the user experience. ### Tooltip Logic Refinements: * **Updateable Badge Logic**: Modified the conditions for displaying "Updateable" and "Not Updateable" badges in the `Tooltips` component. Scripts of type `pve` are now excluded from being marked as "Updateable," ensuring accurate representation of script properties. ## 🔗 Related PR / Issue Link: # ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [x] **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. - [x] ✨ **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. ![image](https://github.com/user-attachments/assets/a5842d9f-d266-4a84-952e-338a9ebb7a07) ![image](https://github.com/user-attachments/assets/3101c7ca-db45-4770-8c2a-5f6a4370bb22) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 14:34:30 +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#5549
No description provided.