Skip to content

Commit 2c8f325

Browse files
Merge pull request #97 from XAOSTECH:anglicise/20260312-030456
chore: Convert American spellings to British English
2 parents cfc34a7 + 5898fd2 commit 2c8f325

21 files changed

Lines changed: 62 additions & 62 deletions

.dc-package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ include:
2626
- plugins/
2727
- install.sh
2828
- README.md
29-
- LICENSE
29+
- LICENCE
3030
- CHANGELOG.md
3131

3232
# Runtime dependencies

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717

1818
### Fixed
1919
- correct Perl regex syntax using curly brace delimiters
20-
- improve anglicise workflow exclusion patterns for licence/license conversion
20+
- improve anglicise workflow exclusion patterns for licence/licence conversion
2121
- strip extensions and customizations from _minimal variant
2222
- leave timezone empty in _minimal variant
2323
- replace user timezone with UTC in _example and _minimal config variants
@@ -51,7 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5151
- improve: use gcda-style HEAD amendment for serverless
5252
- chore: update CHANGELOG for v0.5.7 (re-release)
5353
- chore(web-dev): adapt comment
54-
- chore(anglicise): license -> licence + adapt anglicise
54+
- chore(anglicise): licence -> licence + adapt anglicise
5555
- chore(docs): clarify dc-init -> dc-create config flow
5656
- chore(docs): clarify envVars
5757
- chore(docs): move dc-alias to front + fix typo + format
@@ -97,7 +97,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9797

9898
### Changed
9999
- chore(web-dev): adapt comment
100-
- chore(anglicise): license -> licence + adapt anglicise
100+
- chore(anglicise): licence -> licence + adapt anglicise
101101
- chore(docs): clarify dc-init -> dc-create config flow
102102
- chore(docs): clarify envVars
103103
- chore(docs): move dc-alias to front + fix typo + format
@@ -180,15 +180,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
180180
## [0.5.6] - 2026-02-22
181181

182182
### Added
183-
- add fractal git tree visualization (create-tree.sh)
183+
- add fractal git tree visualisation (create-tree.sh)
184184
- add security branch cleanup and --auto-sign flag
185185
- amend security review issues instead of creating duplicates
186186
- add automerge label to security-fix PRs
187187

188188
### Fixed
189189
- SVG info transform arithmetic calculation
190190
- tree-viz JSON escaping and duplicate echo bugs
191-
- tree visualization - CodeQL schedule, SVG rendering, relative paths
191+
- tree visualisation - CodeQL schedule, SVG rendering, relative paths
192192
- restore correct variables in PR body template
193193
- remove self-referential env vars and use correct shell syntax
194194
- disable autofix automatic trigger to prevent infinite loop

config/example.dc-lib-package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ include:
3838
- scripts/lib/version.sh
3939
- scripts/lib/README.md
4040
- config/theme.yaml
41-
- LICENSE
41+
- LICENCE
4242

4343
# No runtime dependencies for core lib
4444
# (gum is optional for tui.sh advanced features)

config/example.dc-package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ include:
1818
- docs/
1919
- plugins/
2020
- README.md
21-
- LICENSE
21+
- LICENCE
2222
- install.sh
2323

2424
# Runtime dependencies

docs-templates/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<a href="{{REPO_URL}}/releases">
99
<img alt="GitHub release" src="https://img.shields.io/github/v/release/{{ORG_NAME}}/{{REPO_SLUG}}?style=for-the-badge&logo=semantic-release&colour=blue">
1010
</a>
11-
<a href="{{REPO_URL}}/blob/main/LICENSE">
11+
<a href="{{REPO_URL}}/blob/main/LICENCE">
1212
<img alt="Licence" src="https://img.shields.io/github/licence/{{ORG_NAME}}/{{REPO_SLUG}}?style=for-the-badge&colour=green">
1313
</a>
1414
</p>
@@ -230,7 +230,7 @@ See the [open issues]({{REPO_URL}}/issues) for a full list of proposed features
230230

231231
## 📄 Licence
232232

233-
Distributed under the {{LICENSE_TYPE}} Licence. See [`LICENSE`](LICENSE) for more information.
233+
Distributed under the {{LICENSE_TYPE}} Licence. See [`LICENCE`](LICENCE) for more information.
234234

235235
---
236236

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ See [open issues](https://github.com/xaostech/dev-control/issues) for more.
372372

373373
## 📄 Licence
374374

375-
GPL-3.0. See [LICENSE](../LICENSE).
375+
GPL-3.0. See [LICENCE](../LICENCE).
376376

377377
---
378378

@@ -388,7 +388,7 @@ GPL-3.0. See [LICENSE](../LICENSE).
388388

389389
<!-- TREE-VIZ-START -->
390390

391-
## Git Tree Visualization
391+
## Git Tree Visualisation
392392

393393
![Git Tree Visualization](../.github/tree-viz/git-tree.svg)
394394

docs/TESTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ jobs:
144144
145145
1. **Isolate tests**: Use temp directories, reset globals
146146
2. **Test one thing**: Each test should verify a single behaviour
147-
3. **Use descriptive names**: `@test "gc init with --licence creates LICENSE"`
147+
3. **Use descriptive names**: `@test "gc init with --licence creates LICENCE"`
148148
4. **Clean up**: Always remove temp files in teardown
149149
5. **Test edge cases**: Empty inputs, missing files, invalid args

scripts/create-tree.sh

100755100644
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
#
33
# Dev-Control Git Tree Visualizer
4-
# Creates fractal/mandelbrot-style git tree visualization
4+
# Creates fractal/mandelbrot-style git tree visualisation
55
#
66
# Generates:
77
# - SVG for static embedding in README
@@ -61,15 +61,15 @@ while [[ $# -gt 0 ]]; do
6161
;;
6262
-h|--help)
6363
cat <<-EOF
64-
Git Tree Visualizer - Fractal/Mandelbrot-style git history visualization
64+
Git Tree Visualizer - Fractal/Mandelbrot-style git history visualisation
6565
6666
Usage: create-tree.sh [OPTIONS]
6767
6868
Options:
6969
--svg-only Generate only SVG (static, README-compatible)
7070
--html-only Generate only HTML (interactive with animations)
7171
--no-embed Don't auto-inject into README
72-
--max-commits N Limit visualization to N commits (default: 500)
72+
--max-commits N Limit visualisation to N commits (default: 500)
7373
--output-dir DIR Output directory (default: .github/tree-viz)
7474
-h, --help Show this help
7575
@@ -94,7 +94,7 @@ done
9494
# ============================================================================
9595

9696
print_header
97-
print_info "Git Tree Visualizer - Creating fractal tree visualization"
97+
print_info "Git Tree Visualizer - Creating fractal tree visualisation"
9898

9999
# Create output directory
100100
mkdir -p "$OUTPUT_DIR"
@@ -127,7 +127,7 @@ fi
127127

128128
# Step 5: Embed in README
129129
if [[ "$EMBED_README" == "true" && "$GENERATE_SVG" == "true" ]]; then
130-
print_info "Embedding visualization in README..."
130+
print_info "Embedding visualisation in README..."
131131

132132
# Find README
133133
README=""
@@ -145,13 +145,13 @@ if [[ "$EMBED_README" == "true" && "$GENERATE_SVG" == "true" ]]; then
145145
# Check if tree-viz section already exists
146146
if grep -q "<!-- TREE-VIZ-START -->" "$README"; then
147147
# Replace existing section
148-
print_info "Updating existing tree visualization in README..."
148+
print_info "Updating existing tree visualisation in README..."
149149
# Create temp file with new content
150150
awk -v path="$README_REL_PATH" '
151151
/<!-- TREE-VIZ-START -->/ {
152152
print $0
153153
print ""
154-
print "![Git Tree Visualization](" path "/git-tree.svg)"
154+
print "![Git Tree Visualisation](" path "/git-tree.svg)"
155155
print ""
156156
in_tree=1
157157
next
@@ -164,12 +164,12 @@ if [[ "$EMBED_README" == "true" && "$GENERATE_SVG" == "true" ]]; then
164164
mv "$README.tmp" "$README"
165165
else
166166
# Append new section
167-
print_info "Adding tree visualization section to README..."
167+
print_info "Adding tree visualisation section to README..."
168168
cat >> "$README" <<-EOF
169169
170170
<!-- TREE-VIZ-START -->
171171
172-
## Git Tree Visualization
172+
## Git Tree Visualisation
173173
174174
![Git Tree Visualization]($README_REL_PATH/git-tree.svg)
175175
@@ -186,7 +186,7 @@ fi
186186

187187
# Summary
188188
echo ""
189-
print_success "Visualization complete!"
189+
print_success "Visualisation complete!"
190190
echo ""
191191
echo "Generated files:"
192192
[[ "$GENERATE_SVG" == "true" ]] && echo " • SVG: $OUTPUT_DIR/git-tree.svg"

scripts/lib/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ spdx=$(detect_spdx_from_content "/path/to/LICENSE")
118118
```
119119

120120
**Functions:**
121-
- `find_licence_file "dir"` - Find LICENSE file
121+
- `find_licence_file "dir"` - Find LICENCE file
122122
- `detect_spdx_from_content "file"` - Detect SPDX ID from content
123123
- `detect_local_licence "dir"` - Detect licence from local files
124124
- `detect_github_licence "owner" "repo"` - Detect via GitHub API

scripts/lib/git/licence.sh

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# Common licence file patterns
1818
LICENSE_FILE_PATTERNS=(
19-
"LICENSE"
19+
"LICENCE"
2020
"LICENSE.txt"
2121
"LICENSE.md"
2222
"LICENCE"
@@ -95,7 +95,7 @@ find_licence_file() {
9595
}
9696

9797
# Detect SPDX identifier from file content
98-
# Usage: detect_spdx_from_content "/path/to/LICENSE"
98+
# Usage: detect_spdx_from_content "/path/to/LICENCE"
9999
# Returns: SPDX ID or "NOASSERTION"
100100
detect_spdx_from_content() {
101101
local file="$1"
@@ -342,7 +342,7 @@ get_licence_category() {
342342
}
343343

344344
# Cache licence detection result in git config
345-
# Usage: cache_licence "MIT" "file:LICENSE"
345+
# Usage: cache_licence "MIT" "file:LICENCE"
346346
cache_licence() {
347347
local spdx_id="$1"
348348
local source="$2"

0 commit comments

Comments
 (0)