docs: update repository structure and CI/release workflow section
- Correct directory tree (versions/ instead of 7zip-xx.xx/) - Add tools/update_gitea_releases.py and tools/release-notes/ entries - Document CI build.yml and release.yml behaviour - Mirror changes in README_IT.md
This commit is contained in:
@@ -75,14 +75,32 @@ Linux notes:
|
|||||||
## Repository Structure
|
## Repository Structure
|
||||||
|
|
||||||
```
|
```
|
||||||
ns7zip/
|
nsis-plugin-ns7zip/
|
||||||
├── build_plugin.py # Unified build script (all versions)
|
├── build_plugin.py # Unified build script (all versions)
|
||||||
|
├── build_zstd.cmd # Build script for 7-zip-zstd variant
|
||||||
├── rebuild_nsis7z1900-src.ps1 # Rebuilds 19.00 sources
|
├── rebuild_nsis7z1900-src.ps1 # Rebuilds 19.00 sources
|
||||||
├── 7zip-19.00/ # 7-Zip 19.00 modified
|
├── versions/
|
||||||
├── 7zip-25.01/ # 7-Zip 25.01 modified (ZIP + NSIS handler)
|
│ ├── 19.00/ # 7-Zip 19.00 modified
|
||||||
└── 7zip-26.00/ # 7-Zip 26.00 modified (ZIP + NSIS handler)
|
│ ├── 25.01/ # 7-Zip 25.01 modified (ZIP + NSIS handler)
|
||||||
|
│ ├── 26.00/ # 7-Zip 26.00 modified (ZIP + NSIS handler)
|
||||||
|
│ └── 7-zip-zstd/ # 7-Zip zstd fork (submodule)
|
||||||
|
├── plugins/ # Compiled DLLs output
|
||||||
|
├── tools/
|
||||||
|
│ ├── fix_vcxproj.py # Project file patcher
|
||||||
|
│ ├── update_gitea_releases.py # Backfill Gitea release bodies (one-shot)
|
||||||
|
│ ├── release-notes/ # Per-version Markdown snippets
|
||||||
|
│ ├── linux/ # Linux-specific build helpers
|
||||||
|
│ └── legacy/ # Old per-version build scripts
|
||||||
|
└── .github/workflows/
|
||||||
|
├── build.yml # CI: Windows + Linux matrix build
|
||||||
|
└── release.yml # Release: build artifacts + publish to GitHub & Gitea
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## CI / Release Workflow
|
||||||
|
|
||||||
|
- **build.yml** — runs on every push/PR; builds all three configs on Windows (MSBuild) and Linux (MinGW-w64) in parallel.
|
||||||
|
- **release.yml** — triggered by a `v*` tag push; builds and packages artifacts, creates a GitHub Release with the relevant CHANGELOG section as body, and updates the corresponding Gitea release body via API (`GITEA_TOKEN` secret required).
|
||||||
|
|
||||||
## Changes from Original
|
## Changes from Original
|
||||||
|
|
||||||
### NSIS Archive Handler (25.01, 26.00)
|
### NSIS Archive Handler (25.01, 26.00)
|
||||||
|
|||||||
+22
-4
@@ -75,14 +75,32 @@ Note Linux:
|
|||||||
## Struttura Repository
|
## Struttura Repository
|
||||||
|
|
||||||
```
|
```
|
||||||
ns7zip/
|
nsis-plugin-ns7zip/
|
||||||
├── build_plugin.py # Script di build unificato (tutte le versioni)
|
├── build_plugin.py # Script di build unificato (tutte le versioni)
|
||||||
|
├── build_zstd.cmd # Script di build per la variante 7-zip-zstd
|
||||||
├── rebuild_nsis7z1900-src.ps1 # Ricostruisce sorgenti 19.00
|
├── rebuild_nsis7z1900-src.ps1 # Ricostruisce sorgenti 19.00
|
||||||
├── 7zip-19.00/ # 7-Zip 19.00 modificato
|
├── versions/
|
||||||
├── 7zip-25.01/ # 7-Zip 25.01 modificato (ZIP + NSIS handler)
|
│ ├── 19.00/ # 7-Zip 19.00 modificato
|
||||||
└── 7zip-26.00/ # 7-Zip 26.00 modificato (ZIP + NSIS handler)
|
│ ├── 25.01/ # 7-Zip 25.01 modificato (ZIP + NSIS handler)
|
||||||
|
│ ├── 26.00/ # 7-Zip 26.00 modificato (ZIP + NSIS handler)
|
||||||
|
│ └── 7-zip-zstd/ # Fork 7-Zip zstd (submodule)
|
||||||
|
├── plugins/ # DLL compilate
|
||||||
|
├── tools/
|
||||||
|
│ ├── fix_vcxproj.py # Patcher file di progetto
|
||||||
|
│ ├── update_gitea_releases.py # Backfill body release Gitea (one-shot)
|
||||||
|
│ ├── release-notes/ # Snippet Markdown per versione
|
||||||
|
│ ├── linux/ # Helper build Linux
|
||||||
|
│ └── legacy/ # Script di build legacy per-versione
|
||||||
|
└── .github/workflows/
|
||||||
|
├── build.yml # CI: build matrix Windows + Linux
|
||||||
|
└── release.yml # Release: build artifact + pubblicazione su GitHub e Gitea
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## CI / Workflow di Release
|
||||||
|
|
||||||
|
- **build.yml** — eseguito ad ogni push/PR; compila le tre configurazioni su Windows (MSBuild) e Linux (MinGW-w64) in parallelo.
|
||||||
|
- **release.yml** — triggerato dal push di un tag `v*`; compila e pacchettizza gli artifact, crea la GitHub Release con la sezione CHANGELOG come body, e aggiorna il body della corrispondente release Gitea via API (richiede il secret `GITEA_TOKEN`).
|
||||||
|
|
||||||
## Modifiche rispetto all'originale
|
## Modifiche rispetto all'originale
|
||||||
|
|
||||||
### NSIS Archive Handler (25.01, 26.00)
|
### NSIS Archive Handler (25.01, 26.00)
|
||||||
|
|||||||
Reference in New Issue
Block a user