Store archive metadata in a morango table
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 78/100
調査の方向性
Read morango/models/core.py and the latest migration, morango/migrations/0005_self_ref_order.py, then inspect the existing model tests. Add coverage for creating and reading an ArchiveManifestEntry and verify the key primary-key behavior; run makemigrations --check and the full test suite to confirm the migration only adds the new table.
索引モデルが issue の本文から書いたものです。
説明
Overview
A new ArchiveManifestEntry model stores the metadata of an archive as key and value rows. This work is part of milestone M5 (archive feature).
Background & Motivation
An archive must describe itself: the morango version that wrote it, its instance identity, its capabilities, its profile, and its filter. A later import needs these facts to use the same capabilities as the writer. The archive is a Django-managed database, so the metadata table is a morango model with a migration.
In host databases, this table stays empty.
Design: spec. Plan: implementation plan, Task 15.
Description & Expected Outcomes
The model has two fields. key is the primary key, with a maximum length of 64. value is text that holds a JSON value. Migration 0006_archivemanifestentry adds the table and depends on 0005_self_ref_order.
Deliverables & Contracts
The change delivers these capabilities:
- The
ArchiveManifestEntrymodel inmorango/models/core.py. - The migration
morango/migrations/0006_archivemanifestentry.py.
Acceptance Criteria
- A test creates and reads an entry, and
keyis the primary key. -
tests/testapp/manage.py makemigrations --checkpasses. - The migration only adds a table.
- The full test suite passes.
Technical Pointers & Architecture
- Target Components / Context:
morango/models/core.py,morango/migrations/. - Related Patterns: The latest migration is
morango/migrations/0005_self_ref_order.py. - Data Model & Schema Considerations: This is a new table with no foreign keys. It is safe to add to existing databases.
- Resilience & Failure Modes: None.
Notes & Tradeoffs
- Dependencies: Blocked by: #375 (end of the refactor milestones). Blocks: #377.
- Testing Requirements: A model test and the migration check.
- Tradeoffs & Alternatives Considered: A table that only archives create stays outside the migration history. The spec rejects it because the archive version check depends on that history.
- Compatibility & Migrations: Host databases get an empty table.
Metadata
- Complexity: Low
- Target Branch: release-v0.9.x
AI Usage
Drafted with Claude (Claude Code) from the approved design spec and implementation plan. The author reviewed the requirements, and the code references were checked against the release-v0.9.x codebase.
- 主要言語
- Python
- スター
- 15
- フォーク
- 27
- 平均マージ
- 6日 44分
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
learningequality/morango のほかの issue
-
Document disk export and deprecations in the changelog再び着手できるかも @ArpitaSamanta10 が 14 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンDEV: dev-ops DEV: distributions DOCS: developer
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
learningequality/morango#387 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
DEV: backend DEV: dev-ops TAG: unit tests
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
learningequality/morango#385 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 54/100
learningequality/morango#425 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 1/100
learningequality/morango#424 ·
メンテナーはふだん 1 日以内に返信
-
DEV: backend P2 - normal
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
learningequality/morango#416 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
learningequality/morango の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
hermes hooks doctor smoke test never checks the hook exit code — a crashing hook (exit=1) renders ✓ "ran clean" and "All shell hooks look healthy"対応中かも @cestercian が今日担当しました。 オープンcomp/cli P2 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NousResearch/hermes-agent#162259 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
AOSSIE-Org/PictoPy#1802 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
community-request
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NVIDIA-NeMo/Run#727 ·
メンテナーはふだん 1 日以内に返信
-
bot-triaged module: higher order operators module: pickle module: pt2-dispatcher oncall: pt2 triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
pytorch/pytorch#207247 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信