Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will this project continue to be maintained? #806

Open
mamo2021 opened this issue Sep 3, 2024 · 2 comments
Open

Will this project continue to be maintained? #806

mamo2021 opened this issue Sep 3, 2024 · 2 comments

Comments

@mamo2021
Copy link

mamo2021 commented Sep 3, 2024

The last updates were made years ago. I have also not found a fork that is still being maintained.
When trying to install the instance using docker-compose, the following message is displayed:

ERROR: for ethercalc [DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of docker.io/audreyt/ethercalc:latest to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/

Is Ethercalc still being developed and kept up to date or is the project dead?

@1n5aN1aC
Copy link

1n5aN1aC commented Sep 8, 2024

It appears that the author has an alternative docker hub image which is updated for the new(er) docker format. It still appears pretty old, and no recent updates, but it does run without any further modifications:

https://hub.docker.com/r/audreyt/ethercalc-4.8

image: audreyt/ethercalc-4.8

@rophy
Copy link

rophy commented Oct 6, 2024

I managed to upgrade nodejs to 18, fix critical CVEs by manaually, minimally force upgrade some packages, and rewrite Dockerfile to not rely on the ancient published npm package:

master...rophy:ethercalc:fix-critical-cve

The docker image works for me: node 18, no critical CVE, mult-user spreadsheet works. I built one and published to: https://hub.docker.com/r/rophy/ethercalc/tags

However, to make this project really maintainable, I think we need to drop that livescript and use more modern technology.

From ethercalc blog, livescript was adopted to deal with nodejs callback hell and "prototype things with less lines of code"...

  1. callback hell is no longer an issue thanks to async / await.
  2. Less lines of code doesn't mean it's easier to maintain, sadly this project turnd out to be the opposite.

I tried to spend a day doing that, and gave up for now due to some complexity involved:

  1. zappajs went through major incompatible changes, instead of adapting to new version, may consider finding alternatives given it was a framework for coffeescript, which is even more ancient than livescript.
  2. webpack had incompatible changes as will, have to revamp the build flow.
  3. Build flow for multi/main.ls seems to be broken related to multi/styles.styl. Things still work because compiled main.js is also in git. At a glance, I'm not sure how to fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants