-
Notifications
You must be signed in to change notification settings - Fork 250
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
Convert to plain JavaScript (or perhaps ES6 with Babel) #48
Comments
https://github.com/decaffeinate/decaffeinate seems to produce surprisingly decent results, at least with the smaller files I tried. |
It's a slow start, but |
Hi @sorccu Sorry, but I didn't understand
Could you explain it better? What do you mean by combining lib and src? |
Tests require the src folder, whereas the public package only has the lib folder. The decaf branch is slightly out of date. While the converted files may work as-is, many of them look quite crappy. |
|
How is this project going ? Maybe is time to rewrite the adbkit with pure JavaScript. It's not only just about the CoffeeScript, it's also about the dependencies many of which are out of date, such as the bluebird. |
Outdated deps are a separate issue - some spots still use progress callbacks which means that breaking changes are required, which means more work downstream. It’s not quite so simple. Also, and please keep in mind that I am trying to say this as nicely as possible, and I am aware that your intent was not malicious, but just to make it clear, open source creators/maintainers are not public utilities. Unfortunately, spending two or more days on the conversion is not a time investment I will be able to or necessarily even want to do anytime soon - certainly you should not expect that. It may happen or it might not. It is a significant task. If someone wants to take charge of the conversion project, that would be great and would make things go faster :) Should I end up doing it, it will be on my terms. |
Thanks for your effert for this. You did a great job. |
@sorccu can we start by converting the grunt file from CS to JS? I can create a PR for it |
Yes |
2020 Go straight to Typescript |
go typescript? |
There is a PR for that. However it has merge conflicts: #120 |
I would like to help convert project to plain JavaScript. |
Coffee files are still in sources: https://github.com/openstf/adbkit/tree/master/src |
Here's the sample of plain Javascript version https://github.com/RexHuang/adbkit.js |
this PR has existed to convert only the grunt file to javascript for a while and it has no merge conflicts https://github.com/openstf/adbkit/pull/122/files |
This is a tracking issue for converting the codebase to plain JavaScript. Many potential contributors have expressed their feelings that they're unable to work with a CoffeeScript codebase, plus CoffeeScript is being left behind in features anyway. It has outlived its usefulness.
Steps:
lib
andsrc
so that we can start writing plain JS files that work from both CS and JS.prepublish
build script (unless converted to Babel).Help is most welcome.
The text was updated successfully, but these errors were encountered: