From b994e897631b4e055f8a0d217926588a8bba5d2b Mon Sep 17 00:00:00 2001 From: devlooped-bot Date: Tue, 22 Jul 2025 00:03:03 +0000 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20files=20with=20dotn?= =?UTF-8?q?et-file=20sync=20=EF=BB=BF#=20devlooped/oss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Improve default Product metadata, remove .git from user-facing URLs https://github.com/devlooped/oss/commit/4339749 - Ignore .env files recursively https://github.com/devlooped/oss/commit/3776526 - Add Company MSBuild property by default https://github.com/devlooped/oss/commit/c509be4 # devlooped/catbag - Switch to ValueTask for async enumerable extensions https://github.com/devlooped/catbag/commit/3e2b4bf --- .gitignore | 1 + .netconfig | 16 ++++++++-------- .../Generic/IAsyncEnumerableExtensions.cs | 16 ++++++++-------- src/Directory.Build.props | 1 + src/Directory.Build.targets | 7 +++++-- 5 files changed, 23 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 2ac54a72..0fe79fb0 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ BenchmarkDotNet.Artifacts .genaiscript .idea local.settings.json +.env *.suo *.sdf diff --git a/.netconfig b/.netconfig index 305b9533..7eae0d0b 100644 --- a/.netconfig +++ b/.netconfig @@ -5,8 +5,8 @@ weak [file ".gitignore"] url = https://github.com/devlooped/oss/blob/main/.gitignore - sha = e0be248fff1d39133345283b8227372b36574b75 - etag = c449ec6f76803e1891357ca2b8b4fcb5b2e5deeff8311622fd92ca9fbf1e6575 + sha = 3776526342afb3f57da7e80f2095e5fdca3c31c9 + etag = 11767f73556aa4c6c8bcc153b77ee8e8114f99fa3b885b0a7d66d082f91e77b3 weak [file ".gitattributes"] url = https://github.com/devlooped/oss/blob/main/.gitattributes @@ -30,13 +30,13 @@ weak [file "src/Directory.Build.props"] url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props - sha = 81d972fd0760c244d134dae7f4b17d6c43cb004a - etag = 1368697c1521e465a1dea88b93787b1c7def441c37d62afc903fb8d07179e4f6 + sha = c509be4378ff6789df4f66338cb88119453c0975 + etag = cbbdc1a4d3030f353f3e5306a6c380238dd4ed0945aad2d56ba87b49fcfcd66d weak [file "src/Directory.Build.targets"] url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets - sha = a8b208093599263b7f2d1fe3854634c588ea5199 - etag = 19087699f05396205e6b050d999a43b175bd242f6e8fac86f6df936310178b03 + sha = 4339749ef4b8f66def75931df09ef99c149f8421 + etag = 8b4492765755c030c4c351e058a92f53ab493cab440c1c0ef431f6635c4dae0e weak [file ".github/dependabot.yml"] url = https://github.com/devlooped/oss/blob/main/.github/dependabot.yml @@ -103,6 +103,6 @@ weak [file "src/Core/System/Collections/Generic/IAsyncEnumerableExtensions.cs"] url = https://github.com/devlooped/catbag/blob/main/System/Collections/Generic/IAsyncEnumerableExtensions.cs - sha = fd4229d4b2ebcad93768ddb6afee652d4a476fe2 - etag = 8710a896af867e690062b025b3f95de9f2e3f219555942ec91e1364ad8d9bfac + sha = 3e2b4bfe3f2707bf3567bcd6367db5c7eb2696c0 + etag = 371342087cec0269473a91f7fc295fd1049e21f016a1b7113614f2c4e3eefe5f weak diff --git a/src/Core/System/Collections/Generic/IAsyncEnumerableExtensions.cs b/src/Core/System/Collections/Generic/IAsyncEnumerableExtensions.cs index 507cd109..5ec8d4c5 100644 --- a/src/Core/System/Collections/Generic/IAsyncEnumerableExtensions.cs +++ b/src/Core/System/Collections/Generic/IAsyncEnumerableExtensions.cs @@ -39,7 +39,7 @@ static partial class IAsyncEnumerableExtensions /// /// The does not implement /// . - public static async Task ToArrayAsync(this IAsyncEnumerable source) + public static async ValueTask ToArrayAsync(this IAsyncEnumerable source) => (await ToListAsync(source)).ToArray(); /// @@ -48,7 +48,7 @@ public static async Task ToArrayAsync(this IAsyncEnumerable< /// /// The does not implement /// . - public static Task> ToDictionaryAsync(this IAsyncEnumerable source, Func keySelector) where TKey : notnull + public static ValueTask> ToDictionaryAsync(this IAsyncEnumerable source, Func keySelector) where TKey : notnull => ToDictionaryAsync(source, keySelector, x => x, null); /// @@ -57,7 +57,7 @@ public static Task> ToDictionaryAsync(t /// /// The does not implement /// . - public static Task> ToDictionaryAsync(this IAsyncEnumerable source, Func keySelector, IEqualityComparer comparer) where TKey : notnull + public static ValueTask> ToDictionaryAsync(this IAsyncEnumerable source, Func keySelector, IEqualityComparer comparer) where TKey : notnull => ToDictionaryAsync(source, keySelector, x => x, comparer); /// @@ -66,7 +66,7 @@ public static Task> ToDictionaryAsync(t /// /// The does not implement /// . - public static Task> ToDictionaryAsync(this IAsyncEnumerable source, Func keySelector, Func elementSelector) where TKey : notnull + public static ValueTask> ToDictionaryAsync(this IAsyncEnumerable source, Func keySelector, Func elementSelector) where TKey : notnull => ToDictionaryAsync(source, keySelector, elementSelector, null); /// @@ -76,7 +76,7 @@ public static Task> ToDictionaryAsync /// The does not implement /// . - public static async Task> ToDictionaryAsync( + public static async ValueTask> ToDictionaryAsync( this IAsyncEnumerable source, Func keySelector, Func elementSelector, IEqualityComparer? comparer) where TKey : notnull { @@ -93,7 +93,7 @@ public static async Task> ToDictionaryAsync /// The does not implement /// . - public static Task> ToHashSetAsync(this IAsyncEnumerable source) + public static ValueTask> ToHashSetAsync(this IAsyncEnumerable source) => ToHashSetAsync(source, null); /// @@ -102,7 +102,7 @@ public static Task> ToHashSetAsync(this IAsyncEnumerab /// /// The does not implement /// . - public static async Task> ToHashSetAsync(this IAsyncEnumerable source, IEqualityComparer? comparer) + public static async ValueTask> ToHashSetAsync(this IAsyncEnumerable source, IEqualityComparer? comparer) { var set = new HashSet(comparer); await foreach (var item in source) @@ -117,7 +117,7 @@ public static async Task> ToHashSetAsync(this IAsyncEn /// /// The does not implement /// . - public static async Task> ToListAsync(this IAsyncEnumerable source) + public static async ValueTask> ToListAsync(this IAsyncEnumerable source) { var list = new List(); await foreach (var item in source) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index b24450d7..352da327 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -20,6 +20,7 @@ Daniel Cazzulino + Devlooped Copyright (C) Daniel Cazzulino and Contributors. All rights reserved. false MIT diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index 6232750f..083afa69 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -165,6 +165,9 @@ @(_GitSourceRoot) + + $([System.IO.Path]::GetFileNameWithoutExtension($(PrivateRepositoryUrl))) + $(ProductFromUrl) @@ -175,9 +178,9 @@ Condition="'$(SourceControlInformationFeatureSupported)' == 'true' And '$(IsPackable)' == 'true'"> - $(RepositoryUrl) + $(RepositoryUrl.Replace('.git', '')) $(Description) - $(RepositoryUrl)/blob/main/changelog.md + $(RepositoryUrl.Replace('.git', ''))/blob/main/changelog.md