Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

IcingaForWindows.ps1 - Problems with $env:temp

オープン
#762 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@LordHepipud がすでに取り組んでいます。

2025年4月22日 から。

評価

この issue はまだ評価されていません。

説明

Bug Investigation

I'm trying to install the Icinga Framework for Windows using the script IcingaForWindows.ps1.

However it seems to use the variable $env:temp everywhere to write temporary files in to the user's temp directory.

This causes problems on our systems as the usernames seem to be garbled up by Powershell, e.g. the username t.bruns-t2 becomes C:\Users\T6CBA~1.BRU\AppData\Local\Temp and this causes problems like this one:

Remove-Item : An object at the specified path C:\Users\T6CBA~1.BRU does not exist.

This is probably because of https://github.com/PowerShell/PowerShell/issues/17359#issuecomment-2070911310

Is there a way to consistently use a well-known directory like C:\Windows\Temp?

主要言語
PowerShell
スター
86
フォーク
34
平均マージ
1時間 31分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Icinga/icinga-powershell-framework のほかの issue

Icinga/icinga-powershell-framework の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。