Skip to content

Sort the r2pm -l and -s listings ##r2pm - #27315

Merged
trufae merged 1 commit into
radareorg:masterfrom
Thanatos9404:r2pm-sorted-list
Nov 3, 2026
Merged

trufae merged 1 commit into
radareorg:masterfrom
Thanatos9404:r2pm-sorted-list

Conversation

@Thanatos9404

Copy link
Copy Markdown
Contributor
  • Mark this if you consider it ready to merge
  • I've added tests (optional)
  • I wrote some lines in the book (optional)

Description

r2pm -l and r2pm -s printed packages in readdir order, which depends on the filesystem. The new test "r2pm installs missing dependencies and stops when one fails" (123e467) expects depapp before depok, but on ext4 -ql can list depok first. So linux-test and ubuntu-tcc-test fail on some runs of unrelated PRs, for example #27313. Both listings are now sorted by name, so the output and the test are stable.

Testing

  • db/tools/r2pm fails on master on an ext4 WSL box in 3 of 3 runs. With this change it passes in 3 of 3: 34 OK, 0 XX.
  • r2r db/tools: 0 failures. sys/lint.py --all is clean.

Both printed packages in readdir order, which depends on the
filesystem, so the "r2pm installs missing dependencies and stops when
one fails" test listed depok before depapp on ext4 and failed.
@trufae
trufae merged commit 7d80691 into radareorg:master Nov 3, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants