Skip to content

Commit

Permalink
file headers
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Jun 3, 2024
1 parent e89b324 commit d711d61
Show file tree
Hide file tree
Showing 310 changed files with 1,618 additions and 521 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ dotnet_diagnostic.IDE0005.severity = warning # Using directive is unnecessa
dotnet_diagnostic.IDE0030.severity = warning # Use coalesce expression (nullable) int? y = x.HasValue ? x.Value : 0 int? y = x ?? 0;
dotnet_diagnostic.IDE0030WithoutSuggestion.severity = error
dotnet_diagnostic.IDE0038.severity = warning # Use pattern matching if (x is string) if (x is string s)
dotnet_diagnostic.IDE0073.severity = warning # Enforce file header
dotnet_diagnostic.IDE0079.severity = warning # Unused suppresion
dotnet_diagnostic.IDE0083.severity = warning # Use pattern matching
dotnet_diagnostic.IDE0084.severity = warning # Use IsNot
Expand Down Expand Up @@ -444,7 +445,6 @@ dotnet_diagnostic.SA1519.severity = warning # Braces should not be omitted
dotnet_diagnostic.SA1520.severity = warning # Use braces consistently
dotnet_diagnostic.SA1623.severity = warning # Property summary documentation must match accessors
dotnet_diagnostic.SA1626.severity = warning # Single-line comments must not use documentation style slashes
dotnet_diagnostic.SA1636.severity = none # Disable file header matching
dotnet_diagnostic.SA1642.severity = warning # Constructor summary documentation must begin with standard text
dotnet_diagnostic.SA1649.severity = warning # File name must match first type name
dotnet_diagnostic.SA1651.severity = warning # Do not use placeholders in summaries
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console.Tests/BaseCommandLineTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using Terradue.Stars.Console;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: BaseCommandLineTests.cs

using Terradue.Stars.Console;
using Xunit;
using Xunit.Abstractions;

Expand Down
5 changes: 3 additions & 2 deletions src/Stars.Console.Tests/Utilities/CommandLineParser.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright (c) Nate McMaster.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: CommandLineParser.cs

using System.IO;
using McMaster.Extensions.CommandLineUtils;
Expand Down
5 changes: 3 additions & 2 deletions src/Stars.Console.Tests/Utilities/ConventionTestBase.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright (c) Nate McMaster.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: ConventionTestBase.cs

using McMaster.Extensions.CommandLineUtils;
using McMaster.Extensions.CommandLineUtils.Conventions;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console.Tests/Utilities/TestConsole.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: TestConsole.cs

using System;
using System.IO;
using System.Linq;
using System.Reflection;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console.Tests/Utilities/XunitTextWriter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System.IO;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: XunitTextWriter.cs

using System.IO;
using System.Text;
using Xunit.Abstractions;

Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/ConsoleCredentialsManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: ConsoleCredentialsManager.cs

using System;
using System.Net;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.Extensions.Logging;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/ConsoleUserSettings.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: ConsoleUserSettings.cs

using System;
using System.IO;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/Operations/BaseOperation.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: BaseOperation.cs

using System;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.IO;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/Operations/CopyOperation.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: CopyOperation.cs

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/Operations/CopyOperationState.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using Terradue.Stars.Interface.Supplier.Destination;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: CopyOperationState.cs

using Terradue.Stars.Interface.Supplier.Destination;
using Terradue.Stars.Services.Model.Stac;
using Terradue.Stars.Services.Store;

Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/Operations/ListOperation.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: ListOperation.cs

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/Operations/ListOperationState.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
namespace Terradue.Stars.Console.Operations
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: ListOperationState.cs

namespace Terradue.Stars.Console.Operations
{
internal class ListOperationState
{
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/Operations/PluginsOperation.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System.Linq;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: PluginsOperation.cs

using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/PluginLoadContext.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: PluginLoadContext.cs

using System;
using System.Reflection;
using System.Runtime.Loader;

Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/Stars.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: Stars.cs

using System;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using McMaster.Extensions.CommandLineUtils;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/StarsConsoleLoggerProvider.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System.Collections.Concurrent;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: StarsConsoleLoggerProvider.cs

using System.Collections.Concurrent;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.Extensions.Logging;

Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Console/StarsConsoleReporter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: StarsConsoleReporter.cs

using System;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.Extensions.Logging;

Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data.Tests/Harvesters/MetadataExtractorsData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System.Collections;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: MetadataExtractorsData.cs

using System.Collections;
using System.Collections.Generic;
using System.IO;
using Microsoft.Extensions.Configuration;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data.Tests/Harvesters/MetadataExtractorsTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: MetadataExtractorsTests.cs

using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Abstractions;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data.Tests/JsonAssert.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System.Linq;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: JsonAssert.cs

using System.Linq;
using Newtonsoft.Json.Linq;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: SearchExpressionSupplierTests.cs

using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data.Tests/Suppliers/SuppliersTestsData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System.Collections;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: SuppliersTestsData.cs

using System.Collections;
using System.Collections.Generic;
using System.IO;
using Microsoft.Extensions.Configuration;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data.Tests/TestBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: TestBase.cs

using System;
using System.IO;
using System.IO.Abstractions;
using System.Net;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data.Tests/TestFileAsset.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: TestFileAsset.cs

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data.Tests/TestNode.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: TestNode.cs

using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Mime;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data.Tests/TestVectorService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: TestVectorService.cs

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: StacCollectionToAtomItemTests.cs

using System;
using System.IO;
using System.Linq;
using System.Threading;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data.Tests/Translators/StacItemToAtomItemTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: StacItemToAtomItemTests.cs

using System;
using System.Linq;
using System.Threading;
using System.Xml;
Expand Down
5 changes: 4 additions & 1 deletion src/Stars.Data/Log4Net2LoggerAppender.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: Log4Net2LoggerAppender.cs

using log4net.Appender;
using log4net.Core;
using Microsoft.Extensions.Logging;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data/Logger4Net.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System.Reflection;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: Logger4Net.cs

using System.Reflection;
using log4net;
using log4net.Core;
using log4net.Repository.Hierarchy;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data/Model/Atom/StarsAtomItem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: StarsAtomItem.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: AirbusMetadataExtractor.cs

using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data/Model/Metadata/Airbus/AirbusProfiler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: AirbusProfiler.cs

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data/Model/Metadata/Airbus/PerusatDimapProfiler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: PerusatDimapProfiler.cs

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: PleiadesDimapProfiler.cs

using System;
using System.Collections.Generic;
using Stac;
using Stac.Extensions.Eo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: PleiadesNEODimapProfiler.cs

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data/Model/Metadata/Airbus/SpotDimapProfiler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: SpotDimapProfiler.cs

using System;
using System.Collections.Generic;
using Stac;
using Stac.Extensions.Eo;
Expand Down
6 changes: 5 additions & 1 deletion src/Stars.Data/Model/Metadata/Airbus/VolumeDimapProfiler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using System;
// Copyright (c) by Terradue Srl. All Rights Reserved.
// License under the AGPL, Version 3.0.
// File Name: VolumeDimapProfiler.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
Expand Down
Loading

0 comments on commit d711d61

Please sign in to comment.