[GH-ISSUE #2181] [Feature Request] Sync scripts from git repo #3292

Closed
opened 2026-03-14 07:03:42 +03:00 by kerem · 2 comments
Owner

Originally created by @ccarney16 on GitHub (Mar 28, 2025).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2181

Is your feature request related to a problem? Please describe.
When working and testing scripts, it is a bit tedious to work on, test, and deploy scripts to TRMM in bulk. Often times I do find myself needing to rewrite portions of scripts should how I manage systems change. Needing to go in/out of each script or snippet is often tedious due to TRMM's built in text editor not having the functionality of a full fledged IDE.

Describe the solution you'd like
The script manager should incorporate a way to import scripts and functions in bulk from a central source (or multiple). By utilizing git, script makers would have an easier time making new revisions, rolling back, and cleaning up older scripts that may not be needed.

An example of this would be having TRMM fetch data from a private repository, reading a settings file defined in the repo, and merging/overwriting currently existing content. This could be done on a periodic basis or manual.

Originally created by @ccarney16 on GitHub (Mar 28, 2025). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2181 **Is your feature request related to a problem? Please describe.** When working and testing scripts, it is a bit tedious to work on, test, and deploy scripts to TRMM in bulk. Often times I do find myself needing to rewrite portions of scripts should how I manage systems change. Needing to go in/out of each script or snippet is often tedious due to TRMM's built in text editor not having the functionality of a full fledged IDE. **Describe the solution you'd like** The script manager should incorporate a way to import scripts and functions in bulk from a central source (or multiple). By utilizing git, script makers would have an easier time making new revisions, rolling back, and cleaning up older scripts that may not be needed. An example of this would be having TRMM fetch data from a private repository, reading a settings file defined in the repo, and merging/overwriting currently existing content. This could be done on a periodic basis or manual.
kerem closed this issue 2026-03-14 07:03:47 +03:00
Author
Owner
<!-- gh-comment-id:2762339919 --> @wh1te909 commented on GitHub (Mar 28, 2025): duplicate of #1206. for now you can use of of these 2 community solutions: 1. https://github.com/amidaware/community-scripts/blob/main/scripts_staging/Backend/Export%20TRMM%20Scripts%20to%20folder%20and%20git%20sync%20V2.py 2. https://github.com/daileycomputerconsulting/tactical-rmm-webhooks
Author
Owner

@P6g9YHK6 commented on GitHub (Apr 2, 2025):

did a couple of upgrades to the original script and renamed the script also for clarity
https://github.com/P6g9YHK6/community-scripts/blob/main/scripts_staging/Backend/Sync%20TRMM%20with%20GIT.py

now y'all have a nice commit history

Image

<!-- gh-comment-id:2771953533 --> @P6g9YHK6 commented on GitHub (Apr 2, 2025): did a couple of upgrades to the original script and renamed the script also for clarity https://github.com/P6g9YHK6/community-scripts/blob/main/scripts_staging/Backend/Sync%20TRMM%20with%20GIT.py now y'all have a nice commit history ![Image](https://github.com/user-attachments/assets/6e3aafd1-779f-4d6f-aaae-b7cd1c0b9939)
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/tacticalrmm#3292
No description provided.