[PR #502] [MERGED] feat: Remove index.json and index.html generation #1195

Closed
opened 2026-03-01 14:48:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/502
Author: @cdvv7788
Created: 10/8/2020
Status: Merged
Merged: 10/23/2020
Merged by: @cdvv7788

Base: masterHead: remove-static-indexes


📝 Commits (5)

  • 3a5aa4b feat: Remove index.json and index.html generation from the regular process
  • ffe180e lint: Remove unused imports
  • 10d047d refactor: Update mentions of the html index in the logs
  • 3a3e554 feat: Rename old indexes at the end of init process
  • bc5c7bb lint: Remove unused imports from utils

📊 Changes

6 files changed (+39 additions, -39 deletions)

View changed files

📝 archivebox/index/__init__.py (+1 -13)
📝 archivebox/logging_util.py (+4 -6)
📝 archivebox/main.py (+10 -6)
📝 tests/test_add.py (+15 -7)
📝 tests/test_init.py (+6 -2)
📝 tests/test_title.py (+3 -5)

📄 Description

Summary

At the end of the cli commands (add, remove, etc) the json and html indexes were still being generated. This is a slow process dependent on the number of archived links (size of the archive). This PR removes that generation, as they can be generated on demand using the archivebox list command.

**Related issues: #461

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Archived data layout on disk

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/502 **Author:** [@cdvv7788](https://github.com/cdvv7788) **Created:** 10/8/2020 **Status:** ✅ Merged **Merged:** 10/23/2020 **Merged by:** [@cdvv7788](https://github.com/cdvv7788) **Base:** `master` ← **Head:** `remove-static-indexes` --- ### 📝 Commits (5) - [`3a5aa4b`](https://github.com/ArchiveBox/ArchiveBox/commit/3a5aa4b12e4bd304c80973118fcb35de44ae4e81) feat: Remove index.json and index.html generation from the regular process - [`ffe180e`](https://github.com/ArchiveBox/ArchiveBox/commit/ffe180e6b5fa56db51af707a61b654b3f013fb34) lint: Remove unused imports - [`10d047d`](https://github.com/ArchiveBox/ArchiveBox/commit/10d047d6e015aa9ec106a0b23d88e28dcd329006) refactor: Update mentions of the html index in the logs - [`3a3e554`](https://github.com/ArchiveBox/ArchiveBox/commit/3a3e554bcb916f3824a18bf8dc7f17c8abc3d35e) feat: Rename old indexes at the end of init process - [`bc5c7bb`](https://github.com/ArchiveBox/ArchiveBox/commit/bc5c7bb84a13d64fd3106cd91ca5e2beba3beb53) lint: Remove unused imports from utils ### 📊 Changes **6 files changed** (+39 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `archivebox/index/__init__.py` (+1 -13) 📝 `archivebox/logging_util.py` (+4 -6) 📝 `archivebox/main.py` (+10 -6) 📝 `tests/test_add.py` (+15 -7) 📝 `tests/test_init.py` (+6 -2) 📝 `tests/test_title.py` (+3 -5) </details> ### 📄 Description # Summary At the end of the `cli` commands (add, remove, etc) the json and html indexes were still being generated. This is a slow process dependent on the number of archived links (size of the archive). This PR removes that generation, as they can be generated on demand using the `archivebox list` command. **Related issues: #461 # Changes these areas - [ ] Bugfixes - [X] Feature behavior - [X] Command line interface - [ ] Configuration options - [X] Internal architecture - [X] Archived data layout on disk --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 14:48:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#1195
No description provided.