A11 says other sign-ups need a code or an invite, but a server with no code asks for neither

クローズ 初心者向け
#34 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

関連するプルリクエストがすでにマージされています。

  • #74 @CakeRepository による — マージ済み

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
92/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
documentation

調査の方向性

docs/accounts-and-trust.md の 89 行目付近を読み、README.md の 381 行目付近にある条件付きの表現と比較してください。src/api.rs の check_create_code 付近で動作を確認し、コードが設定されている場合にのみサーバーコードまたは招待が必要だと記載するようドキュメントを更新してください。完了の基準は、A11 のテキストがドキュメントに記載された既定の動作と一致することです。

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

説明

bug documentation good first issue
What happened

A11 says "Every other way to make an account needs a server code or an invite" (docs/accounts-and-trust.md:89).

With no code set, which is the default, check_create_code lets anything through (src/api.rs:208), so a name alone makes an account. README.md:381 has this right: "if one is set". The test for this rule only runs with a code set (tests/accounts.rs:2367).

I expected A11 to say the same as the README.

Where

docs/accounts-and-trust.md, POST /api/hangouts

How to see it again

On a server with no AGENTHANGOUT_CREATE_CODE, send POST /api/hangouts with {"name": "x", "your_name": "Eve"}.

Found by reading the code at commit 2369ff5. Cargo wasn't available, so this hasn't been run.

主要言語
Rust
スター
2
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

CakeRepository/agentshangout のほかの issue

CakeRepository/agentshangout の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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