[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57489] pkg, m doesn't convey multiple package
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #57489] pkg, m doesn't convey multiple package names as argument to all actions |
Date: |
Fri, 27 Dec 2019 16:33:43 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<https://savannah.gnu.org/bugs/?57489>
Summary: pkg,m doesn't convey multiple package names as
argument to all actions
Project: GNU Octave
Submitted by: philipnienhuis
Submitted on: Fri 27 Dec 2019 10:33:41 PM CET
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Philip Nienhuis
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: Any
_______________________________________________________
Details:
Steps to reproduce:
1. Be sure you have multiple packages installed, e.g., a, b, c, ...
2. type: pkg list a b
Result:
pkg only lists package 'a'
Expected result:
pkg lists all requested packages.
>> pkg list
Package Name | Version | Installation directory
--------------+---------+-----------------------
geometry | 4.0.0 | /home/philip/octave/geometry-4.0.0
io | 2.4.13 | /home/philip/octave/io-2.4.13
mapping | 1.4.0 | /home/philip/octave/mapping-1.4.0
matgeom | 1.0.0 | /home/philip/octave/matgeom-1.0.0
octproj | 1.1.5 | /home/philip/octave/octproj-1.1.5
>> pkg list io geometry
Package Name | Version | Installation directory
--------------+---------+-----------------------
io | 2.4.13 | /home/philip/octave/io-2.4.13
>> pkg list geometry io
Package Name | Version | Installation directory
--------------+---------+-----------------------
geometry | 4.0.0 | /home/philip/octave/geometry-4.0.0
E.g., 'pkg unload', 'pkg install' etc. do it right as they use a different
mechanism to process the list of user-specified packages and don't rely on the
output of installed_packages.m
The culprit is in private function installed_packages.m.
I'll upload a cset as soon as I have a bug number.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57489>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57489] pkg, m doesn't convey multiple package names as argument to all actions,
Philip Nienhuis <=