[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60574] pkg update ignores -global / -local op
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #60574] pkg update ignores -global / -local options |
Date: |
Tue, 11 May 2021 23:29:44 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 |
Follow-up Comment #4, bug #60574 (project octave):
v3 update
I think this update satisfies this bug, bug #56128, and bug #60573.
on top of the changes in comment #2 and comment #3, this checks at the start
of pkg update whether -local or -global was called, and if so limits the scope
of the update to the installed local or global files.
tested on stable (6.2.1 - May 14, 2021), as i'm not set up to compile and
there were enough changes on default to preclude m-file testing, but there
didn't seem to be any changes to relevant sections. could use a check, though
to be sure.
testing by installing an out of date package in both local and global, then
running pkg update, pkg update -local, and pkg update -global (with various
other options and specifying pkg names), and all behaved as expected. pkg
update -local just checked and updated local files to local, same with global.
a regular pkg update behaved as normal.
also made a note to NEWS noting behavior change.
(file #51426)
_______________________________________________________
Additional Item Attachment:
File name: pkg_update_options_v3.diff Size:3 KB
<https://file.savannah.gnu.org/file/pkg_update_options_v3.diff?file_id=51426>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60574>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/