Re: Fedora 32 System-Wide Change proposal: Golang 1.14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






----- Original Message -----
> From: "Igor Gnatenko" <ignatenkobrain@xxxxxxxxxxxxxxxxx>
> To: "Development discussions related to Fedora" <devel@xxxxxxxxxxxxxxxxxxxxxxx>
> Sent: Thursday, January 2, 2020 4:24:44 PM
> Subject: Re: Fedora 32 System-Wide Change proposal: Golang 1.14
> 
> Do we really need to rebuild all thousand of packages given that most
> of them are providing only noarch devel packages with sources? Don't
> we need to rebuild only those which provide binaries?
> 

I don't disagree, but if the rebuild will be facilitated as part of the regular mass-rebuild it will be "free". Other technical challenge is to find packages that truly need rebuild(use Go compiler during the build, for tests and/or building binaries) as that information is no longer present in the SRPM metadata with the new Go packaging scheme(although even source only packages should have their tests suites run, ideally, thus needing the compiler), compiler is always pulled in to the build root via the new macros package.

JC

> On Thu, Jan 2, 2020 at 4:17 PM Ben Cotton <bcotton@xxxxxxxxxx> wrote:
> >
> > https://fedoraproject.org/wiki/Changes/golang1.14
> >
> > == Summary ==
> > Rebase of Golang package to upcoming version 1.14 in Fedora 32,
> > 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: [[User:Jcajka| Jakub Čajka]]
> > * Email: jcajka@xxxxxxxxxx
> >
> > == Detailed Description ==
> >
> > Rebase of Golang package to upcoming version 1.14 in Fedora 32. Golang
> > 1.14 is schedule to be released in Feb 2020.
> > Due to current nature and state of Go packages, rebuild of dependent
> > package will be required to pick up the changes.
> >
> > == 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.14 . In result Fedora will be providing
> > solid development platform for Go language.
> >
> > == Scope ==
> > * Proposal owners: Rebase golang package in f32, 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. Tracking ticket
> > https://pagure.io/releng/issue/9136
> > * Policies and guidelines: N/A
> > * Trademark approval: N/A
> >
> > == Upgrade/compatibility impact ==
> > None
> >
> > == How To Test ==
> > ;0.
> > :a)Install golang 1.14 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.14 should work as expected.
> >
> > == User Experience ==
> > None
> >
> > == Dependencies ==
> > <pre>
> > 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)'
> > dnf repoquery -q  --releasever=rawhide --disablerepo='*'
> > --qf='%{name}' --enablerepo=fedora-source --enablerepo=updates-source
> > --enablerepo=updates-testing-source --archlist=src --whatrequires
> > 'go-rpm-macros'
> > </pre>
> > <pre>
> > Omitted due to the number of packages listed ~1100.
> > </pre>
> >
> > Not all of listed require re-build as they might not ship binaries
> > and/or do not use golang compiler during build, but only use Go rpm
> > macros that pull it in to every build root.
> >
> > == Contingency Plan ==
> > * Contingency mechanism:Reverting to  golang version 1.13.X if
> > significatnt issues are discovered.
> > * Contingency deadline: Beta Freeze(?)
> > * Blocks release? No
> > * Blocks product? No
> >
> > == Documentation ==
> > https://tip.golang.org/doc/go1.14
> >
> >
> > --
> > Ben Cotton
> > He / Him / His
> > Fedora Program Manager
> > Red Hat
> > TZ=America/Indiana/Indianapolis
> > _______________________________________________
> > devel-announce mailing list -- devel-announce@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to
> > devel-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > Fedora Code of Conduct:
> > https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives:
> > https://lists.fedoraproject.org/archives/list/devel-announce@xxxxxxxxxxxxxxxxxxxxxxx
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux