knative / knative/toolbox

Update-deps Go-native tool

Open
#16 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement triage/accepted
Dominant language
Go
Stars
4
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Rewrite bash function go_update_deps "$@" from knative.dev/hack/library.sh (L663-L681) into a Golang tool knative.dev/toolbox/update-deps.

https://github.com/knative/hack/blob/158898889ae8670c7e68e522e32cd6800e1729a0/library.sh#L663-L681

Keep the same CLI:

go run knative.dev/toolbox/update-deps@latest \
  --upgrade \
  --release <release-version> \
  --module-release <module-version>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the referenced go_update_deps function in knative.dev/hack/library.sh at lines 663-681, then inspect the knative.dev/toolbox layout for the update-deps entry point. Preserve the documented CLI flags and verify the tool can be run with the shown go run command while matching the existing function's behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, go
Domain
cli, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.