HOWTO: Change default branch on pagure.io projects
by Kevin Fenzi
Per https://fedoraproject.org/wiki/Changes/GitRepos-master-to-main#Phase0_-_2...
here's a short guide for any interested folks on how to change the
default branch in pagure.io projects:
Switching default branch from ‘master’ to ‘main’ on pagure.io
If you have an existing project using ‘master’ as it’s default branch:
git clone ssh://git@pagure.io/YOURPROJECT.git
(This checks out your repo with it’s current ‘master’ branch)
git checkout -b main
(This creates a local ‘main’ branch)
git push
(This pushes the new ‘main’ branch to pagure.io)
Go to your project, Settings, “Default Branch”, set to ‘main’, click “Make Default”
(This switches the ‘default’ branch you get if you do not specify one)
git push origin :master
(This deletes the old ‘master’ branch)
If you have are just creating a new project:
When creating the project specify ‘main’ as the default branch.
(This will be changed soon to default that way)
Q&A:
Q: What happens to pull-requests that are against the old ‘main’ branch?
A: They will show an error, you will need to get the submitter to open a new pull-request
against the new branch name (we will be fixing pagure so it allows updating the
target branch of a PR in the (near) future)
Q: I want to call the default branch something else, do I have to use ‘main’?
A: main is becoming a industry wide name, so people are going to expect it.
That said, it's your project and you can name it anything you like.
Q: What happens to Documentation/Issues/Pull Requests repos associated to the projects?
A: We are not changing anything on theses repos for now, we will update you when we change
the default branch on these repos.
Q: What happens to users who have a checkout of the old default branch?
A: If they do a 'git pull' they will get:
* [new branch] main -> origin/main
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.
They need to do 'git checkout main' and pull will work fine again.
As a reminder, on 2021-01-06 (tomorrow), we will be changing the following pagure.io
repos to use 'main' as default branch:
pagure.io:
releng
releng/*
fedora-comps
fedora-kickstarts
fedora-infrastructure
fedora-lorax-templates
fedora-mediawikitheme
fedora-packager
fedora-infra/*
infra-docs
koji-fedmsg-plugin
workstation-ostree-config
pungi-fedora
fedora-docs/*
fedora-docs-i18n/*
See https://fedoraproject.org/wiki/Changes/GitRepos-master-to-main
for more information.
kevin
_______________________________________________
devel-announce mailing list -- devel-announce(a)lists.fedoraproject.org
To unsubscribe send an email to devel-announce-leave(a)lists.fedoraproject.org
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@lists.fedora...
3 years, 3 months
Fedora 34 Change: Golang 1.16 (System-Wide Change proposal)
by Ben Cotton
https://fedoraproject.org/wiki/Changes/golang1.16
== Summary ==
Rebase of Golang package to upcoming version 1.16 in Fedora 34,
including the rebuild of all dependent packages(the pre-release
version of Go will be used for the rebuild if released version will
not be available at the time of the mass rebuild).
== Owner ==
* Name: [[User:Jcajka| Jakub Čajka]], [[User:alexsaezm| Alejandro Sáez
Morollón]]
* Email: jcajka(a)redhat.com, alexsaezm(a)redhat.com
== Detailed Description ==
Rebase of Golang package to upcoming version 1.16 in Fedora 34. Golang
1.16 is scheduled to be released in February 2021.
Due to Go packages' current nature and state, the rebuild of dependent
packages will be required.
== Benefit to Fedora ==
Stay closely behind upstream by providing the latest release of Go,
which includes improved support of the risc-v processor architecture
and added support for aarch64 based darwin(macOS) machines, among
other bug fixes, enhancements and new features. For a complete list of
changes, see upstream change notes at
https://tip.golang.org/doc/go1.16 . Therefore Fedora will be providing
a reliable development platform for Go language and projects written
in it.
== Scope ==
* Proposal owners: Rebase Golang package in Fedora 34, help resolve
possible issues found
* Other developers: Fix possible issues, with help from Golang maintainers.
* Release engineering: Rebuild of dependent packages as part of
planned mass-rebuild. Tracking
issue.[https://pagure.io/releng/issue/9904]
* Policies and guidelines: N/A
* Trademark approval: N/A
== Upgrade/compatibility impact ==
;0.
:a) Install golang 1.16 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.16 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 ~1600.
</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.15.X if
significant issues are discovered.
* Contingency deadline: Beta Freeze(?)
* Blocks release? No
* Blocks product? No
== Documentation ==
https://tip.golang.org/doc/go1.16
--
Ben Cotton
He / Him / His
Senior Program Manager, Fedora & CentOS Stream
Red Hat
TZ=America/Indiana/Indianapolis
3 years, 3 months
Build needed - Dovecot CVE-2020-24386 has gone public
by Marius Schwarz
Hi,
we need an urgent build of 2.3.13 as the CVE-2020-24386 got public.
I saw in Koji that the first build failed on the 4th Jan for F32 and F33.
Can someone pls help and invest this, as it's a critical security issue.
Best regards,
Marius Schwarz
3 years, 3 months
perl-RPC-XML-0.81-1.fc34 license change
by Petr Pisar
perl-RPC-XML-0.81-1.fc34 changed license from (Artistic 2.0 or LGPLv2) to
((Artistic 2.0 or Artistic or LGPLv2) and (Artistic 2.0 or LGPLv2)).
-- Petr
3 years, 3 months
[HEADS UP] Retiring libmodulemd 1.x in Fedora 35
by Stephen Gallagher
I'm only aware of one package still depending on this archaic version
of libmodulemd (fedmod, which is porting to libmodulemd 2.x), so I
plan to retire the libmodulemd1 package from Fedora immediately
following the Fedora 34 branching.
3 years, 3 months