aboutcode-org / aboutcode-org/scancode.io

Flagging Autogenerated Files in "map_deploy_to_develop" Pipeline - Pypi

Ouverte
#1,845 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
215
Forks
203
Merge moyen
4 j 8 h
PR mergées (30 j)
6

Description

When doing "map_deploy_to_develop" pipeline on certain python projects, some files from the deployment side are flagged as "requires-review" which these files are generated files.
For instance,
* pyarrow-21.0.0-cp39-cp39-win_amd64.whl (https://files.pythonhosted.org/packages/10/15/6b30e77872012bbfe8265d42a01d5b3c17ef0ac0f2fae531ad91b6a6c02e/pyarrow-21.0.0-cp39-cp39-win_amd64.whl)
```
to/pyarrow/lib.h
to/pyarrow/lib_api.h
```

* Kivy-2.3.1-cp39-cp39-win_amd64.whl (https://files.pythonhosted.org/packages/10/af/eb2124df73fcb3fcbdf2b138f9b93008464fbed9deea07a8fa446a6ec5f8/Kivy-2.3.1-cp39-cp39-win_amd64.whl)

```
to/kivy/graphics/cgl.h
to/kivy/include/config.h
to/kivy/setupconfig.py
```

These files are typically generated during the build process, and often begin with lines such as:
```
Generated by Cython
Autogenerated file for
```

It would be highly beneficial if the tool could automatically detect such patterns and classify these files as generated, thereby avoiding unnecessary manual review

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.