From Fedora Project Wiki

< Changes

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

Golang 1.13


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).


  • Name: Jakub Čajka
  • Email:
  • 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 . In result Fedora will be providing solid development platform for Go language.


  • 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


How To Test

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

User Experience



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


Release Notes

  • Release Notes tracking: []