Download Nodejs code from Google Cloud Platform

69 views
Skip to first unread message

Mohd Fuad

unread,
Jan 23, 2020, 9:10:47 AM1/23/20
to Google App Engine
I have recently lost access to my hard drive ( it died) and the only source code of my application ( Node JS) is at the Google Cloud Platform. Is there a way that i can download my node js project from the GCP?

Khaled Wagdy

unread,
Jan 23, 2020, 9:30:28 AM1/23/20
to google-a...@googlegroups.com
Ouch! I'm not sure for NodeJS, but did you check the "Source" tab on your GCP project?

On Thu, 23 Jan 2020, 16:10 Mohd Fuad, <fuad...@gmail.com> wrote:
I have recently lost access to my hard drive ( it died) and the only source code of my application ( Node JS) is at the Google Cloud Platform. Is there a way that i can download my node js project from the GCP?

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/26714ec4-6954-4bc6-8cf0-ab03884a6780%40googlegroups.com.

Mohd Fuad

unread,
Jan 23, 2020, 12:02:57 PM1/23/20
to google-a...@googlegroups.com
Source can only view.. But cannot download the entire code

Mohd Fuad

unread,
Jan 23, 2020, 12:12:19 PM1/23/20
to Google App Engine
The source tab are on view mode only. I cannot download the whole code :(

Olu

unread,
Jan 23, 2020, 1:33:29 PM1/23/20
to Google App Engine
Firstly, it is unclear where your application was deployed? App Engine Standard? Or App Engine flexible? The setup of App Engine Standard and Flex are quite different. 

Downloading your Node.js source code from your Google App Engine is not supported at the moment. There is a Feature request[1] submitted for the implementation of the Source code download(For all Supported GCP programming languages) for App Engine, however, this has been considered internally as infeasible at the moment. Only a few requests have been received for this feature to be implemented(you can click the +1 button on the request to add your vote for the implementation). As a matter of fact, the GCP team recommends avoiding the use of App Engine as a source control, which is why this feature is not available. There used to be certain App Engine SDKs[2] that allow this(which information available to me, at the moment, suggests are now deprecated), but certainly not available for node.js. 


Mohd Fuad

unread,
Jan 24, 2020, 8:48:11 AM1/24/20
to google-a...@googlegroups.com
I think mine is standard, as image attached.

Does that means there's no way for me to get my codes back? :(



--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
Screenshot_20200124_073854.jpg

Olu

unread,
Jan 24, 2020, 12:58:35 PM1/24/20
to Google App Engine
Traditionally on Google App Engine Standard Environment, at the moment, it seems there is no option to download the Source Code from App Engine. As you already know, the Source Diagnose button on the App Engine application version would redirect to the Stackdriver Debugger which allows viewing the source code and performing debugging-like analysis. You could copy and paste the contents to your local file. It is not recommended to rely on Google App Engine as a source control[2]. 

Reply all
Reply to author
Forward
0 new messages