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

Support YAML Merge Key #130

Merged
merged 1 commit into from
May 5, 2024
Merged

Conversation

agirorn
Copy link
Contributor

@agirorn agirorn commented May 3, 2024

Allow users to use the YAML merge key to reuse and simplify their mprocs.yaml setup.

x-defaults: &defaults
  autostart: false
  stop: "SIGINT"

procs:
  date:
    <<: *defaults
    shell: date

  year:
    <<: *defaults
    shell: date +"%Y"

Allow users to use YAML merge key to reuse and simplify there
mprocs.yaml setup.

```yaml
x-defaults: &defaults
  autostart: false
  stop: "SIGINT"

procs:
  date:
    <<: *defaults
    shell: date

  year:
    <<: *defaults
    shell: date +"%Y"
```
@pvolok pvolok merged commit 3389e1c into pvolok:master May 5, 2024
@pvolok
Copy link
Owner

pvolok commented May 5, 2024

Thanks! I didn't even know about this feature.

@agirorn
Copy link
Contributor Author

agirorn commented May 6, 2024

@pvolok, is there a release schedule for mprocs?

I'm just wondering when I should expect this to be part of the official release of mprocs and when I can expect to be able to install mprocs with this feature from homebrew.

@pvolok
Copy link
Owner

pvolok commented May 6, 2024

@agirorn I created issue #131 for tracking the next release. There are some changes that need to be cleaned up before the release. My best guess is about one month.

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