Skip to content

Commit

Permalink
Merge pull request #67 from Stravaig-Projects/#65/source-link
Browse files Browse the repository at this point in the history
(#65) Add source link
  • Loading branch information
colinangusmackay authored Nov 14, 2022
2 parents 9874fbe + b3e9f75 commit 95192f7
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 15 deletions.
8 changes: 6 additions & 2 deletions release-notes/wip-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@

Date: ???

### Features

- #29: Polling interval to be time between cycles
- #65 Add source link to allow client applications to easily access the source information of this package in the debugger.

### Bugs

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

### Dependent Packages

- Bump Microsoft.Extensions.Configuration from 6.0.0 to 6.0.1
- Bump Microsoft.Extensions.Logging.Abstractions from 6.0.0 to 6.0.1
- Bump Microsoft.Extensions.Logging.Abstractions from 6.0.0 to 6.0.3

---

Expand Down
6 changes: 0 additions & 6 deletions src/Stravaig.Configuration.SqlServer.Tests/FakeDataLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Stravaig.Configuration.SqlServer.Glue;

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

public class FakeSqlServerConfigurationWatcher : ISqlServerConfigurationWatcher
{
ILogger? _logger = NullLogger.Instance;
private SqlServerConfigurationProvider? _provider;

public void EnsureStarted()
{
}

public void AttachLogger(ILogger logger)
{
_logger = logger;
}

public void AttachProvider(SqlServerConfigurationProvider provider)
{
_provider = provider;
}

public void Dispose()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using NUnit.Framework;
using Shouldly;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
Expand Down
3 changes: 1 addition & 2 deletions src/Stravaig.Configuration.SqlServer/Glue/DataLoader.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Data.SqlClient;

namespace Stravaig.Configuration.SqlServer.Glue;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Microsoft.Extensions.Logging;

namespace Stravaig.Configuration.SqlServer.Glue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Stravaig.Configuration.SqlServer.Glue;

internal sealed class SqlServerConfigurationWatcher : ISqlServerConfigurationWatcher, IDisposable
internal sealed class SqlServerConfigurationWatcher : ISqlServerConfigurationWatcher
{
private readonly SqlServerConfigurationProvider _provider;
private readonly Timer _timer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,23 @@
<None Include="stravaig-icon.png" Pack="true" PackagePath="/" />
</ItemGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.3" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
</ItemGroup>
</Project>

0 comments on commit 95192f7

Please sign in to comment.