aboutcode-org / aboutcode-org/scancode-toolkit

Determine if a directory is a package root of sorts

Aperta
#2,832 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
new feature
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

Finding the root of a package is useful as it defines a point in a code tree where we can summarize things.
This is a complex topic. To help we can:

- look for patterns of key files (as identified with `is_key_file` by the FileClassifier plugin with --classify)
- look for package manifests, package and package-like data (where `package-like` is a new new TBD concept when we do not have a proper way to extract metadata) and the files they contain. This may not yield a root, but identifying a set of files that are for a package may be even better than getting a root.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.