Skip to content
This repository was archived by the owner on May 9, 2020. It is now read-only.
This repository was archived by the owner on May 9, 2020. It is now read-only.

仓库迁移至 alibaba/ice #297

@chenbin92

Description

@chenbin92

基于一些考虑,将 icejs 仓库迁移至 alibaba/ice 仓库下

alibaba/ice 仓库相关操作

  1. 删除 commit 历史记录
# 删除 .git 目录
$ cd alibaba/ice
$ rm -rf .git
  1. 重新初始化 & 保留 docs&scripts 目录
$ git init
$ git add .
$ git commit -m 'Initial commit'

# 重新提交
$ git remote add origin <url>
$ git push --force --set-upstream origin master
  1. 删除 Releases/Tags 历史记录
# To delete remote tags (before deleting local tags) simply do:
$ git tag -l | xargs -n 1 git push --delete origin
  1. 删除 issues 历史记录
  • 目前只能手动删除 issue (暂未提供删除的相关 api
  • 删除 issue 之后保留其 id,当访问时显示已删除的提示
  • 删除 issue 时协作者不会收到通知
  1. 删除 projects 历史记录
  2. 关于 contributors 信息,建议保留不做删除

ice-lab/icejs 迁移到 alibaba/ice 流程

  1. 将 alibaba/ice 仓库清理完成之后,将 ice-lab/icejs 的 remote-url 重新设置
# 保留原有的 commit & tags 
$ cd ice-lab/icejs
$ git remote set-url origin git@github.com:alibaba/ice.git
$ git push -f origin master
  1. issue 需要转移到 alibaba/ice 仓库下(issue 较少手动迁移即可)
  2. 迁移之后验证文档发布流程
  3. 迁移之后验证 icejs 发布流程
  4. 迁移之后将 icejs 进行归档(Archived)并更新 README 链接到 alibabba/ice 仓库下

其他

迁移完成之后需要做的事情:

  1. 在 alibaba/ice 的 issue 中新增一条置顶 issue 公告迁移的事情
  2. 在飞冰群里发布迁移的公告

问题

关于 alibaba/ice 仓库的 issue 处理方法需要讨论下,目前 alibaba/ice 仓库已关闭 issue 1270 个,未关闭 issue 53 个:

  • 方案一:保留 issue,将现有 issue 进行清理需要关闭的统一关闭
  • 方案二:不保留 issue,将现有 issue 全部删除(但目前无批量删除 issue 的接口只能手动删除)

个人建议方案一,保留 issue 以便之前问题的搜索和历史记录,且对 icejs 无影响

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions