webinstall / webi-installer-requests

This is just to house issues for requests for new Webi installers.
Mozilla Public License 2.0
5 stars 7 forks source link

[Installer] Add `anchore/syft` #25

Open joshsleeper opened 1 year ago

joshsleeper commented 1 year ago

Add anchore/syft

We want to add anchore/syft because...

This could be as simple as copying _example, updating the github releases info, and doing a find and replace on a few file system path names.

How to create a webi installer

Video Tutorial: How to create a webi Installer

Skills required

Steps

  1. Clone and setup the webi packages repo
    git clone git@github.com:webinstall/packages.git
    pushd packages/
    npm install
  2. Copy the example template and update with info from Official Releases: https://github.com/anchore/syft/releases
    rsync -av _example/ syft/
    • [ ] update syft/release.js to use the official repo
    • [ ] Learn how syft unpacks (i.e. as a single file? as a .tar.gz? as a .tar.gz with a folder named syft?)
    • [ ] find and replace to change the name
      • [ ] update syft/install.sh (see bat and jq as examples)
      • [ ] update syft/install.ps1 (see bat and jq as examples)
  3. Needs an updated tagline and cheat sheet
    • [ ] update syft/README.md
      • [ ] official URL
      • [ ] tagline
      • [ ] Switch versions
      • [ ] description / summary
      • [ ] General pointers on usage (and perhaps "gotchas")

It's also okay to have multiple people work on part of this (i.e. the Cheat Sheet can be done independently from the install.sh)

cybraia commented 1 year ago

Hi! I would like to work on this issue. Could you please assign this to me? Also, I am a first timer, I need some guidance on the changes I need to make. Any help would be appreciated. Thanks!

coolaj86 commented 1 year ago

@cybraia go ahead. Take a look at the video above ^^. @joshsleeper Could you cook up the cheat sheet for this as well (you can see the README.md for just about any of the install folders for a decent example)

joshsleeper commented 5 months ago

alright, finally got around to getting an MR opened for this

https://github.com/webinstall/webi-installers/pull/809