CLI option to write built-in job compiler scripts to disk #99398
Labels
No Label
Good First Issue
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Job Type
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/flamenco#99398
Loading…
Reference in New Issue
Block a user
No description provided.
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?
Job compiler scripts are loaded from two sources:
intern/manager/job_compiler/scripts
: embedded into the Flamenco Manager executable, andscripts
directory next to the exectuable, where the files are loaded from disk at startup.The first location contains the built-in scripts bundled with Flamenco. The latter location is meant for users to create their own custom job types, or to override the built-in scripts.
It would be super useful if Flamenco Manager could write its embedded scripts to the
scripts
directory. There they would serve as a basis for customisation, or simply as example.To avoid confusion, and to make upgrades smooth, it would be best if the written-to-disk copies of the embedded scripts were to use a different filename. This should be something that Flamenco Manager ignores, so that the scripts can purely serve their example purpose without getting in the way. A comment at the top of the file could explain how to name the file in order to override the built-in script, with a warning that this will prevent future updates (unless they remove/rename the script).
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @dr.sybren