vmavromatis / absolutely-proprietary

Proprietary package detector for arch-based distros. Compares your installed packages against Parabola's package blacklist and then prints your Stallman Freedom Index (free/total).
GNU General Public License v3.0
274 stars 10 forks source link

tends to match wrong packages #4

Closed coderobe closed 6 years ago

coderobe commented 6 years ago

currently, the package file is being detected as iscan because parabola's blacklist description for iscan contains the word file

vmavromatis commented 6 years ago

Yes! That's the problem. We need to string split the files on blacklist.txt but did not have time to do it! I'm at work so I will do it later unless someone else gets me to it.

I think instead of line here https://github.com/vmavromatis/absolutely-proprietary/blob/c052b42d562d4aa1ea05039226649c61a4647fc6/main.py#L26 we need something like line.split(:)[0] or similar..

vmavromatis commented 6 years ago

Possible fix for this here: https://github.com/vmavromatis/absolutely-proprietary/pull/5

vmavromatis commented 6 years ago

Resolved with https://github.com/vmavromatis/absolutely-proprietary/pull/5!