Skip to content

Commit fe24487

Browse files
authored
Finalize CodeClone 2.0 release surfaces (#26)
* release: stabilize v2 surfaces and GitHub Action - move package/docs/extension/plugin metadata to stable 2.0.0 defaults - refresh CodeClone branding across docs, HTML report, VS Code, Claude Desktop, and Codex plugin assets - polish the composite GitHub Action install policy, helper structure, and PR review summary - add/update tests for action defaults, extension support, and plugin metadata * chore(docs): re-organization of badges in the README * chore(docs): refine CodeClone wordmark assets - adjust light/dark wordmark viewBox and text spacing - simplify SVG text layout for cleaner rendering * chore(docs): refine CodeClone wordmark assets - adjust light/dark wordmark viewBox and text spacing - simplify SVG text layout for cleaner rendering * chore(docs): refine CodeClone wordmark assets - adjust light/dark wordmark viewBox and text spacing - simplify SVG text layout for cleaner rendering * chore(docs): re-organization of badges in the README * chore(docs): re-organization of badges in the README
1 parent 2d36da6 commit fe24487

52 files changed

Lines changed: 1075 additions & 370 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ body:
1616
attributes:
1717
label: CodeClone version
1818
description: Output of `codeclone --version`
19-
placeholder: "2.0.0b4"
19+
placeholder: "2.0.0"
2020
validations:
2121
required: true
2222

.github/ISSUE_TEMPLATE/cfg_semantics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ body:
1515
id: version
1616
attributes:
1717
label: CodeClone version
18-
placeholder: "2.0.0b4"
18+
placeholder: "2.0.0"
1919

2020
- type: textarea
2121
id: scenario

.github/ISSUE_TEMPLATE/false_positive.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ body:
1515
id: version
1616
attributes:
1717
label: CodeClone version
18-
placeholder: "2.0.0b4"
18+
placeholder: "2.0.0"
1919
validations:
2020
required: true
2121

.github/ISSUE_TEMPLATE/mcp_server.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
attributes:
1818
label: CodeClone version
1919
description: Output of `codeclone --version`
20-
placeholder: "2.0.0b4"
20+
placeholder: "2.0.0"
2121
validations:
2222
required: true
2323

.github/actions/codeclone/README.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,19 @@ source under test. Remote consumers still install from PyPI.
3030
## Basic usage
3131

3232
```yaml
33-
- uses: orenlab/codeclone/.github/actions/codeclone@main
33+
- uses: orenlab/codeclone/.github/actions/codeclone@v2
3434
with:
3535
fail-on-new: "true"
3636
```
3737
38-
For released references, prefer pinning to a major version tag such as `@v2`
39-
or to an immutable commit SHA.
38+
For strict reproducibility, pin the full release tag:
39+
40+
```yaml
41+
- uses: orenlab/codeclone/.github/actions/codeclone@v2.0.0
42+
```
43+
44+
For long-lived workflows, `@v2` follows the latest compatible 2.x action
45+
metadata.
4046

4147
## PR workflow example
4248

@@ -61,7 +67,7 @@ jobs:
6167
with:
6268
fetch-depth: 0
6369
64-
- uses: orenlab/codeclone/.github/actions/codeclone@main
70+
- uses: orenlab/codeclone/.github/actions/codeclone@v2
6571
with:
6672
fail-on-new: "true"
6773
fail-health: "60"
@@ -74,7 +80,7 @@ jobs:
7480
| Input | Default | Purpose |
7581
|-------------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------|
7682
| `python-version` | `3.14` | Python version used to run the action |
77-
| `package-version` | `""` | CodeClone version from PyPI for remote installs; ignored when the action runs from the checked-out CodeClone repo |
83+
| `package-version` | `2.0.0` | CodeClone version from PyPI for remote installs; ignored when the action runs from the checked-out CodeClone repo |
7884
| `path` | `.` | Project root to analyze |
7985
| `json-path` | `.cache/codeclone/report.json` | JSON report output path |
8086
| `sarif` | `true` | Generate SARIF and try to upload it |
@@ -136,26 +142,27 @@ Notes:
136142
- if you only want gating and JSON output, you can disable `sarif` and
137143
`pr-comment`
138144

139-
## Stable vs prerelease installs
145+
## Install policy
146+
147+
Released action tags pin the PyPI package version in action metadata. For
148+
example, `@v2.0.0` installs `codeclone==2.0.0` unless you override
149+
`package-version`.
140150

141-
Stable:
151+
Explicit prerelease or smoke-test override:
142152

143153
```yaml
144154
with:
145-
package-version: ""
155+
package-version: "<version>"
146156
```
147157

148-
Explicit prerelease:
158+
Local/self-repo validation:
149159

150160
```yaml
151-
with:
152-
package-version: "2.0.0b4"
161+
- uses: ./.github/actions/codeclone
153162
```
154163

155-
Local/self-repo validation:
156-
157164
- `uses: ./.github/actions/codeclone` installs CodeClone from the checked-out
158-
repository source, so beta branches and unreleased commits do not depend on
165+
repository source, so release branches and unreleased commits do not depend on
159166
PyPI publication.
160167

161168
## Notes and limitations

0 commit comments

Comments
 (0)