Skip to content

Commit 619e443

Browse files
committed
Merge branch 'master' into dependabot/nuget/BinStash.Infrastructure/multi-6f4c62a268
# Conflicts: # BinStash.Server/BinStash.Server.csproj
2 parents 56e2f34 + e962024 commit 619e443

8 files changed

Lines changed: 77 additions & 16 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG] "
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[FEATREQ] "
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

BinStash.Cli/BinStash.Cli.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<ItemGroup>
1818
<PackageReference Include="CliFx" Version="2.3.6" />
1919
<PackageReference Include="KeySharp" Version="1.0.5" />
20-
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="10.0.1" />
20+
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="10.0.2" />
2121
<PackageReference Include="Spectre.Console" Version="0.54.0" />
2222
<PackageReference Include="System.IO.Hashing" Version="9.0.6" />
2323
<PackageReference Include="ZstdNetNGX" Version="1.0.0" />

BinStash.Core.Tests/BinStash.Core.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="coverlet.collector" Version="6.0.4">
11+
<PackageReference Include="coverlet.collector" Version="8.0.0">
1212
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1313
<PrivateAssets>all</PrivateAssets>
1414
</PackageReference>
1515
<PackageReference Include="FluentAssertions" Version="8.8.0" />
1616
<PackageReference Include="FsCheck.Xunit" Version="3.3.2" />
17-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
18-
<PackageReference Include="Verify.Xunit" Version="31.0.4" />
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
18+
<PackageReference Include="Verify.Xunit" Version="31.10.0" />
1919
<PackageReference Include="xunit" Version="2.9.3" />
2020
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>
24-
<PackageReference Include="XunitXml.TestLogger" Version="7.0.2" />
24+
<PackageReference Include="XunitXml.TestLogger" Version="7.1.0" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

BinStash.Core/BinStash.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Blake3" Version="2.0.0" />
12+
<PackageReference Include="Blake3" Version="2.2.0" />
1313
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.1" />
1414
<PackageReference Include="SlidingWindow" Version="1.0.7.1" />
1515
<PackageReference Include="System.IO.Hashing" Version="9.0.6" />

BinStash.Serializers.Tests/BinStash.Serializers.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="coverlet.collector" Version="6.0.4">
11+
<PackageReference Include="coverlet.collector" Version="8.0.0">
1212
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1313
<PrivateAssets>all</PrivateAssets>
1414
</PackageReference>
1515
<PackageReference Include="FluentAssertions" Version="8.8.0" />
16-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
17-
<PackageReference Include="Verify.Xunit" Version="31.0.4" />
16+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
17+
<PackageReference Include="Verify.Xunit" Version="31.10.0" />
1818
<PackageReference Include="xunit" Version="2.9.3" />
1919
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
2020
<PrivateAssets>all</PrivateAssets>
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2222
</PackageReference>
23-
<PackageReference Include="XunitXml.TestLogger" Version="7.0.2" />
23+
<PackageReference Include="XunitXml.TestLogger" Version="7.1.0" />
2424
</ItemGroup>
2525

2626
<ItemGroup>

BinStash.Server/BinStash.Server.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Blake3" Version="2.0.0" />
15-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.1" />
14+
<PackageReference Include="Blake3" Version="2.2.0" />
15+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.4" />
1616
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.5">
1717
<PrivateAssets>all</PrivateAssets>
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
</PackageReference>
20-
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="10.0.1" />
21-
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="10.0.1" />
20+
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="10.0.4" />
21+
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="10.0.4" />
2222
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.0" />
23-
<PackageReference Include="Scalar.AspNetCore" Version="2.11.10" />
23+
<PackageReference Include="Scalar.AspNetCore" Version="2.12.36" />
2424
<PackageReference Include="SharpZipLib" Version="1.4.2" />
2525
<PackageReference Include="ZstdNetNGX" Version="1.0.0" />
2626
</ItemGroup>

BinStash.Server/Endpoints/ReleaseEndpoints.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@ private static async Task<IResult> GetReleaseDownloadAsync(Guid id, string? comp
281281

282282
if (files.Count == 0)
283283
return Results.NotFound("No files found for the requested component.");
284+
285+
// 'identity' means no transformation/compression
286+
response.Headers.ContentEncoding = "identity";
284287

285288
response.ContentType = "application/zstd";
286289
var fileName = $"{(component != null ? $"component-{component}-" : "release-")}{release.Id}{(diffRelease != null ? ".diff" : "")}.tar.zst";
@@ -447,4 +450,4 @@ await Task.WhenAll(chunkRefs.Select(async (chunkRef, i) =>
447450
return Results.Empty;
448451
}
449452

450-
}
453+
}

0 commit comments

Comments
 (0)