Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

[PKG xyz Request] How to request your favorite tools/pkgs to be included in hysp-pkgs [Guide] #10

Open
Azathothas opened this issue Nov 30, 2023 · 0 comments

Comments

@Azathothas
Copy link

Azathothas commented Nov 30, 2023

  1. Check if it's already included in hysp-pkgs:
hysp search -p "$PKG"

#-----------------------------------------------------------------------------#
↣ x86_64
#Total Ported Packages --> metis-os/hysp-pkgs
curl -qfsSL "https://raw.githubusercontent.com/metis-os/hysp-pkgs/main/data/metadata.json" | jq -r '.packages[] | select(.architecture == "x86_64")' | jq -r '.name' | sort -u 
#Detailed: https://github.com/metis-os/hysp-pkgs/blob/main/data/x86_64/README.md
#-----------------------------------------------------------------------------#
↣ aarch64 || arm64
curl -qfsSL "https://raw.githubusercontent.com/metis-os/hysp-pkgs/main/data/metadata.json" | jq -r '.packages[] | select(.architecture == "aarch64_arm64")' | jq -r '.name' | sort -u
#Detailed: https://github.com/metis-os/hysp-pkgs/blob/main/data/aarch64_arm64/README.md
  1. Check if it's being built at Azathothas/Toolpacks but not yet ported to hysp-pkgs
Diff:  https://github.com/metis-os/hysp-pkgs/blob/main/.github/PKGS_DIFF.txt

#-----------------------------------------------------------------------------#
↣ x86_64
#Total Hosted pkgs --> Azathothas/Toolpacks
curl -qfsSL "https://api.github.com/repos/Azathothas/Toolpacks/contents/x86_64/" | jq -r '.[].name' | sort -u
#Detailed: https://github.com/Azathothas/Toolpacks/blob/main/x86_64/README.md
#-----------------------------------------------------------------------------#
↣ aarch64 || arm64
#Total Hosted pkgs --> Azathothas/Toolpacks
curl -qfsSL "https://api.github.com/repos/Azathothas/Toolpacks/contents/aarch64_arm64/" | jq -r '.[].name' | sort -u
#Detailed: https://github.com/Azathothas/Toolpacks/blob/main/aarch64_arm64/README.md
  1. If PKG xyz really doesn't exist
  1. Search if it already exists at : https://github.com/metis-os/hysp-pkgs/issues
  2. Create an issue at : metis-os/hysp-pkgs
  3. Use this template:
Title : [PKG REQUEST] $Package_Name for $AARCH
# Example: [PKG REQUEST] fzf for x86_64 Linux
Body :
- Repo : Include Link to Source Code (Github/Gitlab etc)
- Description : A brief description about the pkg, what it is about/does etc.
- Binary Releases : Whethere pre-compiled binaries are provided, if they are then `Yes` else `No`
   - If Binaries are already provided, download/extract it & include output for `file $PKG` & `ldd $PKG`
   - #Example : https://github.com/metis-os/hysp-pkgs/issues/2
- Needs to compile : If Releases are not provided,, or they are dynamic, write `Yes` else `No`
- Compile Instructions : If $PKG needs to be compiled & you know how to make it static, please include the build description.
  • Note: Your PKG xyz must be able to be compiled statically (Usually go/rust) or have their static binaries published as Releases.
  • An attempt will be made to compile PKG xyz, but if it's always dynamic, PKG xyz wont be added to hysp-pkgs
  • Compiled Binary must be less than 100 MB in size. This is because of Github's Size limit.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant