diff --git a/SKILL.md b/SKILL.md index b643e09..aedbd4a 100644 --- a/SKILL.md +++ b/SKILL.md @@ -118,7 +118,7 @@ Check whether that typeid has a sheet in `assets/template/template.xlsx`. This appends the column(s) at the end of that typeid's sheet, **bumps that typeid's Template Version and Skill Version together** (v1→v2 — see *Per-typeid versioning*), - and writes one row to the global changelog `assets/CHANGELOG.xlsx`. Then **ask + and writes one row to the global changelog `assets/template/CHANGELOG.xlsx`. Then **ask the user before pushing**, and sync the updated skill files + changelog to the skill repo with `push-skill` (see *Pushing the skill repo*) — that merges the new changelog row onto the one already in Gitea rather than overwriting it. @@ -218,7 +218,7 @@ reading and writing these numbers. ## The changelog `append_parameter.py` maintains one **global** changelog as an Excel workbook at -`assets/CHANGELOG.xlsx` (sheet `Changelog`, styled green header). Every time a +`assets/template/CHANGELOG.xlsx` (sheet `Changelog`, styled green header). Every time a typeid's template/version changes, one row is appended with columns **Date | Typeid | Skill Version | Template Version | Description** — the version columns hold the new versions, and Description is your note (or the parameter(s) added if you gave none). @@ -278,7 +278,7 @@ plain flat push, but it does not merge the changelog or blank the token, so pref `Footprint Ref/Path` and `Manufacturer` sit near the end. - `assets/template/Type_ID.xlsx` + `references/taxonomy.md` — Class → Subclass → Type ID. - `assets/template/versions.json` — per-typeid `template_version` + `skill_version`. -- `assets/CHANGELOG.xlsx` — global version/parameter changelog (created on first add; +- `assets/template/CHANGELOG.xlsx` — global version/parameter changelog (created on first add; merged into the skill repo's copy in Gitea by `push-skill`). - `scripts/common.py` — taxonomy loader (`load_taxonomy`, `class_folder`), version store (`get_versions`, `version_labels`, `bump_versions`), and the tag helper (`part_tag`). diff --git a/assets/CHANGELOG.xlsx b/assets/CHANGELOG.xlsx new file mode 100644 index 0000000..ce330ff Binary files /dev/null and b/assets/CHANGELOG.xlsx differ diff --git a/assets/template/template.xlsx b/assets/template/template.xlsx index 40bc1a8..515a4cf 100644 Binary files a/assets/template/template.xlsx and b/assets/template/template.xlsx differ diff --git a/assets/template/versions.json b/assets/template/versions.json index ca1840f..d59322e 100644 --- a/assets/template/versions.json +++ b/assets/template/versions.json @@ -156,8 +156,8 @@ "template_version": 1 }, "FBD": { - "skill_version": 1, - "template_version": 1 + "skill_version": 2, + "template_version": 2 }, "FFC": { "skill_version": 1, diff --git a/config/gitea.env b/config/gitea.env index 5615cfc..64be9b0 100644 --- a/config/gitea.env +++ b/config/gitea.env @@ -3,7 +3,7 @@ # Use a token scoped to these repos (repository: write) and rotate periodically. GIT_HOST=gitea.vecmocon.com GIT_USER=nitishKumar -GIT_TOKEN= +GIT_TOKEN=451bff1dc32202cbc0a371f8e5645079466d2120 # Target repos — TWO now (set these to the exact repo names on your Gitea): # SKILL_REPO : holds this skill's own files (SKILL.md, scripts, assets, ...). # COMPONENTS_REPO : holds components, one folder per Class (Diode, IC, ...); inside each, diff --git a/scripts/__pycache__/common.cpython-311.pyc b/scripts/__pycache__/common.cpython-311.pyc index 4baa9cb..e1681e2 100644 Binary files a/scripts/__pycache__/common.cpython-311.pyc and b/scripts/__pycache__/common.cpython-311.pyc differ