Adding Special diff rendering for .ipynb notebooks
Changes are wrapped by feature flag jupyter_clean_diff. On the commit folder, when detecting a ipynb file, creates a new diff of those files after converting them to markdown, using the [ipynbdiff gem](https://gitlab.com/gitlab-org/incubation-engineering/mlops/rb-ipynbdiff) There are performance and architectural concerns on whether the rails app is the right place for this type of diffing, but since we currently don't have a good solution we are discussing possible alternatives for the future here: https://gitlab.com/gitlab-org/gitlab/-/issues/342143. Changelog: added MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/71477 Epic: https://gitlab.com/groups/gitlab-org/-/epics/6589
显示
- Gemfile 2 个添加, 0 个删除Gemfile
- Gemfile.lock 4 个添加, 0 个删除Gemfile.lock
- app/presenters/blob_presenter.rb 16 个添加, 0 个删除app/presenters/blob_presenter.rb
- config/feature_flags/development/jupyter_clean_diffs.yml 8 个添加, 0 个删除config/feature_flags/development/jupyter_clean_diffs.yml
- doc/user/project/repository/jupyter_notebooks/img/jupyter_notebook_diff.png 0 个添加, 0 个删除...epository/jupyter_notebooks/img/jupyter_notebook_diff.png
- doc/user/project/repository/jupyter_notebooks/index.md 9 个添加, 0 个删除doc/user/project/repository/jupyter_notebooks/index.md
- lib/gitlab/diff/file.rb 15 个添加, 0 个删除lib/gitlab/diff/file.rb
- lib/gitlab/diff/highlight.rb 3 个添加, 0 个删除lib/gitlab/diff/highlight.rb
- spec/support/helpers/test_env.rb 1 个添加, 1 个删除spec/support/helpers/test_env.rb
加载中
想要评论请 注册 或 登录