Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 4,310 for mod$ (0.06 sec)

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

    # 'go list -mod=vendor -m' on a transitive dependency that does not
    # provide vendored packages should give a helpful error rather than
    # 'not a known dependency'.
    ! go list -mod=vendor -f '{{.Version}} {{.Dir}}' -m diamondright
    stderr 'go: module diamondright: can''t resolve module using the vendor directory\n\t\(Use -mod=mod or -mod=readonly to bypass.\)'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_retract_replace.txt

    ! stdout .
    go mod edit -replace example.com/retract@v1.0.0-good=example.com/retract@v1.0.0-bad
    go list -m -mod=mod -retracted -f '{{range .Retracted}}{{.}}{{end}}' example.com/retract
    stdout '^bad$'
    go list -m -mod=mod -retracted -f '{{with .Replace}}{{range .Retracted}}{{.}}{{end}}{{end}}' example.com/retract
    stdout '^bad$'
    
    -- go.mod --
    module m
    
    go 1.14
    
    require (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_convert_git.txt

    # We should not create a go.mod file unless the user ran 'go mod init' explicitly.
    # However, we should suggest 'go mod init' if we can find an alternate config file.
    cd $WORK/test/x
    ! go list .
    stderr 'found .git/config in .*[/\\]test'
    stderr '\s*cd \.\. && go mod init'
    
    # The command we suggested should succeed.
    cd ..
    go mod init
    go list -m all
    stdout '^m$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 13 20:43:12 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_patterns.txt

    # whose path is a prefix of the part of the pattern before "...".
    cp go.mod.orig go.mod
    go get rsc.io/quote/...
    grep 'require rsc.io/quote' go.mod
    
    cp go.mod.orig go.mod
    ! go get rsc.io/quote/x...
    stderr 'go: module rsc.io/quote@upgrade found \(v1.5.2\), but does not contain packages matching rsc.io/quote/x...'
    ! grep 'require rsc.io/quote' go.mod
    
    ! go get rsc.io/quote/x/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_all.txt

    go mod edit -go=1.17 a/go.mod
    go mod edit -go=1.17 b/go.mod
    go mod edit -go=1.17 c/go.mod
    go mod edit -go=1.17 d/go.mod
    go mod edit -go=1.17 q/go.mod
    go mod edit -go=1.17 r/go.mod
    go mod edit -go=1.17 s/go.mod
    go mod edit -go=1.17 t/go.mod
    go mod edit -go=1.17 u/go.mod
    go mod edit -go=1.17 w/go.mod
    go mod edit -go=1.17 x/go.mod
    go mod edit -go=1.17
    cmp go.mod go.mod.beforetidy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 18:41:57 UTC 2021
    - 13.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_downup_indirect.txt

    # If that downgrade selects b version 1, we will upgrade module c to version 2.
    
    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod.orig go.mod
    
    # Downgrading d to version 1 downgrades b, which upgrades c.
    go get example.com/d@v0.1.0
    go list -m all
    stdout '^example.com/b v0.1.0 '
    stdout '^example.com/c v0.2.0 '
    stdout '^example.com/d v0.1.0 '
    cmp go.mod go.mod.down1
    
    # Restoring c to version 1 upgrades d to meet c's requirements.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_cycle.txt

    # 'go mod tidy' produced different go.mod file from other
    # subcommands when certain kinds of cycles were present
    # in the build graph.
    
    env GO111MODULE=on
    
    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod go.mod.orig
    
    # If the go.mod file is already tidy, 'go mod graph' should not modify it.
    go mod graph
    cmp go.mod go.mod.orig
    
    -- go.mod --
    module root
    
    go 1.13
    
    replace (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 19 15:51:38 UTC 2019
    - 949 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/vcstest/git/vgotest1.txt

    cp stdout go.mod
    git add go.mod
    git commit -m 'bad mod path'
    
    at 2018-02-19T17:31:34-05:00
    mkdir v2
    echo 'module "github.com/vgotest1/v2"'
    cp stdout v2/go.mod
    git add v2/go.mod
    git commit -m 'add v2/go.mod'
    
    at 2018-02-19T17:32:37-05:00
    echo 'module "github.com/vgotest1/v2"'
    cp stdout go.mod
    git add go.mod
    git commit -m 'say v2 in root go.mod'
    
    git checkout --detach HEAD
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:36:24 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_issue47979.txt

    # root should be allowed, and should not panic the 'go' command.
    
    cp go.mod go.mod.orig
    
    
    # Transitive upgrades from upgraded roots should not prevent
    # 'go get -u' from performing upgrades.
    
    cp go.mod.orig go.mod
    go get -u .
    cmp go.mod go.mod.want
    
    
    # 'go get' of a specific version should allow upgrades of
    # every dependency (transitively) required by that version,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_indirect_tidy.txt

    # for indirect dependencies already implied by older-than-selected versions
    # already in the build list.
    
    cp go.mod.orig go.mod
    go mod tidy
    cmp go.mod go.mod.orig
    
    cp go.mod.orig go.mod
    go list -m all
    cmp go.mod go.mod.orig
    
    -- go.mod.orig --
    module main
    
    go 1.13
    
    require a v0.0.0
    
    replace (
    	a v0.0.0 => ./a
    	b v0.0.0 => ./b
    	i v0.0.0 => ./i
    	x v0.1.0 => ./x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 18 19:43:01 UTC 2019
    - 804 bytes
    - Viewed (0)
Back to top