fix tag/branch collection 💣
parent
0f94dcd848
commit
320af80ad3
|
@ -280,10 +280,11 @@ class GitLabDriver extends VcsDriver
|
||||||
{
|
{
|
||||||
$resource = $this->getApiUrl().'/repository/'.$type.'?per_page=100';
|
$resource = $this->getApiUrl().'/repository/'.$type.'?per_page=100';
|
||||||
|
|
||||||
|
$references = array();
|
||||||
do {
|
do {
|
||||||
$data = JsonFile::parseJson($this->getContents($resource), $resource);
|
$data = JsonFile::parseJson($this->getContents($resource), $resource);
|
||||||
|
|
||||||
$references = array();
|
|
||||||
|
|
||||||
foreach ($data as $datum) {
|
foreach ($data as $datum) {
|
||||||
$references[$datum['name']] = $datum['commit']['id'];
|
$references[$datum['name']] = $datum['commit']['id'];
|
||||||
|
|
Loading…
Reference in New Issue