On Wed, 3 Feb 2021 at 17:42, Petr Lautrbach <plaut...@redhat.com> wrote:

> Petr Lautrbach <plaut...@redhat.com> writes:
>
> > Kevin Fenzi <ke...@scrye.com> writes:
> >
> >> Greetings everyone.
> >>
> >> We finally have everything in place and hopefully tested to make the
> >> switch tomorrow from master to rawhide/main branches for
> >> src.fedoraproject.org.
> >>
> >> At 13:30UTC we will adjust pagure to reject pushes to 'master' and then
> >> will be moving all the branches over to rawhide/main. As soon as all
> >> packages are done, we will be adjusting pdc/hooks/existing pr's.
> >>
> >> We will be sending an additional email once changes are complete and
> >> hopefully any downtime will be limited.
> >>
> >> Once the change is completed you will want to checkout rawhide/main
> >> instead of master and update/recreate any existing forks you have.
> >>
> >> See
> >> https://fedoraproject.org/wiki/Changes/GitRepos-master-to-main
> >> for more information.
> >>
> >
> > The page says "This Change will move many repositories (see below) to
> > use a "main" branch as default." and "Not every namespace on dist-git
> > has a rawhide version. For example: containers do not have/use rawhide.
> > And having different default branches on different namespaces is not
> > very appealing."
> >
> > Now we have https://src.fedoraproject.org/tests/selinux/ with default
> > branch "rawhide". "rawhide" doesn't make sense in this repo as it
> > contains tests used on all Fedora versions and also downstream Red Hat
> > Enterprise Linux.
> >
> > Have I missed something?
> >
> > Petr
>
> I've tried to change it on my own:
>
> 1. create and push new branch "real-main"
> 2. set "real-main" as default branch
> 3.
>     ^&^ git push origin :rawhide
>     remote: Branch deletion is not allowed
>     remote: Denied push for ref 'refs/heads/rawhide' for user 'plautrba'
>     remote: All changes have been rejected
>     To ssh://pkgs.fedoraproject.org/tests/selinux.git
>      ! [remote rejected]           rawhide (pre-receive hook declined)
>     error: failed to push some refs to 'ssh://
> pkgs.fedoraproject.org/tests/selinux.git'
>
> 4. remove alias main -> rawhide at
> https://src.fedoraproject.org/tests/selinux/settings#gitbranch-tab
>
> pagure reports: "Alias deleted"
>
> 5. refresh the setting page
>
> 6. Alias "main" is still there
> https://src.fedoraproject.org/tests/selinux/settings#gitbranch-tab
>
> what now? revert changes back to misleading "rawhide"? use "master" as
> it's directly referenced in tests we use in Red Hat and solve strange
> default branch name later?
>

In addition to fixing the "rawhide" name, would it be possible to provide a
temporary symlink "master --> main"? At least in the fedora tests
namespace? As Petr mentioned, we have a bunch of tests which are referenced
using "master". All those tests are now broken. It would help us a lot if
there would be a 1-2 month transition period during which both "master" and
"main" would work until we fix the configs and tools, and get packages
released. Thanks.

psss...

Petr
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@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@lists.fedoraproject.org
>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@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@lists.fedoraproject.org

Reply via email to