← Back to issue list

feat: don't emit url for `--profile=test`

View original Github issue

Metadata

Project
rockcraft
Number
#981
Type
pull request
State
open
Author
lczyk
Labels
—
Created
Updated
Closed
—

Current evaluation

One-line fix in rockcraft/services/init.py so `init --profile=test` no longer prints a docs URL for a non-existent reference/extensions/test page. Approved, all CI green, but idle for ~1 year.

Suggested action: needs review

Reason: Review status is 'approved' with zero unresolved comments and all 15 CI checks passing (fast/slow tests, lint, policy, snap-build); the target line `if init_profile != "simple":` still exists unchanged at rockcraft/services/init.py:47, so the +1/-1 diff should still apply. The only caveat is staleness — last activity 365 days ago and no accompanying unit test for the new `test`-profile branch (tests/unit/test_cli.py only covers flask/django) — so a maintainer should confirm it still rebases and possibly add a test before landing.

Evaluated by: mr-cal-bot

Impact: 22 Quick Win: 15 Complexity: 8 Confidence: 84 Actionability: 74

Issue body

`rockcraft init --profile=test` prints ``` Go to https://documentation.ubuntu.com/rockcraft/en/latest/reference/extensions/test to read more about the 'test' profile. Successfully initialised project. ``` https://documentation.ubuntu.com/rockcraft/en/latest/reference/extensions/test ^ this page does not exist. - [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint && make test`? ---

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 22
Quick Win: 15
Complexity: 8
Confidence: 84
Actionability: 74
needs review One-line fix in rockcraft/services/init.py so `init --profile=test` no longer prints a docs URL for a non-existent reference/extensions/test page. Approved, all CI green, but idle for ~1 year.
qwen/qwen3.6-35b-a3b
Impact: 10
Quick Win: 9
Complexity: 5
Confidence: 85
Actionability: 90
needs review Removes a broken documentation URL printed during `rockcraft init --profile=test`. Approved, CI green, 1-line change.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 14
Staleness: 70
Complexity: 5
Confidence: 60
needs review One-line change to stop `rockcraft init --profile=test` from printing a docs URL (reference/extensions/test) that does not exist. Approved by one reviewer, all CI checks passing, but inactive for ~11 months.
qwen/qwen3.6-35b-a3b
Staleness: 78
Complexity: 3
Confidence: 90
needs review Fixes rockcraft init --profile=test by removing a broken documentation URL from the output. Approved by one reviewer, all CI checks passing, awaiting maintainer merge.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 10
Confidence: 80
close stale Removes a broken documentation URL printed during rockcraft init --profile=test. PR has been inactive for ~9 months with no maintainer feedback or CI status.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 10
Confidence: 85
needs review Fixes rockcraft init --profile=test by suppressing a broken documentation URL in CLI output. The change is trivial and ready for maintainer review.

Update history

No update history recorded yet.

Related work

  • Related To: rocks-template#18 (confidence 60%)

    PR comment states the broken URL was 'found while looking at canonical/rocks-template#18', the original discovery context.

Related issues

No related issues found above the similarity threshold.