brackets-server icon indicating copy to clipboard operation
brackets-server copied to clipboard

update to 1.5

Open jmls opened this issue 10 years ago • 25 comments
trafficstars

When starting brackets server, a dialog pops up to say that 1.5 is available, and do I want to install it. I installed brackets server using "npm install brackets -g"

Is it possible to install brackets-server with 1.5 or higher of brackets ?

thanks

jmls avatar Nov 16 '15 13:11 jmls

Brackets source code has to be updated to the latest version. That usually is not a trivial task. Brackets-server does quite a few hacks in order to work as a service and when they change something in the core those hack have to be adjusted.

Unfortunately, for the time being I cannot commit to a specific time for updating the source.

rabchev avatar Nov 18 '15 08:11 rabchev

Hi Boyan, thanks for the update. What sort of hacks are required ? I may be able to task one of my team to work on this if you need help

jmls avatar Nov 18 '15 10:11 jmls

could you let me know roughly how much time you would expect to convert from 1.4 to 1.5 ? I need to set some budgets to allocate someone to this and I'd rather not guess ;)

jmls avatar Nov 23 '15 14:11 jmls

Hi jmls,

The Brackets version in the current brackets-server NPM package is 1.3. I started to update it to 1.4, but I didn't have time to finish it. Meanwhile 1.5 was released.

The update process look like this: start the server, an error pops up, debug, fix it, then the next error pops up and the whole process is repeated until all errors are resolved.

I really don't know how much work is needed, because I don't know how much and what has been changed. Usually, it takes me 15 to 20 hours to resolve all issues.

This week I'm very busy, but I will try to set aside a few hours next week, at least to give you some guidance on the most time consuming issues.

I'll be more than happy if you help with the update.

Thanks for your interest, I'll get back to you as soon as possible. Meanwhile if you have some questions, don't hesitate to ask, I will try to answer more promptly next time. Sorry for the late response.

rabchev avatar Nov 23 '15 21:11 rabchev

@jmls if you decide to take on the task, I can help out with the update.

rick4470 avatar Dec 11 '15 04:12 rick4470

@rick4470 that's awesome ;) Thanks! I'm lining up the ducks, trying to find the space and time for my man to start , anything you can help with would be fantastic

jmls avatar Dec 11 '15 21:12 jmls

Guys, I'm struggling to find some time to see what problems have appeared. I'm behind on my work projects. I might be able to spend a few hour this Sunday, though.

rabchev avatar Dec 11 '15 22:12 rabchev

ok, so we've started to play with this. So far we've managed to upgrade to the 1.6 code and all seems to be working well.

however, we are having a problem with extensions. Running on a physical machine, we can install extensions with no problem. however, in a docker container, we get the error "an uknown error has occurred"

Any idea on what may be causing this ?

image

jmls avatar Dec 16 '15 13:12 jmls

Can you make pull request with the changes. I will try to reproduce it.

rabchev avatar Dec 16 '15 16:12 rabchev

the only real changes made so far is to replace the code with the 1.6 release ;)

jmls avatar Dec 17 '15 14:12 jmls

Has anyone had any luck in upgrading and installing extensions in a Docker container?

As @jmls mentioned, we have been trying to do this upgrade and have run into a basic issue with the installing extensions in a Docker container.

Any clues on what to look for to try and resolve this?

@rabchev any chance you have had time to look at this upgrade ;-)

asthomasdk avatar Dec 28 '15 11:12 asthomasdk

I just pushed the new version. There are some problems with some extensions that require Node domains, but the ones that work only in the browser are fine.

I will test more extensively and fix eventual issues in the next a few days.

@asthomasdk It works just fine in docker container, I will prepare a docker file for you.

rabchev avatar Jan 05 '16 00:01 rabchev

Excellent news! We will take a look at what you have done so far and see how this works.

asthomasdk avatar Jan 05 '16 06:01 asthomasdk

hi @rabchev - any chance you can share the Dockerfile you are using?

We are very keen to get tty.js and terminal working with brackets-server.

TIA

asthomasdk avatar Jan 05 '16 15:01 asthomasdk

I'm still trying to resolve an issue with containers. I will send it to you as soon as I'm ready.

rabchev avatar Jan 07 '16 01:01 rabchev

I've committed the Dockerfile in /docker/dev directory. There is brief explanation in the readme file how to use it.

rabchev avatar Jan 10 '16 01:01 rabchev

+1

dimitrovs avatar Feb 01 '17 06:02 dimitrovs

@jmls , @rabchev Hi! Is there somewhere working server version with 1.9 ?

anephew avatar May 19 '17 04:05 anephew

We do not yet have a working version with 1.9, only 1.8. But it is high on our wishlist.

Next week, we will be open sourcing a set of projects under the name of "nodeSpeed Development". The main project for this is a project originally built on this brackets-server project. It uses Brackets 1.8 at the moment, runs in Docker (we use Rancher for orchestration but it will also work with docker-compose), uses an implementation of xterm-js as the terminal, user sign-in and authentication (using Auth0) and more.

We are hoping that others will find this useful and that we can work with others on moving this forward as an active set of projects to keep up with Brackets and add new features.

asthomasdk avatar May 19 '17 06:05 asthomasdk

@asthomasdk, cool, will wait. But where i can download working version with 1.8?

tnx

anephew avatar May 19 '17 11:05 anephew

Not sure if anyone else has a working version of this project with 1.8.

asthomasdk avatar May 19 '17 11:05 asthomasdk

@asthomasdk Was "nodeSpeed Development" released? Can't wait to see it.

dihuta avatar May 30 '17 16:05 dihuta

I see you found the project already ;-) We decided to call the main project nodeSpeed IDE - as our hosted implementation of this will be nodeSpeed Development.

There are still some things to sort out and some more testing to do of this build - but the nodeSpeed IDE project is available for anyone who wants to take a look, try it out - and more importantly start contributing to it.

https://github.com/whoGloo/nodespeed-ide

We are very excited to try and move what was started in this project here forward and hope to get others involved.

asthomasdk avatar May 30 '17 19:05 asthomasdk

@asthomasdk thanks for your work. I was able to get the docker image working, but I had to switch the user back to root as I want to bind mount my projects. The image size is quite big at 1.6 gigs. I tried building it from alpine but couldn't get all the dependencies to install. Still, quite possibly the best open source hosted IDE out there right now.

dimitrovs avatar Jun 25 '17 00:06 dimitrovs

Thanks @dimitrovs!

Good to see you are getting some benefit from this.

We added a non-root user and nvm (for multiple versions of node.js ) to the default build to support a use case with meteor development, which does not like it when you are using root. Until then, we have always had the root user as the only user (as this is fine IMHO for docker based systems like this) and this has worked fine.

Anyway - if you find issues, or have stuff to contribute - feel free to log issues and submit PRs.

asthomasdk avatar Jun 25 '17 16:06 asthomasdk