mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-03-31 06:23:54 -04:00
[PR #318] [MERGED] feat: Add multi-repository support #348
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/community-scripts/ProxmoxVE-Local/pull/318
Author: @michelroegl-brunner
Created: 11/13/2025
Status: ✅ Merged
Merged: 11/13/2025
Merged by: @michelroegl-brunner
Base:
main← Head:feat/add_repo📝 Commits (6)
72ffc55feat: Add multi-repository support for script synchronization498249afix: Update import extension for repositoryService in githubJsonService955d0e7refactor: consolidate scriptDownloader to single JavaScript implementation5cb7bc9Add filter Buttonsac23d01Add helper Text9608affChange Position of text📊 Changes
433 files changed (+2600 additions, -2807 deletions)
View changed files
➕
prisma/migrations/20251113125441_add_repositories/migration.sql(+14 -0)📝
prisma/schema.prisma(+13 -0)➖
scripts/json/2fauth.json(+0 -44)📝
scripts/json/actualbudget.json(+2 -1)📝
scripts/json/add-iptag.json(+2 -1)📝
scripts/json/add-netbird-lxc.json(+2 -1)📝
scripts/json/add-tailscale-lxc.json(+2 -1)📝
scripts/json/adguard.json(+2 -1)📝
scripts/json/adventurelog.json(+2 -1)📝
scripts/json/agentdvr.json(+2 -1)📝
scripts/json/all-templates.json(+2 -1)📝
scripts/json/alpine-it-tools.json(+2 -1)📝
scripts/json/alpine-redlib.json(+2 -1)📝
scripts/json/alpine-tinyauth.json(+2 -1)📝
scripts/json/alpine.json(+2 -1)📝
scripts/json/apache-cassandra.json(+2 -1)📝
scripts/json/apache-couchdb.json(+2 -1)📝
scripts/json/apache-guacamole.json(+2 -1)📝
scripts/json/apache-tika.json(+2 -1)📝
scripts/json/apache-tomcat.json(+2 -1)...and 80 more files
📄 Description
Feature: Multi-Repository Support
This PR adds comprehensive multi-repository support, allowing users to manage multiple GitHub repositories as script sources, configure which repositories are active, and filter scripts by repository.
Key Features
Repository Management
Repository Filter Buttons
Enhanced Help Documentation
frontend/public/json/, script files inct/,install/,tools/,vm/subdirectories)Implementation Details
Backend Changes
src/server/api/routers/scripts.ts: FiltersgetScriptCardsWithCategoriesto only include scripts from enabled repositoriesFrontend Changes
src/app/_components/FilterBar.tsx: Added repository filter buttons UI with toggle functionalitysrc/app/_components/ScriptsGrid.tsx: Added client-side repository filtering logicsrc/app/_components/DownloadedScriptsTab.tsx: Added repository filtering supportsrc/app/_components/HelpModal.tsx: Added comprehensive Repository Management documentation sectionData Model
selectedRepositoriesfield toFilterStateinterface for tracking selected repository filtersUser Experience
Repository Structure Requirements
For a repository to work with this system, it must follow this structure:
frontend/public/json/folder at repository rootct/,install/,tools/,vm/)This feature enables users to manage multiple script sources, customize their script library, and efficiently filter scripts by repository source.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.