habitat icon indicating copy to clipboard operation
habitat copied to clipboard

Feature Request: config files configurable by Studio/notStudio context

Open smartb-pair opened this issue 6 years ago • 3 comments

For things like local Studio dev, it would be nice to have handlebars helpers that know if we are in a Studio or free-range Supervisor. Usage might look like:

  {{#if supervisor_context.ring ~}}
    {{#eachAlive bind.api.members as |member|}}
    server {{member.sys.ip}}:10000;
    {{/eachAlive}}
  {{/if ~}}
  {{#if supervisor_context.studio ~}}
  server 127.0.0.1:10000;
  {{/if ~}}

smartb-pair avatar Apr 27 '18 14:04 smartb-pair

Confirmed valid on v0.57, keeping open for discussion

baumanj avatar Jun 22 '18 14:06 baumanj

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

stale[bot] avatar Apr 03 '20 00:04 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

stale[bot] avatar Sep 20 '22 20:09 stale[bot]

This issue has been automatically closed after being stale for 400 days. We still value your input and contribution. Please re-open the issue if desired and leave a comment with details.

stale[bot] avatar May 21 '23 20:05 stale[bot]