(patch included) add ability to specify custom priority for HTTP::Config items [rt.cpan.org #59497]
まだ誰も着手していません。
評価
調査の方向性
HTTP::Config とその matching メソッドから始め、次に matching から返される項目のソートコードを調べます。リンクされている handlerPriority パッチとその priority フィールドのテストを確認します。完了の条件は、%matchspec の省略可能な priority が順序に影響し、省略された priority はデフォルトで 0 になり、既存の matching ルールが引き続き同順位を決定することです。
索引モデルが issue の本文から書いたものです。
説明
Migrated from rt.cpan.org#59497 (status was 'new')
Requestors:
From [email protected] on 2010-07-18 03:24:26:
Currently there is no way to specify a custom order for items returned from the matching
method in the HTTP::Config object.
I'm proposing the addition of a priority field in an item's %matchspec that is used as a sort key
before using the sort key's defined by the built-in matching rules. the priority field will be
treated as optional with item's not specifying it defaulting to a priority of 0.
I've written a patch to introduce this functionality and uploaded it to github here:
http://github.com/frett/libwww-perl/tree/handlerPriority
In the set of commits there is a test for the priority field, plus I updated the sorting code to
correctly support the new priority field.
- 主要言語
- Perl
- スター
- 32
- フォーク
- 63
- 平均マージ
- 5時間 14分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
libwww-perl/HTTP-Message のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
libwww-perl/HTTP-Message#228 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
libwww-perl/HTTP-Message#227 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
libwww-perl/HTTP-Message#216 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
libwww-perl/HTTP-Message#207 · コメント 1 件 ·
-
Decoding of deflate content-encoding doesn't respect max_body_size対応中かも @simbabque が 523 日前に担当しました。 オープン
libwww-perl/HTTP-Message#206 · コメント 1 件 · 担当者 1 名 ·
libwww-perl/HTTP-Message の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
convos-chat/convos#977 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
inverse-inc/packetfence#9387 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
linux-test-project/lcov#552 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
szTheory/exifcleaner#383 ·
メンテナーはふだん 1 日以内に返信
-
1.severity: security
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
NixOS/nixpkgs#569828 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信