简体   繁体   English

bit.dev 相当于分叉一个 repo 并提交一个 PR 是什么?

[英]What’s the bit.dev equivalent of forking a repo and submitting a PR?

What's the bit.dev equivalent of forking a repo and submitting a PR? bit.dev相当于分叉一个 repo 并提交一个 PR 是什么? I need to make a small change to https://bit.dev/mui-org/material-ui/swipeable-drawer .我需要对https://bit.dev/mui-org/material-ui/swipeable-drawer做一个小改动。 I can see that it is MIT licensed, and they have a code browser, but no .git endpoint from what I can tell.我可以看到它是 MIT 许可的,并且他们有一个代码浏览器,但据我所知没有.git端点。

I am an experienced developer but I haven't used bit.dev before.我是一位经验丰富的开发人员,但我之前没有使用过 bit.dev。 I tried to find the answer in their extensive documentation , but it focuses on creating a component from scratch.我试图在他们广泛的文档中找到答案,但它侧重于从头开始创建组件。 It does not offer a clear way for developers who are new to bit.dev to modify an existing component.它没有为不熟悉 bit.dev 的开发人员提供修改现有组件的明确方法。 I posted in their Slack channel but nobody responded.我在他们的 Slack 频道上发帖,但没有人回应。

在此处输入图像描述

Perhaps you already got your answers, but..也许你已经得到了答案,但是..

There are 2 ways to contribute as far as I know:据我所知,有两种贡献方式:

  1. Know where the original repo of the author is and contribute there, which would eventually go to bit in a future release知道作者的原始存储库在哪里并在那里做出贡献,最终将在未来的版本中使用 go
  2. Checkout the components in a totally random location using bit, update and contribute back.使用位检查完全随机位置的组件,更新并回馈。 As far as I am aware however, in order to do this, you should have permissions on the bit organization that you are targeting and not sure there is a way to do code reviews this way..然而,据我所知,为了做到这一点,您应该对您所针对的位组织具有权限,并且不确定是否有办法以这种方式进行代码审查。

One thing to note though is that the MUI components in bit don't seem like maintained.不过要注意的一件事是,位中的 MUI 组件似乎没有得到维护。 The last updated was 2y ago, which is a really long time, considering the amount of development that the MUI team did recently, so I would just use their lib directly.最后一次更新是2y前,时间很长,考虑到MUI团队最近的开发量,所以我直接使用他们的lib。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM