Hi Lu, On Wed, Sep 22, 2010 at 3:54 PM, Lu <[email protected]> wrote:
> Two questions: > > I am pushing a new deployment up to the server using: > > appcfg.py update > > I then navigate manually to the Google App Engine, select the version > I just uploaded and click the "Make Default" button. > > Question #1) > I prefer automating the last manual step, but could not find > documentation on how to do this. > How can I make a newly uploaded version the default? > We recently added a new command to appcfg.py, set_default_version. See the documentation here for details: http://code.google.com/appengine/docs/python/tools/uploadinganapp.html#Command_Line_Arguments > > Question #2) > Also, there is a limit of how many older version are kept around. > After the limit has been exceeded, I can not push up a new version. I > like to programmatically delete older versions, so that only the last > three are kept around. How can I do this? > We don't currently provide a facility for that. I'd recommend naming your versions (eg, 'production', 'testing', etc) so you can simply upload to an existing major version. -Nick Johnson > > Thank you very much. > > -- > 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]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- 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.
