Skip to content
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

[Feature] 0.7.0 auto-port tool #165

Closed
5 tasks done
Tracked by #124
BlueGlassBlock opened this issue May 24, 2022 · 2 comments · Fixed by #156
Closed
5 tasks done
Tracked by #124

[Feature] 0.7.0 auto-port tool #165

BlueGlassBlock opened this issue May 24, 2022 · 2 comments · Fixed by #156
Labels
enhancement New feature or request
Milestone

Comments

@BlueGlassBlock
Copy link
Member

BlueGlassBlock commented May 24, 2022

使用场景
0.7.0 的自动迁移工具

你想要的解决方案
utils/convert.py 给出
使用 ast 模块解析用户的调用,并自动替换
用户执行 convert.py <directory_or_file> 即可

其他内容
See #156

  • 修复 MessageChain 部分调用
  • 修复 camelCase
  • Adapterget_running 发出警告
  • 提供更好的警告高亮
  • 支持不同的输出方式
@BlueGlassBlock BlueGlassBlock added the enhancement New feature or request label May 24, 2022
@BlueGlassBlock BlueGlassBlock added this to the 0.7.0 milestone May 24, 2022
@BlueGlassBlock BlueGlassBlock linked a pull request May 24, 2022 that will close this issue
4 tasks
@BlueGlassBlock
Copy link
Member Author

BlueGlassBlock commented May 31, 2022

请看 migration_src/migrator.py

@Redlnn
Copy link
Collaborator

Redlnn commented May 31, 2022

MAPPING 里没有 fromPersistentString
asNoBinaryPersistentString() 需替换为 as_persistent_string(bool=False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants