swift-garage-61180
10/30/2023, 10:20 AMreexamine-post-0.13
GitHub issues to be triaged. 🧵generateFiles
used to (which is more flexible and doesn't have the issues/limitations of generateFiles
).
* Once the guide has been updated, close all generateFiles
-related issues, and reference the guide in the closing comment. The angle there being: "If you're having problems with generateFiles
, please follow the Config Templates guide to update your config templates to generate actions instead".generateFiles
-like things.
We do already provide the following paths:
* `local.projectPath`: The absolute path to the project root directory.
* actions.<kind>.<name>.sourcePath
and buildPath
, the local path to the action source and build directories (see ActionReferenceContext
).
The path being requested in the issue is essentially just the relative path from the project path to the action source path, so doing that calculation in whatever script is being wrapped in a generateFiles
-like Build action should be simple.
That said, it would be nice to add relativeSourcePath
and relativeBuildPath
to ActionReferenceContext
for convenience's sake. It would be a very simple addition (both to implement and to unit-test).
[Setting dev mode up to sync a non-existent local directory fails silently](https://github.com/garden-io/garden/issues/2702)
I think this should no longer fail silently, at any rate, since as of 0.13 we now log sync problems pretty clearly. So I think we should close this one.
[cleanupCommand script fails in exec module fails](https://github.com/garden-io/garden/issues/2458)
I'm not 100% sure what's going on here, but I definitely think it's worth a closer look. I suggest we do a preliminary investigation to figure out what the root cause is here and whether it's a quick fix, or whether addressing this would require (potentially scary) changes to the build sync flow.freezing-pharmacist-34446
10/30/2023, 12:12 PMswift-garage-61180
10/30/2023, 1:48 PMcurved-intern-91221
10/30/2023, 3:30 PMastonishing-tomato-18259
10/30/2023, 3:33 PMcurved-intern-91221
10/30/2023, 3:37 PMastonishing-tomato-18259
10/30/2023, 3:38 PM