eclipse-cdt-cloud / eclipse-cdt-cloud/tsp-python-client

Fix TreeModel.print() method implementation

未關閉
#34 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
6
分支
16
PR 合併指標
30 天內沒有已合併 PR

描述

The TreeModel.print() was implemented initially as prototype and optimized for DATA_TREE types and in particular for the function duration statistics. It uses the ColumnDescriptor field that had been provided by the server, but it's not serialized anymore because the TSP doesn't specify it. Instead there is a header field with 'name' and 'tooltip' (see also #33).

This task is track the following things:
1) Track the update so that only data is printed that is provided by the TSP. This means to ignore parameters that are serialized into in 'others' of each object.
2) Since each entry in the TreeModel also has an unique ID to be used to identify the entry and which can be used for further queries (e.g. fetch series data of an xy chart or states for timegraphs). The print method shall print the Id in a separate column.

Note, that server updates are needed so that each data provider complies with the TSP and only TSP-specified fields are serialized.

貢獻指南

開啟貢獻指南

研究方向

從 TreeModel.print() 的實作以及 issue 中引用的 TSP 標頭和物件序列化規則開始。確認哪些欄位來自 TSP,哪些欄位來自每個物件的 "others" 資料;完成的標準是只列印 TSP 提供的資料,並將每個項目的唯一 ID 放在其獨立的欄中,同時將相容的 server 更新註明為相依項目。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。