[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Sharing thoughts about the ddtp approaches



Hi,

> Well they should not be fetched then. Could not we filter them to avoid
> useless work?

DDTP fetches descriptions by priority (higher first) and lowering python-*
package priority would be a good idea.
Current values:

- python3-* packages have priority 47
- python-* (but not *-doc) packages have priority 47
- python-*-doc packages have priority 46

This snippet:

 # Python2 packages will be removed from bullseye, let's lower their priority
 $prioritize -= 1 if $package =~ /^python-/i && $package !~ /-doc$/i;

added in Packages2db.pl [1] at line 358 (or around it) lowers priority by 1
(46 instead of 47).
Would something like this be useful to accomplish the job?
Please feel free to amend the code or completely change the approach, my
Perl knowledge is quite limited.

> How such script could be applied as we have not control on the database?
> What is the good workflow?

That is a user-level script for use with Greasemonkey or similar extensions,
more context at https://github.com/dforsi/debian-tools/tree/master/packages/ddtss .
Please note that script translations must be updated if maintainer
changes package descriptions (not so often, fortunately).
I don't know how implementing this feature in DDTP and how to maintain it.

Kind Regards.

[1] https://salsa.debian.org/l10n-team/ddtp/blob/master/Packages2db.pl

 
 
 --
 ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli 
Clicca qui http://posta.email.it/caselle-di-posta-z-email-it.php?utm_campaign=email_Zimbra_102014=main_footer/f
 
 Sponsor:
 Soluzioni di email hosting per tutte le esigenze: dalle caselle gratuite a quelle professionali su piattaforma Zimbra, da quelle su proprio dominio a quelle certificate PEC. Confronta le soluzioni
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13326&d=17-10
 
 
 --
 ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli 
Clicca qui http://posta.email.it/caselle-di-posta-z-email-it.php?utm_campaign=email_Zimbra_102014=main_footer/f
 
 Sponsor:
 Idee regalo classiche o alternative? Trova l'offerta migliore in un click
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13327&d=17-10


Reply to: