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

feature: triggers #108

Closed
majidaldo opened this issue Jul 12, 2020 · 5 comments
Closed

feature: triggers #108

majidaldo opened this issue Jul 12, 2020 · 5 comments

Comments

@majidaldo
Copy link
Contributor

Add triggers section to execute arbitrary code.
Use case: To trigger setup codes.

I saw some of the issues in #84 . I really like the limited scope of conda-devenv. At the same time, I want to be able to 'build'/setup a project made of many devenvs with dependencies between them without having to go full on conda build.

The includes already track dependencies, so it would be nice to make use of them to automate setups.

@prusse-martin
Copy link
Member

prusse-martin commented Jul 13, 2020

We have written tool called deps.
I know the documentation is a bit lacking sorry.
It is available in conda forge: conda install -c conda-forge deps
Check deps --help maybe it can help you.
We use it along side invoke to implement the code to be executed.
Let us know if that helps or you really need this built in conda-devenv.

@majidaldo
Copy link
Contributor Author

majidaldo commented Jul 14, 2020

We have written tool called deps.
I know the documentation is a bit lacking sorry.
It is available in conda forge: conda install -c conda-forge deps
Check deps --help maybe it can help you.
We use it along side invoke to implement the code to be executed.
Let us know if that helps or you really need this built in conda-devenv.

exactly what i did!!
thanks but ya i need docs. i think it makes sense to merge the two functionalities. my solution is hacky (just want it to work) but i learned a few things that could help build an implementation.

@majidaldo
Copy link
Contributor Author

on that note, sometimes i wonder if this a job for make.

@nicoddemus
Copy link
Member

Thanks @majidaldo for the suggestion.

But we really do believe the best approach is to document deps for now, because it is a more focused tool and it is simple anyway for the user to use, just:

conda install deps conda-devenv

I've created ESSS/deps#12 for us to improve the documentation at some point.

Thanks again!

@prusse-martin
Copy link
Member

@majidaldo

I know this is not a full fledged documentation but I add the contents of deps --help to the deps readme.
https://github.com/ESSS/deps/blob/master/README.md

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

No branches or pull requests

3 participants