Text that bit new generates has a renamed "bit Boilerplate" and stray indentation
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
Research direction
Run bit new to generate a project named MyApp, then open Boilerplate.Server.Api/Features/Identity/OAuth/Services/OAuthProtectedResource.cs and Boilerplate.Server.Api/Boilerplate.Server.Api.csproj. The payload does not name the template-processing code that does the source name replacement and marker removal, so find that first. Done means the comment no longer reads "a bit MyApp app", and the removed msbuild-conditional markers leave no stray indentation or leftover 4-space line in the csproj.
Written by the indexing model from the issue text.
Description
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.cshas a comment saying "a bit Boilerplate app". The source name replacement turns it into "a bit MyApp app" in a project namedMyApp. 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 theBitTemplateVersionItemGroup.
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 264
- Avg merge
- 8h 58m
- Merged PRs (30d)
- 579
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bitfoundation/bitplatform
-
area / templates
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
bitfoundation/bitplatform#15108 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
bitfoundation/bitplatform#15051 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bitfoundation/bitplatform#15105 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 12/100
bitfoundation/bitplatform#15100 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
bitfoundation/bitplatform#15097 ·
Maintainers usually reply within 1 day
All issues in bitfoundation/bitplatform
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Natvs/Nt.Automaton#33 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
a-corriger documentation
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
christian-raj/S-Aloha#312 ·
-
ready-for-agent tech-debt
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
DigiBanks99/menlo#640 ·
Maintainers usually reply within 1 day
-
ci
Difficulty 1/5 Under an hour Newbie friendliness 62/100
OpenTabletDriver/OpenTabletDriver#5283 ·
Maintainers usually reply within 3 days