Commit Graph

194 Commits

Author SHA1 Message Date
Nick Sweeting
16090944c4 Update .github/workflows/homebrew.yml
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-03-14 23:05:43 -04:00
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
621359c37c add duplicate issue detection bot with opencode 2025-12-29 13:55:26 -08:00
Nick Sweeting
8c280100c7 Change permissions for pull-requests and issues 2025-12-29 13:42:59 -08:00
Nick Sweeting
d8b10d0827 Delete .github/workflows/claude-code-review.yml 2025-12-29 13:40:55 -08:00
Nick Sweeting
58b7f9c334 "Claude Code Review workflow" 2025-12-29 13:40:20 -08:00
Nick Sweeting
0162ee2434 "Claude PR Assistant workflow" 2025-12-29 13:40:18 -08:00
Nick Sweeting
e20fdae2a5 fix gh ci cd 2025-12-29 13:14:40 -08:00
Nick Sweeting
9487f8a0de add ci for parallel tests 2025-12-29 02:39:24 -08:00
Claude
ae2ab5b273 Add Python 3.13 support with uuid7 backport compatibility
- Create uuid_compat.py module that provides uuid7 for Python <3.14
  using uuid_extensions package, and native uuid.uuid7 for Python 3.14+
- Update all model files and migrations to use archivebox.uuid_compat
- Add uuid7 conditional dependency in pyproject.toml for Python <3.14
- Update requires-python to >=3.13 (from >=3.14)
- Update GitHub workflows, lock_pkgs.sh to use Python 3.13
- Update tool configs (ruff, pyright, uv) for Python 3.13

This enables running ArchiveBox on Python 3.13 while maintaining
forward compatibility with Python 3.14's native uuid7 support.
2025-12-27 01:07:30 +00:00
Claude
cff4077c23 Bump Python version requirement from 3.11 to 3.14
Update all references to Python 3.11 to use Python 3.14 to match
the pyproject.toml requires-python = ">=3.14" setting:

- bin/lock_pkgs.sh: uv venv --python 3.14
- .github/workflows/test.yml: python matrix and PDM version
- .github/workflows/pip.yml: PYTHON_VERSION env var
- Dockerfile: comment and example FROM line
- Issue templates: example version output
2025-12-27 00:30:27 +00:00
Nick Sweeting
765abc9d5a Update pip.yml 2025-01-08 18:53:13 -05:00
Nick Sweeting
1fb5ecf13d change pip flow to use PAT 2024-12-18 18:55:29 -08:00
Nick Sweeting
46f4a90a2a install needed packages to run archivebox during pip build 2024-12-18 18:39:58 -08:00
Nick Sweeting
e862031981 use uv to build pip package in github actions instead of pdm 2024-12-18 18:38:25 -08:00
Nick Sweeting
b78e892bf8 update github actions to build docker image 2024-12-18 18:19:35 -08:00
Nick Sweeting
dee4eb7992 rename vendor dir to pkgs 2024-10-28 20:05:20 -07:00
Nick Sweeting
3f5d0e5d94 revert website github action script 2024-10-13 22:33:07 -07:00
Nick Sweeting
f822de5ab4 Update gh-pages.yml 2024-10-14 01:27:07 -04:00
Nick Sweeting
4187c69902 Update gh-pages.yml 2024-10-14 01:24:47 -04:00
Nick Sweeting
ecac395174 Update gh-pages.yml 2024-10-14 01:23:27 -04:00
Nick Sweeting
8a6617e4d9 Update and rename jekyll-gh-pages.yml to gh-pages.yml 2024-10-05 10:09:28 -04:00
Maximilian Irro
4d6fdbe345 Add OpenContainer Image Format Annotations as Labels to Docker Image 2024-09-26 21:02:03 +02:00
Nick Sweeting
3afdd3d96f remove Docker arm/v7 auto-builds, rename :main to :stable 2024-04-24 16:55:14 -07:00
Nick Sweeting
8dcfa93ec6 Merge branch 'main' into dev 2024-04-24 14:32:07 -07:00
Nick Sweeting
bc0b0303ea Create codeql.yml 2024-04-12 13:57:30 -07:00
Nick Sweeting
f5aaeb6de7 Update docker.yml 2024-02-08 00:47:48 -08:00
Nick Sweeting
eb62b44036 Update README on Docker Hub when docker is built 2024-02-08 00:11:27 -08:00
Nick Sweeting
414a499511 Update pip.yml 2024-01-12 05:25:18 -08:00
Nick Sweeting
3108966070 Delete .github/workflows/codeql-analysis.yml 2024-01-04 19:42:50 -08:00
Nick Sweeting
2ef3655d21 fix python version in build tests 2024-01-04 19:26:54 -08:00
Nick Sweeting
fc2bd4a2d5 Update pip.yml 2024-01-04 19:23:26 -08:00
Nick Sweeting
79979d4d05 Update pip.yml 2024-01-04 19:20:03 -08:00
Nick Sweeting
0353d6b316 Update pip.yml 2024-01-04 19:02:46 -08:00
Nick Sweeting
f695b30d36 Update pip.yml 2024-01-04 18:59:34 -08:00
Nick Sweeting
df56e993f2 Update pip.yml 2024-01-04 18:51:59 -08:00
Nick Sweeting
41e6a0f215 Update debian.yml 2024-01-04 18:50:41 -08:00
Nick Sweeting
e4f1503965 Update test.yml 2024-01-04 18:34:00 -08:00
Nick Sweeting
d23fe6a594 Update test.yml 2024-01-04 18:28:03 -08:00
Nick Sweeting
3840265cef Update test.yml 2024-01-04 18:21:27 -08:00
Nick Sweeting
7842ca49d1 Update test.yml 2024-01-04 17:59:18 -08:00
Nick Sweeting
c43f861f6f Update test.yml 2024-01-04 17:55:52 -08:00
Nick Sweeting
10dc9922de Update test.yml 2024-01-04 17:39:45 -08:00
Nick Sweeting
ffcd1640da Update test.yml 2024-01-04 17:34:37 -08:00
Nick Sweeting
3247866d3a Update test.yml to install packages needed by ldap 2024-01-04 17:30:59 -08:00
Nick Sweeting
3ee3916b29 Update test.yml to fix python builds 2024-01-04 17:24:10 -08:00
Nick Sweeting
6584f300d6 add better comments 2024-01-02 17:10:22 -08:00