microsoftgraph / microsoftgraph/msgraph-beta-sdk-python
exclude extraneous files from package
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44
- Forks
- 16
- Avg merge
- 20h 39m
- Merged PRs (30d)
- 3
Description
similar to https://github.com/microsoftgraph/msgraph-sdk-python-core/pull/709 those extra files slow down the installation, and can pose security issues like this https://github.com/microsoftgraph/msgraph-sdk-php-core/security/advisories/GHSA-mhhp-c3cm-2r86
directories to be excluded:
- .github
- docs
files to be excluded: - .gitignore
- .release-please-manifest
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- release-please-config
- UPGRADING.md
to test simply run python -m build locally, and check what's in the archive under dist
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run python -m build locally and inspect the archive under dist to see which listed directories and files are included. Find the package-build configuration that controls archive contents, exclude the named paths, and rerun the build to confirm they are absent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100