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

Better parameter substitution support #38

Open
darkvariantdivine opened this issue Nov 21, 2020 · 0 comments
Open

Better parameter substitution support #38

darkvariantdivine opened this issue Nov 21, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@darkvariantdivine
Copy link
Member

darkvariantdivine commented Nov 21, 2020

Presently, gameta supports the following methods of parameter substitution: parameter, constants and environment variables. This level of functionality is insufficient for more complex build chains which may require things like bash substitutions for parameters.

This feature proposes a unifying infrastructure based on regex that extracts, parses and outputs the intended parameter value. This infrastructure should support the following methods of substitution:

  1. repository parameter
  2. Gameta constants
  3. multiple bash commands
  4. or logic in substitutions

Parameter substitution should be parsed before command execution and apply to the following:

  1. Gameta repository parameters
  2. Gameta scripts
  3. Gameta constants
@darkvariantdivine darkvariantdivine added the enhancement New feature or request label Nov 21, 2020
@darkvariantdivine darkvariantdivine self-assigned this Nov 21, 2020
@darkvariantdivine darkvariantdivine added this to the 0.3.0 milestone Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant