Text that bit new generates has a renamed "bit Boilerplate" and stray indentation

オープン 初心者向け
#15,109 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp, xml
領域
cli

調査の方向性

bit new を実行して MyApp という名前のプロジェクトを生成し、Boilerplate.Server.Api/Features/Identity/OAuth/Services/OAuthProtectedResource.cs と Boilerplate.Server.Api/Boilerplate.Server.Api.csproj を開いてください。ペイロードには、ソース名の置換とマーカーの削除を行うテンプレート処理コードの名前が書かれていないため、まずそのコードを見つけてください。コメントが「a bit MyApp app」と書かれていなくなり、削除された msbuild の条件付きマーカーによって csproj に余分なインデントや 4 スペースだけの残り行が残っていなければ完了です。

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

説明

area / templates

Two cosmetic slips in what bit new 11.0.0-pre-20 generates, both from how the template's text is processed:

  • Boilerplate.Server.Api/Features/Identity/OAuth/Services/OAuthProtectedResource.cs has a comment saying "a bit Boilerplate app". The source name replacement turns it into "a bit MyApp app" in a project named MyApp. Wording that doesn't contain "Boilerplate", such as "an app made from bit-bp", stays right.
  • Boilerplate.Server.Api/Boilerplate.Server.Api.csproj: the <!--/-:msbuild-conditional:noEmit --> and <!--/+:msbuild-conditional:noEmit --> markers are removed but their indentation stays. So the <!-- The template version bit.json records ... --> comment comes out indented by 8 spaces instead of 4, and a line of only 4 spaces follows the BitTemplateVersion ItemGroup.
主要言語
C#
スター
1.4k
フォーク
264
平均マージ
8時間 58分
マージ済み PR(30日)
579

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

bitfoundation/bitplatform のほかの issue

bitfoundation/bitplatform の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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