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

Add handlebar math operators #2223

Open
moretea opened this issue May 4, 2017 · 6 comments
Open

Add handlebar math operators #2223

moretea opened this issue May 4, 2017 · 6 comments
Labels
Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Focus :Templating Improvements or bugs related to templated content in the Supervisor Stale Type: Feature Issues that describe a new desired feature

Comments

@moretea
Copy link

moretea commented May 4, 2017

@IxDay opened the issue habitat-sh/core-plans#497, in which he describes two things that are needed to make zookeeper work.

One of them is that we need a "+" operator to construct the correct zookeeper id.

I believe that in general it would be useful to have several math operators, given that there is no other layer where logic can be run.

@smith
Copy link
Contributor

smith commented May 4, 2017

There's a ton of JavaScript helpers here that probably could be copied to the rust versions fairly easily.

I know I would like an equality helper, to compare two numbers as well.

We should be circumspect in how many of these we add though, as putting too many in at once might just make things harder.

@moretea
Copy link
Author

moretea commented May 9, 2017

See also #2223. Maybe we should open a tracking issue? There is a list of helpers in https://github.com/helpers/handlebars-helpers

@reset
Copy link
Collaborator

reset commented May 9, 2017

@moretea I think you wanted to link to another issue, that's the number of this one :). Did you mean #2281 by chance?

@mwrock mwrock added this to the Accepted Minor milestone May 9, 2017
@christophermaier christophermaier self-assigned this Jun 5, 2018
@christophermaier christophermaier removed their assignment Jun 7, 2018
@christophermaier christophermaier added the Focus :Templating Improvements or bugs related to templated content in the Supervisor label Nov 30, 2018
@stale
Copy link

stale bot commented Apr 3, 2020

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 stale bot added the Stale label Apr 3, 2020
@christophermaier christophermaier added Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Type: Feature Issues that describe a new desired feature and removed A-supervisor labels Jul 24, 2020
@stale stale bot removed the Stale label Jul 24, 2020
@stale
Copy link

stale bot commented Sep 20, 2022

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 stale bot added the Stale label Sep 20, 2022
@stale
Copy link

stale bot commented May 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Focus :Templating Improvements or bugs related to templated content in the Supervisor Stale Type: Feature Issues that describe a new desired feature
Projects
None yet
Development

No branches or pull requests

8 participants