Sfoglia il codice sorgente

TG-442: Update Git $ log fields, date format, and redesign architecture.md diagram

Lange François 1 mese fa
parent
commit
eb2a1c1efc

BIN
docs/Data_Ingestion.pdf


BIN
docs/Final_Report.pdf


BIN
docs/Installation_Guide.pdf


BIN
docs/Scrum_Artifacts.pdf


BIN
docs/Scrum_Daily.pdf


BIN
docs/Scrum_Plan.pdf


BIN
docs/Scrum_Retro.pdf


BIN
docs/Scrum_Review.pdf


BIN
docs/Scrum_Wiki.pdf


BIN
docs/Test_Cases_Sprint8.pdf


BIN
docs/User_Guide.pdf


+ 12 - 12
docs/architecture.md

@@ -1,3 +1,4 @@
+# $Id$
 # Local Food AI - Architecture Map
 
 This document describes the technical architecture, database schema design, AI RAG data flows, and dual-mode deployment topology for the Local Food AI clinical dietitian platform.
@@ -53,18 +54,17 @@ graph TD
 To optimize massive dataset ingestion (~24GB OpenFoodFacts dataset) and completely bypass InnoDB row size limits while maintaining sub-second RAG response times, the database utilizes a vertically partitioned structure:
 
 ```
-                  ┌────────────────────────────────────────┐
-                  │           Unified SQL View             │
-                  │              "products"                │
-                  └───────────────────┬────────────────────┘
-                                      │
-         ┌────────────────────────────┼────────────────────────────┐
-         ▼                            ▼                            ▼
-┌──────────────────┐         ┌──────────────────┐         ┌──────────────────┐
-│  products_core   │         │products_allergens│         │ products_macros  │
-│ (Base Data,      │         │  (Allergens &    │         │ (Double Precision│
-│ FULLTEXT index)  │         │  Ingredients)    │         │  Macros)         │
-└──────────────────┘         └──────────────────┘         └──────────────────┘
+             ┌─────────────────────────┐
+             │    Unified SQL View     │
+             │       "products"        │
+             └────────────┬────────────┘
+                          │
+       ┌──────────────────┼──────────────────┐
+       ▼                  ▼                  ▼
+┌──────────────┐   ┌──────────────┐   ┌──────────────┐
+│products_core │   │  allergens   │   │    macros    │
+│(Base/FULLTEXT│   │(Ingredients) │   │ (Precision)  │
+└──────────────┘   └──────────────┘   └──────────────┘
 ```
 
 1. **`products_core`**: Contains product base information (barcode, name, brand, primary category) optimized with `FULLTEXT` indexing.

BIN
docs/distributed_deployment.pdf


BIN
docs/retro_planning.pdf


BIN
docs/zabbix_monitoring.pdf


+ 1 - 1
generate_docs.py

@@ -127,7 +127,7 @@ To deploy on Windows Subsystem for Linux:
 
 import subprocess
 try:
-    log_info = subprocess.check_output(['git', 'log', '-1', '--format=%H %ad %an %s', '--date=format:%Y/%m/%d %H:%M:%S'], encoding='utf-8').strip()
+    log_info = subprocess.check_output(['git', 'log', '-1', '--format=%H %an %ae %ad %cn %ce %cd %N  %s', '--date=format:%Y/%m/%d %H:%M:%S'], encoding='utf-8').strip()
     try:
         tag_info = subprocess.check_output(['git', 'describe', '--tags', '--always'], stderr=subprocess.DEVNULL, encoding='utf-8').strip()
     except Exception:

+ 1 - 1
scripts/generate_pdfs.py

@@ -20,7 +20,7 @@ def main():
             
         import subprocess
         try:
-            log_info = subprocess.check_output(['git', 'log', '-1', '--format=%H %ad %an %s', '--date=format:%Y/%m/%d %H:%M:%S'], encoding='utf-8').strip()
+            log_info = subprocess.check_output(['git', 'log', '-1', '--format=%H %an %ae %ad %cn %ce %cd %N  %s', '--date=format:%Y/%m/%d %H:%M:%S'], encoding='utf-8').strip()
             try:
                 tag_info = subprocess.check_output(['git', 'describe', '--tags', '--always'], stderr=subprocess.DEVNULL, encoding='utf-8').strip()
             except Exception: