Conversation
Hofer-Julian
left a comment
There was a problem hiding this comment.
Had a quick glance at the tests and left a few comments. Will try the code changes tomorrow. Would be good to solve the merge conflicts until then. Not sure what's up with the trampoline, but, I think you can just throw away your trampoline changes and take the ones from main
Hofer-Julian
left a comment
There was a problem hiding this comment.
Had another quick look and added a few nitpicks
9117731 to
4b4cc0f
Compare
0fcdff7 to
07767f2
Compare
|
@prsabahrami I force pushed to your branch to get rid of the unnecessary trampoline changes |
|
Things to do before we can merge this:
|
chore: raise an error if a there is an argument with no default after one with a default chore: add support for running tasks with arguments passed via cli chore: add support for running tasks with arguments passed via depends fix: the serialization of dependencies as tables in tasks Update crates/pixi_manifest/src/task.rs Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> chore: remove unused struct `DisplayDependency` chore: change to a struct fix: use library and a dictionary to create the task argument tests chore: remove extra method from Dependency chore: add pre-commit-minimal back (#3449) refactor: rename variables for clarity in task argument tests fix: add the trampoline binary back update trampoline binaries [CI]: Update trampoline binaries for all targets Remove unneeded implementation Update src/task/task_graph.rs Co-authored-by: Tim de Jager <tim@prefix.dev>
46aac97 to
b4ad922
Compare
|
Hey @prsabahrami, already great work! I'm finding some UX things that I would like to improve:
|
|
Could you add an example that uses this feature to the |
|
@Hofer-Julian ready for your review! |
Hofer-Julian
left a comment
There was a problem hiding this comment.
A few comments to improve the docs
|
One other thing, I remember: you added the logic to deal with this case, right? A depends on B and D Do we have tests for that? |
Hofer-Julian
left a comment
There was a problem hiding this comment.
A few code comments
Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com>
Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com>
Hofer-Julian
left a comment
There was a problem hiding this comment.
Awesome work @prsabahrami 🚀
I tweaked docs and error messages a bit. Let's bring it in!
|
Are A quick look through the code suggests no... will make a separate issue. |
Yeah, please do so, we are open to adding argument expansion to other fields where it makes sense |





Adds support for arguments passed into the task commands