-
Notifications
You must be signed in to change notification settings - Fork 0
Addressing 404 errors during page loading #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Copilot
wants to merge
3
commits into
main
Choose a base branch
from
copilot/fix-404-error-on-page-load
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,114 @@ | ||
| https://github.com/Darliewithrow/master.git | ||
| # Contributing to Ethereum EIPs: Fixing "Uploads are disabled" | ||
|
|
||
| If you've tried to contribute to the [Ethereum EIPs repository](https://github.com/ethereum/EIPs) and encountered the error **"Uploads are disabled"**, this guide explains why it happens and how to contribute correctly using the standard GitHub fork-and-pull-request workflow. | ||
|
Comment on lines
+1
to
+3
|
||
|
|
||
| --- | ||
|
|
||
| ## Why Does This Error Occur? | ||
|
|
||
| The Ethereum EIPs repository disables direct file uploads through the GitHub web UI to encourage contributors to use the proper Git workflow. This ensures changes go through code review and maintain repository quality. | ||
|
|
||
| --- | ||
|
|
||
| ## The Correct Contribution Workflow | ||
|
|
||
| ### Step 1 — Fork the Repository | ||
|
|
||
| 1. Go to [https://github.com/ethereum/EIPs](https://github.com/ethereum/EIPs) | ||
| 2. Click the **Fork** button in the top-right corner | ||
| 3. Select your account as the destination — this creates your own copy at `https://github.com/YOUR-USERNAME/EIPs` | ||
|
|
||
| ### Step 2 — Clone Your Fork Locally | ||
|
|
||
| ```bash | ||
| git clone https://github.com/YOUR-USERNAME/EIPs.git | ||
| cd EIPs | ||
| ``` | ||
|
|
||
| Replace `YOUR-USERNAME` with your GitHub username. | ||
|
|
||
| ### Step 3 — Create a Feature Branch | ||
|
|
||
| Always create a new branch for your changes instead of working directly on `main`: | ||
|
|
||
|
|
||
| ```bash | ||
| git checkout -b my-eip-contribution | ||
| ``` | ||
|
|
||
| ### Step 4 — Make Your Changes | ||
|
|
||
| Add or edit files in your local copy. For example, to add a new EIP draft: | ||
|
|
||
| ```bash | ||
| # Create your EIP file following the EIP template | ||
| cp EIPS/eip-1.md EIPS/eip-XXXX.md | ||
|
|
||
| # Edit the file with your content | ||
| ``` | ||
|
|
||
| ### Step 5 — Commit Your Changes | ||
|
|
||
| ```bash | ||
| git add . | ||
| git commit -m "Add EIP-XXXX: Brief description of your proposal" | ||
| ``` | ||
|
|
||
| ### Step 6 — Push Your Branch to GitHub | ||
|
|
||
| ```bash | ||
| git push origin my-eip-contribution | ||
| ``` | ||
|
|
||
| ### Step 7 — Open a Pull Request | ||
|
|
||
| 1. Go to your fork at `https://github.com/YOUR-USERNAME/EIPs` | ||
| 2. Click the **Compare & pull request** button that appears after pushing | ||
| 3. Fill in a clear title and description for your pull request | ||
| 4. Click **Create pull request** | ||
|
|
||
| Your contribution will now go through the review process by EIP editors. | ||
|
|
||
| --- | ||
|
|
||
| ## Keeping Your Fork Up to Date | ||
|
|
||
| Before making new changes, sync your fork with the upstream repository to avoid conflicts: | ||
|
|
||
| ```bash | ||
| # Add the upstream remote (only needed once) | ||
| git remote add upstream https://github.com/ethereum/EIPs.git | ||
|
|
||
| # Fetch and merge the latest changes | ||
| git fetch upstream | ||
| git checkout main | ||
| git merge upstream/main | ||
|
Comment on lines
+82
to
+83
|
||
|
|
||
| # Push the updated main to your fork | ||
| git push origin main | ||
|
|
||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## Troubleshooting | ||
|
|
||
| | Problem | Solution | | ||
| |---|---| | ||
| | "Uploads are disabled" error | Use the fork + clone + PR workflow described above | | ||
| | Merge conflicts | Run `git fetch upstream && git merge upstream/main` on your branch | | ||
| | Push rejected | Ensure you're pushing to your fork (`origin`), not `upstream` | | ||
| | PR not showing up | Make sure you pushed your feature branch, not `main` | | ||
|
|
||
| --- | ||
|
|
||
| ## Resources | ||
|
|
||
| - [Ethereum EIPs Repository](https://github.com/ethereum/EIPs) | ||
| - [EIP-1: EIP Purpose and Guidelines](https://eips.ethereum.org/EIPS/eip-1) | ||
| - [GitHub Docs: Forking a repository](https://docs.github.com/en/get-started/quickstart/fork-a-repo) | ||
| - [GitHub Docs: Creating a pull request from a fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) | ||
| - [Ethereum Community Forum](https://ethereum-magicians.org/) | ||
|
|
||
| --- | ||
|
|
||
| ## Contributing to This Guide | ||
|
|
||
| Found something unclear or out of date? See [CONTRIBUTING.md](CONTRIBUTING.md) for how to improve this guide. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.