fix: update paths in installer, tests, and workflows for package rename

- Update install.sh to copy from src/ble_reticulum/
- Update test files with new source paths
- Update GitHub workflows for new package structure
- Remove temporary refactoring helper scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
torlando-tech 2025-12-29 23:58:18 -05:00
commit 463383dc39
14 changed files with 26 additions and 1217 deletions

View file

@ -137,7 +137,7 @@ jobs:
mkdir -p ~/.reticulum/interfaces || exit 1
echo ' [6/8] Copying interface files...'
cp -v src/RNS/Interfaces/*.py ~/.reticulum/interfaces/ || exit 1
cp -v src/ble_reticulum/*.py ~/.reticulum/interfaces/ || exit 1
echo ' [7/8] Stopping rnsd and clearing logs...'
RNSD_BIN=\"\$HOME/.local/bin/rnsd\"

View file

@ -156,8 +156,8 @@ jobs:
- name: Create package structure
run: |
touch src/RNS/__init__.py
touch src/RNS/Interfaces/__init__.py
touch src/ble_reticulum/__init__.py
- name: Run tests
run: |
@ -165,7 +165,7 @@ jobs:
--ignore=tests/test_v2_2_identity_handshake.py \
--ignore=tests/test_v2_2_mac_sorting.py \
--ignore=tests/test_v2_2_race_conditions.py \
--cov=src/RNS/Interfaces \
--cov=src/ble_reticulum \
--cov-report=term-missing \
--tb=short

View file

@ -81,14 +81,14 @@ jobs:
- name: Create package structure
run: |
touch src/RNS/__init__.py
touch src/RNS/Interfaces/__init__.py
touch src/ble_reticulum/__init__.py
- name: Run unit tests
run: |
# Run only unit tests (fragmentation and prioritization)
python -m pytest tests/test_fragmentation.py tests/test_prioritization.py -v \
--cov=src/RNS/Interfaces/BLEFragmentation.py \
--cov=src/ble_reticulum/BLEFragmentation.py \
--cov-report=term-missing \
--cov-report=xml:coverage-unit.xml
continue-on-error: false
@ -134,8 +134,8 @@ jobs:
- name: Create package structure
run: |
touch src/RNS/__init__.py
touch src/RNS/Interfaces/__init__.py
touch src/ble_reticulum/__init__.py
- name: Run integration tests
run: |
@ -145,7 +145,7 @@ jobs:
--ignore=tests/test_v2_2_identity_handshake.py \
--ignore=tests/test_v2_2_mac_sorting.py \
--ignore=tests/test_v2_2_race_conditions.py \
--cov=src/RNS/Interfaces \
--cov=src/ble_reticulum \
--cov-report=term-missing \
--cov-report=xml:coverage-integration.xml \
--tb=short