ltfs_ordered_copy QoL features (type annotations, etc.)
まだ誰も着手していません。
評価
調査の方向性
まず ltfs_ordered_copy スクリプトを見つけ、リポジトリがサポートしている Python のバージョンを確認します。提案されている代替案(stub ファイル、docstring、またはより新しい言語機能)を検討し、作業内容を定義する前に、maintainer の互換性に関する方針を確認します。合意され、範囲を限定したモダナイズの作業が、指定されていない互換性変更なしに実装されていれば完了とします。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
Not a problem per se, rather a minor inconvenience (and offer for contribution): the ltfs_ordered_copy script lacks several "creature comforts"/conveniences found in modern python modules (e.g.: type annotations) - I assume this is with a view to maximising compatibility.
Describe the solution you'd like
Without knowing the appetite of the maintainers for breaking compatibility with older python versions (and/or introducing an entirely new script with greater minimum python version requirements - messy IMHO), the following solutions could be considered:
- (non-breaking) a low-friction solution for type annotations specifically would be a stub file.
- (non-breaking) adding docstrings (optionally with an established style, e.g.: numpy) aids readability.
- (breaking) if a (new) minimum version can be established, various other readability improvements enabled by in-language features (e.g.: f-strings, more concise/readable variants of standard library functions (such as those in
pathlib)) could be implemented.
Describe alternatives you've considered
The above are three "alternatives" (non-mutually-exclusive) I've considered; a fourth would be "do nothing". I personally plan to utilise some of the classes within my own work, so will likely invest effort "modernising" regardless - while I could hypothetically maintain a fork of this entire repository for the sake of one script, this overhead is a disincentive, and realistically other users are unlikely to stumble across such a fork; including modernising updates in the upstream makes this work available to a broader user base.
- 主要言語
- C
- スター
- 352
- フォーク
- 110
- 平均マージ
- 2時間 50分
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LinearTapeFileSystem/ltfs のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
LinearTapeFileSystem/ltfs#647 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
LinearTapeFileSystem/ltfs#645 · コメント 3 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
LinearTapeFileSystem/ltfs#643 ·
-
H/W issue HBA Report Investigating
LinearTapeFileSystem/ltfs#640 · コメント 7 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
LinearTapeFileSystem/ltfs#638 · コメント 2 件 ·
LinearTapeFileSystem/ltfs の issue をすべて見る
似ている issue
-
task
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vsanthanam/JBird#429 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
es-ude/OnDeviceTraining#459 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
bilelmoussaoui/gobject-linter#199 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
bradcypert/plum#53 ·