Issue40

Project smart
Title Register package's origin channel
Priority feature Status done-review
Superseder Nosy List netmask, rasker, spuk
Assigned To rasker Topics

Created on 2005-11-08.14:00:29 by spuk, last changed 2008-07-04.10:24:46 by rasker.

Messages
msg1524 (view) Author: rasker Date: 2008-07-04.10:24:46
Retired
Reason for Retirement: The issue is acknowledged but set to won't-fix. Please
reopen this issue in the new bugtracker if it is still an issue.
New Bugtracker : http://bugs.launchpad.net/smart
further details:
https://blueprints.launchpad.net/smart/+spec/bug-reporting-migration
msg110 (view) Author: netmask Date: 2005-11-11.15:53:02
I might be wrong, but AFAIK the package info comes from the local package
database (which doesn't store where the package came from) and the channels
information (that doesn't know if they're installed or not). There is no third
information source, which means it would be rather difficult to implement such
feature, unless this third db could be implemented. There are many implications
on that, including speed (cache/db update, search, etc), and data accuracy (two
dbs aread easier to sync than three). Perhaps Niemeyer should give the final
word here, as being the lead (only?) developer, but IMHO this can't be
implemented without a big review and many changes in Smart.
msg109 (view) Author: spuk Date: 2005-11-11.14:36:19
The --urls option is not what I mean... it shows where a package is available 
*now*. Note if you 'smart channel --disable cooker', the 'Cooker' channel is 
not shown anymore in the Channels: field for a package. 
 
What I mean is for Smart to record the repository and URL from where the 
package was actually downloaded/installed, possibly never losing nor allowing 
changes to this information, except automatically deleting it when the package 
is removed. Note the "origin" information would stay even if the origin 
channel was removed.
msg108 (view) Author: netmask Date: 2005-11-11.13:49:31
This is already implemented.

# smart info smart --urls
(...)
Name: smart
Version: 0.40-4mdk@i586
(...)
Channels: Cooker; RPM Database
(...)
URLs:
 Cooker
   
ftp://anorien.csc.warwick.ac.uk/Mandriva/devel/cooker/i586/media/main/smart-0.40-4mdk.i586.rpm

Notice the info "Channels: Cooker; RPM Database", which means the rpm is
installed (RPM Database) and can be found on the channel named "Cooker" (with
the url showing bellow).
msg104 (view) Author: spuk Date: 2005-11-08.14:00:29
The repository (URL?) and/or channel/media name of a package origin should be  
registered by Smart at package-installation time. 
This would be useful for support people, telling friends where to get a  
specific package, maybe even for security (package trust, "did I got this 
package from that compromised repository?", ...), etc.
History
Date User Action Args
2008-07-04 10:24:46raskersetstatus: chatting -> done-review
nosy: + rasker
messages: + msg1524
assignedto: rasker
2005-11-11 15:53:03netmasksetstatus: unread -> chatting
messages: + msg110
2005-11-11 14:36:23spuksetstatus: resolved -> unread
nosy: spuk, netmask
messages: + msg109
2005-11-11 13:49:32netmasksetstatus: unread -> resolved
nosy: + netmask
messages: + msg108
2005-11-08 14:00:30spukcreate