Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow variables to be saved to other formats/persistence stores #8

Closed
SeanFarrow opened this issue Sep 16, 2016 · 2 comments
Closed

Comments

@SeanFarrow
Copy link

Hi,

It would be nice if Octostache allowed variables to be persisted in other formats than json and to other stores other than just a regular file.

To my mind this would mean extracting the serialization and formatting logic out of variable dictionary, behind an interface.

I am happy to work on this if this would be something that would be useful.
Cheers
sean.

@zentron
Copy link
Contributor

zentron commented Oct 14, 2016

Hi @SeanFarrow , I can understand that you may have other formats you would like to use out of curiosity whats the scenario you are trying to support?
Being open source, with a relatively permissive licence (Apache) we are more than happy for you to fork this repository and tweak to your heart's content.
Since we use this library in Octopus Deploy and would like to keep its complexity to a minimum, I can't guarantee it will be merged into the Octostache mainline but I would still be interested to see where you take it.

@SeanFarrow
Copy link
Author

Hi,

Given we’re in a cloud environment, saving to files doesn’t work, so we need to support an alternative store.
I’m thinking of either supporting a database or upload to either s3 or azure blob storage.
I would think this would be something you would be interested in. Potentially splitting the storage in to a repository.
Cheers
Sean.

From: Rob [mailto:notifications@github.com]
Sent: 14 October 2016 03:13
To: OctopusDeploy/Octostache Octostache@noreply.github.com
Cc: Sean Farrow sean.farrow@seanfarrow.co.uk; Mention mention@noreply.github.com
Subject: Re: [OctopusDeploy/Octostache] Allow variables to be saved to other formats/persistence stores (#8)

Hi @SeanFarrowhttps://github.com/SeanFarrow , I can understand that you may have other formats you would like to use out of curiosity whats the scenario you are trying to support?
Being open source, with a relatively permissive licence (Apache) we are more than happy for you to fork this repository and tweak to your heart's content.
Since we use this library in Octopus Deploy and would like to keep its complexity to a minimum, I can't guarantee it will be merged into the Octostache mainline but I would still be interested to see where you take it.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/8#issuecomment-253692284, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABY1fpvEL6FqotrHyAHHumoFFDGmW7JSks5qzuVCgaJpZM4J--PX.

@zentron zentron closed this as completed Oct 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants