[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-23 Thread Nick Johnson (Google)
Hi Jungang,

Using a version control system such as SVN or Git is your best bet. App
Engine is not intended to be used as version control.

-Nick Johnson

On Wed, Jul 22, 2009 at 11:46 PM, Juguang XIAO  wrote:

> This is not a usual case, but people at times may still need it.
>
> I have two machines, one in office and one at home, working on the same GAE
> project. My usual practice to synchronize these 2 environments is to copy
> the files over my USB drive. As you can see this is very traditional way.  I
> once came across the idea to use a SVN server to sync, but now I think it
> may be the best that GAE provides such features for us. When we do
> `appcfy.py update`, it is really a update or check-in. Why not just add
> check-out ?
>
> My 2 cents
>
> Juguang
>
> --
> =
> Juguang XIAO
> Beijing, China
>
>
> >
>


-- 
Nick Johnson, App Engine Developer Programs Engineer
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-29 Thread Haisheng HU

In my case I just lost the source code of a project, although it is
not a big one. (So I didn't get it into SVN or something like that.)
It would be great to be able to download the source code from app
engine. Gasp!

Haisheng from Beijing


On Jul 23, 5:02 pm, "Nick Johnson (Google)" 
wrote:
> Hi Jungang,
>
> Using a version control system such as SVN or Git is your best bet. App
> Engine is not intended to be used as version control.
>
> -Nick Johnson
>
>
>
>
>
> On Wed, Jul 22, 2009 at 11:46 PM, Juguang XIAO  wrote:
> > This is not a usual case, but people at times may still need it.
>
> > I have two machines, one in office and one at home, working on the same GAE
> > project. My usual practice to synchronize these 2 environments is to copy
> > the files over my USB drive. As you can see this is very traditional way.  I
> > once came across the idea to use a SVN server to sync, but now I think it
> > may be the best that GAE provides such features for us. When we do
> > `appcfy.py update`, it is really a update or check-in. Why not just add
> > check-out ?
>
> > My 2 cents
>
> > Juguang
>
> > --
> > =
> > Juguang XIAO
> > Beijing, China
>
> --
> Nick Johnson, App Engine Developer Programs Engineer
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047
--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread djidjadji

Is the GAE SDK causing more harddisk failures then average?
Am I at risk having the SDK on my harddisk?
I have it now for almost a year on my computer.

Possible solutions for all coders losing there code.
1) use an SVN/GIT/SCCS/CVS/RCS/... version control system, repository
on a different computer/harddisk (use an editor that can handle this
VCS, have a look at emacs, never to late to learn it)
2) make a copy of the code daily on a different harddisk (there are
tools for this, secondcopy and such)
3) make a copy of the code daily on an external USB device
4) make a copy of the code daily by FTP to an external computer.
5) make a zip of the code daily and mail it to yourself to a web based
email account (eq. gmail) (7 Gb zipped code is a lot) (maybe an
incremental zip)

If one of these methods is too much you don't value your doodle.

Hopefully Google will never enable the source download because google
accounts are sometimes hacked and that means that anybody can borrow
my code.
"He, John Doo has written a nice app, lets look at his source code."

2009/7/30 Haisheng HU :
>
> In my case I just lost the source code of a project, although it is
> not a big one. (So I didn't get it into SVN or something like that.)
> It would be great to be able to download the source code from app
> engine. Gasp!
>
> Haisheng from Beijing
>
>
> On Jul 23, 5:02 pm, "Nick Johnson (Google)" 
> wrote:
>> Hi Jungang,
>>
>> Using a version control system such as SVN or Git is your best bet. App
>> Engine is not intended to be used as version control.
>>
>> -Nick Johnson
>>
>>
>>
>>
>>
>> On Wed, Jul 22, 2009 at 11:46 PM, Juguang XIAO  wrote:
>> > This is not a usual case, but people at times may still need it.
>>
>> > I have two machines, one in office and one at home, working on the same GAE
>> > project. My usual practice to synchronize these 2 environments is to copy
>> > the files over my USB drive. As you can see this is very traditional way.  
>> > I
>> > once came across the idea to use a SVN server to sync, but now I think it
>> > may be the best that GAE provides such features for us. When we do
>> > `appcfy.py update`, it is really a update or check-in. Why not just add
>> > check-out ?
>>
>> > My 2 cents
>>
>> > Juguang
>>
>> > --
>> > =
>> > Juguang XIAO
>> > Beijing, China
>>
>> --
>> Nick Johnson, App Engine Developer Programs Engineer
>> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
>> 368047
> >
>

--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Nick Johnson (Google)
On Thu, Jul 30, 2009 at 12:54 PM, djidjadji  wrote:

>
> Is the GAE SDK causing more harddisk failures then average?
> Am I at risk having the SDK on my harddisk?
> I have it now for almost a year on my computer.


No, nothing the SDK does could conceivably cause your hard disk to fail any
faster than any other program.


>
>
> Possible solutions for all coders losing there code.
> 1) use an SVN/GIT/SCCS/CVS/RCS/... version control system, repository
> on a different computer/harddisk (use an editor that can handle this
> VCS, have a look at emacs, never to late to learn it)


A wise idea no matter what you're  developing. There are many free or cheap
source control hosts, such as github, too. Editor support isn't essential,
though.

-Nick Johnson


> 2) make a copy of the code daily on a different harddisk (there are
> tools for this, secondcopy and such)
> 3) make a copy of the code daily on an external USB device
> 4) make a copy of the code daily by FTP to an external computer.
> 5) make a zip of the code daily and mail it to yourself to a web based
> email account (eq. gmail) (7 Gb zipped code is a lot) (maybe an
> incremental zip)
>
> If one of these methods is too much you don't value your doodle.
>
> Hopefully Google will never enable the source download because google
> accounts are sometimes hacked and that means that anybody can borrow
> my code.
> "He, John Doo has written a nice app, lets look at his source code."
>
> 2009/7/30 Haisheng HU :
> >
> > In my case I just lost the source code of a project, although it is
> > not a big one. (So I didn't get it into SVN or something like that.)
> > It would be great to be able to download the source code from app
> > engine. Gasp!
> >
> > Haisheng from Beijing
> >
> >
> > On Jul 23, 5:02 pm, "Nick Johnson (Google)" 
> > wrote:
> >> Hi Jungang,
> >>
> >> Using a version control system such as SVN or Git is your best bet. App
> >> Engine is not intended to be used as version control.
> >>
> >> -Nick Johnson
> >>
> >>
> >>
> >>
> >>
> >> On Wed, Jul 22, 2009 at 11:46 PM, Juguang XIAO 
> wrote:
> >> > This is not a usual case, but people at times may still need it.
> >>
> >> > I have two machines, one in office and one at home, working on the
> same GAE
> >> > project. My usual practice to synchronize these 2 environments is to
> copy
> >> > the files over my USB drive. As you can see this is very traditional
> way.  I
> >> > once came across the idea to use a SVN server to sync, but now I think
> it
> >> > may be the best that GAE provides such features for us. When we do
> >> > `appcfy.py update`, it is really a update or check-in. Why not just
> add
> >> > check-out ?
> >>
> >> > My 2 cents
> >>
> >> > Juguang
> >>
> >> > --
> >> > =
> >> > Juguang XIAO
> >> > Beijing, China
> >>
> >> --
> >> Nick Johnson, App Engine Developer Programs Engineer
> >> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> Number:
> >> 368047
> > >
> >
>
> >
>


-- 
Nick Johnson, Developer Programs Engineer, 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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Holger

Hi Haisheng Hu

maybe you work on open source code and don't fear anything being
stolen.

Partial* download capability can be implement easy into Google
appengine.

Just add the zipme script to your code:
http://www.manatlan.com/blog/zipme___download_sources_of_your_gae_website__as_a_zip_file

It's a great tool. How often did I forget which part of my code is
just uploaded. With the script now I simply add  'zipme' to the URL +
log in with my admin email and get a quick answer.

Bye,
Holger

___
* Static files aren't downloaded with the above version. But hopefully
a future version will get them too.
--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread djidjadji

Another solution proposed in this group was to put the "appcfg.py
update myappdir" in a script/batch file and before the appcfg.py call
a commandline version of a zip tool that zips up the whole myappdir
(except *.pyc files).
Move the file to myappdir.
In a static file directory, or create a handler that dynamically
serves the zip file if you'r admin.

Is it possible to create a static file dir that has login:admin in app.yaml?
This way only an admin can download these static files.

2009/7/30 Holger :
>
> Hi Haisheng Hu
>
> maybe you work on open source code and don't fear anything being
> stolen.
>
> Partial* download capability can be implement easy into Google
> appengine.
>
> Just add the zipme script to your code:
> http://www.manatlan.com/blog/zipme___download_sources_of_your_gae_website__as_a_zip_file
>
> It's a great tool. How often did I forget which part of my code is
> just uploaded. With the script now I simply add  'zipme' to the URL +
> log in with my admin email and get a quick answer.
>
> Bye,
> Holger
>
> ___
> * Static files aren't downloaded with the above version. But hopefully
> a future version will get them too.
> >
>

--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Holger


It is possible.
> Is it possible to create a static file dir that has login:admin in app.yaml?

Supposed you have got a first level folder 'mystat' containing the
'list.txt' file,
add the following to your app.yaml file:

- url: /mystat
  static_dir: mystat
  login: admin

After upload (appcfg.py update) of that code you'll need to log in
with your admin mail to get the content via url
...appspot.com/mystat/list.txt

--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Wooble



On Jul 30, 7:54 am, djidjadji  wrote:
> Possible solutions for all coders losing there code.
> 1) use an SVN/GIT/SCCS/CVS/RCS/... version control system, repository
> on a different computer/harddisk (use an editor that can handle this
> VCS, have a look at emacs, never to late to learn it)
> 2) make a copy of the code daily on a different harddisk (there are
> tools for this, secondcopy and such)
> 3) make a copy of the code daily on an external USB device
> 4) make a copy of the code daily by FTP to an external computer.
> 5) make a zip of the code daily and mail it to yourself to a web based
> email account (eq. gmail) (7 Gb zipped code is a lot) (maybe an
> incremental zip)

you forgot:

 6) backup your entire hard drive, not just your code, on a regular
basis.
--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Pete

The best bet would be a SVN driven App Engine where instead of app
version one would choose a revision number. Uploading source twice
seems very redundant to me.

Pete


On Jul 23, 11:02 am, "Nick Johnson (Google)" 
wrote:
> Hi Jungang,
>
> Using a version control system such as SVN or Git is your best bet. App
> Engine is not intended to be used as version control.
>
> -Nick Johnson
>
>
>
> On Wed, Jul 22, 2009 at 11:46 PM, Juguang XIAO  wrote:
> > This is not a usual case, but people at times may still need it.
>
> > I have two machines, one in office and one at home, working on the same GAE
> > project. My usual practice to synchronize these 2 environments is to copy
> > the files over my USB drive. As you can see this is very traditional way.  I
> > once came across the idea to use a SVN server to sync, but now I think it
> > may be the best that GAE provides such features for us. When we do
> > `appcfy.py update`, it is really a update or check-in. Why not just add
> > check-out ?
>
> > My 2 cents
>
> > Juguang
>
> > --
> > =
> > Juguang XIAO
> > Beijing, China
>
> --
> Nick Johnson, App Engine Developer Programs Engineer
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047

--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-08-03 Thread Haisheng HU

Thank you Holger!


Holger wrote:
> Hi Haisheng Hu
>
> maybe you work on open source code and don't fear anything being
> stolen.
>
> Partial* download capability can be implement easy into Google
> appengine.
>
> Just add the zipme script to your code:
> http://www.manatlan.com/blog/zipme___download_sources_of_your_gae_website__as_a_zip_file
>
> It's a great tool. How often did I forget which part of my code is
> just uploaded. With the script now I simply add  'zipme' to the URL +
> log in with my admin email and get a quick answer.
>
> Bye,
> Holger
>
> ___
> * Static files aren't downloaded with the above version. But hopefully
> a future version will get them too.
--~--~-~--~~~---~--~~
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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---