Bug 817795 - Kickstart template preview
Summary: Kickstart template preview
Keywords:
Status: CLOSED EOL
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact:
URL:
Whiteboard: UX
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-01 10:30 UTC by Dan Callaghan
Modified: 2020-04-21 08:59 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 986177 (view as bug list)
Environment:
Last Closed: 2020-04-21 08:45:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2012-05-01 10:30:16 UTC
It would be nice if we had some kind of "dry run" page for previewing kickstart templates. It would accept a template and return the rendered version back to the user (without storing it or anything). Users could test their custom kickstarts. Admins could test their snippets.

I'm picturing a big textarea containing the template on one half of the page, and a live(ish?) preview of the resulting kickstart beside it.

Comment 1 Nick Coghlan 2012-10-17 04:38:16 UTC
Bulk reassignment of issues as Bill has moved to another team.

Comment 3 Dan Callaghan 2013-07-19 01:10:17 UTC
Implementing this as a command-line tool (to be run on the Beaker server) would certainly be much easier than building a web interface for it. The tool could just accept a path to the experimental templates, which would override the real templates (it can just be smooshed onto the start of the ChoiceLoader on template_env).

Comment 4 Dan Callaghan 2013-07-19 01:11:02 UTC
(In reply to Dan Callaghan from comment #3)

... but note that that only address half this RFE (the admin side of things), it doesn't help ordinary users who want to test out custom kickstart templates.

Comment 5 John W. Lockhart 2013-07-19 01:23:18 UTC
Some form of REST/xmlrpc call, on the other hand, would work for some of the ordinary users as well -- presumably with some form of authentication.  A web UI, while nice for casual use, wouldn't be as convenient for diffs and other work to fix up a troublesome template.

Comment 6 Dan Callaghan 2013-07-19 06:55:10 UTC
This command-line template debugging tool is a great idea, but it's pretty far from what I was originally imagining for this RFE. So I've cloned it as bug 986177 and proposed it for Beaker 0.15.

Comment 8 Martin Styk 2020-04-21 08:45:12 UTC
Closing this issue.
We are not planning to address this problem in the Beaker development lifecycle.

Instead of that, we are planning to continue our effort in building Beaker.NEXT.
If you have any questions, feel free to reach out to me.

Best regards,
Martin Styk


Note You need to log in before you can comment on or make changes to this bug.