fixed track_progress not getting git history
it was not getting the data correctly.
This commit is contained in:
parent
79d6716b3f
commit
657e19f48f
14
CHANGELOG.md
Normal file
14
CHANGELOG.md
Normal file
@ -0,0 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
|
||||
- 2025-05-11: removed unnecessary ignores in gitignore (79d6716)
|
||||
- 2025-05-11: XML comments added Builds cleanly (0ae815c)
|
||||
- 2025-05-11: updated track_progress restored accidentally deleted source file (8a6f914)
|
||||
- 2025-05-10: fixed a bug of not building (09ee0d8)
|
||||
- 2025-05-10: added a build (e59a909)
|
||||
- 2025-05-10: updated ChunkMark (f35c612)
|
||||
- 2025-05-10: updated memory memory handling to be more safe (becedcc)
|
||||
- 2025-05-09: first commit (f1b3868)
|
||||
|
||||
- 2025-05-10: added a build (e59a909)
|
||||
- 2025-05-10: updated memory memory handling to be more safe (becedcc)
|
||||
@ -38,7 +38,7 @@
|
||||
## spatial_queries
|
||||
- Status: completed
|
||||
- Description: Spatial indexing and region queries with 2D/3D support and quadtree optimization
|
||||
- Last Update: 2025-11-08
|
||||
- Last Update: 2025-05-11
|
||||
|
||||
## thread_sync
|
||||
- Status: completed
|
||||
|
||||
@ -4,7 +4,7 @@ Last updated: 2025-05-11
|
||||
|
||||
## Code Statistics
|
||||
|
||||
Total lines of code: **7331**
|
||||
Total lines of code: **7414**
|
||||
|
||||
Number of source files: **34**
|
||||
|
||||
@ -13,15 +13,15 @@ Number of source files: **34**
|
||||
| File | Lines | Path |
|
||||
|------|------:|------|
|
||||
| SpatialChunkIndex.cs | 1228 | src/AdvChkSys\Spatial\SpatialChunkIndex.cs |
|
||||
| ChunkLoadingPriority.cs | 677 | src/AdvChkSys\Loading\ChunkLoadingPriority.cs |
|
||||
| ChunkLoadingPriority.cs | 696 | src/AdvChkSys\Loading\ChunkLoadingPriority.cs |
|
||||
| ChunkThreadingExtensions.cs | 380 | src/AdvChkSys\Threading\ChunkThreadingExtensions.cs |
|
||||
| ChunkDependencyTracker.cs | 325 | src/AdvChkSys\Dependencies\ChunkDependencyTracker.cs |
|
||||
| ChunkManager2D.cs | 313 | src/AdvChkSys\Manager\ChunkManager2D.cs |
|
||||
| ChunkDependencyTracker.cs | 310 | src/AdvChkSys\Dependencies\ChunkDependencyTracker.cs |
|
||||
| ChunkTaskScheduler.cs | 310 | src/AdvChkSys\Threading\ChunkTaskScheduler.cs |
|
||||
| ChunkThreadingManager.cs | 281 | src/AdvChkSys\Threading\ChunkThreadingManager.cs |
|
||||
| ChunkThreadingManager.cs | 280 | src/AdvChkSys\Threading\ChunkThreadingManager.cs |
|
||||
| ChunkOperationQueue.cs | 274 | src/AdvChkSys\Threading\ChunkOperationQueue.cs |
|
||||
| ChunkThreadingDiagnostics.cs | 273 | src/AdvChkSys\Threading\ChunkThreadingDiagnostics.cs |
|
||||
| ChunkThreadingPerformanceMonitor.cs | 257 | src/AdvChkSys\Threading\ChunkThreadingPerformanceMonitor.cs |
|
||||
| ChunkThreadingPerformanceMonitor.cs | 265 | src/AdvChkSys\Threading\ChunkThreadingPerformanceMonitor.cs |
|
||||
| ChunkParallelProcessor.cs | 252 | src/AdvChkSys\Threading\ChunkParallelProcessor.cs |
|
||||
| ChunkManager3D.cs | 244 | src/AdvChkSys\Manager\ChunkManager3D.cs |
|
||||
| ChunkThreadSafetyManager.cs | 237 | src/AdvChkSys\Threading\ChunkThreadSafetyManager.cs |
|
||||
@ -32,10 +32,10 @@ Number of source files: **34**
|
||||
| LimitedConcurrencyTaskScheduler.cs | 170 | src/AdvChkSys\Threading\LimitedConcurrencyTaskScheduler.cs |
|
||||
| ChunkAsyncLock.cs | 167 | src/AdvChkSys\Threading\ChunkAsyncLock.cs |
|
||||
| AdvChkSys.cs | 162 | src/AdvChkSys\AdvChkSys.cs |
|
||||
| MemoryHelper.cs | 143 | src/AdvChkSys\Util\MemoryHelper.cs |
|
||||
| MemoryUsageReporter.cs | 140 | src/AdvChkSys\Diagnostics\MemoryUsageReporter.cs |
|
||||
| LRUCache.cs | 135 | src/AdvChkSys\Util\LRUCache.cs |
|
||||
| ChunkEvents.cs | 126 | src/AdvChkSys\Events\ChunkEvents.cs |
|
||||
| MemoryHelper.cs | 101 | src/AdvChkSys\Util\MemoryHelper.cs |
|
||||
| ChunkThreadingConfiguration.cs | 98 | src/AdvChkSys\Threading\ChunkThreadingConfiguration.cs |
|
||||
| ChunkResourceManager.cs | 72 | src/AdvChkSys\Resources\ChunkResourceManager.cs |
|
||||
| WorldConstraints.cs | 67 | src/AdvChkSys\Constraints\WorldConstraints.cs |
|
||||
@ -58,7 +58,7 @@ Number of source files: **34**
|
||||
| Serialization | [COMPLETED] | Chunk serialization and deserialization | 2025-05-10 |
|
||||
| Event System | [COMPLETED] | Events for load/unload/save operations | 2025-05-10 |
|
||||
| Interop | [COMPLETED] | Python and .NET interoperability | 2025-05-10 |
|
||||
| Spatial Queries | [COMPLETED] | Spatial indexing and region queries with 2D/3D support and quadtree optimization | 2025-11-08 |
|
||||
| Spatial Queries | [COMPLETED] | Spatial indexing and region queries with 2D/3D support and quadtree optimization | 2025-05-11 |
|
||||
| Thread Sync | [COMPLETED] | Explicit synchronization and concurrent collections | 2025-05-11 |
|
||||
| Spatial Interfaces | [COMPLETED] | Interface-level spatial query methods with support for custom filters | 2025-05-11 |
|
||||
| Parallel Processing | [COMPLETED] | Parallel processing of chunks based on spatial queries and regions | 2025-05-11 |
|
||||
@ -77,3 +77,11 @@ Number of source files: **34**
|
||||
|
||||
## Recent Updates
|
||||
|
||||
- 2025-05-11: removed unnecessary ignores in gitignore (79d6716)
|
||||
- 2025-05-11: XML comments added Builds cleanly (0ae815c)
|
||||
- 2025-05-11: updated track_progress restored accidentally deleted source file (8a6f914)
|
||||
- 2025-05-10: fixed a bug of not building (09ee0d8)
|
||||
- 2025-05-10: added a build (e59a909)
|
||||
- 2025-05-10: updated ChunkMark (f35c612)
|
||||
- 2025-05-10: updated memory memory handling to be more safe (becedcc)
|
||||
- 2025-05-09: first commit (f1b3868)
|
||||
|
||||
@ -12,7 +12,8 @@ PROGRESS_FILE = "docs/progress.json"
|
||||
STATUS_DOC = "docs/status/ChunkManager-Status.md"
|
||||
CHANGELOG_FILE = "CHANGELOG.md"
|
||||
FEATURES_FILE = "docs/features.md"
|
||||
GIT_LOG_LIMIT = 50 # number of commits to parse
|
||||
GIT_LOG_LIMIT = 100 # number of commits to parse
|
||||
UNTAGGED_COMMIT_LIMIT = 100 # number of untagged commits to include
|
||||
|
||||
# Regular expression to match tags in commit messages
|
||||
STATUS_TAG_RE = re.compile(r"\[status:(\w+)\]")
|
||||
@ -122,6 +123,7 @@ status_updates = {}
|
||||
changelog_entries = []
|
||||
feature_updates = {}
|
||||
new_features = {}
|
||||
untagged_count = 0 # Initialize the counter for untagged commits
|
||||
|
||||
for line in git_log.splitlines():
|
||||
parts = line.split("|")
|
||||
@ -169,6 +171,25 @@ for line in git_log.splitlines():
|
||||
"author": author,
|
||||
}
|
||||
|
||||
# Also add regular commits without tags to changelog entries
|
||||
if not (status_match or changelog_match or feature_match or new_feature_match):
|
||||
# Skip if we've reached the limit for untagged commits
|
||||
if untagged_count >= UNTAGGED_COMMIT_LIMIT:
|
||||
continue
|
||||
|
||||
# Skip merge commits and very short messages
|
||||
if not subject.startswith('Merge ') and len(subject) > 5:
|
||||
# Extract the first sentence or up to 100 chars
|
||||
commit_desc = subject.split('.')[0]
|
||||
if len(commit_desc) > 100:
|
||||
commit_desc = commit_desc[:97] + "..."
|
||||
|
||||
# Add to changelog entries with a different format to distinguish from tagged entries
|
||||
changelog_entries.append(
|
||||
f"- {date}: {commit_desc} ({commit_hash})"
|
||||
)
|
||||
untagged_count += 1
|
||||
|
||||
# Update features with new information
|
||||
for feature_key, update in feature_updates.items():
|
||||
features[feature_key].update(update)
|
||||
@ -238,8 +259,8 @@ with open(STATUS_DOC, "w", encoding="utf-8") as f:
|
||||
|
||||
f.write("\n## Recent Updates\n\n")
|
||||
for entry in changelog_entries[
|
||||
:10
|
||||
]: # Show only the 10 most recent entries
|
||||
:100
|
||||
]:
|
||||
f.write(f"{entry}\n")
|
||||
|
||||
# Update changelog if there are new entries
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user