Replies: 7 comments 11 replies
-
The tasks themselves wouldn't be configured in |
Beta Was this translation helpful? Give feedback.
-
So this means that workspace.yml will get an config Item as vector of strings Do you have already a naming proposal for this config Item? |
Beta Was this translation helpful? Give feedback.
-
We have several use cases for working with this:- 1. Hashicorp Vault Authentication The workspace shall login into Vault and will derive a token which the sub-projects can use for receiving secrets 2. Conan config install When using conan as dependency manager for the projects a common config shall be installed and configured on workspace level. 3. Some "preparation" steps shall be executed which will validate the correct environment for the user For example, has the git config the correct email format and so on ... 4. proto use shall be called to get the tools Remark: One big issue we are facing currently is the the A goal from my thinking is that the
Another approach would be that the proto toolchain feature will be implemented for
What is complicated at this stage is that all 3 tools can be deployed and distributed via Conclusion: Guess the main message would be, how can we produce a dotenv before the project tasks will be evaluated? |
Beta Was this translation helpful? Give feedback.
-
Hey @milesj I will take care about this uv package manager in python, no problem. But one wish before implementing this: Can you agree that the toolchain plugins will be than in the release 1.33 (For example) You have said in other discussions that the toolchain plugin stuff is very hard coded at the moment. The reason why I want to combine uv and toolchain plugins is the fact that many of our internal projects would increase the user experience if some common tasks are covered into the toolchain plugin. What do you think about this strategy? |
Beta Was this translation helpful? Give feedback.
-
I've been thinking about setup tasks a bit more, and I don't think we can actually use moon tasks for this. Reasons: 1 - We can't run setup tasks from the With that said, isntead of moon tasks, we could just run arbitrary commands? Like so: setupCommands:
- 'git do --something'
- './setup-script.sh' This would avoid the issues above, but is kind of gross, and we lose all the infrastructure that currently exists around tasks (like caching). And lastly, if you have tasks that you want to run before all tasks, you can do that now with |
Beta Was this translation helpful? Give feedback.
-
What is your aim with a daemon system? Would it be the same like the bazel remote execution service? |
Beta Was this translation helpful? Give feedback.
-
Maybe I can explain my current challenges which I have to solve (somehow) Use Case: We are working in the software department with conan for C development. There are 3 essential commands:
Essential on this is the fact the So here a very naive thinking would be that the dotenv from conan can be referenced as But this can't work at the moment, because the What I have now in mind as solution(s):- 1.) Create a own language, like the Python one, so that This is also the reason why I think that the toolchain plugin topic is so important, because than we would not have to modify the 2.) Setup tasks Maybe you have, as always, an excellent idea how to coop this challenge. |
Beta Was this translation helpful? Give feedback.
-
I want to start looking into the Setup tasks that run when setting up the workspace from the Roadmap.
My idea would be to implement the "tasks" into the workspace.yml file.
With this the end user would have the full flexibility, which they have also inside a project.
@milesj , is it okay to start at this point?
Or do you have an other point of view at this topic?
Beta Was this translation helpful? Give feedback.
All reactions