On Tue, Mar 9, 2010 at 12:52 PM, Dr Dave <[email protected]> wrote:
> On Mar 8, 1:12 pm, Ben Collins-Sussman <[email protected]> wrote:
>> On Mon, Mar 8, 2010 at 1:11 PM, Dr Dave <[email protected]> wrote:
>
>> > I'm stuck now with moving the user data (exercises contributed to
>> > PyWhip).  Looks like that is another thing that Google just doesn't
>> > want us to do real easily.  Any suggestions?
>>
>> "user data"?  Where is that data?  I don't see it.
>
> http://pywhip.appspot.com - click on any of the "problem categories"
> and see a list of problems contributed by students and teachers.  I
> haven't gotten far enough into the code yet to see how this is stored,
> but it looks like we will need to write some kind of command to dump
> it to a file.  Then we'll need another command to read it back in to
> the new project.  The alternative is cut-and-paste between browser
> windows looking at the two projects.  Each problem has several text
> boxes, so it may take hours to do all the copying.
>
> How hard would it be to write a script that renames a project?  Is
> there a reason Google hasn't done this?  I wouldn't even complain if I
> had to run sed on all my own files. It's just the hidden stuff that
> has to be done by the script - changing all 'pywhip' to 'pykata',
> updating the checksums, what else?
>

This data is not stored in your project; it is stored in the pywhip
App Engine application. It is possible to get data in and out of App
Engine programmatically: see
http://code.google.com/appengine/docs/python/tools/uploadingdata.html
for a tutorial.

Not every project hosted here uses App Engine, and the naming of the
project here may or may not correspond to the naming of an App Engine
app, so it would not make sense for a hypothetical project renaming
script to also be involved with the data on an App Engine instance.

Further questions about migrating your App Engine data would best be
asked at the App Engine user forums, e.g.
http://groups.google.com/group/google-appengine .

-- 
Jacob Lee <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Hosting on Google Code" 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-code-hosting?hl=en.

Reply via email to