download_app

73 views
Skip to first unread message

mykhal

unread,
Oct 16, 2010, 11:59:27 PM10/16/10
to Google App Engine
hi, i wonder whether download_app (files/list|get api) functionality
will be restored (if it was ever really functional, there is some code
in 1.3.8 (pre)release present in SDK). because write-only deployment
really sucks

Rafael Sierra

unread,
Oct 18, 2010, 3:07:22 PM10/18/10
to google-a...@googlegroups.com

I would love that too, so I can give my designer access to deploy into
the test appid and then download the code here :(

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

--
Rafael Sierra
http://blog.rafaelsdm.com

Ikai Lan (Google)

unread,
Oct 18, 2010, 4:26:10 PM10/18/10
to google-a...@googlegroups.com
Have you looked into Dropbox?

https://www.dropbox.com/

There is a free offering.

--
Ikai Lan 
Developer Programs Engineer, Google App Engine

mykhal

unread,
Oct 22, 2010, 9:43:38 PM10/22/10
to Google App Engine
On Oct 18, 10:26 pm, "Ikai Lan (Google)" <ikai.l+gro...@google.com>
wrote:
> Have you looked into Dropbox?
>
> https://www.dropbox.com/
>
> There is a free offering.

yes, humor is a nice way to gloss over something

Tim Hoffman

unread,
Oct 23, 2010, 8:08:47 AM10/23/10
to Google App Engine
Hi

This was nearly introduced, and the community overwhelmingly rejected
the proposal.
There are a number of issues that such a facility introduces.

Using a shared fileservice or source code control (actually a much
better strategy) is what
you should be using.

I don't think Ikai was being humorous. It might be worth reviewing
this thread to see just how negative the facility was received.

Rgds

Tim Hoffman

A. Stevko

unread,
Oct 23, 2010, 3:00:41 PM10/23/10
to google-a...@googlegroups.com
IMO, I think source code download is a great disaster recovery option that should have a $$$ price tag associated with it. 


nickmilon

unread,
Oct 23, 2010, 3:30:06 PM10/23/10
to Google App Engine, nickmilon....@blogger.com
I think community here has by a vast majority rejected the idea of
code downloading at least as default (opt out) option.
I also do not like the idea of a payable service, since it will
complicate the pricing model, will attract criticism against the
platform and help guys who are in the business of doing unresonabel
GAE vs S3 vs whatever_looks_like_cloud comparisons happy.

But ... then again who am I to tell mother G what to do ? -:)

On Oct 23, 10:00 pm, "A. Stevko" <andy.ste...@gmail.com> wrote:
> IMO, I think source code download is a great disaster recovery option that
> should have a $$$ price tag associated with it.

> On Sat, Oct 23, 2010 at 5:08 AM, Tim Hoffman <zutes...@gmail.com> wrote:
> > Hi
>
> > This was nearly introduced, and the community overwhelmingly rejected
> > the proposal.
> > There are a number of issues that such a facility introduces.
>
> > Using a shared fileservice or source code control (actually a much
> > better strategy) is what
> > you should be using.
>
> > I don't think Ikai was being humorous.  It might be worth reviewing
> > this thread to see just how negative the facility was received.
>
> > Rgds
>
> > Tim Hoffman
>
> > On Oct 23, 9:43 am, mykhal <michal.bo...@gmail.com> wrote:
> > > On Oct 18, 10:26 pm, "Ikai Lan (Google)" <ikai.l+gro...@google.com<ikai.l%2Bgro...@google.com>

John McLaughlin

unread,
Oct 23, 2010, 4:50:02 PM10/23/10
to Google App Engine
I like keeping my functionality separate. I currently use:

GAE -- for deployment
SVN -- for version control and archiving
Dropbox -- for automatic file backups and file sharing. (In fact my
whole personal source tree is in a Dropbox folder.)

I agree with the others. Using GAE for the other functionality IMHO
is asking for trouble and confusion.

John

Ikai Lan (Google)

unread,
Oct 25, 2010, 2:55:19 PM10/25/10
to google-a...@googlegroups.com
No, I was not being facetious. It is your responsibility to backup code. If you are not using source control, you are not taking your project seriously.


--
Ikai Lan 
Developer Programs Engineer, Google App Engine




--

sodso

unread,
Oct 25, 2010, 9:08:13 PM10/25/10
to Google App Engine
Heres a sample code to browse your source code online (not sure if it
will traverse subdirectories, you can add that piece easily using os
functionality

import os,cgi
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

class code(webapp.RequestHandler):
def get(self):
self.response.headers['Content-Type'] = 'text/html;
charset=utf-8'
self.response.out.write("<html><body><pre>")
for k, v in os.environ.items():
self.response.out.write(k + '>' + v + '<br />')
self.response.out.write("<br /><br /><br />")
self.response.out.write(os.getcwd())
self.response.out.write("<br /><br /><br />")
dirlist = os.listdir('./')
for d in dirlist:
if os.path.isdir(d) == False:
f1 = open(d, 'r')
self.response.out.write('<br />' + d + '<br /
>-------------<br />')
for line in f1:
self.response.out.write(cgi.escape(line))
f1.close()
self.response.out.write('<br />-------------<br />')
self.response.out.write("</pre></body></html>")

def main():
run_wsgi_app(webapp.WSGIApplication([('/code', code),]))

if __name__ == '__main__':
main()

sodso

unread,
Oct 25, 2010, 9:13:08 PM10/25/10
to Google App Engine
heres how to view your source code online anytime anywhere

just enable Interactive Console in your GAE prod application....refer
my other post here

http://code.google.com/appengine/forum/?place=topic%2Fgoogle-appengine%2FpVxBq4jE0hQ%2Fdiscussion

then type above code into interactive console and run it interactively
to see the src online
cheers !
Reply all
Reply to author
Forward
0 new messages