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

New release? #70

Open
LorisFriedel opened this issue Dec 9, 2021 · 13 comments
Open

New release? #70

LorisFriedel opened this issue Dec 9, 2021 · 13 comments
Milestone

Comments

@LorisFriedel
Copy link

Hello!

I wonder when we could expect a new Jrsonnet release?

@CertainLach
Copy link
Owner

There is new prerelease available on gcmodule branch and here: https://github.com/CertainLach/jrsonnet/releases/tag/v0.5.0-gcmodule-test

It can't be uploaded to crates.io now, because it depends on git dependencies (forks of serde-json and gcmodule), i will publish forked packages to crates.io soon

@LorisFriedel
Copy link
Author

There is new prerelease available on gcmodule branch and here: https://github.com/CertainLach/jrsonnet/releases/tag/v0.5.0-gcmodule-test

It can't be uploaded to crates.io now, because it depends on git dependencies (forks of serde-json and gcmodule), i will publish forked packages to crates.io soon

Amazing! Thank you :)

@JarvisCraft
Copy link
Collaborator

To be more exact, here are the PRs which include the changes currently needed by jrsonnet:

serde-yaml
gcmodule

@JarvisCraft JarvisCraft added this to the v0.5.0 milestone Dec 10, 2021
@LorisFriedel
Copy link
Author

Hello! Following-up this "new release" thread, I was wondering is there is any updates on a potential new release, this implementation of Jsonnet is such a gift for heavy usage it would be awesome to get the latest features and functions from the official implem 🤩

Thanks!

@Timmmm
Copy link

Timmmm commented Dec 14, 2023

I checked those PRs listed above btw:

  1. Yaml 1.1 octal thing was closed and not merged, but dtonlay suggested a workaround that doesn't require it. I don't understand why this project depends on YAML in the first place tbh.
  2. Not sure about this.
  3. This is just an optimisation. Shouldn't block a new release I think?

@aslafy-z
Copy link

I built and made available some binaries for the latest commit at https://github.com/aslafy-z/jrsonnet-unstable-builds

@ben-manes
Copy link

I tried to use brew install jrsonnet --HEAD and it almost worked. The latest commit was pulled, but it failed

brew install jrsonnet --HEAD
==> Fetching jrsonnet
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/8c472583006bc33bedd5c0a42093b44d35429688/Formula/j/jrsonnet.rb
Already downloaded: /Users/ben/Library/Caches/Homebrew/downloads/18b5d9a5f9a32f9d50be9debccb2de3f8e884e6169954cfd23685a3e891a6958--jrsonnet.rb
==> Cloning https://github.com/CertainLach/jrsonnet.git
Updating /Users/ben/Library/Caches/Homebrew/jrsonnet--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 0e1ae58 fix: update hi-doc
==> cargo install --path=cmds/jrsonnet
error: unexpected argument '--generate' found

  tip: to pass '--generate' as a value, use '-- --generate'

Usage: jrsonnet <--exec|INPUT>

For more information, try '--help'.
Error: Failure while executing; `\{\"SHELL\"=\>\"bash\"\} /opt/homebrew/Cellar/jrsonnet/HEAD-0e1ae58/bin/jrsonnet - --generate bash` exited with 2. Here's the output:

@CertainLach
Copy link
Owner

It is now jrsonnet generate <shell> instead of jrsonnet - --generate <shell>

@ben-manes
Copy link

ben-manes commented Apr 8, 2024

whoever owns the homebrew install then needs to change it slightly,

  def install
    system "cargo", "install", *std_cargo_args(path: "cmds/jrsonnet")
    generate_completions_from_executable(bin/"jrsonnet", "-", "--generate")
  end

formula

@ben-manes
Copy link

asked the maintainers in homebrew on their last merge before digging into their issue/pr process.

@ben-manes
Copy link

brew install jrsonnet --HEAD --verbose --debug

This works with ignore,

error: unexpected argument '--generate' found

  tip: to pass '--generate' as a value, use '-- --generate'

Usage: jrsonnet <--exec|INPUT>

For more information, try '--help'.
/opt/homebrew/Library/Homebrew/ignorable.rb:29:in `block in raise'
ErrorDuringExecution: Failure while executing; `\{\"SHELL\"=\>\"bash\"\} /opt/homebrew/Cellar/jrsonnet/HEAD-0e1ae58/bin/jrsonnet - --generate bash` exited with 2. Here's the output:
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 2
jrsonnet --version
jrsonnet 0.5.0-pre96

@Duologic
Copy link

Duologic commented Aug 3, 2024

👋 The last preview version on the release page has an issue with std.prune (some error about preserve_order) that is fixed on master, any plans on releasing v0.5.0 for real 😉 ?

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

7 participants