The AutoProgress page is triggered in 2 steps:
1) Every time you commit, Google Code will invoke a web hook that send the
change details through HTTP request to an URL configured in the
administration page of the project.
When received the request, my server will do svn update to retrieve newest
translated content, and generate the AutoProgress page. However, the page
isn't committed immediately.
2) Every 8 hours, another script will triggered by crontab and do svn commit
if there is progress during this period. This is to prevent too many
updates to AutoProgress page and mess the history up.
And, to prevent some serious mistake. During r18 to r31, I made a a mistake
that the web hook was triggered in an infinite loop. Because the update of
wiki page will trigger another web hook, too.
Now, AutoProgress will update at 0,8,16 o'clock every day. However, I do notice
that sometimes Google Code subversion server will fail. So the wiki page might
not always reflect newest progress. Anyway, it will catch up next time.
For those of you who are interested in newest progress and can't wait the
update, please try aosa-chinese/summary.pl script in our trunk. I am rewriting
some code to enhance the mechanism. The script is for moving report generation
to step 2. Please change directory to the working copy directory that map to
this URL https://aosa-chinese.googlecode.com/svn/trunk, before running it. Or,
modify $WC_ROOT variable to point to the trunk directory.
Regards,
Jeff Hung
On Wed, Jun 15, 2011 at 4:06 PM, Yu-Hung Kuo <starr...@gmail.com> wrote:
>
> one question for Jeff: how can we trigger the update of the Autoprogress?
> How frequent will it update right now?