8000 Add templating to service manifests by obiesmans · Pull Request #76 · blablacar/ggn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Add templating to service manifests #76

Merged
merged 3 commits into from
Aug 21, 2017

Conversation

obiesmans
Copy link
Contributor

My take on solving #51.

To simplify the promblem it requires that the templates are still valid YAML.
The Service.manifest is at first read without rendering, then if the user specifies an action that requires the unit.tmpl to be rendered, it'll trigger a rendering of the service manifest.

This requires a PR on dgr/bin-templater though, which is incoming ;)

@obiesmans obiesmans force-pushed the add_template_manifests branch 2 times, most recently from c6e5642 to 1ba75ba Compare August 14, 2017 13:44
@obiesmans obiesmans force-pushed the add_template_manifests branch from 1ba75ba to 933dda6 Compare August 14, 2017 14:19
var err error
var manifest []byte

manifestPath := s.path + PATH_SERVICE_MANIFEST
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inline

@n0rad n0rad merged commit 8d5ab47 into blablacar:master Aug 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0