How to update a part of application?

5 views
Skip to first unread message

thanhnv

unread,
Dec 30, 2009, 12:00:47 AM12/30/09
to Google App Engine
Hello all,

Please help me with this issue.
How do I update a part of my application.
Now, if I use this command: appcfg.py update myapp
It will check all my application' file and update them to server. But,
what is happend if my application is 1G or larger than?

So, it have any solutions to update apart of my app (specific files or
folders).

thanks

djidjadji

unread,
Dec 30, 2009, 4:44:42 PM12/30/09
to google-a...@googlegroups.com
appcfg.py will only upload the changed files.
It first collects hash-md5 values for all files that are part of the
application.
Sends these hash values to the server, in filename-hash combos.
The server returns the filenames it does not have, in any of the
versions of the app.
Then appcfg.py uploads these files.

There is a max of a how many storage these static files may have
(about 100meg??)

The storage of the static and source files is independent of the
datastore content.
The datastore can be as big as your wallet can support, just enable billing.

2009/12/30 thanhnv <vietthan...@gmail.com>:

> --
>
> 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.
>
>
>

thanhnv

unread,
Dec 31, 2009, 10:04:46 AM12/31/09
to Google App Engine
@djidjadji: thankyou for your answer. But, I think It will take much
time to checks all files and collects changed file while I know
exactly what folder (or files) are modified. So, I have edited a
little code of appcfg.py to solve this issue. I hope it does not
infringe Google license.
And, I hope they will add this feature on next version of SDK :)

thanks

Andy Freeman

unread,
Dec 31, 2009, 3:43:54 PM12/31/09
to Google App Engine
Instead of "thinking" that it will take a lot of time to check the
files, you could measure how much time it takes.

That way, you'll know how much time you saved when you screw up an
update because you didn't correctly specify which files changed.

I'm guessing that the amount of time that you will save is far less
important than messing up an update. Yes, you will mess up an update
with your scheme. You'll forget that you changed a file.

thanhnv

unread,
Jan 1, 2010, 8:23:40 PM1/1/10
to Google App Engine
It's only a option of update command when I want to update specific
folder.
I still can update all application with original command.
Anyway, thank you for your idea.
Reply all
Reply to author
Forward
0 new messages