From Fedora Project Wiki

Revision as of 11:14, 25 June 2019 by Jcajka (talk | contribs) (Mention divergence)


Golang 1.13

Summary

Rebase of Golang package to upcoming version 1.13 in Fedora 31, including rebuild of all dependent packages(pre-release version of Go will be used for rebuild, if released version will not be available at the time of the mass rebuild).

Owner

  • Name: Jakub Čajka
  • Email: jcajka@redhat.com
  • Release notes ticket:

Current status

  • Targeted release: Fedora 31
  • Last updated: 2019-06-25
  • Tracker bug:
  • Release Notes tracking:

Detailed Description

Rebase of Golang package to upcoming version 1.13 in Fedora 31. Golang 1.13 is schedule to be released in Aug. Due to current nature and state of Go packages, rebuild of dependent package will be required to pick up the changes.

With this rebase we will slightly deviate from upstream default config. By setting GOSUMDB=off and GOPROXY=direct, instead of them set to the default Google's services(or any other provider). This will still preserve the ability of users to set the nobs to value of their liking. By setting this we will prevent unintended (personal) information leaks. There will be no impact on users of the compiler.

Benefit to Fedora

Staying closely behind upstream by providing latest release of golang, which includes performance improvements and improvements in support for currently supported platforms among other bug fixes and new features. For complete list of changes see upstream change notes at https://tip.golang.org/doc/go1.13 . In result Fedora will be providing solid development platform for Go language.

Scope

  • Proposal owners: Rebase golang package in f31, help with resolving possible issues found during package rebuilds.
  • Other developers: fix possible issues with help from golang maintainers
  • Release engineering: Rebuild of dependent packages as part of planned mass-rebuild.
  • Policies and guidelines: N/A
  • Trademark approval: N/A

Upgrade/compatibility impact

None

How To Test

0.
a)Install golang 1.13 from rawhide and use it to build your application(s)/package(s).
b)Scratch build against rawhide.
1.
Your application/package built using golang 1.13 should work as expected.

User Experience

None

Dependencies

dnf repoquery -q  --releasever=rawhide --disablerepo='*' --qf='%{name}' --enablerepo=fedora-source --enablerepo=updates-source --enablerepo=updates-testing-source --archlist=src --whatrequires 'golang'
dnf repoquery -q  --releasever=rawhide --disablerepo='*' --qf='%{name}' --enablerepo=fedora-source --enablerepo=updates-source --enablerepo=updates-testing-source --archlist=src --whatrequires 'compiler(go-compiler)'
dnf repoquery -q  --releasever=rawhide --disablerepo='*' --qf='%{name}' --enablerepo=fedora-source --enablerepo=updates-source --enablerepo=updates-testing-source --archlist=src --whatrequires 'compiler(golang)'

Not all of listed require re-build as they might not ship binaries.

Contingency Plan

  • Contingency mechanism:Reverting to golang version 1.12.X if significatnt issues are discovered.
  • Contingency deadline: Beta Freeze(?)
  • Blocks release? No
  • Blocks product? No

Documentation

https://tip.golang.org/doc/go1.13

Release Notes

  • Release Notes tracking: []