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

Re: RFC: bapase changes



On 31/03/08 at 18:24 -0600, Raphael Geissert wrote:
> Hi all,
> 
> After a short talk with Lucas I made some changes to bapase (not yet in the 
> repository) which I'd like to get some feedback before committing them.
> 
> The first set of changes (bapase_orphaned++.diff) is to score higher orphaned 
> packages not in oldstable nor stable. With this score bump I'd like to catch 
> some packages that are being uploaded and orphaned before a release is made.
> 
> The second set of changes (bapase_dehs.diff) is making bapase DEHS-aware, 
> changing the scores on the next basis:
> 
> When scoring useless packages:
> score += (CURDATE - $dehs[pkg][last_in_sync_with_upstream]) * 2
> 
> When scoring orphaned packages:
> score += (CURDATE - $dehs[pkg][last_in_sync_with_upstream])
> 
> 
> Comments, suggestions, all welcome.
> 
> P.D. please review the code because I haven't, really, programmed in ruby so I 
> can't say for sure that the code I wrote is ok.

Sounds good, please commit.

Also note that in packages-actions.txt, you must use REQ_RM(), not
RM(), or just don't complain when the automatically-generated pages are
not generated anymore :P
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |

Attachment: signature.asc
Description: Digital signature


Reply to: