bluerobotics / bluerobotics/BlueOS-Extensions-Repository

consolidate: allow using existing manifest as a cache

オープン
#46 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
20
フォーク
31
平均マージ
1日 56分
マージ済み PR(30日)
2

説明

Consolidation already takes quite a while, and it's generally unlikely that existing tags will have changed labels or a changed structure. The default behaviour should be to use the existing manifest file as a cache, and only fetch data for _new_ tags, with the _option_ to instead do a clean/full refresh and generate the entire file from scratch.

Something like a `--cache` command-line argument could be useful, where
- if unspecified it uses the latest online manifest
- if "none" it does a full refresh
- if given a URL it tries to fetch it and use it, erroring out on failure to fetch
- if given a local filename it tries to read it and use it, erroring out on failure to read

This should save a bunch of consolidation time, and also reduce unnecessary API usage.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

ファイルやテストは指定されていません。まず統合コマンドとマニフェスト生成コードを見つけ、次にタグと既存のマニフェストがどのように取得されるかを追跡してください。デフォルトで既存のタグには最新のマニフェストが再利用され、新しいタグが取得され、--cache が完全な更新、URL、ローカルファイルをサポートし、失敗時にエラーになる状態が完了条件です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。