halo-sigs / plugin-migrate

支持多种平台的数据迁移插件
https://halo.run/store/apps/app-TlUBt
GNU General Public License v3.0
8 stars 5 forks source link

feat: add migration supports for journals, photos and links. #19

Closed LIlGG closed 1 year ago

LIlGG commented 1 year ago

What type of PR is this?

/kind feature

What this PR does / why we need it:

增加 1.x 版本日志、图库以及友情链接的迁移功能。

分别需要如下插件的支持,没有插件将不会显示对应的迁移列表。括号内为插件所需版本要求 日志 -> https://github.com/halo-sigs/plugin-moments (version >= 1.0.0) 图库 -> https://github.com/halo-sigs/plugin-photos (version >= 1.0.0) 友情链接 -> https://github.com/halo-sigs/plugin-links (version >= 1.2.0)

Which issue(s) this PR fixes:

Fixes #16

Special notes for your reviewer:

  1. 从 Halo 1.x 版本中导出 json 数据文件

  2. 安装可运行插件 plugin-migrate-1.1.0-SNAPSHOT.jar.zip

  3. 安装 moments 插件, photos 插件 以及 links 插件

  4. 点击“执行导入”,待完成后查看对应功能数据是否迁移成功。

Does this PR introduce a user-facing change?

增加 Halo 1.x 中日志、相册、友情链接的数据迁移。
ruibaby commented 1 year ago

/lgtm

ruibaby commented 1 year ago

@halo-sigs/halo

f2c-ci-robot[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ruibaby

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/halo-sigs/plugin-migrate/blob/main/OWNERS)~~ [ruibaby] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment