All,
We've now got a fix for the "User Rate Limit Exceeded. Please sign up"
error. The problem was that the build was making calls to the API even with a primed
cache.
You need to do the following in your dev environment:
0. Update your checkout of the code and ensure you have this commit:
https://github.com/jboss-developer/www.jboss.org/commit/d274ae23898214eb7...
<
https://github.com/jboss-developer/www.jboss.org/commit/d274ae23898214eb7...
1. Clear the cache using: rm -rf _tmp
2. Build the site as normal using: rake clean preview
3. If you hit the "User Rate Limit Exceeded. Please sign up" error, then try:
3.1 Disconnect from the VPN and rebuild
3.2 Set the following line to true:
https://github.com/jboss-developer/www.jboss.org/blob/master/_config/site...
<
https://github.com/jboss-developer/www.jboss.org/blob/master/_config/site...
and build the site again. Remember to set back to false after the site builds.
4. Once the site builds successfully, you will have a primed cache, and subsequent builds
won't make any Google Book API calls.
Going forward, you should be able to clear your cache when required. It's unlikely
that we'll exceed the API limits now that the build isn't making excessive calls.
Paul.
--
Paul Robinson
JBoss Developer Team Lead (
www.jboss.org <
http://www.jboss.org/>)
Free/busy info:
https://www.google.com/calendar/embed?src=probinso%40redhat.com&ctz=E...
<
https://www.google.com/calendar/embed?src=probinso%40redhat.com&ctz=E...
JBoss, a Division of Red Hat
Registered in England and Wales under Company Registration No. 03798903
Directors:Michael Cunningham (US), Charles Peters (US), Matt Parson (US), Paul Hickey
(Ireland)