Unify product Clone, "Save as new" and admin "Save as new" into a single clone feature
メンテナーはふだん 1 日以内に返信
@Anurag-S1ngh がすでに取り組んでいます。
2026年10月31日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
調査の方向性
Start by tracing ProductCloneForm and the UI clone view and API clone action; compare their behavior with ProductForm and ProductAdmin.save_model. Identify how clone options handle copied data, then follow the existing paths for vulnerability analyses and codebase resource deployment links. Done means Clone is the sole duplication path and includes those data, while the two “Save as new” actions are removed.
索引モデルが issue の本文から書いたものです。
説明
Following:
A product can be duplicated in 3 different ways, each with its own implementation:
- Clone:
ProductCloneForm, used by the UI clone view and the APIcloneaction - Save as new:
ProductForm, on the product edit page - Admin:
ProductAdmin.save_model, the "Save as new" button in the admin
They do not copy the same data, so the result depends on which one is used:
| Data | Clone | Save as new | Admin |
|---|---|---|---|
| Components, Packages, triage rulesets | Yes | Yes | Yes |
| Dependencies | Yes | No | No |
| Codebase resources | Yes | Yes | No |
Codebase resources deployment links (deployed_to) |
No | No | No |
| Vulnerability analyses | No | No | No |
| Object permissions | Optional | No | No |
| Triage re-evaluation | Yes | No | Yes |
The goal of a clone is to get the exact same product under a new version, except for the data unchecked in the clone options.
Proposed solution
- Keep Clone as the single way to duplicate a product, since the UI and the API already share it and it has the most complete behavior.
- Remove "Save as new" from the product edit form and from the product admin.
- Add the missing data to Clone: vulnerability analyses and codebase resources deployment links.
- 主要言語
- Python
- スター
- 52
- フォーク
- 30
- 平均マージ
- 10時間 18分
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aboutcode-org/dejacode のほかの issue
-
design needed enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
aboutcode-org/dejacode#561 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Enhancement request: Refine License Category - Copyleft Limited再び着手できるかも @hesa が 121 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdesign needed enhancement
aboutcode-org/dejacode#499 · コメント 13 件 · 担当者 3 名 ·
メンテナーはふだん 1 日以内に返信
-
BUG: Product overview page splits product with many versions across pages再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug design needed enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
aboutcode-org/dejacode#460 ·
メンテナーはふだん 1 日以内に返信
-
design needed
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
aboutcode-org/dejacode#452 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
BUG: creating package brow6el-main.tar.gz generates unexpected PURL values再び着手できるかも @tdruez が 303 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug design needed enhancement
aboutcode-org/dejacode#449 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
aboutcode-org/dejacode の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pytest-dev/pyfakefs#1367 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
IFEvalG exclude_word_harder misses the keyword next to punctuation, at the start or end of the text, and in other letter case対応中かも @damienen が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
allenai/open-instruct#2151 ·
メンテナーはふだん 1 日以内に返信
-
feat(plan): support convertorLabels and convertorAffinity in Plan resource対応中かも @AmenB が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
RedHatQE/openshift-python-wrapper#2849 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 25 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
libnativeapi/nativeapi#21 ·