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

CLI is not installable due to replace directives #197

Open
jamietanna opened this issue May 9, 2024 · 3 comments
Open

CLI is not installable due to replace directives #197

jamietanna opened this issue May 9, 2024 · 3 comments

Comments

@jamietanna
Copy link

Just an FYI that the recommended install route does not work:

% go install github.com/grafana/thema/cmd/thema@latest
go: downloading github.com/grafana/thema v0.0.0-20230926104747-067284b336bb
thema
go: github.com/grafana/thema/cmd/thema@latest (in github.com/grafana/thema@v0.0.0-20230926104747-067284b336bb):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

Related: https://www.jvt.me/posts/2023/09/20/go-mod-fork-gotcha/

This should be straightforward enough to fix by updating https://github.com/grafana/cue/blob/971951014e3ffb3787af98614f57977d2365f104/go.mod#L1 to be the new module import path (but may require code changes as we're no longer using the Cue imports)

@malcolmholmes
Copy link
Contributor

We are no longer actively using or maintaining Thema. If you need the change or rely on this repo, I'd suggest forking it and letting us know.

@jamietanna
Copy link
Author

Good to know, thank you!

(I came here via cue-lang/cue#929 (comment))

@verdverm
Copy link

verdverm commented May 9, 2024

@jamietanna If you are adventurous, I added some stuff to hof that forms the building block to implementing similar capabilities. Notably, the ability to checkpoint, diff, and produce the entire history of a data model as a json object. My plan is to build on top of this to generate the code that would implement the ideas here.

https://docs.hofstadter.io/getting-started/data-layer/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants