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

[gen-readme] For generated readme scripts, replace absolute paths #1949

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

mikeland73
Copy link
Contributor

Summary

Plugins v2 allow scripts that may have Virtenv or DevboxDir in them. This causes the commands to show up as absolute paths in the readme. This fixes that issue.

An alternative is to read the raw scripts from the plugin (including the un-templatized string). This may be a better solution long term, but is more work and would require specially plugin parsing only for the readme generation so I punted on that approach for now.

How was it tested?

Tested with new go monorepo plugin jetify-com/devbox-plugins#7

@mikeland73 mikeland73 requested review from gcurtis and savil April 1, 2024 22:16
@mikeland73 mikeland73 merged commit 8563195 into main Apr 2, 2024
24 checks passed
@mikeland73 mikeland73 deleted the landau/fix-absolute-paths branch April 2, 2024 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants