A free WordPress plugin to block referer spammers from your WordPress Blog.
** Important : ** This is the main development branch and source code repository for the plugin. If you choose to clone or download code from this repository please take note that it may not necessarily supported.
The release version of this plugin is available from the WordPress.org Plugin Directory:
Stop Web Crawlers - WordPress.com Plugin Directory
For more information regarding the plugin visit our plug-in home page
This pugin is hosted on the official WordPress plugin subversion directory, therefore the steps here outline the process of synchronizing updates between the two repositories.
-
Clone the GitHub Repo
SSH
$ git clone git@github.com:threenine/StopWebCrawlers.git
HTTPS
$ git clone https://github.com/threenine/StopWebCrawlers.git
-
Change into the Directory
$ cd StopWebCrawlers
-
Set Up a Subversion tracking branch
$ git branch --no-track svnsync $ git svn init -s https://plugins.svn.wordpress.org/stop-web-crawlers/ --prefix=origin/ $ git svn fetch --log-window-size 10000 #CAUTION THIS LINE TAKES A LONG TIME TO COMPLETE $ git reset --hard origin/trunk
-
Merge changes from Subversion to GitHub
$ git checkout svnsync $ git svn rebase $ git checkout master $ git merge svnsync $ git push origin master
-
Merge changes from GitHub and publish to SubVersion
$ git checkout master $ git pull origin master $ git checkout svnsync $ git svn rebase $ git merge --no-ff master $ git commit $ git svn dcommit
Tagging a release in Git is very simple:
$ git tag v1.0.2
To create an SVN tag, simply:
$ git svn tag 1.0.2
This will create /tags/1.0.2
in the remote SVN repository and copy all the files from the remote /trunk
into that tag, so be sure to push all the latest code to /trunk
before creating an SVN tag.
It appears that there is now an issue with git svn tagging. We now have to tag using subversion directly. Download code from svn Repo
$ svn checkout https://plugins.svn.wordpress.org/stop-web-crawlers/
$ svn cp https://plugins.svn.wordpress.org/stop-web-crawlers/trunk https://plugins.svn.wordpress.org/stop-web-crawlers/tags/1.3.1