Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions .aliasesrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ alias zipcat="unzip -p"

### ZStandard (zstd).

alias tarzs-rm="tar -cv --remove-files --zstd -f"
alias tarzs="tar -cv --zstd -f"
alias tar-lz4="tar -I lz4"
alias tar-zs-rm="tar -cv --remove-files --zstd -f"
alias tar-zs="tar -cv --zstd -f"
alias zs="zstd -18 -T0"
alias zscat="zstdcat --long=31"
alias zsless="zstdless"
Expand Down
1 change: 1 addition & 0 deletions .ansible/playbooks/tasks/eget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
pandoc: "-a linux-{{ 'amd64' if eget_arch == 'x86_64' else 'arm64' }}.tar.gz jgm/pandoc"
pearld: "--tag pearl-wallet-v1.0.0 -a .tar.gz --file pearld --to pearld pearl-research-labs/pearl"
prlctl: "--tag pearl-wallet-v1.0.0 -a .tar.gz --file prlctl --to prlctl pearl-research-labs/pearl"
reth: "-a {{ 'aarch64' if eget_arch == 'arm64' else eget_arch }}-unknown-linux-gnu.tar.gz -a ^.asc paradigmxyz/reth"

Check failure on line 104 in .ansible/playbooks/tasks/eget.yml

View workflow job for this annotation

GitHub Actions / check / Pre-commit

yaml[line-length]

Line too long (122 > 120 characters)

Check warning on line 104 in .ansible/playbooks/tasks/eget.yml

View workflow job for this annotation

GitHub Actions / check / Pre-commit

104:121 [line-length] line too long (122 > 120 characters)

Check failure on line 104 in .ansible/playbooks/tasks/eget.yml

View workflow job for this annotation

GitHub Actions / check / Pre-commit

yaml[line-length]

Line too long (122 > 120 characters)

Check warning on line 104 in .ansible/playbooks/tasks/eget.yml

View workflow job for this annotation

GitHub Actions / check / Pre-commit

104:121 [line-length] line too long (122 > 120 characters)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Resolve the YAML line-length failures before merge.

Both changed lines exceed the enforced 120-character limit and currently fail pre-commit.

  • .ansible/playbooks/tasks/eget.yml#L104-L104: split the Reth mapping with a folded scalar.
  • .ansible/variables-example.yml#L173-L173: move the description to a separate comment or shorten it.
🧰 Tools
🪛 GitHub Actions: Check / 0_check _ Pre-commit.txt

[error] 104-104: ansible-lint (yaml[line-length]) failed: Line too long (122 > 120 characters).

🪛 GitHub Actions: Check / check _ Pre-commit

[warning] 104-104: ansible-lint (yaml[line-length]) Line too long (122 > 120 characters).

🪛 GitHub Check: check / Pre-commit

[failure] 104-104: yaml[line-length]
Line too long (122 > 120 characters)


[warning] 104-104:
104:121 [line-length] line too long (122 > 120 characters)

📍 Affects 2 files
  • .ansible/playbooks/tasks/eget.yml#L104-L104 (this comment)
  • .ansible/variables-example.yml#L173-L173
🤖 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 @.ansible/playbooks/tasks/eget.yml at line 104, Resolve the YAML line-length
violations: in .ansible/playbooks/tasks/eget.yml lines 104-104, split the reth
mapping using a folded scalar while preserving its value; in
.ansible/variables-example.yml lines 173-173, move the description to a separate
comment or shorten it so both lines remain within 120 characters.

Sources: Linters/SAST tools, Pipeline failures


🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== locates file =="
git ls-files '.ansible/playbooks/tasks/eget.yml' || true

echo "== relevant lines =="
if [ -f '.ansible/playbooks/tasks/eget.yml' ]; then
  nl -ba .ansible/playbooks/tasks/eget.yml | sed -n '80,120p'
fi

echo "== eget_arch / reth references =="
rg -n "eget_arch|reth|arm-unknown-linux-gnu|x86_64|aarch64|arm64" .ansible || true

echo "== playbook/task context around package list/defaults =="
rg -n "packages|example|pkg|install|reth|arch" .ansible/playbooks -S || true

Repository: kenorb/dotfiles

Length of output: 267


🌐 Web query:

paradigmxyz reth GitHub releases ARM Linux x86_64 aarch64 assets

💡 Result:

The paradigmxyz/reth project provides pre-built binaries for its releases on GitHub, which include assets for both Linux (x86_64 and aarch64) and macOS (aarch64) [1][2]. As of the latest releases (e.g., v2.4.1), the following Linux assets are typically provided in the GitHub release attachments: x86_64: reth-v-x86_64-unknown-linux-gnu.tar.gz [1][2] aarch64: reth-v-aarch64-unknown-linux-gnu.tar.gz [1][2] Each binary archive is accompanied by a PGP signature file (with a.asc extension) to verify its authenticity [1][2]. The project also publishes container images via the GitHub Container Registry (ghcr.io/paradigmxyz/reth) as an alternative to downloading static binaries [1][2]. Users should refer to the official documentation at reth.rs/installation/binaries for detailed instructions on verification and installation [1][2]. Note that Windows support was removed in earlier versions [3].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== relevant lines =="
awk '{printf "%6d  %s\n", NR, $0}' .ansible/playbooks/tasks/eget.yml | sed -n '80,120p'

echo "== line 104 character count and content =="
awk 'NR==104 {printf "%d chars: %s\n", length($0), $0}' .ansible/playbooks/tasks/eget.yml

echo "== eget_arch / reth references =="
grep -RInE "eget_arch|reth|arm-unknown-linux-gnu|x86_64|aarch64|arm64" .ansible || true

echo "== playbook/task context around package list/defaults =="
grep -RInE "packages|example|package|install|reth|arch" .ansible/playbooks || true

Repository: kenorb/dotfiles

Length of output: 17413


Fail when installing Reth on 32-bit ARM.

reth is included in the default package list, and this mapping falls back to arm-unknown-linux-gnu.tar.gz for 32-bit ARM, but Reth releases provide Linux binaries only for x86_64 and aarch64. Fail explicitly when reth is requested with eget_arch == 'arm', or omit it from that architecture’s package set.

🧰 Tools
🪛 GitHub Actions: Check / 0_check _ Pre-commit.txt

[error] 104-104: ansible-lint (yaml[line-length]) failed: Line too long (122 > 120 characters).

🪛 GitHub Actions: Check / check _ Pre-commit

[warning] 104-104: ansible-lint (yaml[line-length]) Line too long (122 > 120 characters).

🪛 GitHub Check: check / Pre-commit

[failure] 104-104: yaml[line-length]
Line too long (122 > 120 characters)


[warning] 104-104:
104:121 [line-length] line too long (122 > 120 characters)

🤖 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 @.ansible/playbooks/tasks/eget.yml at line 104, Update the Reth package
configuration in the `reth` entry to explicitly fail when `eget_arch` is `arm`,
rather than constructing the unsupported `arm-unknown-linux-gnu` archive name;
preserve the existing x86_64 and aarch64 mapping behavior.

Source: MCP tools

rg: "-a {{ eget_plain_arch }}-unknown-linux-musl.tar.gz BurntSushi/ripgrep"
rga: >-
-a ripgrep_all
Expand Down
1 change: 1 addition & 0 deletions .ansible/variables-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@
- pandoc # Universal markup converter (jgm/pandoc)
- pearld # Pearl Full node (pearl-research-labs/pearl)
- prlctl # Pearl Control utility (pearl-research-labs/pearl)
- reth # Modular, contributor-friendly, and blazing-fast implementation of the Ethereum protocol (paradigmxyz/reth)

Check failure on line 173 in .ansible/variables-example.yml

View workflow job for this annotation

GitHub Actions / check / Pre-commit

yaml[line-length]

Line too long (125 > 120 characters)

Check warning on line 173 in .ansible/variables-example.yml

View workflow job for this annotation

GitHub Actions / check / Pre-commit

173:121 [line-length] line too long (125 > 120 characters)

Check failure on line 173 in .ansible/variables-example.yml

View workflow job for this annotation

GitHub Actions / check / Pre-commit

yaml[line-length]

Line too long (125 > 120 characters)

Check warning on line 173 in .ansible/variables-example.yml

View workflow job for this annotation

GitHub Actions / check / Pre-commit

173:121 [line-length] line too long (125 > 120 characters)
- rg # ripgrep recursively searches directories for a regex pattern (BurntSushi/ripgrep)
- rga # ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc. (phiresky/ripgrep-all)
- tealdeer # A fast tldr client written in Rust (dbrgn/tealdeer)
Expand Down
Loading