Doesn't create "~/.local/state/" if non-existent
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
問題は、CLI が ~/.local/state/ にディレクトリを作成せずに書き込んでいることです。XDG の state パスを解決し、そこでファイルを開く C++ のコードを見つけ、親ディレクトリがない場合に書き込みがどこで失敗するかを確認してください。state ディレクトリが存在しない場合はモード 0700 で作成され、既存のディレクトリは権限を維持し、作成に失敗した場合は分かりやすいエラーメッセージが出力されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Sendspin-cpp-cli doesn't create ~/.local/state/ if it doesn't exist already but I think it should do that according to the XDG Base Directory Specification.
If, when attempting to write a file, the destination directory is non-existent an attempt should be made to create it with permission 0700. If the destination directory exists already the permissions should not be changed. The application should be prepared to handle the case where the file could not be written, either because the directory was non-existent and could not be created, or for any other reason. In such case it may choose to present an error message to the user.
- 主要言語
- C++
- スター
- 14
- フォーク
- 5
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 26
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Sendspin/sendspin-cpp-cli のほかの issue
-
Feature request: keep the ALSA output running briefly between streams (--keep-output-alive <s>)オープン
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
Sendspin/sendspin-cpp-cli#109 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Sendspin/sendspin-cpp-cli#108 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
Sendspin/sendspin-cpp-cli#106 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Sendspin/sendspin-cpp-cli#97 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Idle CPU: a fixed 10 ms main loop, and a PulseAudio stream that stays open after the stream endsオープン
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
Sendspin/sendspin-cpp-cli#92 ·
メンテナーはふだん 1 日以内に返信
Sendspin/sendspin-cpp-cli の issue をすべて見る
似ている issue
-
Issue-Bug Needs-Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
microsoft/winget-cli#6645 ·
メンテナーはふだん 2 日以内に返信
-
cleanup help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ESPresense/ESPresense#2602 ·
メンテナーはふだん 1 日以内に返信
-
devex good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
artifact:simulation-scenario domain:physics good first issue help wanted role:validation testing
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 3 日以内に返信