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

请教一下,有没有可能在纯前端 lite 版实现 git 的基础功能?结合 SCM模块, git 插件, git-ui 插件, isomorphic-git #11

Open
Ryqsky opened this issue Apr 21, 2022 · 2 comments

Comments

@Ryqsky
Copy link

Ryqsky commented Apr 21, 2022

纯浏览器的 Git 工具库有 isomorphic-git
结合基础的文件系统,是否就可以实现在浏览器上有 Git 的版本控制?

刚接触,试了将 ide-startup-lite 接入了 SCM模块, git 插件, git-ui 插件, git-base 插件(上传到了自己的对象存储地址)
左侧还是没出现 git 的面板,也没有报错,因此想请教一下,如果需要做一个这样的 Demo ,应该从哪些模块入手?

另外,OpenSumi 文档教程方面做得很不错,例子源码都很清晰,点个赞

@AhkunTa
Copy link
Member

AhkunTa commented Apr 21, 2022

目前正在做web-scm这一块,纯前端版实现版本控制可以使用插件实现,可以参考git插件,git插件底层调用了大量的git.exe 命令,在纯前端里可以考虑使用接口来实现部分git命令,比如切分支,commit,push等

由于在插件实现这一层纯前端插件实现和标准版有所区别,需要做一下兼容化处理,后续我们会推出插件接入文档

@Ryqsky
Copy link
Author

Ryqsky commented Apr 21, 2022

请问大概什么时候有 web-scm 第一个版本和插件接入(兼容)文档呢?都非常期待

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

No branches or pull requests

2 participants