Wow, Calvin, great trick! I didn't think of this. Y is a "minor version".
For all intents and purposes it doesn't serve many purposes, but a lot of
people find it useful for things like this.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Feb 9, 2011 at 11:48 AM, Calvin <[email protected]> wrote:

> The environment variable CURRENT_VERSION_ID is in the format X.Y, where X
> is the version specified in your app.yaml and Y is a number generated by App
> Engine for each deployment.
>
> You could store the previous value of Y in the datastore and when currentY
> != previousY kick off your file processing.
>
> The actual triggering could be done from an Ant script that calls "curl
> http://your-app.appspot.com"; after a successful appcfg update.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to