Exclude un-neccessary files from dist

Open Beginner friendly
#2,173 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
php

Research direction

Start by checking the repository's .gitattributes rules and how the composer dist archive is assembled. Exclude vendor/sentry/sentry/scripts/bump-version.sh, then review the archive contents for other files that should not ship and verify the resulting dist package omits them.

Written by the indexing model from the issue text.

Description

Improvement PHP Waiting for: Product Owner
Problem Statement

Not needed runtime:

  • vendor/sentry/sentry/scripts/bump-version.sh

May trigger vulnerability report, that package installed shell script, so better just skip it via .gitattributes

Solution Brainstorm

Also review other files that don't deserve to be in composer dist.

Dominant language
PHP
Stars
1.9k
Forks
474
Avg merge
2d 3h
Merged PRs (30d)
8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-php

All issues in getsentry/sentry-php

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.