* [task#125033,doing,0.5h] add scm method.

This commit is contained in:
caoyanyi
2024-08-07 13:46:19 +08:00
committed by 李阳
parent d5654dfb62
commit d689c331e4
2 changed files with 17 additions and 0 deletions
+12
View File
@@ -1063,4 +1063,16 @@ class gitlabRepo
if(empty($MR->changes_count)) $MR->has_conflicts = 0;
return $MR;
}
public function getCommitCountByDate($startDate, $endDate)
{
$branches = $this->branch('all');
$statistics = array();
foreach($branches as $branch)
{
$commits = $this->fetch('commits', array(), true);
a($commits); die;
}
return $statistics;
}
}