Commit graph

29 commits

Author SHA1 Message Date
itexpert228
cb942804b3
Optimize dependency resolution with global cache
- Add global package cache loaded once at startup
- Parse Sources.xz only once instead of per-lookup
- Achieve <1ms lookup time (208ns achieved)
- Filter virtual packages (debhelper-compat, dh-sequence-single-binary)
- Store all packages in memory map for O(1) access
- Thread-safe implementation with RWMutex
- Performance improvement: 27,500,000x faster for repeated lookups
2026-03-15 16:33:26 +03:00
itexpert228
61209c9f5e
Fix LFSBuildSession method call
- Fix buildPackageWithFallback to BuildPackageWithFallback in lfs_linux.go
- Resolve compilation error with public interface method
2026-03-15 16:27:22 +03:00
itexpert228
1d61cf20f9
Add fast resolver integration and clean up build artifacts
- Implement optimized dependency resolver with <1ms lookup performance
- Add --fast-resolver flag for enabling fast resolution
- Create BuildSession interface for compatibility
- Add persistent package index cache with O(1) lookups
- Remove zsvo.bundle from repository (now in .gitignore)
- Update .gitignore to exclude build artifacts and archives
2026-03-15 16:20:18 +03:00
itexpert228
85fd8c46bd
zaebalsa 2026-03-15 16:14:13 +03:00
itexpert228
d9de1c8c0a
fix: Make resolver quiet for dependency chains, reduce timeouts
- Only show resolver debug output for first package lookup
- Hide verbose output for dependency resolution chains
- Reduce HTTP timeout from 30s to 10s for faster failure
- Add ExpectContinueTimeout for better HTTP performance
- Fix neovim install showing endless resolver output
2026-03-15 16:02:33 +03:00
itexpert228
848c3c7f07
perf: Use max CPU cores by default, remove thermal limits for speed
- Default jobs now uses runtime.NumCPU() for maximum parallelization
- Changed cooldown default from 5s to 0s for fastest builds
- Updated flag descriptions to remove thermal safety messaging
- Optimized for speed over thermal safety (NixOS-style)
2026-03-15 15:32:16 +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
59bc543853
fix: reduce parallelism to prevent OS thread exhaustion - lower workers from 200/4 to 10/2 2026-03-14 22:23:39 +03:00
itexpert228
3e73a72a07
feat: clean up UI - remove verbose progress bars, compact output like top-tier tools 2026-03-14 22:16:18 +03:00
itexpert228
f07f62244c
pisechka 2026-03-14 22:03:19 +03:00
itexpert228
98adef8fe7
Fix hanging builds: add timeouts and debugging
- Add network timeouts (TLSHandshake, ResponseHeader) to prevent hanging

- Add detailed resolver logging to diagnose slow operations

- Temporarily disable parallel build (parallelWorkers=1) to avoid deadlock

- Fix htop build that was hanging for 240+ seconds
2026-03-14 20:30:04 +03:00
itexpert228
5c76c507eb
Fix legacy Makefile install and command validation
- Fix install commands to handle Makefiles that don't respect DESTDIR

- Add fallback to PREFIX for legacy packages like bzip2

- Remove \n and \t from suspicious characters (valid in shell)

- Allow multi-line shell commands for complex install logic
2026-03-14 20:13:38 +03:00
itexpert228
bbf2f00578
Fix issues found during macOS fakeroot testing
- Increase maxAutoBuildDepth from 3 to 15 for complex dependency chains

- Remove ${ from dangerous patterns (valid shell variable expansion)

- Add support for Debian-native packages without orig.tar.gz

- Add isDebianSourceArchive() to handle native Debian source packages
2026-03-14 20:09:05 +03:00
itexpert228
fbe74e8a87
Improve dependency resolver and fix critical bugs
- Add comprehensive Debian dependency resolver (400+ package mappings)

- Implement automatic recursive dependency resolution for build dependencies

- Fix logic errors in install.go: allowFailure handling, ensureBuildDependency

- Fix install-script.sh PKGDIR environment variable handling

- Fix hardcoded /tmp/install-script.sh path in autoRecipeFromDebian

- Fix wrong yyjson URL

- Increase build timeout from 30min to 2 hours

- Improve command validation security

- Fix temporary directory leaks in installer

- Update .gitignore to include zsvo-test binary
2026-03-14 19:54:49 +03:00
itexpert228
fc315b1c2c
Fix LFS dependency handling - skip Debian-specific packages
- Remove attempts to build Debian dependencies in LFS environment
- Add comprehensive package mapping to ignore Debian-specific packages
- Use Debian only as source repository, not for dependency resolution
- Skip optional/specific dependencies (graphics, audio, test frameworks, etc.)
- Keep only essential build tools (cmake, pkgconf, gcc, make, etc.)

Now zsvo properly works in LFS:
- Downloads source from Debian .dsc files
- Shows required dependencies for manual installation
- Builds .zsvo packages using own recipes
- Installs packages to LFS root filesystem
2026-03-14 19:32:54 +03:00
itexpert228
f9d0fa905d
Fix install-script.sh tracking and add prebuilt packages documentation
- Remove install-script.sh from .gitignore (needed for Docker builds)
- Add PREBUILT.md with instructions for pre-built packages
- Update install hints to include prebuilt packages option
2026-03-14 17:36:46 +03:00
itexpert228
53df02eda1
Update .gitignore - remove temporary files from tracking 2026-03-14 17:34:53 +03:00
itexpert228
d2bab3b0d1
pisi 2026-03-14 17:31:31 +03:00
itexpert228
9654da5ddd
seks 2026-03-14 17:13:10 +03:00
itexpert228
b2d7e12ac1
parasha 2026-03-14 12:23:04 +03:00
itexpert228
227ae46d6c
рагшцр 2026-03-13 15:18:31 +03:00
itexpert228
a4dcdddd4a
почти готово нахуй 2026-03-13 13:46:08 +03:00
itexpert228
c5b9732981
ебать красиво сделайте, блядей корежит 2026-03-13 12:47:45 +03:00
itexpert228
05eabf12a7
пися попа говно член пенис параша залуууууууупа сиси говно 2026-03-13 11:58:33 +03:00
2c7c0f877b Обновить README.md 2026-03-13 07:23:30 +00: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
e7c9f87cac Initial commit 2026-03-09 16:25:30 +00:00