Skip to content

[RFC] JSON package / library config info output #2753

Open
@digama0

Description

@digama0

Processing lakefile.lean is a nontrivial cost (~200ms) and a minimum requirement to do anything with lake packages. I think it would be good for lake to generate a parsed version of (some of) the information in a package configuration and stick it somewhere in the build directory, along with a trace so that it is easy to determine if the information is out of date. Then many activities with package management can be handled by reading the JSON file instead of the lakefile, using the trace to determine whether to call lake to refresh the contents of the file. (This could also be part of lake-manifest.json.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    LakeLake related issueP-mediumWe may work on this issue if we find the timeenhancementNew feature or requestperformanceA performance problem related issue or PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions