danger / danger/swift

Gitlab rRest api doesn't accept Project name anymore.

Open
#304 5 comments 2 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.1k
Forks
152
Avg merge
9h 54m
Merged PRs (30d)
2

Description

Hello.

Danger is trying to call the Gitlab rest api using the project name. while gitlab now only accepts the project ID as you can see in [the documentation](https://docs.gitlab.com/ce/api/projects.html#get-single-project).

Here is the error, i get.

```
+ danger-swift ci
Error: { HTTPError: Not Found
at fn (/snapshot/danger-js/node_modules/ky/umd.js:242:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
name: 'HTTPError',
response:
Response {
size: 0,
timeout: 0,
[Symbol(Body internals)]: { body: [PassThrough], disturbed: true, error: null },
[Symbol(Response internals)]:
{ url:
'https://gitlab.xxxx.com/api/v4/projects/project%2Fname/merge_requests/15/changes',
status: 404,
statusText: 'Not Found',
headers: [Headers] } },
description: '404 Project Not Found' }
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.