Commit graph

19 commits

Author SHA1 Message Date
GaltRanch
9886c66d4e Harden GitHub Actions workflow security
- Replace pipe-to-shell Poetry install with download-then-execute pattern
- Remove --password flag that exposed PyPI token in logs
- Use POETRY_PYPI_TOKEN_PYPI env var instead (Poetry reads it natively)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 11:59:47 -03:00
GaltRanch
7366e9fe9c Refactor architecture: config singleton, logging, menu system, dependencies
Major improvements across 7 areas:

- Add centralized Config singleton (config.py) replacing ~176 config
  reloads per session with a single cached load
- Add logging framework (log.py) with RotatingFileHandler, replacing
  silent except Exception: pass blocks with structured logging
- Refactor menu system (menu.py) with data-driven color selection,
  eliminating ~1,370 lines of duplicate menu functions
- Create shared/ modules extracting 7 utility functions duplicated
  between PyBlock.py and SPV/spvblock.py
- Clean dependencies: pin all versions, remove stdlib packages
  (asyncio, threading), remove unused imports
- Improve Docker: pin ubuntu:24.04, add non-root user, use venv
- Improve CI: update to actions v4/v5, add test job before publish
- Fix entry point: wrap main loop in def main(), proper module import

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 10:58:24 -03:00
curly60e
58c708f3d7
Update python-publish.yml 2024-07-27 08:52:42 -03:00
curly60e
6bd6fe229c
Update python-publish.yml 2024-07-26 19:36:03 -03:00
curly60e
35ca0677fd
Update python-publish.yml 2024-07-26 19:34:18 -03:00
curly60e
19d2850531
Update python-publish.yml 2024-07-26 19:33:53 -03:00
curly60e
e481163bed
Update python-publish.yml 2024-07-26 19:31:49 -03:00
curly60e
720fc07549
Update python-publish.yml 2024-07-26 19:28:22 -03:00
curly60e
9b97923198
Update python-publish.yml 2024-07-26 19:27:22 -03:00
curly60e
261e203e0c
Update python-publish.yml 2024-07-23 19:22:53 -03:00
curly60e
3456cd422b
Update python-publish.yml 2024-07-23 19:21:29 -03:00
curly60e
63c8d7eff5
Update python-publish.yml 2024-07-23 19:20:11 -03:00
curly60e
dc942c87a3
Update python-publish.yml 2024-07-23 19:16:22 -03:00
curly60e
bb75f84c86
Update python-publish.yml 2024-07-23 19:12:57 -03:00
curly60e
ba288ce39e
Update python-publish.yml 2024-07-23 19:09:20 -03:00
curly60e
b3867c7c4e
Update python-publish.yml 2024-07-19 14:34:24 -03:00
curly60e
8cfd198e3a
Update python-publish.yml 2024-07-19 14:22:18 -03:00
curly60e
c0bd62c11a
Update python-publish.yml 2024-07-19 14:12:48 -03:00
Satoshi Nakamoto
e60f0ef6c9
Create python-publish.yml 2024-07-16 17:53:36 +02:00