Versions are generally used for testing, if you have no such requirement, 1 version is enough.
It's actually a version string, not just a number, so it can be "abcd" or any other ASCII strings. You don't need to change the version string every time. When you deploying an existing version, the old one will be overwritten with the new one. GAE will also append a number to identify each version id, say you deployed "abcd", the real version id may be "abcd.348661991845759329", the next time you deploy may be changed to "abcd.348661991845759738". I can get this id in Python, but I don't know how about Java. ---------- keakon My blog(Chinese): www.keakon.net Blog source code: https://bitbucket.org/keakon/doodle/ On Tue, Mar 1, 2011 at 11:21 AM, zixzigma <[email protected]> wrote: > Hello Everyone, > > during development cycle, after testing my app in local gae environment, > I upload my app on GAE to see whether it works the same on GAE as it does > in local sandbox: > > to do this, I follow the steps below: > > - edit "version number" in appengine-web.xml > - upload on GAE > - go to GAE web console, and change the Version, to the current uploaded > version, and make it default. > > now, if I see the app behaving differently from local tests, I have to make > a modification to code, > and again repeat the steps above. > > this repetitive process, made me wonder: > > 1- is the steps I described above, the correct workflow for updating a new > version of app ? > > 2- is it possible to set the version number to auto-increment ? > instead of us manually updating version number, and change the version > using web-console > use a setting that after each upload, automatically increments the > version number if for example "auto-increment=true" ! > > 3- if I make a change to code, can I still upload using the same version > number ? > or even a slight modification requires changing the version, to a > higher number ? > (in other words, can I make repeated changes to my code, and upload to > GAE, without changing the version number, > and GAE uses the latest uploaded code, despite the version being the > same as before) > > 4- can I change the number to a lower number ? for example if current > version is 9 > considering there is no other version, can I upload and set the version > to 6 ? > > I am on slow connection, , and so far, testing different combinations have > drived me nuts : ) > I would like to somehow streamline releases on GAE, make them often and > early, to avoid surprises. > > I really appreciate your input on these questions, > > Thank You > > > -- > 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.
