commonmark / commonmark/commonmark-java

Java (OpenJDK) using commonmark-java

未关闭
#342 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Java
星标
2.7k
派生
336
PR 合并指标
30 天内没有已合并 PR

描述

Since this pull request, Java (OpenJDK) has included a copy of commonmark-java:

When they copied the source files, they made a few adjustments too. There's a list here:

// This module is primarily an import from a recent tagged version of
//     https://github.com/commonmark/commonmark-java
//
// The following parts are imported:
//
// * commonmark/src/main/java
// * commonmark/src/main/resources
// * commonmark-ext-gfm-tables/src/main/java
// * commonmark-ext-gfm-tables/src/main/resources
//
// For source and resource files, the following transformations are applied:
//
// * legal headers are added
// * package and import statements are updated
// * characters outside the ASCII range are converted to Unicode escapes
// * @SuppressWarnings("fallthrough") is added to getSetextHeadingLevel
// * the value for ENTITY_PATH is updated with the modified package
// * the file `entities.properties` is renamed to `entities.txt`

Let's make it easier for them next time by adopting some of the changes.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先将 commonmark/src/main/java 和 commonmark/src/main/resources 路径,以及 commonmark-ext-gfm-tables/src/main/java 和 src/main/resources 路径,与 module-info.java 中引用的已复制 OpenJDK 文件进行比较。检查列出的每项转换,以及相关的源代码和资源布局。完成的标准是已处理相关差异,使未来的 OpenJDK 导入所需的调整更少。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
backend
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。