Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Installer] Add anchore/grype #24

Closed
11 tasks
joshsleeper opened this issue Dec 16, 2022 · 9 comments
Closed
11 tasks

[Installer] Add anchore/grype #24

joshsleeper opened this issue Dec 16, 2022 · 9 comments
Labels
first-timers-only Alias for 'good first issue' good first issue Good for newcomers hacktoberfest Hacktoberfest contest alias for 'good first issue' up-for-grabs Alias for 'good first issue'

Comments

@joshsleeper
Copy link

Add anchore/grype

We want to add anchore/grype because...

  • it works consistently across Windows, Mac, and Linux.
  • grype is a CLI tool from Anchore for vulnerability scanning a container or filesystem

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

  • Basic Command Line knowledge (mkdir, mv, ls, tar, unzip, variables)

Steps

  1. Clone and setup the webi packages repo
    git clone [email protected]:webinstall/packages.git
    pushd packages/
    npm install
  2. Copy the example template and update with info from Official Releases:
    https://github.com/anchore/grype/releases
    rsync -av _example/ grype/
    • update grype/release.js to use the official repo
    • Learn how grype unpacks (i.e. as a single file? as a .tar.gz? as
      a .tar.gz with a folder named grype?)
    • find and replace to change the name
      • update grype/install.sh (see bat and jq as examples)
      • update grype/install.ps1 (see bat and jq as examples)
  3. Needs an updated tagline and cheat sheet
    • update grype/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)

@joshsleeper joshsleeper added the good first issue Good for newcomers label Dec 16, 2022
@sciencehope
Copy link

sciencehope commented Dec 27, 2022

Hello @joshsleeper , I would like to try

@joshsleeper
Copy link
Author

by all means, I don't have write access to this repo as I'm just a webi user myself, so I can't assign it to you or anything ¯\_(ツ)_/¯

@coolaj86
Copy link
Member

coolaj86 commented Jan 6, 2023

@stic-lab do it.
@joshsleeper can you help with the cheat sheet?

@sciencehope
Copy link

@coolaj86 thank you. I am on it now

@brthngnsh
Copy link

If this is still open, may I work on this?
@joshsleeper @coolaj86

@joshsleeper
Copy link
Author

as I said before, I don't have any sway or decision making powers here, and haven't started on anything myself otherwise I would've let folks know~

@stic-lab said he was planning to work on something back in Jan it seems, but we clearly haven't heard anything on this issue since.

@sciencehope
Copy link

Please, let @brthngnsh do it. I was not able to manage my time to do it. Sorry it guys.

@reg-e-xer
Copy link

Hello coolaj86, I came upon this and decided to try it first before asking you to assign this, I'm done now and would be creating a PR, if there's any mistake or correction to make, you can mention me, I'll get back to it...

@coolaj86 coolaj86 transferred this issue from webinstall/webi-installers Oct 12, 2023
@coolaj86 coolaj86 added first-timers-only Alias for 'good first issue' up-for-grabs Alias for 'good first issue' hacktoberfest Hacktoberfest contest alias for 'good first issue' labels Oct 16, 2023
@coolaj86
Copy link
Member

This was completed via webinstall/webi-installers#652

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first-timers-only Alias for 'good first issue' good first issue Good for newcomers hacktoberfest Hacktoberfest contest alias for 'good first issue' up-for-grabs Alias for 'good first issue'
Projects
None yet
Development

No branches or pull requests

5 participants