On Fri, 10 Jul 2026, 22:06 Andrea Pinski, <[email protected]>
wrote:

> On Fri, Jul 10, 2026 at 8:25 AM Claudio Bantaloukas via Gcc
> <[email protected]> wrote:
> >
> > Hi everyone,
> > I'm planning to make some changes to the forge gcc repositories.
> > This is a heads-up to let you know what I plan on doing, and to give you
> > a chance to comment if you have any concerns and propose an alternative
> > plan.
> >
> > I plan on doing this next week, likely on Wednesday June 15 (if there's
> > no pushback).
> >
> > What you need to do on Wednesday: update your local clones and bookmarks
> > to point to the new repository location.
> >
> > I plan on:
> > - Renaming gcc/gcc-TEST to gcc/gcc (to make it clear it's a bit less of
> > a test)
> > - Renaming gcc/gcc-mirror to gcc/gcc-archive (because this will keep all
> > the branches and tags that are being removed from the renamed gcc/gcc
> > repository)
> > - Removing the following branches from the renamed gcc/gcc repository
> > (which likely belong in a fork) (the list of what will be left is
> below!):
> > 500e389872ad732d57c30b05c3caac7e9499357f        refs/heads/MVE
> > 24918a9b20c771984f41f90c3352c3ebee8b5e6f        refs/heads/devel/analyzer
> > a926878ddbd5a98b272c22171ce58663fc04c3e0
> refs/heads/devel/autopar_devel
> > e2da2f7205e03a57f5f0a6b75974bcab39fe6b9e
> > refs/heads/devel/autopar_europar_2021
> > 31ff5e249df46ff122b115c86af04022307fafa4
> refs/heads/devel/bypass-asm
> > df3709d167ccb86775b7aebb12bc6865fc814a9d
> refs/heads/devel/c++-contracts
> > 3e5f7ca352c26a222bb588741b7c700a3052a372
> refs/heads/devel/c++-coroutines
> > 65165eb3f833a3f0415fd76913bf85722a13fbe0
> refs/heads/devel/c++-modules
> > 23b92c478947a904606dd511a5488fa68514b3c4
> refs/heads/devel/c++-name-lookup
> > 9fc240973e79d797bd5a5bdcbc8d0affa3e5a08a
> refs/heads/devel/coarray_native
> > 8366ec0e2fbf52cdf209272826b64d4e049743de
> refs/heads/devel/fortran_unsigned
> > aa1e672b5d99102b03eb5fb9c51609c45f62bff7        refs/heads/devel/gccgo
> > 6857bd99f3922f57dd94aaf675c0cb5f0dcfd24b
> refs/heads/devel/gfortran-caf
> > 8ca74c42ca51abb08f66d1c6f26fcf00d2b829fc
> > refs/heads/devel/gimple-linterchange
> > f2ee7edfe370c37fcf79f26154e95519b1aea3fa
> refs/heads/devel/gomp-5_0-branch
> > e59916214d3d02cf81ba07116bfc240dc8dc4f59        refs/heads/devel/icpp2021
> > 3a8c69ecd95f708f5d489d92ff12dfbe2a93b00b
> refs/heads/devel/ira-select
> > 2b1b2242710e03ac70ed3a0da829148877cd9422
> refs/heads/devel/ix86/evex512
> > 525b7590e3668c7a72b0d77c89bdd1ac5f6ada8a        refs/heads/devel/jlaw/crc
> > 271072ca259dd285e7723d9bf6da7295e4090dfa
> > refs/heads/devel/loop-unswitch-support-switches
> > d02e931dcae4721928b44324a70a0ed5edd8507e
> refs/heads/devel/lto-offload
> > 7f67199f509ccef894f65f968468c8f13f2bafec        refs/heads/devel/m2link
> > 4f27bc50e66ab3ff08f3ebc090f45610ee8203f1        refs/heads/devel/modula-2
> > 76f10e938b79e87c2890e16ffcc350af0ec5e1b9
> refs/heads/devel/mold-lto-plugin
> > 7dc4d63c64118ebc346dd939ab02ff9f9f915f9e
> refs/heads/devel/mold-lto-plugin-v2
> > c4ab1c57107003e55287df06cf9b552830cb9d3c
> refs/heads/devel/nothrow-detection
> > 6b88ea4bb7a2539cbe7a9a53e872090562fe8ccd
> refs/heads/devel/omp/gcc-10
> > cdddaf7fdffa444b108ad1e6c4cea25073f0db4e
> refs/heads/devel/omp/gcc-11
> > 5f881613fa9128edae5bbfa4e19f9752809e4bd7
> refs/heads/devel/omp/gcc-12
> > 737b8f383563e5d1b10b85a7bc93ce359111be88
> refs/heads/devel/omp/gcc-13
> > 682fd948f835fd5ada2de45988448c91e10f5016
> refs/heads/devel/omp/gcc-14
> > 775f1686a3df68bd20370f1fabc6273883e2c5d2
> refs/heads/devel/omp/gcc-9
> > bf7b85b96f3e0c47242a2993c1172a0317aebab5        refs/heads/devel/omp/ompd
> > 02229c0ce3f2dc04d5e79d0967b8a6545cc284a6
> refs/heads/devel/power-ieee128
> > 15c5f3f502ed01d2ba361e466a520b252979a75f
> refs/heads/devel/range-gen3
> > f69ab586f69b0a3a73af12bdd71e18f81bc5ba4a        refs/heads/devel/ranger
> > 2b74b5cb755661f5232d5b98613f1295cf73de03
> refs/heads/devel/rust/master
> > 09210f927265fb4f198e904ba11297ac1e370554        refs/heads/devel/sh-lra
> > 4b13c73bba935443be3207abf26f7ba05f79badc        refs/heads/devel/sphinx
> > d0c29df94c513edb2ad7bae0c6d7a7f58455721e
> refs/heads/devel/ssa-range
> > cde1363042b2857111e461968a6367381d46c936
> refs/heads/devel/subreg-coalesce
> > cfa26521266eba7c7574a09139c9353824990ca2
> refs/heads/devel/unified-autovect
> > fe1e829bfa1690af95be5ed3f206c80001f0cd22
> refs/heads/rb_tree_fancy_pointer
> >
> > - Removing the following tags from gcc/gcc (unless they are still used?)
> > e2bc679bef023202b307ca431543490cc6d17e0e        refs/tags/Thesis
> > 24715cc85f97a2f25c577a20d2de8739ca63aa05        refs/tags/Thesis^{}
> > 636adb5aaa651d838829c7eec306205b14e8e6e4
> refs/tags/embedded-9-2020-q2
> > 13861a80750d118fbdca6006ab175903bacbb7ec
> refs/tags/embedded-9-2020-q2^{}
> > 33897d4061e94b27f023e1483a8d7b2def879c1d
> refs/tags/embedded-9-2020q2
> > 13861a80750d118fbdca6006ab175903bacbb7ec
> refs/tags/embedded-9-2020q2^{}
> > 0247c2d302fadeaefe32a4a06a05f22114aad4df
> refs/tags/misc/cutover-cvs2svn
> > 9a1ba72e73637be605b46810e63f60710eaf3dfe
> refs/tags/misc/cutover-cvs2svn^{}
> > eb638d8e7c846315789421cad7e8a92aac98a039
> refs/tags/misc/cutover-egcs-0
> > 50eb43cabc93050267d2357cd886910f1fac5b73
> refs/tags/misc/cutover-egcs-0^{}
> > d7fd3ab5edbe5a63854c3e5f4bca53d4eba0f7d1
> refs/tags/misc/cutover-egcs-1
> > 861bb6c1b0958236ad93717f98d347aa6152bd09
> refs/tags/misc/cutover-egcs-1^{}
> > f5b196de86fde51578354ff5f98be6d9c397c8fe
> refs/tags/misc/cutover-git
> > cff5a231480526aa73094a22fe8b2f39b63735a4
> refs/tags/misc/cutover-git^{}
> > fdc94ab9bd34dd557aa694d6d3cd0f9dd2b3a222
> refs/tags/misc/first-auto-changelog
> > cfdff3eeb902958d3eefe60d5712d64e2367843f
> > refs/tags/misc/first-auto-changelog^{}
> > d7faf18a332a7b6a17af38fa3975bdd24b548df5
> > refs/tags/misc/first-auto-changelog-10
> > 5aec2fd3e05ca925f17d1ba31af7406d6c75e7a8
> > refs/tags/misc/first-auto-changelog-10^{}
> > 74ce371f32a71e879b4cfa0532c24edb1363570e
> > refs/tags/misc/first-auto-changelog-8
> > 341e59fef8d4b9c86f1c95abfe3ed60482293f23
> > refs/tags/misc/first-auto-changelog-8^{}
> > e932fa71ef9000602a00ada69b6947bf324230d8
> > refs/tags/misc/first-auto-changelog-9
> > c99418920caec4c8df8479cb2a11da8bd574dc5a
> > refs/tags/misc/first-auto-changelog-9^{}
> > 3520370f09ccf2899fafd9fbdf421a73eb5e6e89
> refs/tags/misc/first-egcs-checkin
> > cdb130cb8a68d93ce2f9272122f3e40dc8343de4
> refs/tags/misc/gccgo-go1_1_2
> > 4364c7e1b92e80888b3b46c44bef0e1e9d25d1de
> refs/tags/misc/gccgo-go1_1_2^{}
> > ad5453181803dbd8dd5ce232233f48b17b27ba56
> refs/tags/misc/gupc_5_2_0_release
> > ed14795f179313898fbb89377b83eb88d2e357bf
> > refs/tags/misc/gupc_5_2_0_release^{}
> > 9c193768f7e3f0d33ef29b117043cacd5fe74663
> refs/tags/misc/last-fsf-checkin
> > edeecae00551026c3b8a9666db5b69c8cd626bca
> > refs/tags/vendors/ARM/release-12.3.rel1
> > 0f54a73b998b72f7c8452a63730ec3b16fc47854
> > refs/tags/vendors/ARM/release-12.3.rel1^{}
> > 843fbaf3fbd54683557ab022a0207c313f079365
> refs/tags/release-12.2.mpacbti-bet1
> > 11d19ae7b3aded18f52b1accfd4ec5051951495b
> > refs/tags/release-12.2.mpacbti-bet1^{}
> > a7ea33dd639d18ddbb28865c8ca5bae1732010dd
> refs/tags/release-12.2.mpacbti-rel1
> > 96213951b754044a39e7fea975299184112734d1
> > refs/tags/release-12.2.mpacbti-rel1^{}
> > - Running a git gc on the renamed repository
> > - Update the github PR template to point at the forge
> > - Update the UsingForge wiki page to point to the new repos
> >
> > The following refs will remain in place:
> > - main branches
> > 875a6c6192a68f75ad213f2a1b3804e7724073e7        refs/heads/master
> > 875a6c6192a68f75ad213f2a1b3804e7724073e7        refs/heads/trunk
> > - release branches
> > ...     refs/heads/releases/*
> >
> > - notes used by the batrachomyomachia script
> > ab7748875b7645373ab29d4d905a60e133b8f556
> refs/notes/batrachomyomachia
> > efe701f782fbdaa69fe223f00553950a2f2baad0        refs/notes/commits
> >
> > - pull request data
> > ...     refs/pull/*/head
> > ...     refs/versioned_pull/*/*/base
> > ...     refs/versioned_pull/*/*/head
> >
> > - tags
> > ...     refs/tags/basepoints/*
> > ...     refs/tags/prereleases/*
> > ...     refs/tags/releases/*
> > 9d67cee02262346526bb25cbcf54750ebf134ecb        refs/tags/misc/start
>

A big +1 from me for everything above.


>
> > On a separate note, I've been debating whether to just remove master and
> > trunk branches and use "main".
>

I do think it's unnecessary to have both trunk and master branches on the
forge, given they are not the same branch (they are the same in the
official repo, one is a symlink to the other on the server). Having two
distinct branches that always refer to the same commit is just confusing
for newcomers.


> It's the default in git. This would be synced automatically from the
> > current trunk branch in sourceware.org.
> > Given this might open multiple cans of paint for the bike shed, please
> > state if you violently disagree separately from the above!
>
> I do think we should remove the master name. But keeping the trunk
> name would be best.
> Given GCC's history with the name trunk, it should be non
> controversial of keep the name trunk.
> Everything else about the forge I agree with.
>

Yeah I think using 'main' wouldn't be much of an improvement because it
would be a third name for the same branch!

If you edit your git config to replace the forge URL with the gcc.gnu.org
repo URL it would be helpful if the same branch name worked in both places.
If you have something referring to refs/heads/main that would only work for
the forge. ... But this argument also suggests we should keep both trunk
and master for the same reason. But if we only keep one of them, at least
there will be a name that exists in both repos, and we can choose to use
that one. If the forge uses 'main' that wouldn't be true.

I can see an argument in favour of either using 'master' on the forge *or*
changing the default branch for the official repo to be 'trunk' so that
fresh clones of that repo check out 'trunk' by default.

Reply via email to