Skip to content

Commit 2b9778c

Browse files
committed
Add files to discourage submissions of PRs to the GitHub mirror.
Currently there is an unofficial mirror of GCC on GitHub that people sometimes submit pull requests to: https://github.com/gcc-mirror/gcc However, this is not the proper way to contribute to GCC, so that means that someone (usually Jonathan Wakely) has to go through the PRs and manually tell people that they're sending their PRs to the wrong place. One thing that would help mitigate this problem would be files in a special .github directory that GitHub would automatically open when contributors attempt to open a PR, that would then tell them the proper way to contribute instead. This patch attempts to add two such files. They are written in Markdown, which I'm realizing might require some special handling in this repository, since the ".md" extension is also used for GCC's "Machine Description" files here, but I'm not quite sure how to go about handling that. Also note that I adapted these files from equivalent files in the git repository for Git itself: https://github.com/git/git/blob/master/.github/CONTRIBUTING.md https://github.com/git/git/blob/master/.github/PULL_REQUEST_TEMPLATE.md What do people think? ChangeLog: * .github/CONTRIBUTING.md: New file. * .github/PULL_REQUEST_TEMPLATE.md: New file.
1 parent 80b1a37 commit 2b9778c

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/CONTRIBUTING.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Contributing to GCC
2+
3+
Thanks for taking the time to contribute to GCC! Please be advised that if you are
4+
viewing this on `github.com`, that the mirror there is unofficial and unmonitored.
5+
The GCC community does not use `github.com` for their contributions. Instead, we use
6+
a mailing list (`[email protected]`) for code submissions, code
7+
reviews, and bug reports.
8+
9+
Perhaps one day it will be possible to use [GitGitGadget](https://gitgitgadget.github.io/) to
10+
conveniently send Pull Requests commits to GCC's mailing list, the way that the Git project currently allows it to be used to send PRs to their mailing list, but until that day arrives, please send your patches to the mailing list manually.
11+
12+
Please read ["Contributing to GCC"](https://gcc.gnu.org/contribute.html) on the main GCC website
13+
to learn how the GCC project is managed, and how you can work with it.
14+
In addition, we highly recommend you to read [our guidelines for read-write Git access](https://gcc.gnu.org/gitwrite.html).
15+
16+
Or, you can follow the ["Contributing to GCC in 10 easy steps"](https://gcc.gnu.org/wiki/GettingStarted#Basics:_Contributing_to_GCC_in_10_easy_steps) section of the ["Getting Started" page](https://gcc.gnu.org/wiki/GettingStarted) on [the wiki](https://gcc.gnu.org/wiki) for another example of the contribution process.
17+
18+
Your friendly GCC community!

.github/PULL_REQUEST_TEMPLATE.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Thanks for taking the time to contribute to GCC! Please be advised that if you are
2+
viewing this on `github.com`, that the mirror there is unofficial and unmonitored.
3+
The GCC community does not use `github.com` for their contributions. Instead, we use
4+
a mailing list (`[email protected]`) for code submissions, code reviews, and
5+
bug reports. Please send patches there instead.

0 commit comments

Comments
 (0)