Skip to content

fix: restore rugguard.py release shim#52

Open
leo-guinan wants to merge 27 commits into
codegraphtheory:mainfrom
leo-guinan:fix/restore-rugguard-release-shim
Open

fix: restore rugguard.py release shim#52
leo-guinan wants to merge 27 commits into
codegraphtheory:mainfrom
leo-guinan:fix/restore-rugguard-release-shim

Conversation

@leo-guinan

Copy link
Copy Markdown
Contributor

Summary

  • restores scripts/rugguard.py as a legacy launcher/import shim after the package refactor
  • adds scripts/rugguard.py to release assets so the documented releases/latest/download/rugguard.py path can work again on the next tag
  • preserves the historical scripts/-first import pattern used by the current test suite

Bounty / issue target

Verification

  • uv run ruff check scripts/rugguard.py
  • uv run pytest -q -k "not slow" -> 43 passed, 7 deselected
  • uv run pytest -q tests/test_checks.py::TestCLI::test_cli_help -> 1 passed
  • uv build -> built sdist and wheel; wheel includes scripts/rugguard.py

Note

A live BONK CLI JSON test timed out against public RPC in 60s during verification; the shim itself was verified with help/import/unit/build paths. Public RPC remains the miserable little bottleneck, as usual.

leo-guinan and others added 27 commits June 4, 2026 11:08
- Add YAML-based bug report template with structured fields
- Add YAML-based feature/bounty request template with acceptance criteria
- Add config.yml (blank issues disabled)
- Triage all 6 open issues: label, comment, accept/reject
- Bug codegraphtheory#7, codegraphtheory#9 labeled and accepted
- Documentation codegraphtheory#8 labeled and accepted
- Bounties codegraphtheory#12, codegraphtheory#13 labeled and accepted
- Bug codegraphtheory#6 confirmed fixed and closed by PR codegraphtheory#10
- Remove unused dex_name variable (fixes F841 ruff error)
- Add complementary LIQ_VOL_RATIO_MIN check for inactive/dead pool detection
- Add mock-based tests for GPA holder fallback and DexScreener scoring
- Document SOLANA_RUG_LIQ_VOL_RATIO_MIN env var in README

Co-authored-by: KHHH2312 <khhh2312@users.noreply.github.com>
Closes codegraphtheory#22

Adds a 24h price sparkline to `--markdown` output using Unicode block characters. Renders from DexScreener `price_change_24h` data with green/red color prefix for strong moves. No new dependencies.

Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
…ory#24)

Closes codegraphtheory#24

Adds --export csv/jsonl to token and wallet commands. Both format flags and --export=value shorthand supported. 32 tests pass, ruff clean.
Co-authored-by: copernicusjones <copernicusjones@users.noreply.github.com>
Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
…degraphtheory#23)

Closes codegraphtheory#23. Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
…ory#29)

Closes codegraphtheory#29. Co-authored-by: KHHH2312 <khhh2312@users.noreply.github.com>
Closes codegraphtheory#27. Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
Closes codegraphtheory#26. Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
…ixes codegraphtheory#25)

Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
…degraphtheory#28)

Closes codegraphtheory#28. Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
Co-authored-by: a11ce <a11ce@users.noreply.github.com>
- Fix ruff import ordering in scripts/solana-rug.py
- Update CI to run all test files (test_checks.py + test_telegram_bot.py)
- Update release workflow to ship solana-rug.py instead of rugguard.py
- Remove old solana_rug/ package wrapper (replaced by rugguard/)
Remove scripts/rugguard.py (old monolithic file, replaced by rugguard/ package),
scripts/rugguard.py.rej, and tests/test_checks.py.rej (leftover patch rejects).
- Remove stale scripts/rugguard.py, .rej files
- Re-export all private test helpers in rugguard.__init__
- Fix test_holder_fallback_gpa to patch onchain module directly
- Update __all__ to include all re-exported symbols
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.

4 participants