Implement M1 scaffolding and OSV ingestion - #39
Open
bjcorder wants to merge 18 commits into
Open
Conversation
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
Signed-off-by: Brian Corder <bjcorder@protonmail.com>
| run: | | ||
| echo "CodeQL analysis will be enabled when implementation source lands." | ||
| test -f README.md | ||
| - uses: github/codeql-action/init@fee9466b8957867761f2d78f922ab084e3e2dd17 |
| languages: go | ||
| - name: Build | ||
| run: go build ./... | ||
| - uses: github/codeql-action/analyze@fee9466b8957867761f2d78f922ab084e3e2dd17 |
This was referenced May 23, 2026
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements milestone 1: Scaffolding & OSV Ingestion.
forkguard initandforkguard ingest#11.forkguard init/forkguard ingest.Implementation commits
c9506818a741— Fix M1.1: Initialize Go module and project structure #1: Initialize Go module and project structure3666ecace7f7— Fix M1.2: Set up linting, vetting, and CI #2: Set up linting, vetting, and CI484e61796505— Fix M1.3: Create issue and PR templates #3: Create issue and PR templates009c8c96e106— Fix M1.4: Set up cobra root command and stub subcommands #4: Set up cobra root command and stub subcommandsaadabd316f68— Fix M1.5: Add viper-based configuration #5: Add viper-based configuration6c4c9ee76afa— Fix M1.6: Set up slog-based structured logging #6: Set up slog-based structured logging6c480c335441— Fix M1.7: Set up SQLite store with golang-migrate #7: Set up SQLite store with golang-migrate5bead2cc268e— Fix M1.8: Configure sqlc and write initial queries #8: Configure sqlc and write initial queries94e2242fdc9f— Fix M1.9: Implement OSV API client #9: Implement OSV API client5408252e1c09— Fix M1.10: Implement OSV advisory normalization #10: Implement OSV advisory normalizationed39d2cdba42— Fix M1.11: Wire upforkguard initandforkguard ingest#11: Wire up forkguard init and ingest03c853a0fc67— Fix M1.8: Configure sqlc and write initial queries #8: Make sqlc generation self-containede7cc98508f2f— Fix M1.2: Set up linting, vetting, and CI #2: Enable Go security automation4ec46ff9a990— Fix M1.9: Implement OSV API client #9: Harden OSV client response handling707689625be5— Fix M1.10: Implement OSV advisory normalization #10: Derive severity from CVSS vectorsa5dbbf6b5069— Fix M1.11: Wire upforkguard initandforkguard ingest#11: Make OSV ingest transactional8efdd1caaf3a— Fix M1.8: Configure sqlc and write initial queries #8: Format license header helper8c6133db0dc0— Fix M1.2: Set up linting, vetting, and CI #2: Prevent security smoke check self-matchValidation
make generate— passedgo build ./...— passedgo vet ./...— passedgo run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8 run ./...— passedgo test ./... -race -coverprofile=coverage.out— passedpattern='(ghp_|github_pat_|sk-[A-Za-z0-9])'; ! git grep -nE "$pattern" -- ':!docs/**' ':!.github/workflows/security.yml'— passed./forkguard --help— passedFORKGUARD_DB_PATH=<temp>/state.db ./forkguard init --forks <temp>/forks.yaml— passedFORKGUARD_DB_PATH=<temp>/state.db ./forkguard ingest --upstream github.com/openssl/openssl— passed107advisories and259fix commitsReview
Fresh-context completion, code correctness, and source-code-only security reviews were run. Review findings were fixed and re-reviewed; no blockers or fixes worth doing now remained.
Risks / follow-ups