OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004530 [pkg_get] other minor always 2010-08-26 13:07 2010-09-06 17:43
Reporter skayser View Status public  
Assigned To bonivart
Priority normal Resolution fixed  
Status closed  
Summary 0004530: RFE: Point out package download location when downloading
Description When downloading a package (-d) there's no indication to the user where the package might have ended up at.

root @ ray42 ~# pkgutil -Nd -T sparc:5.10 nagios_plugins
Package list:
        CSWnagiosp-1.4.13,REV=2009.04.26
Total size: 1.6 MB
=> Fetching CSWnagiosp-1.4.13,REV=2009.04.26 (1/1) ...
root @ ray42 ~#

Compare this with the --stream download option where there's an indication to the user where he can find the generated stream.

Transforming CSWsasl ...
Transforming CSWoldaprt ...
Transforming CSWlibpq ...
Transforming CSWnagiosp ...
Transforming packages into stream (/var/opt/csw/pkgutil/packages/nagios_plugins.sparc.5.10.pkg) ...

Would be helpful to output the download directory on normal downloads also. Maybe add an extra line with the download directory?

root @ ray42 ~# pkgutil -Nd -T sparc:5.10 nagios_plugins
Package list:
        CSWnagiosp-1.4.13,REV=2009.04.26
Total size: 1.6 MB
=> Downloading packages to /var/opt/csw/pkgutil/packages
=> Fetching CSWnagiosp-1.4.13,REV=2009.04.26 (1/1) ...
Additional Information root @ ray42 ~# pkgutil -v
2.1
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0008218)
bonivart (developer)
2010-08-27 09:48

Funny that you mention this because Dago made a request some time ago so it's already checked in. :-) He wanted every downloaded file to be shown with complete path so he could cut'n'paste. Download the pkgutil file from svn if you want to try it.

root@sol10[trunk]# pkgutil -Nd memconf
Package list:
        CSWmemconf-2.16,REV=2010.08.09
Total size: 69.2 KB
=> Fetching CSWmemconf-2.16,REV=2010.08.09 (1/1) ...

Packages downloaded to:
/var/opt/csw/pkgutil/packages/memconf-2.16,REV=2010.08.09-SunOS5.9-all-CSW.pkg.gz (OK)
root@sol10[trunk]#
(0008235)
skayser (administrator)
2010-09-01 12:49

I just gave it a try. The full paths are very helpful for copy&pasting (which I just used right afterwards). OTOH they tend to be 80+ chars in width, lead to line wraps in 80-column terminals and with a dozen or so of downloaded packages this looks quite messy.
(0008273)
bonivart (developer)
2010-09-06 17:43

As agreed on IRC (Dago, Sebastian and me) I have implemented Sebastians suggestion:

# pkgutil -Nd memconf
Package list:
        CSWmemconf-2.16,REV=2010.08.09
Total size: 69.2 KB
A local copy of CSWmemconf-2.16,REV=2010.08.09 exists and is of matching size.

Packages downloaded to /var/opt/csw/pkgutil/packages:
memconf-2.16,REV=2010.08.09-SunOS5.9-all-CSW.pkg.gz (OK)

Checked in as r291.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker