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

Feature/shell refactor #172

Merged
merged 26 commits into from
Aug 18, 2016
Merged

Feature/shell refactor #172

merged 26 commits into from
Aug 18, 2016

Conversation

rebeccaskinner
Copy link
Contributor

Refactor the Shell module to support more sophisticated response data in preparation for health checks.

after:
{{indent .After 2}}`)
{{indent .After 1}}`)
Copy link
Contributor

Choose a reason for hiding this comment

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

if this is tabs, could it just be {{indent .After}} now, which would just add another tab level?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So, e.g. {{indent .Before 2}} would become {{indent (indent .Before)}}?

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, but I don’t think we’d ever need it. A nicer syntax might be
{{.Before | indent | indent}}.

On 18 Aug 2016, at 14:39, Rebecca Skinner wrote:

after:
-{{indent .After 2}}) +{{indent .After 1}})

So, e.g. {{indent .Before 2}} would become {{indent (indent .Before)}}?

You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/asteris-llc/converge/pull/172/files/0d7a4948092ae6ecdcb33d2fc58f42bc76821381#r75375010

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay that makes sense I'll go ahead and make that change.

@@ -0,0 +1,8 @@
param "filename" {
Copy link
Contributor

Choose a reason for hiding this comment

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

right now we have only valid samples in the root samples directory. Would it work to put this in samples/errors?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had it there originally, but it was causing the tests to fail because it's technically valid as far as converge validate is concerned, it only fails during actual execution time. We could maybe create a third directory for runtime error examples (or perhaps demonstrating runtime error output is better reserved for documentation and not so much a sample)

Copy link
Contributor

Choose a reason for hiding this comment

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

I would think it would be good documentation… which we’re kind of
missing at the moment. So that’s an outstanding issue anyway!

On 18 Aug 2016, at 14:59, Rebecca Skinner wrote:

@@ -0,0 +1,8 @@
+param "filename" {

I had it there originally, but it was causing the tests to fail
because it's technically valid as far as converge validate is
concerned, it only fails during actual execution time. We could maybe
create a third directory for runtime error examples (or perhaps
demonstrating runtime error output is better reserved for
documentation and not so much a sample)

You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/asteris-llc/converge/pull/172/files/0d7a4948092ae6ecdcb33d2fc58f42bc76821381#r75378150

@BrianHicks
Copy link
Contributor

LGTM!

@BrianHicks BrianHicks merged commit b0e818a into master Aug 18, 2016
@BrianHicks BrianHicks deleted the feature/shell-refactor branch August 18, 2016 20:40
BrianHicks added a commit that referenced this pull request Dec 22, 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

Successfully merging this pull request may close these issues.

2 participants