-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: refactoring + mermaid support & new-docs (#20)
* add exception domains + modified license desc Signed-off-by: Pratyay Banerjee <[email protected]> Signed-off-by: neilblaze <[email protected]> * feat: refactoring + mermaid support & new-docs Signed-off-by: neilblaze <[email protected]> * reorganized index-tree and purged UML images Signed-off-by: neilblaze <[email protected]> * minor updates Signed-off-by: neilblaze <[email protected]> * docs: change fork title Signed-off-by: frank-zsy <[email protected]> --------- Signed-off-by: Pratyay Banerjee <[email protected]> Signed-off-by: neilblaze <[email protected]> Signed-off-by: frank-zsy <[email protected]> Co-authored-by: frank-zsy <[email protected]>
- Loading branch information
Showing
10 changed files
with
3,693 additions
and
2,356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Technical Fork (To be Translated) | ||
|
||
![Type](https://img.shields.io/badge/Type-Metric-blue) ![From](https://img.shields.io/badge/From-CHAOSS-blue) ![For](https://img.shields.io/badge/For-Repo-blue) | ||
|
||
## Definition | ||
|
||
Technical Fork is a metric defined by [CHAOSS](https://chaoss.community), see [CHAOSS Metrics - Technical Fork](https://chaoss.community/kb/metric-technical-fork/) for the detailed definition of this metric. | ||
|
||
A technical fork is a distributed version control copy of a project. The number of technical forks indicates the number of copies of a project on the same code development platform. | ||
|
||
> Fork from the same developer will be double counted. For example, if a developer has deleted the forked repository and then fork again, the latter fork will also be counted in the total. | ||
|
||
## Data | ||
|
||
**Link:** `https://oss.x-lab.info/open_digger/github/{owner}/{repo}/technical_fork.json` | ||
|
||
To get the data for a certain repository, replace `{owner}` and `{repo}` with the actual name. Here is an [example](https://oss.x-lab.info/open_digger/github/X-lab2017/open-digger/technical_fork.json). | ||
|
||
## Code | ||
|
||
Here's the [**implementation code**](https://github.com/X-lab2017/open-digger/blob/465d2e3ddb57c0da7fab18435f711d4fa0a63f22/src/metrics/chaoss.ts#L12). | ||
|
||
|
||
|
||
## CodePen Demo | ||
|
||
<iframe height="600" scrolling="no" title="OpenDigger - [X-lab] Attention/Stars/Technical Fork/Bus Factor" src="https://codepen.io/frank-zsy/embed/MWBdpNg?type=technical_fork&default-tab=js%2Cresult&editable=true" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> | ||
See the Pen <a href="https://codepen.io/frank-zsy/pen/MWBdpNg?type=technical_fork"> | ||
OpenDigger - [X-lab] Attention/Stars/Technical Fork/Bus Factor</a> by Frank Zhao (<a href="https://codepen.io/frank-zsy">@frank-zsy</a>) | ||
on <a href="https://codepen.io">CodePen</a>. | ||
</iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
i18n/en/docusaurus-plugin-content-docs/current/user_docs/metrics/technical_fork.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Technical Fork | ||
|
||
![Type](https://img.shields.io/badge/Type-Metric-blue) ![From](https://img.shields.io/badge/From-CHAOSS-blue) ![For](https://img.shields.io/badge/For-Repo-blue) | ||
|
||
## Definition | ||
|
||
Technical Fork is a metric defined by [CHAOSS](https://chaoss.community), see [CHAOSS Metrics - Technical Fork](https://chaoss.community/kb/metric-technical-fork/) for the detailed definition of this metric. | ||
|
||
A technical fork is a distributed version control copy of a project. The number of technical forks indicates the number of copies of a project on the same code development platform. | ||
|
||
> Fork from the same developer will be double counted. For example, if a developer has deleted the forked repository and then fork again, the latter fork will also be counted in the total. | ||
|
||
## Data | ||
|
||
**Link:** `https://oss.x-lab.info/open_digger/github/{owner}/{repo}/technical_fork.json` | ||
|
||
To get the data for a certain repository, replace `{owner}` and `{repo}` with the actual name. Here is an [example](https://oss.x-lab.info/open_digger/github/X-lab2017/open-digger/technical_fork.json). | ||
|
||
## Code | ||
|
||
Here's the [**implementation code**](https://github.com/X-lab2017/open-digger/blob/465d2e3ddb57c0da7fab18435f711d4fa0a63f22/src/metrics/chaoss.ts#L12). | ||
|
||
|
||
|
||
## CodePen Demo | ||
|
||
<iframe height="600" scrolling="no" title="OpenDigger - [X-lab] Attention/Stars/Technical Fork/Bus Factor" src="https://codepen.io/frank-zsy/embed/MWBdpNg?type=technical_fork&default-tab=js%2Cresult&editable=true" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> | ||
See the Pen <a href="https://codepen.io/frank-zsy/pen/MWBdpNg?type=technical_fork"> | ||
OpenDigger - [X-lab] Attention/Stars/Technical Fork/Bus Factor</a> by Frank Zhao (<a href="https://codepen.io/frank-zsy">@frank-zsy</a>) | ||
on <a href="https://codepen.io">CodePen</a>. | ||
</iframe> |
Oops, something went wrong.