solus-project / sol

Next-generation software manager in development for Solus
70 stars 8 forks source link

sol check: ignore the shasum of some files #3

Open kyrios123 opened 7 years ago

kyrios123 commented 7 years ago

Some people are worried to see "broken" packages that are actually just fine when they run eopkg check This is for example the case of all the python packages for which the interpreter compiles the source to bytecode.

I don't think you'll really like it, but what about implementing a hack in sol to ignore the sha256sum of some file types like the .pyc and .pyo, especially if their parent directory is __pycache__ ?

Of course there should be an option to ignore this hack; something like sol check --force-check-all

ikeydoherty commented 7 years ago

We can probably just make it so those files aren't considered by the check mechanism tbh.