Commit Graph

15 Commits

Author SHA1 Message Date
Claude
7c7a9ee599 Fix PR review comments: service flags, DATA_DIR, version pinning, upgrade safety
- Remove --setup flag from systemd service and CI (not valid in 0.9.x)
- Remove release triggers from debian/homebrew workflows (handled by release.yml)
- Fix brew post_install to set DATA_DIR so it initializes in var/archivebox
- Add PATH export to deb wrapper script for bundled console scripts
- Remove pip install fallback in install.sh (strict version pinning)
- Guard preremove.sh cleanup to only run on remove/purge, not upgrade
- Initialize SDIST_URL/SDIST_SHA256 in build_brew.sh (nounset safety)
- Pin awalsh128/cache-apt-pkgs-action to v1.6.0 (supply chain safety)

https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn
2026-03-15 03:12:37 +00:00
Claude
c8f562ee37 Wire up GitHub Actions for deb/brew build, test, and release
- Fix debian.yml: pin nfpm version, add permissions, improve test job
  with user creation, init test, and status check
- Fix homebrew.yml: use PyPI JSON API (macOS-compatible, no grep -oP),
  wait for PyPI availability on release, use generated formula not template,
  add Linux (Linuxbrew) test job alongside macOS
- Add release.yml orchestrator: pip → deb + brew + docker in order
- Add workflow_call triggers to pip.yml and docker.yml
- Fix build_brew.sh: replace grep -oP with Python-based PyPI API,
  add on_linux deps (pkg-config, openssl, libffi)
- Fix setup.sh: use GitHub API to find correct .deb download URL
  (filename includes version number)
- Fix postinstall.sh: create archivebox system user, pin version from
  package, check for systemd before daemon-reload
- Fix preremove.sh: stop service before removal, check for systemd
- Fix install.sh: fallback to latest if pinned version not on PyPI
- Add on_linux deps to brew formula for Linuxbrew support
- Tested: .deb builds, installs, creates user, runs archivebox init

https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn
2026-03-15 02:50:14 +00:00
Claude
f3fcc1584c Restore Homebrew and Debian package manager support
- Add Homebrew formula (brew_dist/archivebox.rb) using virtualenv pattern
  with auto-generation via homebrew-pypi-poet in bin/build_brew.sh
- Add Debian packaging via nFPM (pkg/debian/) with thin .deb that pip-installs
  archivebox into /opt/archivebox/venv on postinstall
- Add build/release scripts: bin/{build,release}_{brew,deb}.sh
- Update CI workflows to build packages on release and test them
- Update README apt/brew install instructions with working commands
- Update bin/setup.sh to use .deb download instead of old Launchpad PPA

https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn
2026-03-15 00:19:50 +00:00
Nick Sweeting
171fbe4cf2 remove apt and brew build scripts 2024-10-05 02:16:17 -07:00
Nick Sweeting
1323b812ce fix brew release process 2023-11-03 21:30:28 -07:00
Nick Sweeting
5c4a50557b bump brew dist version 2023-11-03 20:31:09 -07:00
Nick Sweeting
f144f7b5c6 bump brew disk version 2021-12-23 15:39:49 -05:00
Nick Sweeting
413c89d5cf fix bottle issue 2021-04-14 04:15:44 -04:00
Nick Sweeting
3da6fb8ca7 add latest homebrew release 2021-04-14 04:13:14 -04:00
Nick Sweeting
8cadcfbd96 bump submodule versions 2021-02-01 05:16:04 -05:00
Nick Sweeting
460fdd1da8 bump brew dist folder 2021-01-08 15:25:47 +02:00
Nick Sweeting
ff31f536ee fix missing subpackage 2021-01-06 22:00:41 +02:00
Nick Sweeting
b8e4cc33f1 bump release subversions 2021-01-06 21:33:03 +02:00
Nick Sweeting
bfa66fdddb add brew build script 2020-11-28 04:10:48 -05:00
Nick Sweeting
54c59a38e5 add homebrew-dist as submodule 2020-11-28 03:02:31 -05:00