Code sprint: pkg.m: Difference between revisions

From Octave
Jump to navigation Jump to search
Line 8: Line 8:
=== Coders ===
=== Coders ===
== Option update should behave as option install ==
== Option update should behave as option install ==
* It should parse alist of packages and maybethe same flags as install (-auto, -noauto, etc)
* It should parse alist of packages and maybe the same flags as install (-auto, -noauto, etc)
=== Coders ===
=== Coders ===
== Remove -global and -local flags ==
== Remove -global and -local flags ==
* Those flags are currently ignored internally anyways so they should disappear
* Those flags are currently ignored internally anyways so they should disappear

Revision as of 10:58, 26 September 2012

This page is meant to organize and report the efforts to improve pkg.m

Schedule

Objectives

Option update should conserve autoload user configuration

  • When doing an update the packages that the user previously installed with -auto should be kept auto.

Coders

Option update should behave as option install

  • It should parse alist of packages and maybe the same flags as install (-auto, -noauto, etc)

Coders

Remove -global and -local flags

  • Those flags are currently ignored internally anyways so they should disappear

Coders

  • Carnë has already a changeset for this

Allow packages to deprecate functions

  • Create a system that allows packages to deprecate functions as in core. Possibilities are:
    • Get pkg to accept a deprecated directory inside the package and add it to the search path. Functions in those directories would have to be treated the same as the ones inside the core deprecated
    • PKG_ADD can be used to hack this. Package developers would still have to actually write the warnings on the function code but this would allow to have the functions in a separate directory so they don't foget to remove them on the next release
    • The package developer can also use something like Make to create a normal package from something that actually had a more complex structure, inclusive deprecated directories

Coders

Resolve packages dependencies automatically. Download and install

  • Get pkg to resolve dependencies automatically by downloading and installing them too.

Coders

Allow download and install of multiple versions of the same package

Coders

Make pkg.m more verbose by default

  • make the package just a bit more verbose by default

Coders

Support for more than one src directory(?)

Coders

Accept make flags

  • make pkg able to supply extra configure and make flags, useful for distributions, including -j for make

Coders

Remove auto option

Coders

Allow installation from given url

  • Accept -url <url> to install files and packages directly from the web

Coders