[PR #599] [MERGED] fix: Give cmd_version a default value in case it is not present #1243

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

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/599
Author: @cdvv7788
Created: 1/4/2021
Status: Merged
Merged: 1/5/2021
Merged by: @pirate

Base: devHead: issue-597


📝 Commits (2)

  • 40262f7 fix: Give cmd_version a default value in case it is not present
  • 5d1aedb fix: Make cmd_version nullable

📊 Changes

2 files changed (+19 additions, -1 deletions)

View changed files

archivebox/core/migrations/0008_auto_20210105_1421.py (+18 -0)
📝 archivebox/core/models.py (+1 -1)

📄 Description

Summary

Give the cmd_version field a default value to handle the situation where it is not set in the origin file.

Related issues

#597

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot 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/599 **Author:** [@cdvv7788](https://github.com/cdvv7788) **Created:** 1/4/2021 **Status:** ✅ Merged **Merged:** 1/5/2021 **Merged by:** [@pirate](https://github.com/pirate) **Base:** `dev` ← **Head:** `issue-597` --- ### 📝 Commits (2) - [`40262f7`](https://github.com/ArchiveBox/ArchiveBox/commit/40262f7277b0f59be2b97f7952b54371b1f3bf94) fix: Give cmd_version a default value in case it is not present - [`5d1aedb`](https://github.com/ArchiveBox/ArchiveBox/commit/5d1aedb95ee02822b1637915ad0c68701001bc44) fix: Make cmd_version nullable ### 📊 Changes **2 files changed** (+19 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `archivebox/core/migrations/0008_auto_20210105_1421.py` (+18 -0) 📝 `archivebox/core/models.py` (+1 -1) </details> ### 📄 Description <!-- IMPORTANT: Do not submit PRs with only formatting / PEP8 / line length changes. --> # Summary Give the `cmd_version` field a default value to handle the situation where it is not set in the origin file. # Related issues #597 # Changes these areas - [X] Bugfixes - [ ] Feature behavior - [ ] Command line interface - [ ] Configuration options - [ ] Internal architecture - [ ] Snapshot 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:49:00 +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#1243
No description provided.