* [gentoo-commits] repo/gentoo:master commit in: app-shells/pwsh/files/
@ 2024-01-23 22:07 Maciej Barć
0 siblings, 0 replies; 2+ messages in thread
From: Maciej Barć @ 2024-01-23 22:07 UTC (permalink / raw
To: gentoo-commits
commit: 4b242137c900295e5b0b06cb29f583c997c01625
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 21:48:44 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 22:06:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b242137
app-shells/pwsh: format pwsh-7.3.3-copy-ref.fsx
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-shells/pwsh/files/pwsh-7.3.3-copy-ref.fsx | 41 +++++++++------------------
1 file changed, 14 insertions(+), 27 deletions(-)
diff --git a/app-shells/pwsh/files/pwsh-7.3.3-copy-ref.fsx b/app-shells/pwsh/files/pwsh-7.3.3-copy-ref.fsx
index eb33fc4884dc..127d6eb9444b 100644
--- a/app-shells/pwsh/files/pwsh-7.3.3-copy-ref.fsx
+++ b/app-shells/pwsh/files/pwsh-7.3.3-copy-ref.fsx
@@ -1,43 +1,30 @@
-// Copyright 1999-2023 Gentoo Authors
+// Copyright 1999-2024 Gentoo Authors
// Distributed under the terms of the GNU General Public License v2
-
open System.IO
open System.Runtime.InteropServices
+let args = fsi.CommandLineArgs |> Array.tail
-let args =
- fsi.CommandLineArgs |> Array.tail
-
-
-let wanted_directory =
- System.IO.Path.GetFullPath args.[0]
-
-printfn $" * Wanted directory: {wanted_directory}"
+let wantedDirectory = System.IO.Path.GetFullPath args.[0]
-System.IO.Directory.CreateDirectory wanted_directory
+printfn $" * Wanted directory: {wantedDirectory}"
+System.IO.Directory.CreateDirectory wantedDirectory
-let runtime_directory =
- RuntimeEnvironment.GetRuntimeDirectory ()
+let runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory()
-printfn $" * Runtime directory: {runtime_directory}"
+printfn $" * Runtime directory: {runtimeDirectory}"
-
-let runtime_files =
- System.IO.Directory.GetFiles runtime_directory
+let runtimeFiles =
+ System.IO.Directory.GetFiles runtimeDirectory
|> Array.filter (fun s -> s.EndsWith ".dll")
|> Array.sort
-printfn $" * Copying {runtime_files.Length} files"
-
-
-for runtime_file in runtime_files do
- let runtime_file_name =
- System.IO.Path.GetFileName runtime_file
+printfn $" * Copying {runtimeFiles.Length} files into {wantedDirectory}"
- let wanted_runtime_file =
- System.IO.Path.Join(wanted_directory, runtime_file_name)
+for runtime_file in runtimeFiles do
+ let runtimeFileName = System.IO.Path.GetFileName runtime_file
+ let wantedRuntimeFile = System.IO.Path.Join(wantedDirectory, runtimeFileName)
- FileInfo(runtime_file).CopyTo(wanted_runtime_file, true)
- |> ignore
+ FileInfo(runtime_file).CopyTo(wantedRuntimeFile, true) |> ignore
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-shells/pwsh/files/
@ 2024-12-23 20:01 Conrad Kostecki
0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2024-12-23 20:01 UTC (permalink / raw
To: gentoo-commits
commit: 4c9a9d0c0a036125ee9398581911f2a4abf3a2e8
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Dec 11 18:39:38 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Dec 23 19:50:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c9a9d0c
app-shells/pwsh: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/39684
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../files/pwsh-7.4.5-downgrade-codeanalysis.patch | 36 ----------------------
1 file changed, 36 deletions(-)
diff --git a/app-shells/pwsh/files/pwsh-7.4.5-downgrade-codeanalysis.patch b/app-shells/pwsh/files/pwsh-7.4.5-downgrade-codeanalysis.patch
deleted file mode 100644
index ac27709218a6..000000000000
--- a/app-shells/pwsh/files/pwsh-7.4.5-downgrade-codeanalysis.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-index 828bd16..95ab178 100644
---- a/src/System.Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj
-+++ b/src/System.Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj
-@@ -14,7 +14,7 @@
- </PropertyGroup>
-
- <ItemGroup>
-- <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" PrivateAssets="all" />
-+ <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />
- <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
- <!-- This section is to force the version of non-direct dependencies -->
- <PackageReference Include="Microsoft.NETCore.Platforms" Version="1.1.2" />
-index 2629c21..a2163f0 100644
---- a/src/System.Management.Automation/System.Management.Automation.csproj
-+++ b/src/System.Management.Automation/System.Management.Automation.csproj
-@@ -43,7 +43,7 @@
- <PackageReference Include="System.Security.AccessControl" Version="6.0.1" />
- <PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.0" />
- <PackageReference Include="System.Security.Permissions" Version="8.0.0" />
-- <PackageReference Include="System.Text.Encoding.CodePages" Version="8.0.0" />
-+ <PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
- <!-- the following package(s) are from the powershell org -->
- <PackageReference Include="Microsoft.Management.Infrastructure" Version="3.0.0" />
- <PackageReference Include="Microsoft.PowerShell.Native" Version="7.4.0" />
-index c1ab875..b742b0f 100644
---- a/test/tools/WebListener/WebListener.csproj
-+++ b/test/tools/WebListener/WebListener.csproj
-@@ -8,7 +8,7 @@
-
- <ItemGroup>
- <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
-- <PackageReference Include="System.Text.Encoding.CodePages" Version="8.0.0" />
-+ <PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
- </ItemGroup>
-
- <ItemGroup>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-23 20:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-23 20:01 [gentoo-commits] repo/gentoo:master commit in: app-shells/pwsh/files/ Conrad Kostecki
-- strict thread matches above, loose matches on Subject: below --
2024-01-23 22:07 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox