Comments (10)
Expected behavior
support gitlab api v4
I think this is the opposite of what you think.
The library that multi-gitter uses seems to only support v4 as of 2017
Release v0.6.0 (released on 25-08-2017) no longer supports the older V3 GitLab API. If you need V3 support, please use the f-> api-v3 branch. This release contains some backwards incompatible changes that were needed to fully support the V4 GitLab API.
From: https://github.com/xanzy/go-gitlab
We do not intend to support the now very old v3 API.
Please confirm that this is the case so that this bug can be closed.
from multi-gitter.
@ccrstory Please read my last comment. The problem seems to be the opposite. Which GitLab version are you using?
from multi-gitter.
@ccrstory Please read my last comment. The problem seems to be the opposite. Which GitLab version are you using?
Gitlab version v16.5.8-ee
from multi-gitter.
Is it the GitLab instance that's making the request to v3? I'm not specifying it anywhere
from multi-gitter.
Hmm, you version is way more up to date compared to @zhxjdwh . It should have V4, could you provide what parameters you are using, and some logs resulting from it.
from multi-gitter.
multi-gitter run ./test.sh --log-level=trace --config=config.yml -m "test"
TRAC[0000] http request host=gitlab.test.com request="GET /api/v3/repos/e4/angular HTTP/1.1\r\nHost: gitlab.test.com\r\nUser-Agent: go-github/v59.0.0\r\nAccept: application/vnd.github.scarlet-witch-preview+json, application/vnd.github.mercy-preview+json, application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json\r\nX-Github-Api-Version: 2022-11-28\r\nAccept-Encoding: gzip\r\n\r\n" response="HTTP/1.1 410 Gone\r\nContent-Length: 62\r\nCache-Control: no-cache\r\nConnection: keep-alive\r\nContent-Type: application/json\r\nDate: Wed, 29 May 2024 17:21:23 GMT\r\nServer: nginx\r\nVary: Origin\r\nX-Content-Type-Options: nosniff\r\nX-Frame-Options: SAMEORIGIN\r\nX-Gitlab-Meta: {"correlation_id":"01HZ2NXVDTMYB0GT8WK56K95N6","version":"1"}\r\nX-Request-Id: 01HZ2NXVDTMYB0GT8WK56K95N6\r\nX-Runtime: 0.011207\r\n\r\n{"error":"API V3 is no longer supported. Use API V4 instead."}" took=483.695274ms
could not fetch repositories: could not get information about e4/angular: GET https://gitlab.test.com/api/v3/repos/e4/angular: 410 []
from multi-gitter.
And what is in your config file.
It's strange that it uses a V3 url, since that was discontinued in the lib used years ago.
Might you not set the platform properly, and it is trying to use the GitHub API urls instead?
from multi-gitter.
base-url: https://gitlab.test.com/
branch: test-tag
repo:
- e4/angular
token: **********
from multi-gitter.
It is using the endpoints from the GitHub API. Since GitHub is the default platform if none are set.
Add:
platform: gitlab
And it should work
from multi-gitter.
That worked thank you
from multi-gitter.
Related Issues (20)
- GITHUB_TOKEN is not being used by `multi-gitter` HOT 4
- Feature request: Add a flag to allow only pushing the Feature Branch without creating a PR, or pushing directly to an existing branch HOT 5
- Feature request: Draft PR -> Ready For Review HOT 4
- I would like to contribute this feature if it's a suitable addition to multi-gitter
- Feature request: Add flag to link created pull request with a GitHub project HOT 1
- `--team-reviewers` flag doesn't work on its own HOT 2
- Feature request: Skip Archived Repos in org HOT 2
- Feature request: Document which permissions the tools needs exactly HOT 6
- Could not push changes: object not found HOT 3
- Feature request: flag to return return a failure exit code HOT 8
- Feature request: Add Azure DevOps VersionController
- Feature request: sleep between concurrent groups HOT 3
- multi-gitter close: unable to delete branch with bitbucket_server HOT 1
- empty repository - could not fetch repositories: EOF HOT 3
- Document how to pass arguments to scripts HOT 1
- Feature request: Option to create unique branch name for a given run HOT 2
- Installation is failing on Windows
- Feature request: Add option `--keep` to keep the working directory after the run
- Only create PR?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi-gitter.