octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47658] remove autoload feature of packages


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #47658] remove autoload feature of packages
Date: Sun, 10 Apr 2016 23:10:57 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.7.1

URL:
  <http://savannah.gnu.org/bugs/?47658>

                 Summary: remove autoload feature of packages
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Sun 10 Apr 2016 23:10:56 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The attached cset removes pkg support for autoloading of packages.  This has
the following positive impacts:

* default octave startup is faster (because it does not run 'pkg load auto'). 
Not by much though, 90% of previous time.
* unblocks fix for another bug which prevents a package from being named
auto.
* we no longer have to fix generate_html to guess the default autoload.
* pkg becomes simpler (this cset only removes code).
* reduces need for an octave_packages file (ideally we would not need such
file and be able to deduce everything quickly from filepaths -- the remaining
issue is the version number on the package directory name but I'll address
that after this change).

This has the following negative impact:

* user can no longer install packages with the auto option.

Octave Forge packages no longer autoload by default.  In addition, the general
recommendation has been to use package specific 'pkg load' commands in
octaverc so hopefully the impact will be minimal.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 10 Apr 2016 23:10:56 GMT  Name: remove-pkg-autoload.cset  Size: 11kB
  By: carandraug

<http://savannah.gnu.org/bugs/download.php?file_id=36890>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47658>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]