Skip to content

lfk: Add version 0.14.18#18155

Open
janosmiko wants to merge 1 commit into
ScoopInstaller:masterfrom
janosmiko:lfk-0.14.18
Open

lfk: Add version 0.14.18#18155
janosmiko wants to merge 1 commit into
ScoopInstaller:masterfrom
janosmiko:lfk-0.14.18

Conversation

@janosmiko

Copy link
Copy Markdown

Closes #17823

Adds a Scoop manifest for lfk v0.14.18 - a lightning-fast, keyboard-focused, yazi-inspired terminal UI for navigating and managing Kubernetes clusters (543 stars).

Manifest details:

  • Windows AMD64 and ARM64 downloads with verified SHA-256 hashes from the release checksums.txt.

  • bin: lfk.exe (the binary is at the zip root, no rename needed).

  • env_set maps config/state/data dirs under $persist_dir.

  • checkver + autoupdate configured for future releases.

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

  • I have read the Contributing Guide

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 78d504fb-33c8-46dd-8b40-bbc6af64d951

📥 Commits

Reviewing files that changed from the base of the PR and between 0fa451e and 47845e3.

📒 Files selected for processing (1)
  • bucket/lfk.json
✅ Files skipped from review due to trivial changes (1)
  • bucket/lfk.json

📝 Walkthrough

Walkthrough

Adds a Scoop manifest for lfk version 0.14.18. The manifest includes package metadata, Windows amd64 and arm64 download URLs with SHA-256 hashes, environment variable directory mappings, the executable name, GitHub-based version checking, and autoupdate URL and checksum templates.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise, specific, and matches the manifest version update in this PR.
Description check ✅ Passed The description includes the issue reference, summary, and required checklist items from the template.
Linked Issues check ✅ Passed The manifest satisfies the request for lfk with a stable version, standard install, English docs, and supported downloads.
Out of Scope Changes check ✅ Passed The PR only adds the requested Scoop manifest and no unrelated changes are present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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.

@coderabbitai coderabbitai Bot 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.

🧹 Nitpick comments (2)
bucket/lfk.json (2)

32-35: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Consider relying on Scoop's default hash extraction.

The explicit "regex": "$sha256 $basename\\n" works for standard sha256sum output, but it assumes a specific field ordering and spacing. Scoop's built-in $filenameRegex already handles basename matching and supports both <hash> <filename> and <filename> <hash> orderings. Unless the checksums.txt format deviates from standard patterns, you can simplify this block to just "url": "$baseurl/checksums.txt" and let the default extraction handle it.

Based on learnings, when autoupdate.hash.url points to a shared checksum file with multiple architecture entries, you typically do not need an explicit custom regex if the format matches standard patterns.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@bucket/lfk.json` around lines 32 - 35, The hash block uses a custom regex in
the Scoop manifest, but this can usually be simplified by relying on Scoop’s
default hash extraction. Update the hash configuration in the manifest so the
shared checksums file is consumed with only the URL, and remove the explicit
regex unless the checksum format truly needs custom parsing; use the existing
hash/autoupdate.hash handling in this manifest to keep it aligned with Scoop’s
built-in filename matching.

Source: Learnings


1-37: 🧹 Nitpick | 🔵 Trivial

Test guidance for manifest verification.

Before submission, please verify the manifest locally:

# Enable debug mode and set GitHub token (for releases API access)
scoop config debug true
scoop config gh_token <your-github-token>  # Read access only

# Force version detection and autoupdate check
.\bin\checkver.ps1 -App lfk -f

# Auto-format (lint) the JSON manifest
.\bin\formatjson.ps1 -App lfk

# Test installation for each architecture
scoop install bucket/lfk.json -a 64bit
scoop install bucket/lfk.json -a arm64

As per path instructions, these steps help catch autoupdate, formatting, and installation issues early.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@bucket/lfk.json` around lines 1 - 37, The manifest file includes test
guidance text that does not belong in a Scoop JSON manifest and should be
removed. Keep bucket/lfk.json limited to valid manifest fields such as version,
architecture, env_set, bin, checkver, and autoupdate, and move the verification
steps to documentation or the PR description instead of the manifest content.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@bucket/lfk.json`:
- Around line 32-35: The hash block uses a custom regex in the Scoop manifest,
but this can usually be simplified by relying on Scoop’s default hash
extraction. Update the hash configuration in the manifest so the shared
checksums file is consumed with only the URL, and remove the explicit regex
unless the checksum format truly needs custom parsing; use the existing
hash/autoupdate.hash handling in this manifest to keep it aligned with Scoop’s
built-in filename matching.
- Around line 1-37: The manifest file includes test guidance text that does not
belong in a Scoop JSON manifest and should be removed. Keep bucket/lfk.json
limited to valid manifest fields such as version, architecture, env_set, bin,
checkver, and autoupdate, and move the verification steps to documentation or
the PR description instead of the manifest content.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9df62e21-4f74-4642-b0ce-26d39c7cd03e

📥 Commits

Reviewing files that changed from the base of the PR and between feab9e8 and 0fa451e.

📒 Files selected for processing (1)
  • bucket/lfk.json

@janosmiko

Copy link
Copy Markdown
Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

lfk

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

Check the full log for details.

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]: lfk

1 participant