-
Notifications
You must be signed in to change notification settings - Fork 24
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
赛事代码管理相关问题 #1647
Comments
@BlitherBoom812 新开了一个 |
|
神了
|
对于第二点,如果以后路径的接口还要修改,在现有条件下只需要修改前端(前端指定 cos 路径并上传代码,前端记录上传的绝对路径)。仅记录 |
你说得有道理,耦合度的确上升了。不过耦合度的上升可以通过统一规范解决,问题在于如果cos储存文件结构变了,数据库里的绝对路径很难调整,这是我担心的地方。如果上传代码直接交给后端倒也是不错的方案,我支持。 |
有道理,这样数据库确实减少了调整负担。主要在于cos的文件结构可以批量修改,而hasura大概只能跑几千条脚本一个个改,成本太高。 cos 也是要手改的,也挺麻烦。这样看全部移到后端可能是最好的做法了,后端可以定义一个 get_code_path 路径生成函数,无论是上传还是下载都用同一个路径函数。 |
Bug Report:
|
这个
issue
汇总在队式代码测试过程中遇到的bug
和体验不好的点所有人在不重复的前提下都可以追加问题,负责解决这些问题的
PR
请引用这个issue
The text was updated successfully, but these errors were encountered: