View previous topic :: View next topic |
Author |
Message |
Mr. T. Guru
Joined: 26 Dec 2016 Posts: 477
|
Posted: Fri Feb 23, 2018 10:39 am Post subject: [QA] How to list deprecated packages? |
|
|
I wish to create a list of packages that should be improved, replaced or abandoned (obsolete features).
There is obviously a major problem to solve: how to "review" the huge number of packages available (19,567 packages)? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Fri Feb 23, 2018 10:46 am Post subject: |
|
|
helecho,
Your first step is to define your selection critera for packages that should be improved, replaced or abandoned.
Once you can define that in a way that lends itself to automation, the next step is to find or create the automation.
In Gentoo, you might consider ebuilds < EAPI 6
No $UPSTREAM.
Everything in maintainer-needed.
You may be trying to reinvent the wheel. Ask in #gentoo-qa on freenode.
I expect QA have a mailing list too. That would reach the right people. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
|
Back to top |
|
|
Mr. T. Guru
Joined: 26 Dec 2016 Posts: 477
|
Posted: Sat Feb 24, 2018 9:39 am Post subject: |
|
|
I appreciate your help, in fact, I had chosen a wrong method.
Selection criteria:
- check the documentation (formats, conventions, etc.)
- review the release dates (copyright dates, software releases, etc.)
- check the development state
- analyse development activity (upstream development: logs, RSS feeds, etc.)
- analyze activity on Gentoo Bugzilla concerning the software (e.g. parse comments)
- determine the maintainers
- check EAPI
-
I do not have a method only elements and I prefer to rely on simple criteria to check e.g. extract dates. |
|
Back to top |
|
|
Mr. T. Guru
Joined: 26 Dec 2016 Posts: 477
|
Posted: Sat Feb 24, 2018 10:10 am Post subject: |
|
|
I believe there are existing tools that allow more or less to solve the problem using metadata. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sat Feb 24, 2018 10:19 am Post subject: |
|
|
helecho,
Some of those are easer that others.
Maintainers are listed in the portage repository. A maintainer-needed entry way indicate a problem.
The EAPI check can be automated. QA have a tool for this.
#gentoo-qa: | <irker888> EAPI-stats: Sat Feb 24 00:00:01 UTC 2018
<irker888> EAPI-stats: EAPI 0: 1237 ebuilds ( 3.30 percent) +0 daily -5 weekly -26 monthly diff
<irker888> EAPI-stats: EAPI 1: 0 ebuilds ( 0.00 percent) +0 daily +0 weekly +0 monthly diff
<irker888> EAPI-stats: EAPI 2: 424 ebuilds ( 1.13 percent) +0 daily -4 weekly -28 monthly diff
<irker888> EAPI-stats: EAPI 3: 30 ebuilds ( 0.08 percent) -2 daily -3 weekly -5 monthly diff
<irker888> EAPI-stats: EAPI 4: 1796 ebuilds ( 4.79 percent) -3 daily -9 weekly -64 monthly diff
<irker888> EAPI-stats: EAPI 5: 15290 ebuilds (40.80 percent) +1 daily -79 weekly -571 monthly diff
<irker888> EAPI-stats: EAPI 6: 18696 ebuilds (49.89 percent) +16 daily +162 weekly +503 monthly diff
<irker888> EAPI-stats: Total 37473
<irker888> EAPI-stats: Difference: 12 daily 62 weekly -191 monthly |
Its possible to automate fetching SRC_URI to see if its still alive. The checksums tell if what you fetch is correct.
The failures may indicate an issue.
Like I say, talk to the Gentoo QA team. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Mr. T. Guru
Joined: 26 Dec 2016 Posts: 477
|
Posted: Sat Feb 24, 2018 10:47 am Post subject: |
|
|
NeddySeagoon, I need to test some scenarios to check their relevance because my progress is blurry and uncertain. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sat Feb 24, 2018 10:59 am Post subject: |
|
|
helecho,
Don't work alone ...
Isaac Newton wrote: | If I have seen further it is by standing on ye sholders of Giants. |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|