Skip to content

ci: first-run fixes and temporary test-repository default - #2

Merged
BartoszBlizniak merged 1 commit into
initfrom
ci-fixes
Jul 7, 2026
Merged

BartoszBlizniak merged 1 commit into
initfrom
ci-fixes

Conversation

@BartoszBlizniak

Copy link
Copy Markdown
Member

Single squashed commit:

  • PSScriptAnalyzer: rename Test-ZipEntries → Test-ZipArchive, inline the directory-creation helper
  • Tests: add gzip/gunzip/cat to the restricted-PATH wget stubs; update remaining --version assertions to the real CLI output format
  • Default repository temporarily points at the test repo (TODO reverts before release)

Verified locally: end-to-end install of the real 1.19.2 binary from the test repo, ShellCheck/PSScriptAnalyzer-parse clean.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings July 7, 2026 10:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the installer tests and Windows installer script to better match current CLI behavior and to address first-run/tooling issues, while also changing the default download repository to a temporary test repository.

Changes:

  • Tests: expand the restricted-PATH command set and update --version assertions to match the current CLI output format.
  • Shell installer: change DEFAULT_REPOSITORY (currently to a test repo).
  • PowerShell installer: rename Test-ZipEntries → Test-ZipArchive and inline directory creation calls.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/install.bats Adds gzip/gunzip/cat to restricted PATH stubs; updates CLI --version assertions to match real output.
install.sh Changes the default repository used to construct download URLs.
install.ps1 Updates default repository; renames the zip-validation function and inlines directory creation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread install.sh
Comment thread install.ps1
- PSScriptAnalyzer: rename Test-ZipEntries to Test-ZipArchive, inline the
  directory-creation helper
- tests: add gzip/gunzip/cat to the restricted-PATH wget stubs; update
  remaining --version assertions to the real CLI output format
- default repository temporarily points at the test repo (TODO reverts
  before release)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@BartoszBlizniak
BartoszBlizniak merged commit 65e2330 into init Jul 7, 2026
11 checks passed
@BartoszBlizniak
BartoszBlizniak deleted the ci-fixes branch July 7, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants