ArchiveBox/archivebox/cli
Nick Sweeting 6ce2555dfd
fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups
Renames (no functional change, just consistency with the rest of the codebase):
- cli/cli_utils.py → cli/cli_util.py
- core/host_utils.py → core/host_util.py
- core/tag_utils.py → core/tag_util.py
- crawls/schedule_utils.py → crawls/schedule_util.py
- machine/env_utils.py → machine/env_util.py

Functional fixes:
- archivebox add --index-only now materializes Snapshot rows synchronously
  via crawl.create_snapshots_from_urls() instead of just queueing the Crawl
  and leaving the index empty. The previous behavior broke every test that
  expected --index-only to populate the index, since the runner is never
  started in index-only mode.
- config/collection.py: add _coerce_from_str_dict as the inverse of
  _coerce_to_str_dict so JSON-encoded INI values are decoded back to native
  dict/list types when mirrored into Machine.config (a JSONField). Without
  this, downstream consumers like MachineEvent / abx-dl get raw JSON
  strings where they expect dicts.

Plus matching admin / middleware / model touch-ups, the registration
password_change_form template, and assorted small cleanups the user
worked through while validating the deploy path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-30 14:30:33 -07:00
..
__init__.py wip: snapshot live progress, universal --init, runner perms, supervisord SIGINT 2026-05-30 04:45:15 -07:00
archivebox_add.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_archiveresult.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_binary.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_config.py Update ArchiveBox for abx dependency releases 2026-05-16 23:50:16 -07:00
archivebox_crawl_compat.py release: archivebox 0.9.33rc35 2026-05-28 20:23:01 -07:00
archivebox_crawl.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_extract.py release: archivebox 0.9.33rc35 2026-05-28 20:23:01 -07:00
archivebox_help.py release: archivebox 0.9.33rc9 2026-05-28 05:50:28 -07:00
archivebox_init.py fix: detect newer database migrations 2026-05-28 13:52:25 -07:00
archivebox_install.py Update ArchiveBox for abx dependency releases 2026-05-16 23:50:16 -07:00
archivebox_list.py wip 2026-03-23 03:58:32 -07:00
archivebox_machine.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_manage.py Update ArchiveBox for abx dependency releases 2026-05-16 23:50:16 -07:00
archivebox_mcp.py wip 2026-03-23 03:58:32 -07:00
archivebox_persona.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_pluginmap.py update working changes 2026-03-25 05:36:07 -07:00
archivebox_process.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_remove.py wip: snapshot live progress, universal --init, runner perms, supervisord SIGINT 2026-05-30 04:45:15 -07:00
archivebox_run.py release: archivebox 0.9.33rc38 2026-05-29 03:40:59 -07:00
archivebox_schedule.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_search.py Update ArchiveBox for abx dependency releases 2026-05-16 23:50:16 -07:00
archivebox_server.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_shell.py wip 2026-03-23 03:58:32 -07:00
archivebox_snapshot_compat.py wip 2026-03-23 03:58:32 -07:00
archivebox_snapshot.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_status.py backup: save in-progress dev changes 2026-05-28 05:20:52 -07:00
archivebox_tag.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00
archivebox_update.py release: archivebox 0.9.33rc35 2026-05-28 20:23:01 -07:00
archivebox_version.py fix: use shared lib dir for docker installs 2026-05-27 05:17:22 -07:00
cli_util.py fix: rename utils.py → util.py across modules, fix add --index-only, misc cleanups 2026-05-30 14:30:33 -07:00