Bug 420 - mgarepo up should delete symlinks to old binary sources from SOURCES dir
Summary: mgarepo up should delete symlinks to old binary sources from SOURCES dir
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Nicolas Vigier
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 17:44 CET by Ahmad Samir
Modified: 2011-08-21 03:02 CEST (History)
3 users (show)

See Also:
Source RPM: mgarepo-1.9.9-2.mga1
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.