Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 605 for vendor$ (0.22 sec)

  1. src/cmd/go/testdata/script/mod_getmode_vendor.txt

    env GO111MODULE=on
    
    go get rsc.io/quote@v1.5.1
    go mod vendor
    env GOPATH=$WORK/empty
    env GOPROXY=file:///nonexist
    
    go list -mod=vendor
    go list -mod=vendor -f '{{with .Module}}{{.Path}} {{.Version}}{{end}} {{.Dir}}' all
    stdout '^rsc.io/quote v1.5.1 .*vendor[\\/]rsc.io[\\/]quote$'
    stdout '^golang.org/x/text v0.0.0.* .*vendor[\\/]golang.org[\\/]x[\\/]text[\\/]language$'
    
    ! go list -mod=vendor -m rsc.io/quote@latest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_import_vendor.txt

    cp correct_modules.txt vendor/modules.txt
    go build ./vendor/foo.com/internal/bar/a
    
    # For go versions < 1.23, vendored packages that are missing in modules.txt should not result in an error.
    cp 122go.mod go.mod
    
    cp incorrect_modules.txt vendor/modules.txt
    
    # go version < 1.23 and incorrect_modules is missing foo.com/internal/bar/b so the build should not fail
    go build ./vendor/foo.com/internal/bar/a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_vendor_modules_txt_consistent.txt

    go work vendor
    cmp modules.txt.want vendor/modules.txt
    go list example.com/a example.com/b
    
    # Module required in go.mod but not marked explicit in modules.txt
    cp modules.txt.required_but_not_explicit vendor/modules.txt
    ! go list example.com/a example.com/b
    cmpenv stderr required_but_not_explicit_error.txt
    
    # Replacement in go.mod but no replacement in modules.txt
    cp modules.txt.missing_replacement vendor/modules.txt
    ! go list example.com/a example.com/b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/util/cdi/cdi.go

    	}
    	for _, c := range string(vendor[1 : len(vendor)-1]) {
    		switch {
    		case isAlphaNumeric(c):
    		case c == '_' || c == '-' || c == '.':
    		default:
    			return fmt.Errorf("invalid character '%c' in vendor name %q",
    				c, vendor)
    		}
    	}
    	if !isAlphaNumeric(rune(vendor[len(vendor)-1])) {
    		return fmt.Errorf("invalid vendor %q, should end with a letter or digit", vendor)
    	}
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 09:48:24 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/vendor_complex.txt

    -- complex/nest/sub/test12/p.go --
    package test12
    
    // Check that vendor/v1 is used but vendor/v2 is NOT used (sub/vendor/v2 wins).
    
    import (
    	"v1"
    	"v2"
    )
    
    const x = v1.ComplexNestVendorV1
    const y = v2.ComplexNestSubVendorV2
    
    -- complex/nest/sub/test23/p.go --
    package test23
    
    // Check that vendor/v3 is used but vendor/v2 is NOT used (sub/vendor/v2 wins).
    
    import (
    	"v2"
    	"v3"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 14:52:30 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_vendor_gomod.txt

    # https://golang.org/issue/42970: As of Go 1.17, go.mod and go.sum files should
    # be stripped from vendored dependencies.
    
    go mod vendor
    cd vendor/example.net/x
    go list all
    ! stdout '^example.net/m'
    stdout '^example.net/x$'
    exists ./go.sum
    
    cd ../../..
    go mod edit -go=1.17
    go mod vendor
    cd vendor/example.net/x
    go list all
    stdout '^example.net/m$'
    stdout '^example.net/x$'
    ! exists ./go.sum
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 30 18:14:18 UTC 2021
    - 633 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_list_std.txt

    # rules).
    
    cd $GOROOT/src
    env GOWORK=off
    
    go list std
    stdout ^vendor/golang.org/x/net/http2/hpack
    ! stdout ^golang\.org/x
    
    # The dependencies of packages with an explicit 'vendor/' prefix should
    # still themselves resolve to vendored packages.
    go list -deps vendor/golang.org/x/crypto/chacha20
    stdout ^vendor/golang.org/x/crypto/internal/alias
    ! stdout ^golang\.org/x
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 18:50:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_dot.txt

    stderr '^no Go files in '$WORK'[/\\]gopath[/\\]src[/\\]dir[/\\]vendor[/\\]nonexist$'
    
    ! go list -mod=vendor ./vendor/unlisted
    stderr '^directory '$WORK'[/\\]gopath[/\\]src[/\\]dir[/\\]vendor[/\\]unlisted is not a package listed in vendor/modules.txt$'
    
    go list -mod=vendor ./vendor/pkg
    stdout '^pkg$'
    
    # Packages within GOROOT should resolve as in any other module,
    # except that -mod=vendor is implied by default.
    cd $GOROOT/src
    ! go list .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 22:30:03 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_vendor_replace.txt

    env GO111MODULE=on
    
    # Replacement should not use a vendor directory as the target.
    ! go mod vendor
    stderr 'replacement path ./vendor/not-rsc.io/quote/v3 inside vendor directory'
    
    cp go.mod1 go.mod
    rm -r vendor
    
    # Before vendoring, we expect to see the original directory.
    go list -f '{{with .Module}}{{.Version}}{{end}} {{.Dir}}' rsc.io/quote/v3
    stdout 'v3.0.0'
    stdout '.*[/\\]not-rsc.io[/\\]quote[/\\]v3'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 19:40:02 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_patterns_vendor.txt

    env GO111MODULE=on
    
    go list -mod=vendor example.com/...
    stdout ^example.com/x$
    stdout ^example.com/x/y$
    ! stdout ^example.com/x/vendor
    
    -- go.mod --
    module example.com/m
    
    -- vendor/modules.txt --
    # example.com/x v0.0.0
    example.com/x
    # example.com/x/y v0.1.0
    example.com/x/y
    
    -- vendor/example.com/x/go.mod --
    module example.com/x
    -- vendor/example.com/x/x.go --
    package x
    
    -- vendor/example.com/x/y/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 18:37:41 UTC 2019
    - 528 bytes
    - Viewed (0)
Back to top