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

What is downstream projects ? #38

Open
thibaultduponchelle opened this issue Jan 4, 2021 · 3 comments
Open

What is downstream projects ? #38

thibaultduponchelle opened this issue Jan 4, 2021 · 3 comments
Assignees

Comments

@thibaultduponchelle
Copy link
Contributor

No description provided.

@melezhik
Copy link
Owner

melezhik commented Jan 4, 2021

A downstream project is a one gets triggered after a "main" project is finished.

Say, I want to send some notifications after a main project is finished. Here is some hypothetical setup:

~/.sparky/projects/main/sparrowfile

bash "make && make install";

~/.sparky/projects/main/sparky.yaml

downstream: notify 

~/.sparky/projects/notify/sparrowfile

task-run "notify users", "irc-notify";

This allows more flexibility and simplicity in splitting projects by smaller chunks as well as reusing utility projects across many others.

Maybe https://github.com/melezhik/sparky#downstream-projects does not give a good example and we need to refine it ...

@melezhik melezhik self-assigned this Jan 4, 2021
@thibaultduponchelle
Copy link
Contributor Author

Cool, maybe it can solve #34

@melezhik
Copy link
Owner

melezhik commented Jan 4, 2021

I'll probably leave it for awhile and maybe close it as I've made docs improvements ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants