Skip to content

git-flow-next: Add version 1.0.0#7683

Merged
z-Fng merged 1 commit intoScoopInstaller:masterfrom
z-Fng:add-git-flow-next
Feb 25, 2026
Merged

git-flow-next: Add version 1.0.0#7683
z-Fng merged 1 commit intoScoopInstaller:masterfrom
z-Fng:add-git-flow-next

Conversation

@z-Fng
Copy link
Member

@z-Fng z-Fng commented Feb 25, 2026

Relates to:

  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

Summary by CodeRabbit

  • Chores
    • Added Windows platform configuration enabling automatic updates and version checking for both 32-bit and 64-bit architectures.

@github-actions
Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

git-flow-next

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

Check the full log for details.

@z-Fng z-Fng force-pushed the add-git-flow-next branch from 4ae6027 to 34ada17 Compare February 25, 2026 14:40
@z-Fng
Copy link
Member Author

z-Fng commented Feb 25, 2026

/verify

@github-actions
Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

git-flow-next

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

Check the full log for details.

@z-Fng
Copy link
Member Author

z-Fng commented Feb 25, 2026

@coderabbitai review

@coderabbitai
Copy link

coderabbitai bot commented Feb 25, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai
Copy link

coderabbitai bot commented Feb 25, 2026

📝 Walkthrough

Walkthrough

A new JSON manifest file for git-flow-next is added to enable package distribution and version management. The manifest specifies release metadata, architecture-specific Windows binary downloads with checksums, installation configuration, version checking against GitHub releases, and autoupdate settings.

Changes

Cohort / File(s) Summary
git-flow-next Package Manifest
bucket/git-flow-next.json
New JSON manifest file containing version metadata, 64-bit and 32-bit Windows download URLs with SHA256 hashes, pre-install script for executable naming, version checking configuration pointing to GitHub releases, and autoupdate block with architecture-specific release assets.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: adding git-flow-next version 1.0.0 to the repository, which is the primary objective of the PR.
Description check ✅ Passed The PR description includes linked issues and confirms adherence to PR conventions and contributing guide, fulfilling template requirements.
Linked Issues check ✅ Passed The PR adds a manifest file for git-flow-next version 1.0.0 meeting all criteria from issue #7684, including proper package metadata, download URLs, checksums, and autoupdate configuration.
Out of Scope Changes check ✅ Passed The PR only adds a single manifest file for git-flow-next, which is directly in scope with the linked issue requesting addition of this tool.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
bucket/git-flow-next.json (1)

16-16: pre_install lacks error handling for glob failures.

The glob pattern git-flow*.exe successfully matches the current release executable (git-flow-v1.0.0-windows-amd64.exe), so the install currently works. However, if Get-ChildItem returns no matches, Select-Object -First 1 pipes $null to Rename-Item, which silently does nothing instead of failing the install — leaving the script in a broken state without any error feedback.

Adding explicit validation prevents silent failures:

Proposed improvement with explicit error handling
-    "pre_install": "Get-ChildItem \"$dir\\git-flow*.exe\" | Select-Object -First 1 | Rename-Item -NewName 'git-flow.exe'",
+    "pre_install": "$src = Get-ChildItem \"$dir\\git-flow*.exe\" | Select-Object -First 1; if (-not $src) { throw 'git-flow executable not found in package' }; $src | Rename-Item -NewName 'git-flow.exe'",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@bucket/git-flow-next.json` at line 16, pre_install currently pipes
Get-ChildItem "git-flow*.exe" through Select-Object -First 1 straight into
Rename-Item which silently does nothing if no file matched; modify the
pre_install script to capture the result of Get-ChildItem (with the same glob)
into a variable, check whether that variable is null/empty, and if so fail/exit
with a clear error message, otherwise call Rename-Item on the found file;
reference the existing commands Get-ChildItem, Select-Object -First 1, and
Rename-Item (and the pre_install entry) so the validation and explicit error
path are added in place of the current one-liner.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@bucket/git-flow-next.json`:
- Line 16: pre_install currently pipes Get-ChildItem "git-flow*.exe" through
Select-Object -First 1 straight into Rename-Item which silently does nothing if
no file matched; modify the pre_install script to capture the result of
Get-ChildItem (with the same glob) into a variable, check whether that variable
is null/empty, and if so fail/exit with a clear error message, otherwise call
Rename-Item on the found file; reference the existing commands Get-ChildItem,
Select-Object -First 1, and Rename-Item (and the pre_install entry) so the
validation and explicit error path are added in place of the current one-liner.

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c8fd132 and 34ada17.

📒 Files selected for processing (1)
  • bucket/git-flow-next.json

@z-Fng z-Fng merged commit 30472f4 into ScoopInstaller:master Feb 25, 2026
3 checks passed
@z-Fng z-Fng deleted the add-git-flow-next branch February 25, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: git-flow-next

1 participant