SUSPICIOUS-SOURCE(1)

✨ NAME ✨

okay so bestie, gather round πŸ’– this one's called suspicious-source β€” she goes looking for files that do not meet the GPL's definition of "source" for a work. like, she's the vibe check for your source tree, fr fr πŸ•΅οΈβ™€οΈ


🌸 SYNOPSIS 🌸

suspicious-source [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she actually do? suspicious-source spits out a list of files that are probably not the source form of a work πŸ’… like, these are the files that are giving "compiled artifact" and not "here's how you'd actually edit me".

you're supposed to run her in the root of a source tree, and she'll sniff out files which might not be β€” in the definition straight from the GNU GPL β€” the "preferred form of the work for making modifications to it". that's the whole assignment, no cap πŸ“

and listen, she's not gonna snitch on your version control internals: the files inside version control system directories (like .bzr/ or CVS/) are not considered πŸ™ˆ she knows those are yours, she's not touching them.


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” show this help message and exit. the classic "wait what does this do again" move 😭
  • -v, --verbose β€” print more information. she'll yap a lil more, and honestly? we love that for her πŸ—£οΈ
  • *-d *directory, --directory=directory β€” check the files in the specified directory instead of the current directory. you're not stuck in . anymore bestie, point her wherever πŸ‘‰
  • *-m *mimetype, --mimetype=mimetype β€” add mimetype to the list of white-listed MIME types. "this one's fine actually", you say, and she believes you 🫢
  • *-e *extension, --extension=extension β€” add extension to the list of white-listed extensions. same energy, but for file extensions ✨

πŸ‘‘ AUTHORS πŸ‘‘

suspicious-source and this manpage have been written by Benjamin Drung <bdrung@debian.org> πŸ’œ

both are released under the ISC license. iconic behaviour, we stan a permissive license 🌈


ok that's the whole page, you're basically a suspicious-source expert now. go forth and audit your tree, bestie πŸ’…

this lil number ships as part of the Debian Utilities on Debian β€” stay suspicious, stay slaying βœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from