On 22/07/2026 14:44, Richard Earnshaw (foss) wrote:
On 22/07/2026 11:55, Claudio Bantaloukas wrote:
ChangeLog:
* .github/CONTRIBUTING.md: Update text.
* .github/PULL_REQUEST_TEMPLATE.md: Link
to CONTRIBUTING.md directly.
---
We currently use two files that warn users of github trying to make pull
requests against gcc mirrors that their efforts will not be rewarded.
Rather than just tell them to use email, offer them a choice between that and
using the forge.
.github/CONTRIBUTING.md | 26 ++++++++++++--------------
.github/PULL_REQUEST_TEMPLATE.md | 6 +-----
2 files changed, 13 insertions(+), 19 deletions(-)
mode change 100644 => 120000 .github/PULL_REQUEST_TEMPLATE.md
---8<---
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
deleted file mode 100644
index 6417392c8cf..00000000000
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ /dev/null
@@ -1,5 +0,0 @@
-Thanks for taking the time to contribute to GCC! Please be advised that if you
are
-viewing this on `github.com`, that the mirror there is unofficial and
unmonitored.
-The GCC community does not use `github.com` for their contributions. Instead,
we use
-a mailing list (`[email protected]`) for code submissions, code reviews,
and
-bug reports. Please send patches there instead.
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 120000
index 00000000000..eada936c1d5
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1 @@
+CONTRIBUTING.md
\ No newline at end of file
I'm not entirely sure about this last bit. The GCC sources do not currently
create any symlinks on checkout and I'm not sure how portable this is to
systems other than linux (not all Windows filesystems support it, IIRC).
It is portable in the sense that git supports this usecase explicitly.
On the majority of systems, including GNU/Linux, BSDs, and posixy
systems like Darwin, symlinks just work. On modern windows, ntfs has
support for symlinks if users have elevated privileges.
On Windows with core.symlinks=false, Git checks out a symlink as a
regular text file whose contents are the symlink target path.
This has no impact on the developer experience.
Perhaps we could have a shorter text entry that references CONTRIBUTING.md
instead?
Git does that for us! :D
/me needs caffeine, it took me a while to figure this out!
R.