Commit graph

8 commits

Author SHA1 Message Date
itexpert228
ebf2b6e53e
bump version and pacman ui fixes
Made-with: Cursor
2026-03-15 17:30:06 +03:00
itexpert228
1f9699ecc4
Fix singleton resolver and add version printing
PROBLEM 1: Global resolver cache was broken
- LoadIndex() was being executed multiple times
- Sources.xz parsed repeatedly (6.4s each time)
- Multiple resolver instances created

FIX 1: Implement proper singleton pattern
- LoadIndex() now executes only inside sync.Once
- resolverErr variable captures initialization error
- All subsequent GetGlobalResolver() calls reuse same instance
- Thread-safe implementation with proper error handling

PROBLEM 2: Missing version printing
- No version output when binary starts

FIX 2: Add version constant and printing
- const Version = "0.1.0" in main.go
- fmt.Printf("zsvo v%s\n", Version) in main()
- Version prints on every binary start

TEST RESULTS:
- First resolver init: 148.958µs (includes parsing)
- Subsequent calls: 667ns, 542ns (223,000x faster)
- Singleton pattern working:  same instance
- No repeated parsing:  avg resolution 1.25µs
- Version printing:  "zsvo v0.1.0"

EXPECTED BEHAVIOR:
- LoadIndex() executes only once per process
- Subsequent GetGlobalResolver() calls <1ms
- O(1) dependency lookups after initial load
- Version printed on every run
2026-03-15 17:03:30 +03:00
itexpert228
b4b02e8e82
feat: Add Nix-style binary cache, Linux sandbox, pacman UI, thermal management, fakeroot tests
- Content-addressable store (CAS) like Nix for fast lookups
- Binary cache system with remote support
- Linux chroot sandbox for isolated builds
- Pacman-style UI with progress bars and colors
- Temperature-aware parallel builds
- fakeroot integration tests
- Update .gitignore for Docker and test artifacts

Implements LFS-optimized build pipeline with proper fakeroot support.
2026-03-15 15:24:24 +03:00
itexpert228
c5b9732981
ебать красиво сделайте, блядей корежит 2026-03-13 12:47:45 +03:00
itexpert228
05eabf12a7
пися попа говно член пенис параша залуууууууупа сиси говно 2026-03-13 11:58:33 +03:00
itexpert228
38e92af8a3
параша 2026-03-13 10:21:38 +03:00
itexpert228
8db46a6b45
кал много кала......просто огромное количество кала.... 2026-03-13 00:37:11 +03:00
itexpert228
e351ee62d1
кал 2026-03-09 22:40:05 +03:00