Feature Request: Include a .tea-meta file with installed packages
When tea installs a package it would be nice if it included some sort of metadata dotfile in the install dir, perhaps called .tea-meta. This could be useful for a few reasons:
- when programmatically walking the tea install dir it becomes much easier to identify an installed package by the presence of this file
- If the meta data file includes the a checksum of the installed package it can be used to determine if a package was yanked or rebuilt
- Additional info from the pantry (display-name, dependencies, entry-point, etc) could be included in the meta file to prevent the need for additional pantry lookups.
Another reason to do this is any metadata we write would represent the metadata for that package at install time irrelevant of future changes to the pantry. Which can be useful.
All the same tho, it will also get out of data so gui shouldn't depend on it probs.
when programmatically walking the tea install dir it becomes much easier to identify an installed package by the presence of this file
well libtea should provide the function to do this anyway.
Should be called build-receipt.yml or something like that.