OpenCSW Bug Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004154 [pkg_get] regular use feature N/A 2010-01-14 01:08 2010-03-12 15:58
Reporter skayser View Status public  
Assigned To bonivart
Priority normal Resolution fixed  
Status closed  
Summary 0004154: RFE: Display the full target path when using --extract
Description When using --extract, could pkgutil display the full target path instead of just /var/opt/csw/pkgutil/packages? I use the --extract feature quite often and the full path would make it easier to simply copy and paste.

Example invocation:

# pkgutil -Nd --extract postfix
Parsing catalog, may take a while...
Package list: CSWpostfix-2.4.6,REV=2008.05.28
Total size: 9.4 MB
Fetching CSWpostfix-2.4.6,REV=2008.05.28 (1/1)...
Extracting CSWpostfix-2.4.6,REV=2008.05.28 (/var/opt/csw/pkgutil/packages)...
Additional Information # pkgutil -v
Tags No tags attached.
Attached Files

- Relationships

-  Notes
bonivart (developer)
2010-01-20 10:37

So you want something like this:

Extracting /var/opt/csw/pkgutil/packages/CSWpostfix-2.4.6,REV=2008.05.28...
skayser (administrator)
2010-01-20 11:45

Howdy Peter. What I would love to see is:

Extracting CSWpostfix-2.4.6,REV=2008.05.28 to /var/opt/csw/pkgutil/packages/CSWpostfix

This way one could copy and paste the package root right away for further inspection (because that's what I usually do upon extracting, no sense in extracting alone).

Further to this: do you think it is feasible/sensible to extract packages to a version specific directory? This could facilitate working with multiple package revisions in parallel (e.g. one from current and one from testing).

Extracting CSWpostfix-2.4.6,REV=2008.05.28 to /var/opt/csw/pkgutil/packages/CSWpostfix-2.4.6,REV=2008.05.28
bonivart (developer)
2010-02-23 16:00

You got "Extracting CSWpostfix-2.4.6,REV=2008.05.28 to /var/opt/csw/pkgutil/packages/CSWpostfix ..." in r198.

To name them with version is a little unnatural since the package itself contains the dir name it will create during pkgtrans. It has to be done afterwards (as far as I know).
bonivart (developer)
2010-03-12 15:58

Implemented in 1.10.

Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker