Git Product home page Git Product logo

Comments (9)

jian-he avatar jian-he commented on May 20, 2024

I tried to fix the format and run the "make manager" command, in fact, it will reset to current format.
is this because of some kind of format setting ?

from kruise.

FillZpp avatar FillZpp commented on May 20, 2024

I tried to run the command, nothing changed.

$ make manager
go generate ./pkg/... ./cmd/...
go fmt ./pkg/... ./cmd/...
go vet ./pkg/... ./cmd/...
go build -o bin/manager github.com/openkruise/kruise/cmd/manager
$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

from kruise.

xiang90 avatar xiang90 commented on May 20, 2024

what is the go version on your machines? @allencloud @FillZpp

from kruise.

FillZpp avatar FillZpp commented on May 20, 2024

Go version on my machine go version go1.11.6 darwin/amd64.
Is your go version up to 1.12+ ? @allencloud

from kruise.

allencloud avatar allencloud commented on May 20, 2024
kruise (master) $ go version
go version go1.10.4 darwin/amd64
kruise (master) $

I am afraid it is only 1.10.4. Do we need a restriction that upgrade golang version to the 1.12+.
@xiang90 @FillZpp

from kruise.

xiang90 avatar xiang90 commented on May 20, 2024

can we add a go version check in the make script? @jian-he @FillZpp @allencloud

from kruise.

jian-he avatar jian-he commented on May 20, 2024

we could add a warning in the script.
failing it would hurt user experience, IMO.
And this looks to be a common problem for all Golang projects

from kruise.

FillZpp avatar FillZpp commented on May 20, 2024

Common users will not use make, they should install kruise using helm install or kubectl apply.
I think it is ok to return a failure of go-version check to kruise developers.

from kruise.

FillZpp avatar FillZpp commented on May 20, 2024

@xiang90 @jian-he @allencloud Add a go version check #54

from kruise.

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.