Giter Site home page Giter Site logo

Comments (5)

TomWright avatar TomWright commented on May 25, 2024 1

Very sorry about that, I'll jump right on it.

from dasel.

TomWright avatar TomWright commented on May 25, 2024 1

I've tested dasel_windows_386.exe on my 64bit windows 10 machine and it works as expected.

The only difference I can see is that it will have built using go v1.22 instead of v1.21. From a quick google search it looks as though this is not in-fact a bug with dasel, rather the go team have dropped support for Windows 7 in newer versions of go:

While I would love to facilitate as many users as possible, locking dasel to an old version of the language feels like a bit of a stretch to me.

While it's unfortunate you cannot execute the binary itself, I believe the following are your options:

  1. Stay on v2.5.0. Assuming you don't need any of the new features/bug fixes then any current scripts/workflows you have should continue to work.
  2. Use dasel via docker. You can always use the latest version of dasel without worrying about compatibility with older versions of Windows.
  3. Build dasel yourself with an older version of go. I expect you'd need at least v1.21, but if that doesn't work it sounds like v1.20 will.

Here's a simple example of running the latest version of dasel with Docker:

$ echo '{"foo":"bar"}' | docker run -i --rm ghcr.io/tomwright/dasel:2.6.0 -r json 'foo'
"bar"

If you have any questions or doubts please let me know.

from dasel.

TomWright avatar TomWright commented on May 25, 2024 1

As announced in the Go 1.20 release notes, Go 1.21 requires at least Windows 10 or Windows Server 2016; support for previous versions has been discontinued.
https://tip.golang.org/doc/go1.21

from dasel.

hellishvictor avatar hellishvictor commented on May 25, 2024

And the thing is that two days ago I downloaded go v1.22 and goreleaser for compile (by very first time) a go program, "micro". Now already got the 1.20.14.
I'll try to compile it, but I must admit that v2.5.0 works like a charm. Definitely, you've created an amazing tool, man.
I haven't got into docks yet, but it's mentioned everywhere, so when I got time I'll give it a try.
Thank you very much!

from dasel.

TomWright avatar TomWright commented on May 25, 2024

@hellishvictor if you need help compiling newer dasel versions on older versions of go let me know and I can put something together 👍

from dasel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.