GithubHelp home page GithubHelp logo

Comments (6)

BrunoTeixeira1996 avatar BrunoTeixeira1996 commented on June 12, 2024 1

@Syphdias Yep I know that. The get --update_all should update localy and then I do gok -i <instance> update but the version is still outdated.
Btw, doing get --update_all should already tell me I have an outdated version of gokrazy and it does not show me that.

from gokrazy.

Syphdias avatar Syphdias commented on June 12, 2024

I believe this only updates the local configuration not the device itself. What you want to do after you updated the packages, is to run gok -i <instance> update to update your device.

This is why the documentations says:

For example, I use the following Makefile. I run make get && make update from cron every day.

from gokrazy.

stapelberg avatar stapelberg commented on June 12, 2024

This should be fixed with gokrazy/tools@c5e8689

(There was a mismatch for the init process where it used builddir/init instead of builddir/github.com/gokrazy/gokrazy as expected.)

from gokrazy.

BrunoTeixeira1996 avatar BrunoTeixeira1996 commented on June 12, 2024

@stapelberg after updating gok with the latest version and then doing gok get --update_all I still don't get the update

gok version

gok  v0.0.0-20230728064552-c5e8689f03bd      up-to-date

version of gokrazy after update

brun0@tb:~/gokrazy/brun0-pi/builddir/github.com/gokrazy/gokrazy
$ cat go.mod
module gokrazy/build/brun0-pi

go 1.19

require (
        github.com/gokrazy/gokrazy v0.0.0-20230723153554-331c98011aad // indirect
        github.com/gokrazy/internal v0.0.0-20220129150711-9ed298107648 // indirect
        github.com/google/renameio/v2 v2.0.0 // indirect
        github.com/kenshaw/evdev v0.1.0 // indirect
        github.com/mdlayher/watchdog v0.0.0-20201005150459-8bdc4f41966b // indirect
        golang.org/x/sys v0.5.0 // indirect
)

But going into /gokrazy/brun0-pi/builddir/init I can see a different version

$ cat go.mod 
module gokrazy/build/brun0-pi

go 1.20

require github.com/gokrazy/gokrazy v0.0.0-20230701125004-edba3d33ffa9 // indirect

What should I do in this situation? Can I hardcoded this version on the go.mod file present in /gokrazy/brun0-pi/builddir/github.com/gokrazy/gokrazy ?

from gokrazy.

stapelberg avatar stapelberg commented on June 12, 2024

github.com/gokrazy/gokrazy v0.0.0-20230723153554-331c98011aad

This already is the latest version, there is nothing newer.

Just do a gok update and it should pick up builddir/github.com/gokrazy/gokrazy to build the init program.

from gokrazy.

BrunoTeixeira1996 avatar BrunoTeixeira1996 commented on June 12, 2024

@stapelberg I can confirm this fixed!
Thanks

from gokrazy.

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.