On Thu, Jul 8, 2010 at 2:41 PM, Alex <[email protected]> wrote: > im kinda confused, did u register 2 robot in appspot?
> No, I use one appspot identifier. I just update the version number for my app in the app.yaml. For example, my current development version has: application: flammard version: 5 runtime: python api_version: 1 handlers: - url: /_wave/.* script: biblebot2.py - url: /assets static_dir: assets - url: /.* script: bibleweb.py Since I have 5 versions of the bot working now. Version 4 is the production version, as selected in the Versions link on the appengine interface, while versions 1 through 3 can still be accessed but are not not default. > doesnt the wave server still cached both of them? > I'm not sure what you mean by that. > anyway, my robot has no production version, and im the only user who > is using/testing it. > so its not really a problem of having 2 version, i only have 1 version > and i want to keep changing the code on that version since im the only > user using it. > OK. I haven't experienced any caching kind of effect (at least using the python API). When I update my robot (even without changing the version of it), I get the new functionalities immediatly. Adding logging in your code can help you debug this kind of behaviour in the appengine logs. > or r u suggesting that i should keep deploying it as a new version to > appspot and settign it to default? > No, that's not what I suggested :-) As a matter of fact, I deployed by bot far more than 5 times in total :-) Raphaël > > On Jul 7, 6:51 pm, Raphaël Pinson <[email protected]> wrote: > > On Wed, Jul 7, 2010 at 10:39 AM, Alex <[email protected]> wrote: > > > i make some code change to my robot, deploy it to app engine. > > > wave just keep using the cached version of my robot. > > > > > i checked the app engine version for the robot, i only have 1 version > > > and its set as default. > > > and that version number is the same as my appengine-web.xml > > > > > since capabilities.xml is automatically generated, how do i tell the > > > wave server that my code has changed? > > > > > can we have an option to indicate whether we want the cache feature to > > > apply to our robot? > > > > > this is very frustrating when the robot is still in development stage. > > > > You can use several versions of the app when you're doing development. > This > > is how I do it: > > > > * I use several branches in my VCS (bzr in my case), for example > > "flammard-v4" and "flammard-v5", where v4 is the production version and > v5 > > is the development version ; > > * I set the app version in app.yaml for each branch (respectively 4 and > 5) ; > > * In my code, I set a variable for the version number and a boolean for > > production, for example VERSION='4' and PRODUCTION=True ; > > * When PRODUCTION is True, the bot is [email protected] and the URL > used > > for HTTP requests ishttp://flammard.appspot.com/%path, when PRODUCTION > is > > False however, the bot is [email protected] and the > URL > > is http://$VERSION.latest.flammard.appspot.com/%path > > * I deploy both versions to appengine and set the production version > using > > the Versions tab. > > > > This way, my users can use the production version and I can test the dev > > version at the same time. > > > > Regards > > > > Raphaël > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google Wave API" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-wave-api%[email protected]> > <google-wave-api%[email protected]<google-wave-api%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-wave-api?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Wave API" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-wave-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-wave-api?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Wave API" 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-wave-api?hl=en.
