-
Notifications
You must be signed in to change notification settings - Fork 373
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 remote import #114
Feature remote import #114
Conversation
self.update_or_create( | ||
name=config['name'], | ||
from_config=True, | ||
defaults=defaults) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name是唯一键,如果存在 from_config=False 的数据,这句话会报错,建议把 from_config=True 放到 defaults 中
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
再处理
Codecov Report
@@ Coverage Diff @@
## feature_remote_component_load #114 +/- ##
================================================================
+ Coverage 61.85% 62.65% +0.8%
================================================================
Files 306 320 +14
Lines 12641 12990 +349
================================================================
+ Hits 7819 8139 +320
- Misses 4822 4851 +29
Continue to review full report at Codecov.
|
* feature: 添加非标准存储代码导入器及 git 仓库代码导入器 * feature: 添加远程包源模型 * feature: 添加加载远程模块相关逻辑代码 * minor: 添加加载远程插件 APP * feature: pipeline.utils.importer 添加导入器上下文 * minors: 完善 external_plugins app 的单元测试 * feature: GitRepoImporter 添加强制 HTTPS 开关 * minor: 添加远程包源配置获取语句 * minor: 单元测试完善,Importer Logger 配置修改,GitImporter 支持配置代理
close #113
close #112
close #111
close #110
close #126