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

Make thema CLI dynamically support github.com/grafana/thema imports #64

Closed
sdboyer opened this issue Aug 15, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@sdboyer
Copy link
Contributor

sdboyer commented Aug 15, 2022

Currently, running thema outside of either the thema repo itself, or outside of a cue.mod module context that does not have the github.com/grafana/thema codebase within its cue.mod/pkg dir, will result in

Error: import failed: cannot find package "github.com/grafana/thema"

This is clearly a big problem, as it means the thema CLI only works when the user has already set up their fs "correctly"...in a way that is difficult to even explain how to do correctly.

@sdboyer sdboyer self-assigned this Aug 15, 2022
@sdboyer
Copy link
Contributor Author

sdboyer commented Nov 1, 2022

#79 was a dupe of this, but this is now fixed! 🎉

@sdboyer sdboyer closed this as completed Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant