Commit Graph

46 Commits

Author SHA1 Message Date
Claude
4c113f8eb9 Fix CI: create tests/out dir, fix archivebox add cmd, revert setup.sh
- test-parallel.yml: mkdir -p tests/out before pytest --basetemp
  (fixes FileNotFoundError in chrome test fixture)
- debian.yml: fix archivebox add command (--parser url_list removed
  in 0.9.x), remove || true so failures are caught
- setup.sh: revert apt section to always use pip install, not .deb

https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn
2026-03-15 03:02:47 +00:00
Claude
fa11bee5b5 CI: Full brew install + deb install tested on every push
- homebrew.yml: Build local sdist, generate formula with file:// URL and
  real resource stanzas via homebrew-pypi-poet, run full
  `brew install --build-from-source` on both macOS and Linux (Linuxbrew)
- debian.yml: Pre-seed venv with local wheel before dpkg install so
  postinstall succeeds even for unreleased versions; test init/status/add
- Both workflows trigger on push (path-filtered) and release
- Release job generates formula with PyPI URL and pushes to tap

https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn
2026-03-15 02:55:10 +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
41e6a0f215 Update debian.yml 2024-01-04 18:50:41 -08:00
Nick Sweeting
a1e2fce405 Update debian CI builds to use ubuntu 22.04 and actions/checkout@v3 2023-04-18 22:17:58 -07:00
Nick Sweeting
3d40693f1c change version checking order 2021-04-24 04:31:05 -04:00
Nick Sweeting
3e7d8e5264 install requirements from setup.py 2021-04-24 04:21:43 -04:00
Nick Sweeting
bfdd8a9dc1 only install django requirement 2021-04-24 04:14:09 -04:00
Nick Sweeting
e974b82db2 fix wrapping error 2021-04-24 04:07:18 -04:00
Nick Sweeting
96514e67c4 force isntall newer django version on ubuntu build ci 2021-04-24 04:05:59 -04:00
Nick Sweeting
d6854a29ee fix apt install without update in deb build 2021-01-12 17:14:01 +02:00
Nick Sweeting
9784dcb816 better config comments and docstrings 2020-12-20 03:11:19 +02:00
Nick Sweeting
9ee52b52b4 add more TODO comments to github actions 2020-12-11 21:26:37 +02:00
Nick Sweeting
d67d212682 break package deps into multiple lines 2020-12-11 21:05:40 +02:00
Nick Sweeting
335732649b tweak node dependency version detection order 2020-12-11 21:03:17 +02:00
Nick Sweeting
dc222e3636 bump ubuntu version used for tests 2020-12-11 20:38:51 +02:00
Nick Sweeting
5faeb13872 use ubuntu-20.04 instead of latest 2020-12-11 20:18:17 +02:00
Nick Sweeting
82de5631bb dont enable universe until after setup 2020-12-11 20:11:52 +02:00
Nick Sweeting
8896e1957a force add focal instead of bionic 2020-12-11 20:10:11 +02:00
Nick Sweeting
b61143337e add universe to sources as root 2020-12-11 20:07:40 +02:00
Nick Sweeting
c4961d08b3 enable universe in apt sources 2020-12-11 20:03:17 +02:00
Nick Sweeting
58bdaff183 split out problematic packages for better info 2020-12-11 19:56:21 +02:00
Nick Sweeting
0ab8581c71 install local package force using dot slash 2020-12-11 19:46:26 +02:00
Nick Sweeting
b76ba443f0 fix deb_dist 2020-12-11 19:41:05 +02:00
Nick Sweeting
03334ec687 whoops forgot sudo 2020-12-11 19:38:08 +02:00
Nick Sweeting
93e6d22c1c dont run package tests when building deb pkg 2020-12-11 19:30:26 +02:00
Nick Sweeting
aee219eb91 use system python instead of github actions python 2020-12-11 19:23:10 +02:00
Nick Sweeting
988aa9b572 tweak debian distutils location 2020-12-11 19:17:41 +02:00
Nick Sweeting
80a156f83a cleanup previous build artifacts before deb_dist build 2020-12-11 19:14:11 +02:00
Nick Sweeting
023a339cf8 fix debian build syntax 2020-12-11 19:11:42 +02:00
Nick Sweeting
ec86060a61 add github push code to builder CI actions 2020-12-11 19:09:40 +02:00
Nick Sweeting
4cda0d4e44 use system distutils on debian ci image 2020-12-11 19:04:27 +02:00
Nick Sweeting
a804956477 split debian process into 3 steps 2020-12-11 18:59:34 +02:00
Nick Sweeting
6022cbc5f4 add debian distutils to build machine 2020-12-11 18:52:07 +02:00
Nick Sweeting
e6a77dc8b1 split up debian build into two steps 2020-12-11 18:35:25 +02:00
Nick Sweeting
8aee5c408a improve workflow names for clarity in PR status 2020-12-06 16:26:44 +02:00
Nick Sweeting
1b1b9d8519 gah 2020-11-28 06:13:36 -05:00
Nick Sweeting
631d92f308 add all the dependencies 2020-11-28 06:11:00 -05:00
Nick Sweeting
8b1fafd431 sigh 2020-11-28 06:04:59 -05:00
Nick Sweeting
7dfbff9e80 use docker action for setting up python 2020-11-28 05:59:53 -05:00
Nick Sweeting
5ca0212a12 install stdeb via python only 2020-11-28 05:57:18 -05:00
Nick Sweeting
df2ba9cb23 fix python deb setup 2020-11-28 05:55:34 -05:00
Nick Sweeting
cda2f42b46 install missing build deps 2020-11-28 05:51:17 -05:00
Nick Sweeting
0a0bf18962 fix recursive 2020-11-28 05:48:45 -05:00
Nick Sweeting
90141c064b more workflows 2020-11-28 05:44:37 -05:00