-
Notifications
You must be signed in to change notification settings - Fork 1.7k
osmonitor@10.6.23: Add new manifest #17942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,32 @@ | ||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||
| "version": "10.6.23", | ||||||||||||||||||||||||||||||||||||||||
| "description": "Centralized IT administration and network management console for enterprise LANs (10-Day Trial Version).", | ||||||||||||||||||||||||||||||||||||||||
| "homepage": "https://www.os-monitor.com", | ||||||||||||||||||||||||||||||||||||||||
| "license": "Shareware", | ||||||||||||||||||||||||||||||||||||||||
| "url": "https://www.os-monitor.com/OsMonitorServerSetup10.6.23.exe", | ||||||||||||||||||||||||||||||||||||||||
| "hash": "51f1371c90667ac4f80a7597e777260dd83e4893a70c2c7276fbc7ac8c2999fc", | ||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+2
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add The top-level Suggested structure {
"version": "10.6.23",
@@
- "url": "https://www.os-monitor.com/OsMonitorServerSetup10.6.23.exe",
+ "url": "https://www.os-monitor.com/OsMonitorServerSetup10.6.23.exe",
"hash": "51f1371c90667ac4f80a7597e777260dd83e4893a70c2c7276fbc7ac8c2999fc",
+ "checkver": {
+ "url": "https://www.os-monitor.com",
+ "regex": "OsMonitorServerSetup([\\d.]+)\\.exe"
+ },
+ "autoupdate": {
+ "url": "https://www.os-monitor.com/OsMonitorServerSetup$version.exe"
+ },As per coding guidelines, “If the top-level 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||
| "installer": { | ||||||||||||||||||||||||||||||||||||||||
| "args": [ | ||||||||||||||||||||||||||||||||||||||||
| "/VERYSILENT", | ||||||||||||||||||||||||||||||||||||||||
| "/SUPPRESSMSGBOXES", | ||||||||||||||||||||||||||||||||||||||||
| "/NORESTART", | ||||||||||||||||||||||||||||||||||||||||
| "/SP-", | ||||||||||||||||||||||||||||||||||||||||
| "/DIR="$dir"" | ||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify manifest parses as valid JSON
jq . bucket/osmonitor.jsonRepository: ScoopInstaller/Extras Length of output: 124 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "== Lines 1-60 of bucket/osmonitor.json =="
nl -ba bucket/osmonitor.json | sed -n '1,60p'
echo
echo "== Search for key fields in bucket/osmonitor.json =="
rg -n --hidden --no-ignore bucket/osmonitor.json -S "autoupdate|description|extract_dir|architecture\\.|^\\s*url\\s*:|\"url\"\\s*:|/OsMonitorServerSetup|DIR\\\"|\\$dir"
echo
echo "== Line ending check (CRLF vs LF) =="
python3 - <<'PY'
from pathlib import Path
p = Path("bucket/osmonitor.json")
b = p.read_bytes()
crlf = b.count(b"\r\n")
lf = b.count(b"\n")
print("bytes:", len(b))
print("CRLF count:", crlf)
print("LF count:", lf)
print("Has any bare CR (\\r not part of CRLF):", (b.count(b"\r") - crlf) > 0)
PYRepository: ScoopInstaller/Extras Length of output: 168 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "== Exact content of bucket/osmonitor.json with line numbers (lines 1-40) =="
python3 - <<'PY'
from pathlib import Path
p = Path("bucket/osmonitor.json")
lines = p.read_text(encoding="utf-8", errors="replace").splitlines()
for i in range(1, min(41, len(lines)+1)):
print(f"{i:>3}: {lines[i-1]}")
PY
echo
echo "== Search key fields =="
python3 - <<'PY'
from pathlib import Path
import re
text = Path("bucket/osmonitor.json").read_text(encoding="utf-8", errors="replace")
patterns = [
r'"autoupdate"\s*:',
r'"description"\s*:',
r'architecture\.[^.]+\.url',
r'(^\s*url\s*:)',
r'/OsMonitorServerSetup',
r'DIR\"|DIR"',
r'\$dir\b',
r'OsMonitorServerSetup\d+(\.\d+)*'
]
for pat in patterns:
m = re.search(pat, text, flags=re.M)
print(f"{pat}: {'MATCH' if m else 'no match'}")
PY
echo
echo "== Line ending check (CRLF vs LF) =="
python3 - <<'PY'
from pathlib import Path
b = Path("bucket/osmonitor.json").read_bytes()
crlf = b.count(b"\r\n")
lf = b.count(b"\n")
bare_cr = b.count(b"\r") - crlf
print("bytes:", len(b))
print("CRLF count:", crlf)
print("LF count:", lf)
print("Has bare CR:", bare_cr > 0, "(bare_cr_count=", bare_cr, ")")
PY
echo
echo "== Show raw bytes for line 14 (to pinpoint the JSON issue) =="
python3 - <<'PY'
from pathlib import Path
b = Path("bucket/osmonitor.json").read_bytes().splitlines(keepends=False)
i = 14
if i <= len(b):
line = b[i-1]
print("Line 14 bytes:", line)
try:
print("Line 14 decoded:", line.decode('utf-8', errors='replace'))
except Exception as e:
print("Decode error:", e)
else:
print("File has only", len(b), "lines")
PYRepository: ScoopInstaller/Extras Length of output: 1708 Fix invalid JSON in Line 14 contains invalid JSON string escaping ( Suggested fix- "/DIR="$dir""
+ "/DIR=\"$dir\""Also, there’s no Contribution docs: 📝 Committable suggestion
Suggested change
🧰 Tools🪛 Biome (2.4.15)[error] 14-14: expected (parse) [error] 14-14: expected (parse) 🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||
| "uninstaller": { | ||||||||||||||||||||||||||||||||||||||||
| "file": "unins000.exe", | ||||||||||||||||||||||||||||||||||||||||
| "args": [ | ||||||||||||||||||||||||||||||||||||||||
| "/VERYSILENT", | ||||||||||||||||||||||||||||||||||||||||
| "/SUPPRESSMSGBOXES", | ||||||||||||||||||||||||||||||||||||||||
| "/NORESTART" | ||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||
| "bin": "OsMonitorServer.exe", | ||||||||||||||||||||||||||||||||||||||||
| "shortcuts": [ | ||||||||||||||||||||||||||||||||||||||||
| [ | ||||||||||||||||||||||||||||||||||||||||
| "OsMonitorServer.exe", | ||||||||||||||||||||||||||||||||||||||||
| "OsMonitor Management Console" | ||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link the required package-request issue for this new manifest.
This is a newly added manifest, but the provided PR context does not show a linked issue number/URL in the description or PR body. Please add one.
Use:
https://github.com/ScoopInstaller/Extras/issues/new?labels=package-request&template=package-request.yml&title=%5BRequest%5D%3A+
Also see:
As per coding guidelines, for a newly added manifest you must include a linked package request issue in the description or PR body.
🤖 Prompt for AI Agents