Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Preferences subsystem #1835

Closed
wants to merge 3 commits into from
Closed

Add Preferences subsystem #1835

wants to merge 3 commits into from

Commits on May 22, 2020

  1. Add Pkg.API.get_uuid() and Pkg.API.get_version()

    These functions provide a nice interface for determining the
    currently-running package's UUID and VersionNumber, identified by loaded
    `Module`.  We explicitly do not include a lookup by name, in expectation
    of potential future naming clashes due to having multiple packages with
    the same name but different UUIDs.
    staticfloat committed May 22, 2020
    Configuration menu
    Copy the full SHA
    6679131 View commit details
    Browse the repository at this point in the history
  2. Implement Scratch Spaces

    This implements functionality and tests for a new `Scratch`
    subsystem in `Pkg`; analogous to the `Artifacts` added in 1.3, this
    provides an abstraction for a mutable datastore that can be explicitly
    lifecycled to an owning package, or shared among multiple packages.
    
    Closes #796
    staticfloat committed May 22, 2020
    Configuration menu
    Copy the full SHA
    6acd87a View commit details
    Browse the repository at this point in the history

Commits on May 26, 2020

  1. Implement Pkg.Preferences

    Preferences provides a simple package configuration store; packages can
    store arbitrary configurations into `Dict` objects that get serialized
    into their active `Project.toml`.  Depot-wide preferences can also be
    stored within the `prefs` folder of a Julia depot, allowing for default
    values to be passed down to new environments from the system admin.
    staticfloat committed May 26, 2020
    Configuration menu
    Copy the full SHA
    5e2343f View commit details
    Browse the repository at this point in the history