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

Updating third party docs page to include npm packages and products #6920

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 32 additions & 10 deletions .github/workflows/run-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,48 @@ env:
jobs:
run-scripts:
name: Run scripts
runs-on: windows-2022
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install LINQPad
run: choco install linqpad
- name: Checkout ServicePulse
uses: actions/checkout@v4
with:
repository: Particular/ServicePulse
path: checkout/ServicePulse
- name: Checkout ServiceControl
uses: actions/checkout@v4
with:
repository: Particular/ServiceControl
path: checkout/ServiceControl
- name: Set environment vars
run: |
echo "C:\Program Files\LinqPad8" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
git config user.email "85681268+internalautomation[bot]@users.noreply.github.com"
git config user.name "internalautomation[bot]"
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Update Core Dependencies
run: lprun8 tools\coreDependencies.linq
run: |
(cd tools/coreDependencies && dotnet run --project coreDependencies.csproj)
- name: Update 3rd-Party Licenses
run: lprun8 tools\3rd-party-licenses.linq
run: |
(cd tools/3rd-party-licenses && dotnet run --project 3rd-party-licenses.csproj)
- name: Commit changes
shell: pwsh
run: |
git diff > ../changes.diff
$changes = Get-Item ../changes.diff
git diff > changes.patch
$changes = Get-Item changes.patch

Write-Output "Diff size is $($changes.Length) bytes"
Write-Output ../changes.diff

if ($changes.Length -gt 20480) {
throw "Changes diff is > 20KB - too much change to trust without verifying"
throw "Changes diff is > 20KB - too much change to trust without verifying. changed.patch file have been created as an artifact. To merge this file run 'git apply changes.patch'"
return 1
}
if ($changes.Length -eq 0) {
Expand All @@ -51,6 +66,13 @@ jobs:

Write-Output "Pushing changes to origin"
git push origin master
- uses: actions/upload-artifact@v4
name: Attach patch as artifact
if: ${{ always() }}
with:
name: changes.patch
path: changes.patch
if-no-files-found: ignore
- name: Notify Slack on failure
if: ${{ failure() }}
shell: pwsh
Expand Down
4 changes: 2 additions & 2 deletions menu/menu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@
Url: platform/contributing
- Title: Release notifications
Url: nservicebus/release-notifications
- Title: Third-party licenses
Url: platform/third-party-licenses

- Name: NServiceBus
Topics:
Expand Down Expand Up @@ -185,8 +187,6 @@
Articles:
- Url: nservicebus/upgrades
Title: About upgrading NServiceBus
- Url: nservicebus/upgrades/third-party-licenses
Title: Third-party licenses
- Url: nservicebus/upgrades/callbacks-1to2
Title: Callbacks 1 to 2
- Url: nservicebus/upgrades/sqs-lambda-1to2
Expand Down
273 changes: 0 additions & 273 deletions nservicebus/upgrades/third-party-license-data.include.md

This file was deleted.

15 changes: 0 additions & 15 deletions nservicebus/upgrades/third-party-licenses.md

This file was deleted.

127 changes: 127 additions & 0 deletions platform/third-party-license-data.include.md

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions platform/third-party-licenses.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Third-party licenses
summary: View the licenses for third-party libraries used by Particular Service Platform.
reviewed: 2024-11-29
related:
- nservicebus/licensing
- servicecontrol/license
- serviceinsight/license
redirects:
- nservicebus/upgrades/third-party-licenses
---

Particular Service Platform would not be possible without the following great third-party libraries.

include: third-party-license-data
1 change: 1 addition & 0 deletions tests/IntegrityTests/Infrastructure/TestRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public TestRunner(string glob, string errorMessage)
this.errorMessage = errorMessage;
ignoreRegexes = [];
IgnoreRegex(@"\\tests\\");
IgnoreRegex(@"\\tools\\");
}

public void Run(Func<string, bool> testDelegate)
Expand Down
Loading