Skip to content

fix: use GitLab API v4 endpoint for tarball URLs#327

Merged
owlstronaut merged 1 commit intonpm:mainfrom
304:fix/gitlab-tarball-api-v4
May 1, 2026
Merged

fix: use GitLab API v4 endpoint for tarball URLs#327
owlstronaut merged 1 commit intonpm:mainfrom
304:fix/gitlab-tarball-api-v4

Conversation

@304
Copy link
Copy Markdown
Contributor

@304 304 commented Apr 7, 2026

What / Why

The GitLab endpoint repository/archive was deprecated in 2021 - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57236.

The tarball workflow has not been working since then.

This change updates the tarball request path from the deprecated endpoint to the REST API archive endpoint: https://docs.gitlab.com/api/repositories/#retrieve-file-archive-from-a-repository.

References

@owlstronaut owlstronaut marked this pull request as ready for review May 1, 2026 15:46
@owlstronaut owlstronaut requested a review from a team as a code owner May 1, 2026 15:46
Copy link
Copy Markdown
Contributor

@owlstronaut owlstronaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI failures unrelated

@owlstronaut owlstronaut merged commit ac3c890 into npm:main May 1, 2026
18 of 20 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 13, 2026
owlstronaut pushed a commit that referenced this pull request May 1, 2026
🤖 I have created a release *beep* *boop*
---


##
[9.0.3](v9.0.2...v9.0.3)
(2026-05-01)
### Bug Fixes
*
[`ac3c890`](ac3c890)
[#327](#327) use GitLab API
v4 endpoint for tarball URLs (@304)
*
[`eca53e7`](eca53e7)
[#326](#326) remove .git
suffix from Sourcehut https URLs (#326) (@yetval)
### Chores
*
[`4c8d2d4`](4c8d2d4)
[#329](#329)
template-oss-apply (@owlstronaut)
*
[`c816377`](c816377)
[#329](#329)
`@npmcli/[email protected]` (@owlstronaut)
*
[`4862744`](4862744)
[#324](#324) explicit sha-1
and sha-256 git committish tests (#324) (@wraithgar)
*
[`8a1b486`](8a1b486)
[#322](#322) remove tap
(@owlstronaut)
*
[`e88c758`](e88c758)
[#322](#322) swap from tap to
built-in node:test (@owlstronaut)
*
[`d542a55`](d542a55)
[#319](#319) bump
@npmcli/eslint-config from 5.1.0 to 6.0.0 (#319) (@dependabot[bot])
*
[`0cd1a4d`](0cd1a4d)
[#321](#321) bump
@npmcli/template-oss from 4.28.0 to 4.28.1 (#321) (@dependabot[bot],
@npm-cli-bot)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants