This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
oss-health-metrics:metrics:forks [2017/05/16 16:54] klumbard |
oss-health-metrics:metrics:forks [2017/10/06 20:54] (current) GeorgLink fixed link |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Forks ====== | ====== Forks ====== | ||
| - | ===== 1. Description ===== | + | Page permanently moved to |
| - | Number of forks | + | https://github.com/chaoss/metrics/blob/master/activity-metrics/forks.md |
| - | + | ||
| - | ===== 2. Use Cases ===== | + | |
| - | + | ||
| - | ===== 3. Visualization ===== | + | |
| - | + | ||
| - | ===== 4. Sample Implementation ===== | + | |
| - | ===GHTorrent: Number of direct forks for each project that is not itself a fork (does not take into account forks of forks) === | + | |
| - | + | ||
| - | select base_projects.base_project_id, base_projects.name as base_project_name, | + | |
| - | base_projects.url as base_project_url, count(forks.id) as num_forks from | + | |
| - | (select * from projects) as forks | + | |
| - | right join | + | |
| - | (select id as base_project_id, name, url from projects | + | |
| - | where forked_from is null) as base_projects | + | |
| - | on forks.forked_from = base_projects.base_project_id | + | |
| - | group by base_projects.base_project_id | + | |
| - | + | ||
| - | + | ||
| - | ===== 5. Known Implementations ===== | + | |
| - | + | ||
| - | [[https://github.com/OSSHealth/ghdata|GHData]] | + | |
| - | + | ||
| - | ===== 6. External References (Literature) ===== | + | |
| - | + | ||