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

Implementing a more generalized `proc` pseudo-filesystem abstraction for multiple platforms

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

メンテナーはふだん 1 日以内に返信

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

  • #561 @naoNao89 による — マージされずにクローズ

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust

調査の方向性

まず pgrep crate の process.rs モジュールを読み、既存の Linux 固有の実装と、それを他のツールがどのように使用しているかを理解します。次に、提案されている uuproc crate の境界とロードマップを確認し、プラットフォーム抽象化における最初のマイルストーンを決定します。完了条件は、選択したプラットフォーム向けに crate が定義され、基本的な実装が存在することです。

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

説明

enhancement

In order to cope with multi-platform support and handle different implementations of multiple platforms, it is necessary to abstract different implementations of multiple platforms

The current proc implementation is a Linux-only implementation and relies heavily on the proc pseudo-filesystem - it needs to read inside the /proc filesystem.

  • FreeBSD's proc pseudo-fs is not automounted.
  • macOS does not have a proc fs, it use sysctl instead.
  • Windows platform are much different from *NIX family.

Due to a lack of thorough consideration at the beginning, only an abstraction for the Linux platform was considered, and most of the code was placed in the pgrep crate.

And since the process.rs mod in pgrep is used by other tools, it had to be refactored first: separating it into a new crate.

Cross-platform support is a very challenging task, so I have put together the following roadmap as the first step towards completing support for other platforms

  • New uuproc create.
  • Basic implementation for FreeBSD
  • Basic implementation for macOS
  • Basic implementation for Windows
主要言語
Rust
スター
117
フォーク
41
平均マージ
10時間 59分
マージ済み PR(30日)
15

環境構築

はじめの一歩

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

uutils/procps のほかの issue

uutils/procps の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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