Closed alexAubin closed 3 years ago
Discussed in today's meeting, the proposal is to go for :
Will run another batch/simulation with this (then also have to clarify/implement the interface with package_check)
I updated the original post following the iteration
Overall there's 61 apps qualifying for the new level 7, and 25 for the new level 8, which sounds reasonable to me.
By moving the not-so-important-warnings into info, it also lowers the number of warnings per app, which means many app could qualify for the new level 7 somewhat easily (just a couple warnings for fix). As discussed in the meeting, one of the goal of this is precisely to create an incentive to fix warnings while at the same time not affecting the display in the catalog (level 6 apps are displayed the same way than level 7)
Hello,
About the license I think there are some case not really easy to manage. By example seafile have some different components (ccnet, seahub, seafdav, ...) and each components have a different license so how to manage this ? Actually I wrote all license separated with ',' but the linter don't like it. Maybe we can add support for multiple license ?
Thanks
Le 19 novembre 2020 00:32:01 GMT+01:00, Alexandre Aubin notifications@github.com a écrit :
I updated the original post following the iteration (github ain't displaying the new commits here in the PR ... wtf ... is this some cache issue or something ... they are displayed here though ...)
- I decided to keep the checks for chmod777 as warning because looking at corresponding lines in apps, I really think it's a significant issue that could be fixed even though they may not be trivial.
- I reworked the "license" check to force the use of an ID listed on spdx (some apps were using just 'free' and saying in the README the upstream is (A)GPL v3 ... it doesn't sound like there's really a usecase of "the-app-is-free-but-with-a-super-custom-license")
Overall there's 57 apps qualifying for the new level 7, and 22 for the new level 8, which sounds reasonable to me.
By moving the not-so-important-warnings into info, it also lowers the number of warnings per app, which means many app could qualify for the new level 7 somewhat easily (just a couple warnings for fix). As discussed in the meeting, one of the goal of this is precisely to create an incentive to fix warnings while at the same time not affecting the display in the catalog (level 6 apps are displayed the same way than level 7)
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/YunoHost/package_linter/pull/87#issuecomment-730022703
-- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
@Josue-T : indeed, I guess having a list separated by commas is fine. This is fixed by the latest commit.
In parallel, while working on the integration with package_check, I decide to flag some error as "Critical" (= app to be capped at level 0) as the mechanism was already here from a while ago but not used, and may also be used in the future for some ideas i have
So far those errors are now considered critical:
domain=$1
which I aim to remove entirely from Yunohost (secrets showing up in ps -ef...)@alexAubin
- not being referenced in yunohost's app catalog
- not being flagged as "working" in yunohost's app catalog
I don't undestand very well, because apps are tested only if they are in the catalog AND if they are flagged as "working"? Or you want to test all apps in the YunoHost-Apps group (plus the ones in the list that are not in the group)?
@kay0u : That's related to the "may also be used in the future for some ideas i have" which I was too lazy to explain :stuck_out_tongue_winking_eye:
Basically I'm thinking about including the linter in the core somehow (or a linter-like tool). So if they share the same code that'd be nice ... and such a code would run on the files in /etc/yunohost/apps/$app/. The intention is to report about old/super-custom apps that have super-deprecated practices (for example had the case a few weeks ago because of an app that didnt get upgrade for years) or are not in yunohost's app catalog, or are not flagged as working (maybe because it was flagged as working before, but it's not anymore). Basically all the "critical stuff" (we don't really care about warnings for that use case, it would only be to create more incentive for people to upgrade their outdated apps and discourage using apps not maintained by the community)
We could add tests like that to the diagnosis system, that sounds great! (But we're going to get a lot of mail about this :-))
Hello,
Thanks for your fix. I discovered also a really small issue. I get this error
! You should specify a User= directive in the systemd config !
But it's an override file so it don't make sense. It with ffsync.
@Josue-T : indeed, this is fixed ! Thanks for the feedback !
Sooooo this is yet another me-being-obsessed-with-quality-metrics-and-tools™, and kind of a follow up of last meeting where I was mentioning the idea of redefining level 7 and 8.
This PR proposes to add two new "meta" tests.
First one is the "long-term good-quality score", which is computed by analyzing the history of apps.json over the last 12 months and checking how many periods the app was known + flagged working + level >= 5. If that's the case for 90% of the periods, the app is considered as "long-term good quality" (all the parameters are debatable of course - maybe one year is too much ...)
(N.B. : this got updated compared to original post)
A new definition for level 7 and 8 is proposed :
Some not-that-important warnings were downgraded to just "Info" to avoid "polluting" the new Level 7 definition. (The 'is_maintained' test is handled in some independent way because it's only part of the level 8 and we don't want to e.g. raise a warning which would interfere with the definition of level 7)
Here are the results when running on all apps :