-
Notifications
You must be signed in to change notification settings - Fork 640
Tracking issue for upgrading to Ember Octane #1795
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
Comments
Hi @richard-viney! A couple of Ember people have sporadically helped modernize the codebase and the changes were welcome once discussed with the crates team. A currently related effort is the Enable Fastboot, which required updating several dependencies. |
There are plans to migrate away from Ember while redesigning crates.io at the same time, see e.g. this comment. For this reason, I'm not sure we want to migrate to a new version of Ember at this point, unless this migration would solve the problems that prompted the decision to migrate away from Ember (the details of which I am not aware of). |
I don't think there is consensus among the team on what this would like like and how to land the changes incrementally. Even if we had an outline of a clear path forward, I expect that we will be committed to maintaining the frontend for at least another year or 2 until the migration was complete. Therefore, I think there is a lot of value in ensuring the frontend dependencies are kept up to date and that current Ember best practices are followed. |
OK, thanks for the info & insight everyone. One consideration is that many modernisation opportunities in Ember Octane can be done independently of other structural refactoring that may be needed in the codebase. Keeping the two separate is likely to make life easier. E.g. a component can be updated to use ES6 classes and decorators without actually altering its logic or structure, and there are codemods being worked on that aim to do this in a largely automated fashion. @locks Do you have a link to the crates.io team's Discord so I can read through the discussion there? |
@richard-viney https://discord.gg/zVc7xf is the channel. I am mainly working on #1715 so far and in the channel as @kzys as well. |
@richard-viney hey :) did you join the discord? |
Hi folks! I worked on the original Ember crates.io app and currently am one of the maintainers of Ember. As @richard-viney said, it's probably worth upgrading to Octane separately from any other structural changes. I'm interested in pitching in here -- a lot of my current work is evaluating Octane against real-world applications (beyond the app I work on at work) and crates.io would be a great addition to that effort. Should I hop in on Discord? |
Hi @wycats! Hopping in Discord to help us out would be great! Us Rust folks really have no idea what we're doing 🐶 so we'd love your guidance. |
Pinging this thread that I've added Ember to the agenda for this week. If you're able to attend, the meeting is in the Discord channel at 2019-10-31 20:00 UTC (agenda). It's the third item, so we'll probably start discussing it about 10 minutes into the meeting. As I understand it, there is general agreement on the modern style and code lints that could be applied. There may however be details and planning to work though to update dependencies, in particular for If you're not able to make the meeting, feel free to reach out async via the Discord channel as well. |
The minimal dependencies changes for Fastboot have been landed on master, and Fastboot itself can be disabled by un-setting USE_FASTBOOT. The whole effort is tracked by #1811. So, I hope that you may not have big package.json conflicts from Fastboot-related changes! |
Hi,
I'm an experienced Ember.js dev, a budding Rust dev, and would like to offer my services to help upgrade the
crates.io
frontend code to the more modern techniques and paradigms available in what will soon be released as Ember Octane.This would include changes along the lines of:
ember-source
,ember-cli-babel
,ember-data
, and other relevant packages.get()
andthis.get()
.{{on}}
and{{fn}}
modifiers instead of{{action}}
ember-template-lint
to enforce modern template style such asthis.
prefixes.All of the above are possible as of the current stable Ember 3.11 release, and there would be a few more items added once Ember Octane is completed. Specifically: tracked properties and completing the move to Octane components that would already be well-advanced following the above work.
I've managed similar code transitions on a large Ember codebase before and am comfortable with what's involved. The work breaks down easily into a series of separate PRs at whatever level of granularity is desired.
Please let me know if there's any appetite for this upgrade, if anyone's already working on something similar or is keen to be involved, and then we can go from there.
Thanks!
The text was updated successfully, but these errors were encountered: