feat: add runtime build-ID management to increment and track application build numbers

- Implemented a new module for managing build IDs at runtime.
- Introduced functions to find the repository root, check for stale locks, and increment the build ID.
- Ensured atomic writes to the build ID file with proper locking mechanisms.
- The build version string is formatted as "0.1.0+build.{build_id}" for display purposes.
This commit is contained in:
2026-07-21 05:41:27 +03:00
parent cbe03f74a3
commit bc89eefa88
9 changed files with 417 additions and 115 deletions
+14 -13
View File
@@ -2,7 +2,7 @@
SATIR SAYISI RAPORU
Proje: HCIE-Rust v4
Konum: /mnt/extra/00_PROJECTS/hcie-rust-v3.05
Tarih: 2026-07-21 03:17:11
Tarih: 2026-07-21 05:08:37
=========================================
-----------------------------------------
@@ -11,17 +11,18 @@ Tarih: 2026-07-21 03:17:11
hcie-ai 2402 satır
hcie-blend 530 satır
hcie-brush-engine 4845 satır
hcie-build-info 93 satır
hcie-color 85 satır
hcie-composite 1456 satır
hcie-document 761 satır
hcie-draw 619 satır
hcie-egui-app 37437 satır
hcie-engine-api 8364 satır
hcie-egui-app 37434 satır
hcie-engine-api 8366 satır
hcie-engine-api-orig 3874 satır
hcie-filter 3238 satır
hcie-fx 5535 satır
hcie-history 139 satır
hcie-iced-app 38703 satır
hcie-iced-app 38968 satır
hcie-io 12122 satır
hcie-kra 1398 satır
hcie-native 153 satır
@@ -34,7 +35,7 @@ Tarih: 2026-07-21 03:17:11
hcie-vector 2921 satır
hcie-vision 3131 satır
TOPLAM RUST: 139629 satır
TOPLAM RUST: 139986 satır
-----------------------------------------
C++ / HEADER (.cpp, .h)
@@ -85,10 +86,10 @@ Tarih: 2026-07-21 03:17:11
-----------------------------------------
SHELL SCRIPT (.sh)
-----------------------------------------
(kök dizin) 1225 satır
(kök dizin) 1306 satır
logs/ 220 satır
TOPLAM SHELL: 1445 satır
TOPLAM SHELL: 1526 satır
-----------------------------------------
DOKÜMANTASYON / VERİ DOSYALARI
@@ -102,14 +103,14 @@ Tarih: 2026-07-21 03:17:11
MARKDOWN (.md)
--------------------------------
(kök dizin) 17486 satır
(kök dizin) 17606 satır
TOPLAM MARKDOWN: 17486 satır
TOPLAM MARKDOWN: 17606 satır
=========================================
KOD SATIRLARI TOPLAMI (GRAND TOTAL)
=========================================
Rust: 139629 satır
Rust: 139986 satır
C++ / Header: 5031 satır
JavaScript: 0 satır
Svelte: 0 satır
@@ -117,11 +118,11 @@ Tarih: 2026-07-21 03:17:11
Python: 2267 satır
HTML: 0 satır
CSS: 0 satır
Shell Script: 1445 satır
Shell Script: 1526 satır
-----------------------------------------
KOD TOPLAMI: 148372 satır
KOD TOPLAMI: 148810 satır
RUST + C++/H TOPLAMI: 144660 satır
RUST + C++/H TOPLAMI: 145017 satır
(JSON ve Markdown dosyaları yukarıda ayrı olarak gösterilmiştir)
=========================================