Bug 420

Summary: mgarepo up should delete symlinks to old binary sources from SOURCES dir
Product: Mageia Reporter: Ahmad Samir <ahmadsamir3891>
Component: RPM PackagesAssignee: Nicolas Vigier <boklm>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Normal CC: balcaen.john, dmorganec, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: mgarepo-1.9.9-2.mga1 CVE:
Status comment:

Description Ahmad Samir 2011-03-17 17:44:07 CET
Assuming there's a new tarball in SOURCES-bin, executing mgarepo up deletes old tarball, gets new tarball, but the symlink to the old tarball in SOURCES/ isn't deleted. (and it keeps flashing... flashing... flasshing red when you do an ls SOURCES :)).
Comment 1 John Balcaen 2011-03-17 19:39:40 CET
mgarepo up is there to upload a new binary, not to delete one i would say.
magrepo sync -c is probably the best way to update a binary (because it's just about update until i misread) and it's going to take care about the symlinks in SOURCES :)

Regards,

CC: (none) => balcaen.john

Comment 2 Ahmad Samir 2011-03-17 19:51:39 CET
'mgarepo up' is not 'mgarepo upload', different functions.
Comment 3 Thierry Vignaud 2011-05-17 11:21:06 CEST
Maybe a dupe of bug #463?

CC: (none) => thierry.vignaud

Comment 4 Nicolas Vigier 2011-05-17 11:26:40 CEST
Not exactly the same I think. mgarepo sync now ignore incorrect symlinks (bug #463), but mgarepo up should still remove them.
Comment 5 D Morgan 2011-08-21 03:02:49 CEST
I am closing this bugreport because we do not use symplinks anymore with new binrepo structure.

Status: NEW => RESOLVED
CC: (none) => dmorganec
Resolution: (none) => WONTFIX