-
Notifications
You must be signed in to change notification settings - Fork 106
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
add depends_on; fix execution_order_group 0. #320
Conversation
94fceef
to
504e932
Compare
Blocked by: #311 |
504e932
to
8a11f76
Compare
I just merged in #311, can you rebase please? That might fix the failing windows test. |
I reviewed the code, it looks good but I'll hold off on approving it until the tests pass. Also if you could update the readme to add the new flag that would be great. |
8a11f76
to
0a7ecad
Compare
@Almenon - Any idea why tests would be failing for Windows? |
Not sure. Based on the diff it looks like |
It's also weird because in your code I don't see anything specific to windows / linux 🤔 |
Here's a patch to get you started. diff --git a/cmd/generate.go b/cmd/generate.go
index f274f83..70b7532 100644
--- a/cmd/generate.go
+++ b/cmd/generate.go
@@ -828,7 +828,7 @@ func main(cmd *cobra.Command, args []string) error {
dependsOnList := []string{}
// choose order group based on dependencies
for _, dep := range project.Autoplan.WhenModified {
- depPath := filepath.Dir(filepath.Join(project.Dir, dep))
+ depPath := filepath.ToSlash(filepath.Dir(filepath.Join(project.Dir, dep)))
if depPath == project.Dir {
// skip dependency on oneself
continue A project's The tests |
Thanks @jon-walton ! |
Merged, but the release CI process for releasing a new build with this change is broken. Can you review #332 please? Hopefully that will fix it. |
v1.18.0 is out with this change now :) |
Pull Request
Related Github Issues
Description
Adds functionality for
depends_on
Fixes bug where the base execution_group (0) was not explicitly given.
Security Implications
System Availability