Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions bucket/winuxcmd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"version": "0.12.0",
"description": "Linux-style command set for Windows terminals.",
"homepage": "https://github.com/caomengxuan666/WinuxCmd",
"license": "MIT",
Comment on lines +1 to +5

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check GitHub repository stars count to verify acceptance criteria.

# Fetch repository information including stars count
gh api repos/caomengxuan666/WinuxCmd --jq '{stars: .stargazers_count, is_archived: .archived, default_branch: .default_branch, description: .description}'

Repository: ScoopInstaller/Extras

Length of output: 225


🏁 Script executed:

#!/bin/bash
# Check latest GitHub release (stable vs pre-release/alpha)
gh api repos/caomengxuan666/WinuxCmd/releases --paginate=false --jq \
'([.[] | {tag:.tag_name, prerelease:.prerelease, published_at:.published_at, name:.name}]) | .[0:5]'

Repository: ScoopInstaller/Extras

Length of output: 567


🏁 Script executed:

#!/bin/bash
set -euo pipefail

FILE="bucket/winuxcmd.json"

echo "== File info =="
stat "$FILE" || true
file "$FILE" || true

echo
echo "== CRLF check =="
python3 - <<'PY'
p="bucket/winuxcmd.json"
data=open(p,'rb').read()
crlf=data.count(b"\r\n")
lf=data.count(b"\n")
print("bytes",len(data))
print("CRLF_count",crlf)
print("LF_count",lf)
print("has_CR", b"\r" in data)
PY

echo
echo "== Header (lines 1-60) =="
nl -ba "$FILE" | sed -n '1,60p'

echo
echo "== checkver/autoupdate block (search) =="
rg -n '"checkver"|"autoupdate"|"github"|"url"' "$FILE" || true

echo
echo "== Snippet around checkver/autoupdate (lines 20-120) =="
nl -ba "$FILE" | sed -n '20,120p'

Repository: ScoopInstaller/Extras

Length of output: 323


🏁 Script executed:

#!/bin/bash
set -euo pipefail

FILE="bucket/winuxcmd.json"

echo "== Tools sanity =="
command -v rg >/dev/null && echo "rg: yes" || echo "rg: no"
command -v cat >/dev/null && echo "cat: yes" || echo "cat: no"

echo
echo "== Header (first ~80 lines, with cat) =="
sed -n '1,120p' "$FILE" || true

echo
echo "== Manifest metadata / issue link search =="
rg -n 'package-request|Extras/issues/new|github\.com/.+?/issues/|#\d+' "$FILE" || true

echo
echo "== checkver/autoupdate field search =="
rg -n '"checkver"|"autoupdate"|"github"|"url"|"extract_dir"' "$FILE" || true

echo
echo "== checkver/autoupdate snippet (lines 1-200) =="
sed -n '1,200p' "$FILE" || true

echo
echo "== checkver.github vs url (python parse quick scan) =="
python3 - <<'PY'
import json
p="bucket/winuxcmd.json"
with open(p,'r',encoding='utf-8') as f:
    data=json.load(f)

# dump keys relevant
def dump_block(name):
    b=data.get(name)
    print(name, "type:", type(b).__name__)
    if isinstance(b, dict):
        print("keys:", sorted(b.keys()))
        if "github" in b: print("github:", b["github"])
        if "url" in b: print("url:", b["url"])
        if "version" in b: print("version:", b["version"])
        if "extract_dir" in b: print("extract_dir:", b["extract_dir"])

dump_block("checkver")
dump_block("autoupdate")
PY

Repository: ScoopInstaller/Extras

Length of output: 4548


Link a package-request issue for the new manifest

🤖 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/winuxcmd.json` around lines 1 - 5, The new manifest winuxcmd.json
needs a linked package-request issue referenced; update the PR description to
include a package-request issue created via the provided URL
(https://github.com/ScoopInstaller/Extras/issues/new?labels=package-request&template=package-request.yml&title=%5BRequest%5D%3A+)
and add a link to that issue in the manifest (e.g., add an "issue" or
"package_request" field in winuxcmd.json with the issue number or full issue URL
such as "`#123`" or "https://github.com/.../issues/123") so reviewers can trace
this package-request.

"architecture": {
"64bit": {
"url": "https://github.com/caomengxuan666/WinuxCmd/releases/download/v0.12.0/WinuxCmd-0.12.0-win-x64.zip",
"hash": "55d00ed7367cc404f39fcf3fb8f35f29a50f0e6373e48b59412a29ec98e50fd5",
"extract_dir": "WinuxCmd-0.12.0-win-x64"
},
"arm64": {
"url": "https://github.com/caomengxuan666/WinuxCmd/releases/download/v0.12.0/WinuxCmd-0.12.0-win-arm64.zip",
"hash": "f2bd6f4f64048936e2336da2dbdaa8f1b365c57e6fdcf33fe12f808f994639b5",
"extract_dir": "WinuxCmd-0.12.0-win-arm64"
}
},
"post_install": [
"Push-Location $dir",
".\\create_links.ps1 -Force",
"Pop-Location"
],
"env_add_path": ".",
"bin": "winuxcmd.exe",
"checkver": {
"github": "https://github.com/caomengxuan666/WinuxCmd"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/caomengxuan666/WinuxCmd/releases/download/v$version/WinuxCmd-$version-win-x64.zip",
"extract_dir": "WinuxCmd-$version-win-x64"
},
"arm64": {
"url": "https://github.com/caomengxuan666/WinuxCmd/releases/download/v$version/WinuxCmd-$version-win-arm64.zip",
"extract_dir": "WinuxCmd-$version-win-arm64"
}
}
}
}