Repository navigation
docs: explain --no-commit-info for cross-repository attestations - #583
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Claude finished @mintlify[bot]'s task in 55s —— View job Follow-up review completePrevious finding status:
New changes in this push (adds the supported/unsupported commands sentence): verified against No new issues found. Nothing further to flag; no inline threads needed resolving beyond the one addressed above. |
| --no-commit-info | ||
| ``` | ||
|
|
||
| - Repository flags that you pass explicitly (`--repository`, `--repo-url`, `--repo-id`, `--repo-provider`, or their `KOSLI_` environment variables) are still sent. Use them to name the repository the trail belongs to. |
There was a problem hiding this comment.
Improvement: The "or" makes it sound as if any one of these flags is enough. The generated reference (kosli attest generic, line 35 and the --repo-id/--repo-url/--repository flag rows) says repository info is only recorded when all three of --repo-id, --repo-url and --repository are set. --repo-provider is optional. A reader who passes only --repository to name the trail's repo will end up with no repository info at all.
| - Repository flags that you pass explicitly (`--repository`, `--repo-url`, `--repo-id`, `--repo-provider`, or their `KOSLI_` environment variables) are still sent. Use them to name the repository the trail belongs to. | |
| - Repository flags that you pass explicitly (or set through their `KOSLI_` environment variables) are still sent. To name the repository the trail belongs to, set all three of `--repository`, `--repo-url`, and `--repo-id`; `--repo-provider` is optional. |
Explains when and how to attest to a trail from a job in another repository with the new
--no-commit-infoflag, so attestations stop carrying the wrong commit and repository.Based on feat(attest): add --no-commit-info to attest without CI commit and repo info.
GA: released in CLI v2.61.0 (kosli-dev/cli#1420).
Upstream (does not block this merge)
The generated
kosli list trail-eventsreference (kosli-dev/cli, also in v2.61.0) splits its paging example into an empty accordion "list the next page of events, with the cursor the previous command printed" and a separate "and the same --sort and --page-limit" one.