What is "latest" for in version URL

9 views
Skip to first unread message

efleming969

unread,
Nov 15, 2010, 10:54:20 AM11/15/10
to Google App Engine
I've read that past versions of appengine made minor version numbers
available via the URL (ie. major.minor.app-id.appspot.com). This is
no longer available and I understand why, but what's the purpose of
having the "latest" indication in the URL now that minor versions are
no longer available?

Thanks

Ikai Lan (Google)

unread,
Nov 15, 2010, 5:27:44 PM11/15/10
to google-a...@googlegroups.com
Good catch. Right now it exists for backwards compatibility, but you don't actually need it to access versions as of one of the recent releases. You can get to a version at:


We'll have to update our docs to reflect the change.

--
Ikai Lan 
Developer Programs Engineer, Google App Engine




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


Remigius

unread,
Nov 16, 2010, 10:28:58 AM11/16/10
to Google App Engine
The "latest" is also contained in the "Live URI"-links that are
displayed in the "versions" section of the GAE admin console. I have
also noticed that at least in our case the versions are not served
(i.E. the DNS cannot be resolved, although the "Live URI"-link is
available, and they can also be set as default) if the version number
is 10 (I assume this applies to any two-digit version numbers).
Without wanting to dig into the documentation: Does this also apply to
the URLs without the "latest"? We currently round-robin version
numbers between 1 and 9, which is not too bad, but from a purely
theoretical point of view it would be somewhat nicer to have unique
version numbers (and, of course, an unlimited supply of them).

Rafael Nunes

unread,
Nov 16, 2010, 10:51:20 AM11/16/10
to google-a...@googlegroups.com
After a weekend fighting with Django and Blobstore, I could make it work
with this:
http://appengine-cookbook.appspot.com/recipe/blobstore-get_uploads-helper-function-for-django-request/

I can get the BlobInfo(img) uploaded, but the other fields in my
form('txtDesc' and 'txtOne' are missing:

<form action="{{form_action}}" method="POST" enctype="multipart/form-data">
Image:<input type="file" name="img"><br/>
Desc: <textarea name="txtDesc"></textarea><br/>
Text: <input type="text" name="txtOne"></text>
<input type="submit" value="OK" />
</form>

And debbuging, I can see that my request.POST is empty:

request.POST<QueryDict: {}>

Am I missing something?

Thanks,


Rafael Nunes

unread,
Nov 16, 2010, 11:02:57 AM11/16/10
to google-a...@googlegroups.com
Yeah, I was missing.

I should be using 'get_uploads(request, populate_post=True)' instead of
'get_uploads(request)'

#RTFM

--Rafael

Robert Kluin

unread,
Nov 16, 2010, 1:48:09 PM11/16/10
to google-a...@googlegroups.com
Hi Remigius,
I do not get your issue, app versions are alphanumeric strings. I
have apps with version numbers well into two and three digit numbers.
I know some other people use their VCS's identifier (revision number
or changeset id). Others use words like 'dev' and 'prod'.

I've had apps who's version number was 10, they served without
problems. What do you mean the DNS can not be resolved?

Robert

Remigius

unread,
Nov 16, 2010, 3:33:45 PM11/16/10
to Google App Engine
Robert,

thx for the information. I don't remember the exact wording of the
resulting error message, only that it was related to DNS. I'll retry
it and either it will work or I'll post the exact error. In any case
using the complete version identification makes sense, I just wasn't
aware of this being possible.

Cheers, Remigius.

Remigius

unread,
Nov 17, 2010, 9:52:31 AM11/17/10
to Google App Engine
Robert,

I have now performed a test with a version of "0-0-10-b" which worked
just fine. I don't know what was happening before (and could not care
less now), but this seems to work for us. BTW, when I first tried to
enter some dots in the version number, I got an error message pointing
me to the fact that the version must match the following regexp: ^(?!-)
[a-z\d\-]{1,100}$ which is even documentet... (if only I would read
all the documentation all the time!)

Cheers, Remigius.

Robert Kluin

unread,
Nov 17, 2010, 1:15:36 PM11/17/10
to google-a...@googlegroups.com
Hey Remigius,
Probably the no dots in the version catch a lot of people. I think
it caught me in the beginning too.

Robert

Reply all
Reply to author
Forward
0 new messages