GithubHelp home page GithubHelp logo

Comments (9)

containerman17 avatar containerman17 commented on September 17, 2024 1

Or even replace with go run, then no binary installation needed.

from hypersdk.

iFrostizz avatar iFrostizz commented on September 17, 2024

Possible leftover from #1443
Wondering if it could be related to this tag not being picked up >

export GOLANGCI_LINT_VERSION="v1.51.2"

from hypersdk.

containerman17 avatar containerman17 commented on September 17, 2024

I cleaned up the system and started from a fresh .devcontainer/default-go-env/devcontainer.json. Below are the logs:

TLDR: the same

from hypersdk.

containerman17 avatar containerman17 commented on September 17, 2024

vscode āžœ /workspaces/hypersdk/examples/morpheusvm (main) $ golangci-lint --version
golangci-lint has version 1.60.1 built with go1.23.0 from 3298c104 on 2024-08-14T01:15:05Z

Yes, you are right about the version

from hypersdk.

containerman17 avatar containerman17 commented on September 17, 2024

The issue is that install_if_not_exists doesn't check the version, and Microsoft ships golangci-lint v1.60.1 by default.

@iFrostizz, do you plan to upgrade the version in the next month or two? If not, I can add a post-install script to remove golangci-lint, or modify install_if_not_exists to check the version.

from hypersdk.

containerman17 avatar containerman17 commented on September 17, 2024

We could simplify by replacing install_if_not_exists with go install every time. Running go install on an already installed package takes just 0.7 to 1 second, but it ensures the correct version is always installed.

from hypersdk.

iFrostizz avatar iFrostizz commented on September 17, 2024

Good point, in this case if only 2 lints are left then maybe that could be best to replace install_if_not_exists by a hand-written installation of the specific version after having bumped the version ? It doesn't really seem a good idea to use different versions of the same binary across scripts

from hypersdk.

aaronbuchwald avatar aaronbuchwald commented on September 17, 2024

The same is true for all of the places where we are using install_if_not_exists no?

from hypersdk.

containerman17 avatar containerman17 commented on September 17, 2024

Yes, but everything else is working well so far. Iā€™d prefer to keep the changes minimal here.

from hypersdk.

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.