comfysage / hayashi

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

Create framework for building repo packages #6

Closed comfysage closed 1 year ago

comfysage commented 1 year ago

Currently, if someone wanted to install a repo that contains a custom pkg, they would have to:

This would clone the repo (again) in ~/.hayashi/repo/<repo> and install the package.

Problems with the current state:

comfysage commented 1 year ago

Packages for a repo are stored in a yuki.yaml file within the root directory.

Upon installation these packages are stored in pkg/repo/<repo_name>.yaml.

These repos can be installed using:

hayashi add /path/to/repo