Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate license header for project files #26

Open
AdmiringWorm opened this issue Jun 2, 2019 · 2 comments
Open

Generate license header for project files #26

AdmiringWorm opened this issue Jun 2, 2019 · 2 comments
Labels

Comments

@AdmiringWorm
Copy link
Member

Is your feature request related to a problem? Please describe.
The project files currently do not include a file header even
for licenses that recommends adding one.

Describe the solution you'd like
The project files in C# should also include a license header
if the selected license recommends adding one, if one is not
recommended, a stylecop configuration file should be created
that disables the warning about a missing file header.

Describe alternatives you've considered

Additional context

@AdmiringWorm AdmiringWorm added this to the v0.2.0 milestone Jun 2, 2019
@AdmiringWorm AdmiringWorm modified the milestones: v1.1.0, v1.2.0 Jun 4, 2019
@AdmiringWorm AdmiringWorm modified the milestones: v1.2.0, v1.3.0 Dec 17, 2019
@AdmiringWorm AdmiringWorm modified the milestones: v1.3.0, v1.4.0 Dec 25, 2019
@AdmiringWorm AdmiringWorm modified the milestones: v1.3.1, v1.4.0 Jan 28, 2020
@AdmiringWorm AdmiringWorm modified the milestones: v1.3.3, v1.4.0 May 26, 2020
AdmiringWorm added a commit that referenced this issue Jul 25, 2020
These changes includes the ability to add a license header to all source files (.cs) when a license
that recommends a license header is used.

re #26
@AdmiringWorm AdmiringWorm reopened this Jul 26, 2020
@AdmiringWorm
Copy link
Member Author

This ability to turn off license headers option have been reverted.
Unfortunately due to issue #107 the additional question caused additional issues and had to be reverted until that issue is fixed.

@AdmiringWorm
Copy link
Member Author

The generation of license headers depending on the license selected is still implemented.

wormie-bot pushed a commit that referenced this issue Jul 26, 2020
# [1.4.0](v1.3.7...v1.4.0) (2020-07-26)

### Bug fixes

* fix indent size being prompted when user selects to use tabs ([9b88bf8](9b88bf8))
* **project generator:** fix generator exiting early when running dotnet build/restore ([4d11805](4d11805))
* **project generator:** fix generator outputting template with parameters on same line ([a04a1fd](a04a1fd))
* **project generator:** fix test project not generated with documentation comments disabled ([be4119f](be4119f))

### Features

* **build scripts generator:** update cake.recipe version in generated build script ([0cd6811](0cd6811))
* **build scripts generator:** update generated powershell bootstrapper to latest edition ([e171db8](e171db8))
* **project generator:** add ability to include license header for source files ([e5d199f](e5d199f)), closes [#26](#26)
* **project generator:** add ability to specifically decide whether to use license headers or not ([7b0e80f](7b0e80f)), closes [#26](#26)
* **project generator:** add basic stylecop configuration json file ([b6208f6](b6208f6))
* **project generator:** update package dependencies on all generated project files ([6280538](6280538))

### Reverts

* "feat(project): add ability to specifically decide whether to use license headers or not" ([12aef7f](12aef7f))
@WormieCorp WormieCorp deleted a comment from wormie-bot Jul 26, 2020
@AdmiringWorm AdmiringWorm removed this from the v1.4.0 milestone Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants