GithubHelp home page GithubHelp logo

Comments (8)

t1mt avatar t1mt commented on May 20, 2024

Following this page (https://github.com/golang/go/wiki/Modules#faqs--multi-module-repositories) descirption.

I push a new tag pkg/util/log/glog/v0.0.0 to work around github.com/golang/[email protected] unknow revision.

// go.mod
module github.com/t1mt/test
  
go 1.13

require tkestack.io/tke v1.0.1

replace tkestack.io/tke v1.0.1 => github.com/t1mt/tke v1.0.1

replace github.com/golang/glog v0.0.0 => github.com/t1mt/tke/pkg/util/log/glog v0.0.0

But, I got another one

go: tkestack.io/[email protected] requires
        k8s.io/[email protected]: reading k8s.io/api/go.mod at revision v0.0.0: unknown revision v0.0.0

from tke.

t1mt avatar t1mt commented on May 20, 2024

I set GOPRIVATE env , but doesn't work.

// go.mod

module github.com/t1mt/test
  
go 1.13

require tkestack.io/tke v1.0.1

replace tkestack.io/tke v1.0.1 => github.com/t1mt/tke v1.0.1
                                                      

image

from tke.

choujimmy avatar choujimmy commented on May 20, 2024

Let me sort out the reference method of the dependency, minimize the use of replace, and facilitate the reference of TKE as a module.

from tke.

choujimmy avatar choujimmy commented on May 20, 2024

I set GOPRIVATE env , but doesn't work.

// go.mod

module github.com/t1mt/test
  
go 1.13

require tkestack.io/tke v1.0.1

replace tkestack.io/tke v1.0.1 => github.com/t1mt/tke v1.0.1
                                                      

image

Yes, my last answer was wrong, so I have deleted

from tke.

John-Lin avatar John-Lin commented on May 20, 2024

Thanks, when will it be ready?

from tke.

choujimmy avatar choujimmy commented on May 20, 2024

It's ok, but you need add replace to your project:

replace (
	// wait https://github.com/chartmuseum/storage/pull/34 to be merged
	github.com/chartmuseum/storage => github.com/choujimmy/storage v0.5.1-0.20191225102245-210f7683d0a6
	github.com/deislabs/oras => github.com/deislabs/oras v0.8.0
	// wait https://github.com/dexidp/dex/pull/1607 to be merged
	github.com/dexidp/dex => github.com/choujimmy/dex v0.0.0-20191225100859-b1cb4b898bb7
	k8s.io/client-go => k8s.io/client-go v0.17.0
)

In kubernetes 1.17.0 and above, the git.etcd.io/etcd package has been referenced by default. If dex/chartmuseum and kubernetes are referenced in the same project, it will cause etcd's authpb to be registered repeatedly and panic will occur.

from tke.

John-Lin avatar John-Lin commented on May 20, 2024

Seems not working @choujimmy
Screen Shot 2019-12-25 at 9 03 04 PM

the fatal error is glog referenceed unknown version

github.com/golang/[email protected]: reading github.com/golang/glog/go.mod at revision v0.0.0: unknown revision v0.0.0

go.mod has updated like yours

module github.com/John-Lin/client

go 1.13

replace (
        // wait https://github.com/chartmuseum/storage/pull/34 to be merged
        github.com/chartmuseum/storage => github.com/choujimmy/storage v0.5.1-0.20191225102245-210f7683d0a6
        github.com/deislabs/oras => github.com/deislabs/oras v0.8.0
        // wait https://github.com/dexidp/dex/pull/1607 to be merged
        github.com/dexidp/dex => github.com/choujimmy/dex v0.0.0-20191225100859-b1cb4b898bb7
        k8s.io/client-go => k8s.io/client-go v0.17.0
        tkestack.io/tke => github.com/tkestack/tke v1.0.1
)

require tkestack.io/tke v1.0.1

from tke.

John-Lin avatar John-Lin commented on May 20, 2024

it looks like next release will fixed

from tke.

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.