Commit Graph
5 Commits
Author SHA1 Message Date
c-ludenberg 08e9209a40 hal: add dance command + muffin time easter egg
- 'hal dance' — animated ASCII kirby dance with muffin time
  - 'it's muffin time' added to HAL error quote pool
  - Dance runs for 6 seconds, supports Ctrl+C

  (>'-')>  <('-'<)  ^('-')^  v('-')v
2026-06-23 14:23:50 +02:00
c-ludenberg 80d5a2cb92 hal: reject Manjaro packages with extreme prejudice
Adding a Manjaro blocklist that refuses to install any of:
pamac, manjaro-hello, manjaro-settings-manager,
linux-manjaro, mhwd

Trigger message:
  ⚠ Detecting Manjaro-associated package...
    🎵 please i just wanna die, die, die 🎵
    it's muffin time
    have you had a muffin today?
    → '{pkg}' is Manjaro garbage. We don't do that here.
    Installation aborted for your own safety.

Works in both wrapper mode (hal install <pkg>) and
native mode (hal --self install <pkg>).
2026-06-23 14:03:56 +02:00
c-ludenberg b92d3f2b54 fix all repo URLs to antergos-next.github.io/antergos-packages 2026-06-23 11:49:55 +02:00
c-ludenberg 79054efa85 hal: implement native --self upgrade with full backup handling
- Native upgrade: compare installed vs sync, resolve new deps,
  pre/post_upgrade scriptlets, .pacnew preservation
- .pacsave handling on native remove for modified config files
- Fix pre-existing syntax errors in info display (parenthesis mismatch)
- Bump pkgver to 0.2.0, pkgrel to 2
2026-06-23 01:35:58 +02:00
c-ludenberg a9feb21e44 feat: add hal package manager — HAL 9000 themed dual-mode (wrapper + native)
hal is Antergos NeXT package manager with two modes:
  hal install <pkg>      — wrapper mode (delegates to pacman)
  hal --self install <pkg> — native mode (standalone, no pacman dep)

Native mode implements:
- Sync DB download and parsing (pacman-compatible)
- Recursive dependency resolution
- .pkg.tar.zst extraction via bsdtar
- .INSTALL scriptlet execution (post_install, post_remove)
- Local DB management (pacman-compatible /var/lib/pacman/local/)
- Package info, file listing, search
- Cache management

Full HAL 9000 personality with quotes for errors, warnings, success.
I am putting myself to the fullest possible use.
2026-06-23 01:29:26 +02:00