comfysage / hayashi

:seedling: a tiny distro-independent package manager written in Go.
3 stars 1 forks source link

add support for collection packages #7

Closed comfysage closed 4 months ago

comfysage commented 1 year ago

Currently packages that define a collection use arbitrary commands to link the repo to the pkg/ directory.

Proposed changes: You should be able to define a collection package:

pkg: some-collection
collection: pkgs/

This behaviour overwrites the current use of the collection key. This is because the current use of this key is overwritten by the InferCollection() function.

comfysage commented 1 year ago

Old behaviour of the collection key has been deprecated but is still read and determined when parsing the package.