Project

General

Profile

Actions

Feature #17375

open

Create file copies of template changes for use with VCS

Added by Jeff Sparrow over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

It would be nice if we had the option to write templates to a file. I believe the current method is the templates are saved to a DB?
This makes version control annoying. The current method I have to use is once a change on the template is made, copy and paste those changes into a text file, then push to VCS.

I understand it is possible to do the reverse with the https://github.com/theforeman/foreman_templates plugin, but this is basically the same method, but in reverse:

Edit the file, push to VCS, plugin syncs to the repo. This method means not being able to use the UI (which isnt necessary, but it makes viewing previews for accuracy, easier)

I would like to request a feature, that gives an option in the templates to save to a local directory. That way users can make the changes in the UI, preview those changes, and if they look good, easily push to VCS via the local save point.


Related issues 1 (0 open1 closed)

Related to Templates - Feature #17417: Exporting of templatesClosedMarek Hulán11/21/2016Actions
Actions #1

Updated by Dominic Cleal over 7 years ago

  • Category set to Templates
Actions #2

Updated by Dominic Cleal over 7 years ago

Actions

Also available in: Atom PDF