dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
21.93k stars 1.76k forks source link

packaging: Make it available through the baz plugin manager #2260

Closed TruncatedDinoSour closed 1 year ago

TruncatedDinoSour commented 1 year ago

https://github.com/TruncatedDinosour/baz

Signed-off-by: Ari Archer ari.web.xyz@gmail.com

Description

Only fill in the fields below if relevant.

Features

Issues

TODO

TruncatedDinoSour commented 1 year ago

Note: You can move the hooks dir to some other nested dir by changing BAZ_SRC, for example if BAZ_SRC=hello, you can move hooks to hello/hooks

Note: To test you can baz install git https://ari-web.xyz/gh/neofetch, will install this pull's fork

Note: If you merge it would be fun if you added the baz-plugin tag to neofetch :) but more than optional, just nice, sorry if this seems rude

Note: The shebangs in hooks dont matter, they're source hooks, meaning theyll get sourced, i just changed them for consistency

Note: Fun fact: neofetch is also installable with basher

hykilpikonna commented 1 year ago

It might be better to separate packaging scripts from the source repo...

  1. If every package manager needs some special files added to the source repo, then the source repo would be filled with files that are irrelevant to the code or functionality of the project.
  2. If you need to include package scripts, you cannot package something without the approval of the developer (to edit/merge into the source repo)

It might be better to keep every package script in one repo that you control, like Homebrew and nixpkgs

TruncatedDinoSour commented 1 year ago

:+1: