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

Pantry quantities are only subtracted when the unit is written the same way (cup/cups, g/kg, fractions)

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust
領域
cli

調査の方向性

ここで説明されている、にんにく、牛乳、half-and-half、無塩バターのパントリー例を使って、買い物リストの動作を再現します。一致する単位と異なる単位の両方を含めます。パントリー項目のマッチングのエントリポイントを追跡し、複数単語の名前と単位に対するカバレッジを追加します。一致するパントリー項目が買い物リストに不必要に表示されなくなれば完了です。

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

説明

area: pantry area: shopping-list bug upstream

I see that at least my garlic is not on the list (expected behavior with both units as cloves). However, I have milk and half-and-half in cups on the recipe ingredient and in the pantry, yet it's still on the shopping list. The other ingredients (carrots, flour, sugar) do not have units in the pantry, so the limitation you mentioned makes sense for those.

The other issue is why it doesn't pick up on the unsalted butter at all. I made the units match, and I tried giving the aisle.conf a line for "unsalted butter | unsalted_butter". From what I can see, this happens with any pantry item that isn't a single word.

Image Image

also I just realized my ingredient for the butter says "tbps" while the pantry says "tbsp". I fixed it, but it didn't change anything regarding the issue.

主要言語
Rust
スター
1.4k
フォーク
120
平均マージ
1日 22時間
マージ済み PR(30日)
128

環境構築

はじめの一歩

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

cooklang/cookcli のほかの issue

cooklang/cookcli の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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