coala / coala-bears

Bears for coala
https://coala.io/
GNU Affero General Public License v3.0
295 stars 580 forks source link

pdf properties bear proposal #1301

Open coala-bot opened 7 years ago

coala-bot commented 7 years ago

Opened via gitter by @jayvdb

CosminIcatoiu commented 7 years ago

@jayvdb I`d like to try writing a bear. Can you explain me more detailed what this bear implies ? :)

jayvdb commented 7 years ago

Are there any PDF file checkers?

From an Open Source perspective, the most critical part of the PDF properties/metadata to check is that the copyright/license related fields are either not set, or they match a required value. i.e. Open Source repositories shouldnt have PDF files which are "All rights reserved".

There is also a wealth of information in the https://en.wikipedia.org/wiki/Extensible_Metadata_Platform which may be inside a PDF, and the bear might require it is present. coala has a few other binary file bears being written, but none are merged yet, so this task could be quite difficult.