Skip to content

Commit

Permalink
issue-16_using-subversion-page_new-troubleshooting-section
Browse files Browse the repository at this point in the history
  • Loading branch information
WPLake committed Aug 5, 2024
1 parent b48546a commit db6d7c5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions wordpress-org/how-to-use-subversion/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,24 @@ When tagging a new version, **remember to update** the `Stable Tag` field in [`t

Congratulations! You've updated your code!

## Troubleshooting

In this section, you'll find descriptions of the issues you may encounter and ways to solve them.

### svn: E175012: Connection timed out

This issue occurs on the client's (your) side when the server (wordpress.org) takes a very long time to process the input.

Usually, it happens only with large plugins that contain hundreds of files. For example, contributors to the Gutenberg plugin (which is a part of WordPress but is also available as a plugin) [have faced](https://github.com/WordPress/gutenberg/issues/55295) this issue.

To solve this problem, you need to add a special timeout-increasing option to the commit command:

```
svn ci -m "new version" --config-option=servers:global:http-timeout=900
```

In this command, 900 is the number of seconds. Using this trick, you'll be able to bypass the timeout issue.

## Notes

Don't put anything in SVN that you're not willing and prepared to have deployed to everyone who uses your plugin. This _includes_ vendor files, `.gitignore` and everything else.
Expand Down

0 comments on commit db6d7c5

Please sign in to comment.