Skip to content

Commit 95192f7

Browse files
Merge pull request #67 from Stravaig-Projects/#65/source-link
(#65) Add source link
2 parents 9874fbe + b3e9f75 commit 95192f7

File tree

8 files changed

+22
-15
lines changed

8 files changed

+22
-15
lines changed

release-notes/wip-release-notes.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@
44

55
Date: ???
66

7+
### Features
8+
9+
- #29: Polling interval to be time between cycles
10+
- #65 Add source link to allow client applications to easily access the source information of this package in the debugger.
11+
712
### Bugs
813

914
- #22: Change log level from debug to information for start polling message.
10-
- #29: Polling interval to be time between cycles
1115

1216
### Dependent Packages
1317

1418
- Bump Microsoft.Extensions.Configuration from 6.0.0 to 6.0.1
15-
- Bump Microsoft.Extensions.Logging.Abstractions from 6.0.0 to 6.0.1
19+
- Bump Microsoft.Extensions.Logging.Abstractions from 6.0.0 to 6.0.3
1620

1721
---
1822

src/Stravaig.Configuration.SqlServer.Tests/FakeDataLoader.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using Microsoft.Extensions.Logging;
5-
using Microsoft.Extensions.Logging.Abstractions;
65
using Stravaig.Configuration.SqlServer.Glue;
76

87
namespace Stravaig.Configuration.SqlServer.Tests;
@@ -23,21 +22,16 @@ public IDictionary<string, string> RetrieveData(SqlServerConfigurationSource sou
2322

2423
public class FakeSqlServerConfigurationWatcher : ISqlServerConfigurationWatcher
2524
{
26-
ILogger? _logger = NullLogger.Instance;
27-
private SqlServerConfigurationProvider? _provider;
28-
2925
public void EnsureStarted()
3026
{
3127
}
3228

3329
public void AttachLogger(ILogger logger)
3430
{
35-
_logger = logger;
3631
}
3732

3833
public void AttachProvider(SqlServerConfigurationProvider provider)
3934
{
40-
_provider = provider;
4135
}
4236

4337
public void Dispose()

src/Stravaig.Configuration.SqlServer.Tests/SqlServerConfigurationSourceExtensionTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using Microsoft.Extensions.Logging;
32
using Microsoft.Extensions.Logging.Abstractions;
43
using NUnit.Framework;
54
using Shouldly;

src/Stravaig.Configuration.SqlServer.Tests/Stravaig.Configuration.SqlServer.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>

src/Stravaig.Configuration.SqlServer/Glue/DataLoader.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
1+
using System.Collections.Generic;
32
using System.Data.SqlClient;
43

54
namespace Stravaig.Configuration.SqlServer.Glue;

src/Stravaig.Configuration.SqlServer/Glue/NullSqlServerConfigurationWatcher.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using Microsoft.Extensions.Logging;
32

43
namespace Stravaig.Configuration.SqlServer.Glue;

src/Stravaig.Configuration.SqlServer/Glue/SqlServerConfigurationWatcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Stravaig.Configuration.SqlServer.Glue;
66

7-
internal sealed class SqlServerConfigurationWatcher : ISqlServerConfigurationWatcher, IDisposable
7+
internal sealed class SqlServerConfigurationWatcher : ISqlServerConfigurationWatcher
88
{
99
private readonly SqlServerConfigurationProvider _provider;
1010
private readonly Timer _timer;

src/Stravaig.Configuration.SqlServer/Stravaig.Configuration.SqlServer.csproj

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,23 @@
3333
<None Include="stravaig-icon.png" Pack="true" PackagePath="/" />
3434
</ItemGroup>
3535

36+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
37+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
38+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
39+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
40+
<IncludeSymbols>true</IncludeSymbols>
41+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
42+
</PropertyGroup>
43+
44+
<ItemGroup>
45+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
46+
</ItemGroup>
47+
3648
<ItemGroup>
3749
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.1" />
3850
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
3951
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
40-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" />
52+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.3" />
4153
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
4254
</ItemGroup>
4355
</Project>

0 commit comments

Comments
 (0)