[bug]: lint fails on main, generated CLI docs out of date
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 85/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go
- Domain
- documentation
Research direction
Start with doc/cli-docs/harbor-context-switch.md, then read doc/doc.go to see how the generator emits the trailing blank line. Run the documentation regeneration used by the lint job's "Check for changes" step, or the relevant doc target, and confirm the regenerated file matches the checked-in copy. Done means regenerating docs produces no diff and the lint job passes.
Written by the indexing model from the issue text.
Description
doc/cli-docs/harbor-context-switch.md no longer matches the generator output. Commit 5547ebcf (#1073) edited it by hand and dropped the trailing blank line that doc/doc.go emits.
The lint job's "Check for changes" step regenerates docs and fails on the diff, so every PR against main fails lint (see main run 45465432070).
- Dominant language
- Go
- Stars
- 167
- Forks
- 219
- Avg merge
- 12h 53m
- Merged PRs (30d)
- 10
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from goharbor/harbor-cli
-
[bug]: scan-all update-schedule does not auto-convert 5-field cron expressions as documentedPossibly taken @vishnums2k5 claimed this 14 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
goharbor/harbor-cli#1143 · 1 comment ·
Maintainers usually reply within 1 day
-
[bug]: CVE allowlist API rejects the expiration date format advertised by --expiredateMay be free again @subhechhamaiti716-byte claimed this 9 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
goharbor/harbor-cli#1142 · 2 comments ·
Maintainers usually reply within 1 day
-
[bug]: docs: Update webhook delete examples to use the correct flag (--webhook-id)Possibly taken @MuhammadHassan968 claimed this 34 days ago. Openbug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
goharbor/harbor-cli#1127 ·
Maintainers usually reply within 1 day
-
[bug]: quota update accepts storage limits that overflow int64Possibly taken @anishmehta24 claimed this 42 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
goharbor/harbor-cli#1113 · 2 comments ·
Maintainers usually reply within 1 day
-
[bug]: login always reports a changed password when the same credentials are used againPossibly taken @anishmehta24 claimed this 42 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
goharbor/harbor-cli#1112 · 1 comment ·
Maintainers usually reply within 1 day
All issues in goharbor/harbor-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
docker/model-runner#1118 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100