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

please add cue as a native format #1601

Closed
kghenderson opened this issue Jan 13, 2023 · 13 comments · Fixed by #1781
Closed

please add cue as a native format #1601

kghenderson opened this issue Jan 13, 2023 · 13 comments · Fixed by #1781
Assignees
Milestone

Comments

@kghenderson
Copy link

CUE is an intelligent configuration language and is a Go package.
We have many CUE files which are very clean and simple to manage, as well as some gomplate templates.
It would be really great if we could import these files directly without needing a cue to json pre-processing step.
thank you for considering.

@hairyhenderson
Copy link
Owner

Hey @kghenderson, thanks for filing this!

I'm totally on board with CUE support.

@kghenderson
Copy link
Author

nice! you know I got free tickets to see harry & the henderson's movie when I was a little kid. I think they knew that if I was going to be tormented at school for it, I might as well get to see it for free 🤷

@hairyhenderson
Copy link
Owner

😂

@kghenderson
Copy link
Author

haha, yeah, good times :-)

fyi, i also created a companion issue over here:
cue-lang/cue#2212

@github-actions
Copy link

github-actions bot commented Apr 3, 2023

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment or this will be automatically closed in a few days.

@github-actions github-actions bot added the Stale label Apr 3, 2023
@hairyhenderson
Copy link
Owner

I'm guessing this is still desired? I don't have any objection, but I don't personally have time to do this any time soon.

@kghenderson
Copy link
Author

yes, it's still desired, no worries about the time - i can try this myself at some point but don't have time now either :-/

@github-actions
Copy link

This issue is stale because it has been open for 60 days with no
activity. If it is no longer relevant or necessary, please close it.
Given no action, it will be closed in 14 days.

If it's still relevant, one of the following will remove the stale
marking:

  • A maintainer can add this issue to a milestone to indicate that
    it's been accepted and will be worked on
  • A maintainer can remove the stale label
  • Anyone can post an update or other comment

@github-actions github-actions bot added the Stale label Jun 27, 2023
@kghenderson
Copy link
Author

bump to keep alive, still an avid gomplate user :-)

@github-actions github-actions bot removed the Stale label Jul 1, 2023
@hairyhenderson
Copy link
Owner

@kghenderson I see the cue-lang/cue#2212 issue - does that need to exist? I'm not sure how it's relevant to the CUE-lang project itself...

@hairyhenderson
Copy link
Owner

Oh, also - @kghenderson would you be able to share some examples (anonymized if you need) of your current workflow? Specifically I'm interested in what you're doing now as your cue-to-json preprocessing step.

@hairyhenderson hairyhenderson self-assigned this Jul 2, 2023
@adriens
Copy link
Contributor

adriens commented Jul 2, 2023

I had never heard about cue but I'm also very interested in this tool. As we use gomplate I think this could be add significant benefits to our toolchain 🤔 🤩

@hairyhenderson
Copy link
Owner

I've been toying around with what CUE support could look like in #1781. There are a few things that CUE supports that might be a bit challenging to implement (most notably the ability to import from other files), but otherwise it's relatively straightforward.

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

Successfully merging a pull request may close this issue.

3 participants