Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[QA] How to list deprecated packages?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Fri Feb 23, 2018 10:39 am    Post subject: [QA] How to list deprecated packages? Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41298
Location: 56N 3W

PostPosted: Fri Feb 23, 2018 10:46 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19441
Location: here

PostPosted: Fri Feb 23, 2018 10:49 am    Post subject: Reply with quote

Some useful links
https://qa-reports.gentoo.org/
https://qa-reports.gentoo.org/output/gentoo-ci/aca3f2128/output.html
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Sat Feb 24, 2018 9:39 am    Post subject: Reply with quote

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

  • :idea:

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
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Sat Feb 24, 2018 10:10 am    Post subject: Reply with quote

I believe there are existing tools that allow more or less to solve the problem using metadata.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41298
Location: 56N 3W

PostPosted: Sat Feb 24, 2018 10:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Sat Feb 24, 2018 10:47 am    Post subject: Reply with quote

NeddySeagoon, I need to test some scenarios to check their relevance because my progress is blurry and uncertain.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41298
Location: 56N 3W

PostPosted: Sat Feb 24, 2018 10:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum