Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

More than 2 json outputs for sophomorix

オープン
#102 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
領域
api, backend

調査の方向性

usr/lib/linuxmuster-webui/plugins/lmn_common/api.py の lmn_getSophomorixValue 周辺と、usr/lib/linuxmuster-webui/plugins/lmn_session/views.py にある呼び出し元から始めてください。複数の JSON 出力を生成する sophomorix コマンドを再現し、修正を sophomorix と Web UI のどちらに入れるべきかを判断してください。出力が主要な情報を失わず、一貫して処理されれば完了です。

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

説明

Sophomorix issue

Hello @PLanB2008

Related to your comment here https://github.com/linuxmuster/linuxmuster-webui7/blob/bd5844bf4b680a362f2649b9664ebb95756a2ae6/usr/lib/linuxmuster-webui/plugins/lmn_session/views.py#L342 : some sophomorix commands return 2 json outputs.

I already wrote a post about it here : https://github.com/linuxmuster/sophomorix4/issues/68#issuecomment-491774481

There was a major change in lmn_getSophomorixValue ( here : https://github.com/linuxmuster/linuxmuster-webui7/blob/bd5844bf4b680a362f2649b9664ebb95756a2ae6/usr/lib/linuxmuster-webui/plugins/lmn_common/api.py#L167 ) , because I saw some conflicts in the output from sophomorix commands ( when run simultaneously ), and this is not handled with threads ( it's a little faster ).

I had to choose between merging the output dicts, or simply taking one.
I saw that the first one always contain the main informations, that's why I took the first one.

Ideally, it would be great if sophomorix only delivers one json output.

主要言語
HTML
スター
14
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmuster/linuxmuster-webui7 のほかの issue

linuxmuster/linuxmuster-webui7 の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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