Feature request: remove skip list before check for latest version

Staf Verhaegen <[email protected]> 12 Dec 2002 01:34:56 +0100
Newsgroups gmane.linux.redhat.rpm.grab
Message-ID <1039653294.1599.156.camel@pc300>
Hello,

I'm using samba from samba.org installed with grab.
On the ftp site they put stable versions and alpha version in the same
directory. Here is a list:
ftp> dir
227 Entering Passive Mode (195,238,1,6,172,44).
150 Opening ASCII mode data connection for file list
-rw-r--r--   1 592      592      11830792 Nov 19 21:35 samba-2.2.7-1.i386.rpm
-rw-r--r--   1 592      592      11832412 Dec 11 09:32 samba-2.2.7a-1.i386.rpm
-rw-r--r--   1 592      592      12351440 Nov 27 04:17 samba-3.0alpha21-1.i386.rpm

I don't want to install the alpha version. Therefor I've added
'samba.*alpha' to the skip list in the config file.
Yesterday a new version of samba was released; 2.2.7a-1 replacing
2.2.7-1. But this version is not shown after a --sysupdate.
When I do a --showall --noskip this version is listed:
[root@pc300 root]# grab samba --noskip --showall --chooser
-Comparing 4 of 4652 with Valgor
-Obtaining current RPM list
-Duplicate packages currently installed: 'SDL'!
-Duplicate packages currently installed: 'freeswan-module'!
-Duplicate packages currently installed: 'qt'!
-Duplicate packages currently installed: 'libmng'!
-Filtered Package Statistics:
 0 Consolidated, 0 Diff Arch, 0 Current, 0 Skip List, 0 Other Status
-Please select one (or more) of the following matched RPMS:

 Num S Package name       Version     Installed   Arch   Size   Server Desc
 --- - ------------------ ----------- ----------- ------ ------ ---------------
 1   O samba              2.2.1a-4    2.2.7-1     i386   1.6M   RH72@BELNET
 2   S samba              2.2.7-1     2.2.7-1     i386   11.2M  SAMBA@EASYNET
 3   U samba              2.2.7a-1    2.2.7-1     i386   11.2M  SAMBA@EASYNET
 4   U samba              3.0alpha21- 2.2.7-1     i386   11.7M  SAMBA@EASYNET

-Choose number(s): ('?' for help): 3

And I could install samba in that way.
What I think happens is that he first removes 2.2.7a because he thinks
that 3.0alpha is newer and then removes this because it is in the skip
list.
What I would like is that he first removes the files from the skip list
and then find the newest packages to be updated.
(I only did find out by accident that this file was updated otherwise it
would have gone unnoticed).

Staf.