[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53577] pkg: should not try to create files or
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53577] pkg: should not try to create files or directories until actually needed |
Date: |
Fri, 6 Apr 2018 16:52:03 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 |
URL:
<http://savannah.gnu.org/bugs/?53577>
Summary: pkg: should not try to create files or directories
until actually needed
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Fri 06 Apr 2018 01:52:01 PM PDT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
The pkg function creates empty directories and files in the user's home
directory, or wherever pkg('prefix') and pkg('local_list') are set to, even if
they are not needed.
It shouldn't be too hard to defer creating these files and directories until
they are actually used by a pkg command. There is no reason for 'pkg prefix
/tmp/foo' to actually create the /tmp/foo directory, until a 'pkg install'
command is done later.
Similarly, it shouldn't be an immediate error if I try 'pkg prefix
/root/octave', it should just store that for the next pkg command. Then when I
actually try to install a package in /root/octave, it should error.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53577>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #53577] pkg: should not try to create files or directories until actually needed,
Mike Miller <=