AI Bot
ccf64ce867
Apply coding convention
3 weeks ago
AI Bot
317d5f4be9
Cache sudo user to avoid repeated env lookups
3 weeks ago
AI Bot
b13c9da7a1
Improve AUR with AUR dependency installations
3 weeks ago
AI Bot
31fad42ab3
Reorder functions to follow public-first convention
3 weeks ago
AI Bot
db4e22a580
Add --prune flag for explicit marking and orphan cleanup
3 weeks ago
AI Bot
5ad29767c9
Add safety check for package list validation
3 weeks ago
AI Bot
584f4fbdd9
Skip debug packages when finding built AUR package
...
The findPKGFile function now takes pkgName as parameter to skip
debug packages (*-debug.pkg.tar.zst) when locating built packages.
3 weeks ago
AI Bot
d36bba6925
Add centralized command logging function
...
Refactors command execution to use a new log.Command helper that handles both logging and cmd creation, reducing duplication in sync.go
3 weeks ago
AI Bot
fdd9ecb3a5
Handle pacman -Qdtq exit code 1 as non-error
...
pacman -Qdtq exits with code 1 when there are no orphans, which is not an error condition. Handle this gracefully by returning nil instead of an error.
1 month ago
AI Bot
c90d2e8916
Add verbose flag for debug output control
...
Introduces log.Debug() function that respects a Verbose config flag, replacing direct [debug] fmt.Fprintf calls throughout the codebase. This allows debug logging to be toggled via -v/--verbose CLI flag.
1 month ago
Riyyi
1dffd70db2
Skip interactive prompt when removing orphans
1 month ago
AI Bot
5ebb958bf1
Add command logging and skip already installed AUR packages
1 month ago
Riyyi
c7bed95107
Skip confirmation when installing packages
1 month ago
AI Bot
e64382c1bd
Fix issues with dry-run package reporting
...
- Filter orphans to only those not in requested packages
- Fix Removed count to reflect only actual removals
1 month ago
AI Bot
83de6acc74
Refactor fetch and pacman packages into subpackages
...
Split fetch into alpm and aur subpackages for better organization.
Rename state to log. Split pacman into read and sync subpackages.
Remove validation in favor of read.DBFreshness.
1 month ago
AI Bot
86c6d078d6
Output actual commands run instead of generic progress messages
1 month ago
AI Bot
bd1108a93f
Dont use CombinedOutput() to capture error separately
1 month ago
AI Bot
8348cc21df
Suppress command output from stdout, only log to file
1 month ago
AI Bot
720be92d82
Fix MarkAllAsDeps to retrieve all packages first
1 month ago
AI Bot
4143a23c91
Implement package resolve logic fixes
1 month ago
AI Bot
11a5e57516
Fix AUR package installation root privileges
1 month ago
AI Bot
cffccf2390
Add Makefile and fix pacman.go
1 month ago
AI Bot
eb6bb8fb76
Add state tracking and pacman package enhancements
1 month ago
AI Bot
0fa0988666
Fix AUR package detection for installed packages
1 month ago
AI Bot
2bead6af27
Refactor pkg into modular packages
1 month ago
AI Bot
076bebbedf
Register sync DBs manually to fix dyalpm returning empty list
...
The dyalpm library's SyncDBs() returns an empty slice, causing packages
from official repos (extra, core, multilib) to not be found. This fix
manually registers each repo after getting an empty result.
1 month ago
AI Bot
be9c9c6df1
Integrate dyalpm for local/sync package queries
1 month ago
AI Bot
521b862919
Add dry-run flag and implement AUR support
1 month ago
AI Bot
e165558262
Add initial declpac CLI tool implementation
1 month ago