forked from apache/lucenenet-codeanalysis-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Added build automation, documentation, and other upgrades #1
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
Merged
paulirwin
merged 44 commits into
paulirwin:feature/initial-apache-release
from
NightOwl888:feature/initial-apache-release-automation
Sep 23, 2025
Merged
Changes from 29 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
1026e0f
Added Dirctory.Build.props, Directory.Build.targets. and Directory.Pa…
NightOwl888 ed3c30d
Added version.json file for Nerdbank.GitVersioning
NightOwl888 ab9abfb
Added Lucene.Net.CodeAnalysis.Dev.Package project to provide centrali…
NightOwl888 91c9799
Added Lucene.Net.CodeAnalysis.Dev.Vsix project for Visual Studio live…
NightOwl888 9a7a0e1
Renamed Helpers namespace to Utility
NightOwl888 07e2ae5
Migrated DiagnosticDescriptor declarations to their own Descriptors c…
NightOwl888 12d44e6
SWEEP: Converted all tests to use Microsoft.CodeAnalysis.Analyzer.Tes…
NightOwl888 1e5e59a
Lucene.Net.CodeAnalysis.Dev.sln: Added Solution Items folder
NightOwl888 f85a023
Lucene.Net.CodeAnalysis.Dev.sln: Added .github, docs, and eng folders…
NightOwl888 a13c5f3
Moved Lucene.Net.snk file to the eng directory
NightOwl888 6631734
Lucene.Net.CodeAnalysis.Dev.sln: Added Directory.Build.targets and Di…
NightOwl888 e9d5a3f
Added GitHub workflows for build/release automation
NightOwl888 28d626d
docs: Added building-and-testing, make-release, and visual-studio-deb…
NightOwl888 f392feb
Added Powershell script to run the Release Audit Tool
NightOwl888 3fccaf0
rat.ps1: Changed RAT version to 0.13, since that is what we know works
NightOwl888 508b39b
SWEEP: Ran the Apache Release Audit Tool to add missing license headers
NightOwl888 defae97
docs/make-release.md: Added section for Release Audit Tool
NightOwl888 18eb22b
Added .editorconfig and .gitattributes for most often hand-edited files
NightOwl888 db82a0a
Added Lucene.Net.CodeAnalysis.Dev.CodeFixes project and Lucene.Net.Co…
NightOwl888 1eae0b9
Lucene.Net.CodeAnalysis.Dev.CodeFixes: Fixed CodeFixResources.resx co…
NightOwl888 089eee3
LuceneDev1001_FloatingPointFormattingCSCodeFixProvider: Dynamically b…
NightOwl888 12454c0
LuceneDev1001_FloatingPointFormattingCSCodeFixProvider: Refactored to…
NightOwl888 7f2412d
Lucene.Net.CodeAnalysis.Dev.CodeFixes.csproj: Removed unnecessary Pac…
NightOwl888 3ce4cb2
tests/Directory.Build.targets: Set IsPublishable=true if IsTestProjec…
NightOwl888 3fa5505
Lucene.Net.CodeAnalysis.Dev.Tests.csproj: Enabled nullable reference …
NightOwl888 6e64141
Lucene.Net.CodeAnalysis.Dev.Utilty.Descriptors: Use static fields ins…
NightOwl888 4560b64
Lucene.Net.CodeAnalysis.Dev: Cleaned up usings
NightOwl888 72948f3
Lucene.Net.CodeAnalysis.Dev: Removed AnalyzerReleases from Additional…
NightOwl888 d8c2a4c
SWEEP: Moved all analyzers, code fixes, and analyzer/code fix tests i…
NightOwl888 bcea403
SWEEP: Added Apache 2.0 license headers to all .props, .targets, and …
NightOwl888 857205d
SWEEP: Added Apache 2.0 license headers to all .yml and .ps1 files
NightOwl888 f92626b
SWEEP: Added Apache 2.0 license headers to all .md files (except Anal…
NightOwl888 fd68390
eng/nuget.props: Added LICENSE.txt and NOTICE.txt to the NuGet package.
NightOwl888 a2e4124
eng/nuget.props: Resolved conflict - cannot specify PackageLicenseExp…
NightOwl888 a8f65eb
Lucene.Net.CodeAnalysis.Dev.sln: Added .editorconfig and .gitattribut…
NightOwl888 f161049
Added Git commit hook to insert the current NuGetPackageVersion into …
NightOwl888 705146f
docs/make-release.md: Simplified release procedure and included step …
NightOwl888 c26a0c9
version.json: Updated version.json to enforce 3-component release bra…
NightOwl888 ab7f0b1
docs/make-release: Added workflow for release build outcomes. Also co…
NightOwl888 297c4f3
docs/make-release.md: Added info about deciding between major, minor,…
NightOwl888 77c313e
release-build-outcomes.md: Updated Mermaid markup to reflect the same…
NightOwl888 7c77b46
Markdown-Formatting.Tests.ps1: Removed stray assert
NightOwl888 d8041a7
.github/workflows/ci.yml: Removed x86 tests and SDK setup
NightOwl888 6e48107
docs/make-release.md: Corrected slash in release branch notes
NightOwl888 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,149 @@ | ||
| # EditorConfig helps developers maintain consistent coding styles across editors and IDEs | ||
| # Docs: https://editorconfig.org/ | ||
|
|
||
| root = true | ||
|
|
||
| # ======================================== | ||
| # XML, MSBuild files | ||
| # ======================================== | ||
| [*.xml] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.resx] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.config] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.csproj] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.*proj] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.props] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.targets] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| # ======================================== | ||
| # JSON files | ||
| # ======================================== | ||
| [*.json] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| # ======================================== | ||
| # Markdown | ||
| # ======================================== | ||
| [*.md] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| trim_trailing_whitespace = false | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
|
|
||
| # ======================================== | ||
| # YAML | ||
| # ======================================== | ||
| [*.yml] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| trim_trailing_whitespace = false | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
|
|
||
| [*.yaml] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| trim_trailing_whitespace = false | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
|
|
||
| # ======================================== | ||
| # C# files | ||
| # ======================================== | ||
| [*.cs] | ||
| indent_style = space | ||
| indent_size = 4 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| # ======================================== | ||
| # Solution files | ||
| # ======================================== | ||
| [*.sln] | ||
| indent_style = tab | ||
| tab_width = 4 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| # ======================================== | ||
| # Windows Batch and Command files | ||
| # ======================================== | ||
| [*.bat] | ||
| indent_style = space | ||
| indent_size = 4 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = false | ||
| end_of_line = crlf | ||
|
|
||
| [*.cmd] | ||
| indent_style = space | ||
| indent_size = 4 | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
| trim_trailing_whitespace = false | ||
| end_of_line = crlf | ||
|
|
||
| # ======================================== | ||
| # Powershell | ||
| # ======================================== | ||
| [*.ps1] | ||
| indent_style = space | ||
| indent_size = 4 | ||
| trim_trailing_whitespace = false | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true | ||
|
|
||
| [*.psd1] | ||
| indent_style = space | ||
| indent_size = 4 | ||
| trim_trailing_whitespace = false | ||
| insert_final_newline = true | ||
| resharper_enforce_empty_line_at_end_of_file = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Let Git handle line endings automatically: | ||
| # - Checkout as CRLF on Windows, LF elsewhere | ||
| * text=auto | ||
|
|
||
| # Explicit overrides for certain file types | ||
|
|
||
| # C# code and projects | ||
| *.cs text eol=crlf diff=csharp | ||
| *.sln text merge=union eol=crlf | ||
| *.csproj text merge=union eol=lf | ||
| *.vbproj text merge=union eol=lf | ||
| *.fsproj text merge=union eol=lf | ||
|
|
||
| # XML-based config/resources (store as LF in repo) | ||
| *.xml text eol=lf | ||
| *.resx text eol=lf | ||
| *.config text eol=lf | ||
| *.props text eol=lf | ||
| *.targets text eol=lf | ||
|
|
||
| # JSON, YAML, Markdown | ||
| *.json text eol=lf | ||
| *.yml text eol=lf | ||
| *.yaml text eol=lf | ||
| *.md text eol=lf | ||
|
|
||
| # Git metadata | ||
| .gitattributes text eol=lf | ||
| .gitignore text eol=lf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| <Project Sdk="Microsoft.Build.NoTargets"> | ||
| <ItemGroup> | ||
| <None Include="**/*" Exclude="**/*.folderproj;**/obj/*;**/bin/*" /> | ||
| </ItemGroup> | ||
| </Project> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| changelog: | ||
| exclude: | ||
| labels: | ||
| - notes:ignore | ||
| authors: | ||
| - dependabot | ||
| categories: | ||
| - title: 💥 Breaking Changes | ||
| labels: | ||
| - notes:breaking-change | ||
| - title: 🎉 New Features | ||
| labels: | ||
| - notes:new-feature | ||
| - title: 🐞 Bug Fixes | ||
| labels: | ||
| - notes:bug-fix | ||
| - title: 🚀 Performance Improvements | ||
| labels: | ||
| - notes:performance-improvement | ||
| - title: 🏆 Improvements | ||
| labels: | ||
| - notes:improvement | ||
| - title: 📄 Website and API Documentation | ||
| labels: | ||
| - notes:website-or-documentation | ||
| - title: 💪 Other Changes | ||
| labels: | ||
| - "*" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.