Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 246 for retractions (0.18 sec)

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

    stdout '^\[inner comment\]$'
    
    
    # When a version is covered by multiple retractions, all retractions should
    # be reported in the order they appear in the file.
    go list -m -retracted -f '{{range .Retracted}}{{.}},{{end}}' example.com/retract/rationale@v1.0.0-order
    stdout '^degenerate range,single version,$'
    go list -m -retracted -f '{{range .Retracted}}{{.}},{{end}}' example.com/retract/rationale@v1.0.1-order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_retract_rename.txt

    # Populate go.sum.
    go get
    
    # 'go list -m -retracted' should load retractions, even if the version
    # containing retractions has a different module path.
    go list -m -retracted -f '{{with .Retracted}}retracted{{end}}' example.com/retract/rename
    
    # 'go list -m -u' should load retractions, too.
    go list -m -u -f '{{with .Retracted}}retracted{{end}}' example.com/retract/rename
    
    # 'go get' should warn about the retracted version.
    go get
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 863 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/mod/example.com_retract_missingmod_v1.9.0.txt

    The go.mod file at this version will be loaded to check for retractions
    of earlier versions. However, the .mod file is not available.
    -- .info --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 26 21:17:01 UTC 2020
    - 167 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_list_retract.txt

    env GO111MODULE=
    
    # 'go list pkg' does not show retraction.
    go list -f '{{with .Module}}{{with .Retracted}}retracted{{end}}{{end}}' example.com/retract
    ! stdout .
    
    # 'go list -retracted pkg' shows retraction.
    go list -retracted -f '{{with .Module}}{{with .Retracted}}retracted{{end}}{{end}}' example.com/retract
    stdout retracted
    
    # 'go list -m' does not show retraction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 13 00:19:50 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_retract_incompatible.txt

    # The current version of a module should not be considered when loading
    # retractions. If the current version is +incompatible, we should not prefer
    # +incompatible versions when looking for retractions.
    # Verifies #42601.
    
    go mod init m
    
    # Request a +incompatible version retracted in v1.0.0.
    go get example.com/retract/incompatible@v2.0.0+incompatible
    stderr '^go: warning: example.com/retract/incompatible@v2.0.0\+incompatible: retracted by module author$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 716 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_retract_replace.txt

    # If we replace that version, we should see retractions.
    go mod edit -replace=example.com/retract/missingmod@v1.9.0=./missingmod-v1.9.0
    go list -m -retracted -f '{{range .Retracted}}{{.}}{{end}}' example.com/retract/missingmod
    stdout '^bad version$'
    
    # If we replace the retracted version, we should not see a retraction.
    go mod edit -replace=example.com/retract/missingmod=./missingmod-v1.9.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

            If you have deleted your repo, please recreate it and publish a retraction.
    
            Retracting a module version involves adding a retract directive to your go.mod file and publishing a new version.
            For example: https://github.com/jba/retract-demo/blob/main/go.mod#L5-L8.
            See https://pkg.go.dev/about#removing-a-package for additional tips on retractions.
        validations:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_list_pseudo.txt

    cmp $GOPATH/pkg/mod/cache/download/github.com/dmitshur-test/modtest5/@v/list $WORK/modtest5.list
    
    env GOSUMDB=off # don't verify go.mod files when loading retractions
    env GOPROXY=file:///$GOPATH/pkg/mod/cache/download
    env GOPATH=$WORK/gopath2
    mkdir $GOPATH
    
    go list -m -f '{{.Path}} {{.Version}} {{.Time.Format "2006-01-02"}}' github.com/dmitshur-test/modtest5@latest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 26 21:17:01 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_retract_versions.txt

    # https://golang.org/issue/44296: the --versions flag should not affect
    # the version reported by 'go list' in case of retractions.
    
    env FMT='{{.Path}}{{with .Error}}: {{printf "%q" .Err}}{{end}} {{printf "%q" .Version}}{{with .Versions}} {{.}}{{end}}'
    
    go list -m -e -f $FMT example.com/retract/self/pseudo
    stdout '^example.com/retract/self/pseudo: "module example.com/retract/self/pseudo: not a known dependency" ""$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 05 16:02:44 UTC 2021
    - 981 bytes
    - Viewed (0)
  10. src/cmd/go/internal/modget/get.go

    			retractions = append(retractions, modMessage{m: m})
    		}
    	}
    	sort.Slice(retractions, func(i, j int) bool { return retractions[i].m.Path < retractions[j].m.Path })
    	for i := range retractions {
    		i := i
    		r.work.Add(func() {
    			err := modload.CheckRetractions(ctx, retractions[i].m)
    			if retractErr := (*modload.ModuleRetractedError)(nil); errors.As(err, &retractErr) {
    				retractions[i].message = err.Error()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
Back to top