Actions
action #159411
closedUpgrade codemirror from 5.58.2 to 6.0.1 size:M
Start date:
2024-04-22
Due date:
2024-05-10
% Done:
0%
Estimated time:
Tags:
Description
Motivation¶
dependabot automatically prepares PR's as a new version of a dependency we rely on is available. Some of the updates require manual intervention when there's incompatible changes. We should treat them like High tickets.
codemirror 6.0.1 has been available since March 15 meaning it exceeds our SLA and we should look into it asap, hence this ticket to make it more visible.
Acceptance criteria¶
- AC1: The codemirror dependency has been upgraded, replaced or otherwise handled
Suggestions¶
- See https://github.com/os-autoinst/openQA/pull/5524 as a starting point for the upgrade Note that there'd be also many alternatives: https://js.libhunt.com/codemirror-alternatives Considering that updating CodeMirror would be quite some effort as well we should consider looking into alternatives as well:
- Look into "ace editor", Try https://ace.c9.io/
- Quill looks light-weight (see https://www.npmjs.com/package/quill). It uses https://highlightjs.org as dependency and would definitely support all languages we need that way. Judging by this example no bundling is required for that. mkittler votes for quill because that would probably be very easy to do. One just had to follow the example from https://quilljs.com/docs/modules/syntax. but hasn't consider ace editor yet
Rollback actions¶
- DONE
Enable auto-update service on o3 - DONE
Make sure openqa on o3 is up-to-date again
Actions