-
Notifications
You must be signed in to change notification settings - Fork 292
BUILD_FROM_SRC_DOC_AND_DOCKERIZED_STANDALONE_APM #871
Comments
I heard that Python 2.7 has reached EOL, so what about Atom IDE ? |
You haven't provided any information on what errors you were seeing that led you to this, but I'm guessing that you were running into the ever present
Atom itself has no dependency on Python, other than the previously mentioned
Does that answer your questions? |
Hi @Arcanemagus , Thank you so much for this quick and extensive answer ! Actually, I did understand that APM was not meant to be run on standalone, and I wrote my issue more to share an opportunity rather than pointing out an issue. I also point the Python 2.7 EOL issue, because it is important, and so interesting, very much so indeed :
Well it's word (to be or not to be, that is not the question) :
My customers care a lot about your work, You wouldn't imagine the crazy things I ended up doing, after success tearing off To finish with that, what I'll do I'll share as soon as possible with the community a work I 'm currently finishing, I'll say when done. Will take weeks, I am now sick at home, and will have to work a lot for a customer when I'm back on foot, but I seriously plan to release before Christmas. And my first goal will be to solve this nasty
Thank you so much for your additional, helpful informations @Arcanemagus And I love Ttys |
@Arcanemagus As sson as I have respawned My different tests, i'll give you details about :
ln -s $EMBEDDED_NODE_HOME/node /pipeline/ops/bin/node
# where EMBEDDED_NODE_HOME is the folder, inside
# the NodeJS official Docker image, where the [node] executable is located on Filesystem
@Arcanemagus Just to mention, Here is output of my automated build, with prooof I run APM standalone with 0 errors, just a "warning", that the Step 36/37 : RUN ./bin/apm --version
---> Running in 416e4f6dbd7f
apm 2.4.3
npm 6.2.0
node 8.16.2 x64
atom unknown
python 2.7.16
git 2.20.1
Removing intermediate container 416e4f6dbd7f
---> 427e06a64adb
Step 37/37 : CMD ["/bin/sh"]
---> Running in e8def61732ee
Removing intermediate container e8def61732ee
---> 8b2acbdb287d
[Warning] One or more build-args [AAAA] were not consumed
Successfully built 8b2acbdb287d
Successfully tagged pegasus-devops.io/apm_build_from_src:0.0.1
WARNING: Image for service hot_ide_workspace was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating apm_build_from_src ... done
WARNING: The BBBB variable is not set. Defaulting to a blank string.
Attaching to apm_build_from_src
jbl@poste-devops-typique:~$ docker exec -it apm_build_from_src sh
/pipeline/ops # ls -allh /pipeline/ops/
total 380
drwxr-xr-x 1 root root 4.0K Oct 20 16:02 .
drwxr-xr-x 1 root root 4.0K Oct 20 16:00 ..
-rw-r--r-- 1 root root 15 Oct 20 16:02 .embedded.node.home.pgs
drwxr-xr-x 8 root root 4.0K Oct 20 16:00 .git
-rw-r--r-- 1 root root 20 Oct 20 16:00 .gitattributes
drwxr-xr-x 2 root root 4.0K Oct 20 16:00 .github
-rw-r--r-- 1 root root 65 Oct 20 16:00 .gitignore
-rw-r--r-- 1 root root 109 Oct 20 16:00 .npmignore
-rw-r--r-- 1 root root 372 Oct 20 16:00 .pairs
-rw-r--r-- 1 root root 335 Oct 20 16:00 .travis.yml
-rw-r--r-- 1 root root 8 Oct 20 16:00 BUNDLED_NODE_VERSION
-rw-r--r-- 1 root root 92 Oct 20 16:00 CONTRIBUTING.md
-rw-r--r-- 1 root root 1.1K Oct 20 16:00 Gruntfile.coffee
-rw-r--r-- 1 root root 1.6K Oct 20 16:00 ISSUE_TEMPLATE.md
-rw-r--r-- 1 root root 1.0K Oct 20 16:00 LICENSE.md
-rw-r--r-- 1 root root 1.5K Oct 20 16:00 PULL_REQUEST_TEMPLATE.md
-rw-r--r-- 1 root root 3.5K Oct 20 16:00 README.md
-rw-r--r-- 1 root root 262 Oct 20 16:00 appveyor.yml
drwxr-xr-x 1 root root 4.0K Oct 20 16:02 bin
-rw-r--r-- 1 root root 607 Oct 20 16:00 coffeelint.json
-rw-r--r-- 1 root root 37.9K Oct 20 16:00 deprecated-packages.json
drwxr-xr-x 1 root root 4.0K Oct 20 16:02 lib
drwxr-xr-x 3 root root 4.0K Oct 20 16:00 native-module
drwxr-xr-x 1 root root 4.0K Oct 20 16:02 node_modules
-rw-r--r-- 1 root root 225.6K Oct 20 16:00 package-lock.json
-rw-r--r-- 1 root root 1.5K Oct 20 16:00 package.json
drwxr-xr-x 2 root root 4.0K Oct 20 16:00 script
drwxr-xr-x 3 root root 4.0K Oct 20 16:00 spec
drwxr-xr-x 1 root root 4.0K Oct 20 16:00 src
drwxr-xr-x 7 root root 4.0K Oct 20 16:00 templates
/pipeline/ops # ls -allh /pipeline/ops/bin/
total 28
drwxr-xr-x 1 root root 4.0K Oct 20 16:02 .
drwxr-xr-x 1 root root 4.0K Oct 20 16:02 ..
-rwxr-xr-x 1 root root 1.2K Oct 20 16:00 apm
-rw-r--r-- 1 root root 702 Oct 20 16:00 apm.cmd
lrwxrwxrwx 1 root root 19 Oct 20 16:02 node -> /usr/local/bin/node
-rwxr-xr-x 1 root root 697 Oct 20 16:00 npm
-rw-r--r-- 1 root root 175 Oct 20 16:00 npm.cmd
-rwxr-xr-x 1 root root 887 Oct 20 16:00 python-interceptor.sh
/pipeline/ops # apm --version
sh: apm: not found
/pipeline/ops # ls -allh /pipeline/ops/bin/apm
-rwxr-xr-x 1 root root 1.2K Oct 20 16:00 /pipeline/ops/bin/apm
/pipeline/ops # /pipeline/ops/bin/apm --version
apm 2.4.3
npm 6.2.0
node 8.16.2 x64
atom unknown
python 2.7.16
git 2.20.1
/pipeline/ops # /pipeline/ops/bin/apm install hydrogen
/pipeline/ops/lib/command.js:127
throw new Error('Could not determine Electron version');
^
Error: Could not determine Electron version
at getResourcePath (/pipeline/ops/lib/command.js:127:17)
at config.getResourcePath (/pipeline/ops/lib/command.js:141:18)
at /pipeline/ops/lib/apm.js:81:20
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickCallback (internal/process/next_tick.js:181:9)
/pipeline/ops #
|
Since it sounds like that answered your question, and there isn't an issue with Thanks for reaching out! Because we treat our issues list as the Atom team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Atom there are a lot of options, check out:
On Discuss and in the Atom Slack team, there are a bunch of helpful community members that should be willing to point you in the right direction. |
@Arcanemagus Thank you for your answer, which brings unexpected support to the point of view I here shared : I propose my help about the Team 's infrastructure. I'd be very happy to. Btw, what is this : ? Sum up of my access try outs
EventuallyI searched |
So now, my first serious ideaLet's change
So, all in all, where I totally understand why you pointed out it's |
Summary
I recently checked that the Build From Source Documentation of
APM
, is severely lacking infos. For instance :APM
up withNodeJS
runtime,2.7
release version (latest update)All in alll, you'll find all you need to manage this issue at : https://github.com/Jean-Baptiste-Lasselle/apm-dokerized-build-from-source
Motivation
Well i wanted to make hot configuration possible, meaning up to hot package reloading
I open this issue to quickly share the work I already achieved, an automated APM Build From Source.The recipe also shows how to standalone run APM, see : https://github.com/Jean-Baptiste-Lasselle/apm-dokerized-build-from-source
Describe alternatives you've considered
Eclipse Che
Additional context
...
The text was updated successfully, but these errors were encountered: