Skip to content

Top level preferences for applications #65

@3f6a

Description

@3f6a

I think it would be nice to be able to set preferences for Applications (as opposed to packages). Could that make sense?

Since Applications do not have name or uuids (not necessarily), these preferences could be stored at the top level of the LocalPreferences.toml file, and be associated to the current leaf project. We could set/get them by unqualified set_preferences!(key => value) and get_preferences(key) (without having to specify UUID or a package name).

APP_KEY1 = "value1" # current app preferences

[PkgA] # package specific preferences
CONF_PKG_A_KEY1 = "abc"

# ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions