Skip to content

fix(node): Pin @fastify/otel fork to direct url to allow installing without git #16287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 14, 2025

Conversation

andreiborza
Copy link
Member

@andreiborza andreiborza commented May 14, 2025

The previous approach of specifying the git repo directly breaks systems that don't have git installed (e.g. slim linux distros). I tested this works on a ubuntu vm without git.

Important: When making changes to the fork, the linked commit sha in packages/node/package.json has to be updated and the yarn lockfile regenerated.

Resolves: #16281

… without git

The previous approach breaks systems that don't have git installed (e.g. slim
linux distros).
@andreiborza andreiborza requested review from mydea, Lms24 and chargome May 14, 2025 08:17
@@ -65,7 +65,7 @@
"access": "public"
},
"dependencies": {
"@fastify/otel": "getsentry/fastify-otel#otel-v1",
"@fastify/otel": "https://codeload.github.com/getsentry/fastify-otel/tar.gz/d6bb1756c3db3d00d4d82c39c93ee3316e06d305",
Copy link
Member

Choose a reason for hiding this comment

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

as discussed we need to keep this up-to date whenever we push updates to this fork

Copy link
Member Author

Choose a reason for hiding this comment

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

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.

9.18.0 introduces a dependency on a public repository which fails on machines without Git installed
2 participants