mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-08-06 08:53:46 +02:00
Merge pull request #315 from yellowcooln/fix/openhop-updater-repo
fix: update updater GitHub repository
This commit is contained in:
@@ -111,8 +111,8 @@ sudo apt install git -y
|
||||
### Clone The Repository
|
||||
|
||||
```bash
|
||||
git clone https://github.com/openhop-dev/openhop-repeater.git
|
||||
cd openhop-repeater
|
||||
git clone https://github.com/openhop-dev/openhop_repeater.git
|
||||
cd openhop_repeater
|
||||
```
|
||||
|
||||
### Quick Install
|
||||
@@ -258,7 +258,7 @@ The web interface can upgrade an installation or switch branches.
|
||||
### CLI
|
||||
|
||||
```bash
|
||||
cd openhop-repeater
|
||||
cd openhop_repeater
|
||||
sudo bash ./manage.sh upgrade
|
||||
```
|
||||
|
||||
@@ -295,7 +295,7 @@ Hardware, choose one:
|
||||
Run this command on the Proxmox host, not inside a container:
|
||||
|
||||
```bash
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/pyMC-dev/openhop-repeater/main/scripts/proxmox-install.sh)"
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/openhop-dev/openhop_repeater/main/scripts/proxmox-install.sh)"
|
||||
```
|
||||
|
||||
Replace `main` in the URL with another branch name if needed.
|
||||
@@ -518,7 +518,7 @@ Pre-commit hooks will automatically:
|
||||
|
||||
## Support
|
||||
|
||||
- [pyMC Core](https://github.com/openhop-dev/openhop-core)
|
||||
- [pyMC Core](https://github.com/openhop-dev/openhop_core)
|
||||
- [MeshCore Discord](https://meshcore.gg)
|
||||
|
||||
## Disclaimer
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ R2_BASE_URL="https://wheel.pymc.dev/pymc_build_deps"
|
||||
PIWHEELS_INDEX_URL="https://www.piwheels.org/simple"
|
||||
R2_ENABLED=1
|
||||
YQ_VERSION="${YQ_VERSION:-v4.44.3}"
|
||||
PYMC_CORE_REPO="${PYMC_CORE_REPO:-https://github.com/rightup/openhop-core.git}"
|
||||
PYMC_CORE_REPO="${PYMC_CORE_REPO:-https://github.com/openhop-dev/openhop_core.git}"
|
||||
PYMC_CORE_REF="${PYMC_CORE_REF:-}"
|
||||
PYMC_CORE_LOCAL_DIR="${PYMC_CORE_LOCAL_DIR:-}"
|
||||
PYMC_SKIP_BUILDROOT_DEP_INSTALL="${PYMC_SKIP_BUILDROOT_DEP_INSTALL:-0}"
|
||||
|
||||
Vendored
+1
-1
@@ -15,7 +15,7 @@ Build-Depends: debhelper-compat (= 13),
|
||||
python3-psutil,
|
||||
git
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://github.com/rightup/openhop-repeater
|
||||
Homepage: https://github.com/openhop-dev/openhop_repeater
|
||||
X-Python3-Version: >= 3.9
|
||||
|
||||
Package: openhop-repeater
|
||||
|
||||
@@ -639,9 +639,9 @@ fi
|
||||
if "$VENV_PYTHON" -m pip install \
|
||||
--upgrade \
|
||||
--no-cache-dir \
|
||||
"openhop_repeater[hardware] @ git+https://github.com/rightup/openhop-repeater.git@${CHANNEL}"; then
|
||||
"openhop_repeater[hardware] @ git+https://github.com/openhop-dev/openhop_repeater.git@${CHANNEL}"; then
|
||||
# Keep web/OTA updates aligned with manage.sh install/upgrade defaults.
|
||||
RADIO_BASE_URL="https://raw.githubusercontent.com/rightup/openhop-repeater/${CHANNEL}"
|
||||
RADIO_BASE_URL="https://raw.githubusercontent.com/openhop-dev/openhop_repeater/${CHANNEL}"
|
||||
RADIO_STORAGE_DIR="/var/lib/openhop_repeater"
|
||||
mkdir -p "$RADIO_STORAGE_DIR"
|
||||
wget -qO "$RADIO_STORAGE_DIR/radio-settings.json" "${RADIO_BASE_URL}/radio-settings.json" 2>/dev/null || true
|
||||
@@ -1074,9 +1074,9 @@ python3 -m pip uninstall -y pymc_core 2>/dev/null || true
|
||||
if "$VENV_PYTHON" -m pip install \
|
||||
--upgrade \
|
||||
--no-cache-dir \
|
||||
"openhop_repeater[hardware] @ git+https://github.com/rightup/openhop-repeater.git@${CHANNEL}"; then
|
||||
"openhop_repeater[hardware] @ git+https://github.com/openhop-dev/openhop_repeater.git@${CHANNEL}"; then
|
||||
# Keep web/OTA updates aligned with manage.sh install/upgrade defaults.
|
||||
RADIO_BASE_URL="https://raw.githubusercontent.com/rightup/openhop-repeater/${CHANNEL}"
|
||||
RADIO_BASE_URL="https://raw.githubusercontent.com/openhop-dev/openhop_repeater/${CHANNEL}"
|
||||
RADIO_STORAGE_DIR="/var/lib/openhop_repeater"
|
||||
mkdir -p "$RADIO_STORAGE_DIR"
|
||||
wget -qO "$RADIO_STORAGE_DIR/radio-settings.json" "${RADIO_BASE_URL}/radio-settings.json" 2>/dev/null || true
|
||||
|
||||
+2
-2
@@ -617,7 +617,7 @@ def get_radio_for_board(board_config: dict):
|
||||
except ImportError:
|
||||
raise RuntimeError(
|
||||
"pymc_tcp radio requires openhop-core >= the release that includes "
|
||||
"PR pyMC-dev/openhop-core#68 (merged 2026-05-13). "
|
||||
"the openhop-core release with TCP modem support. "
|
||||
"Reinstall the [hardware] extra to pick it up."
|
||||
) from None
|
||||
|
||||
@@ -661,7 +661,7 @@ def get_radio_for_board(board_config: dict):
|
||||
except ImportError:
|
||||
raise RuntimeError(
|
||||
"pymc_usb radio requires openhop-core >= the release that includes "
|
||||
"PR pyMC-dev/openhop-core#68 (merged 2026-05-13). "
|
||||
"the openhop-core release with TCP modem support. "
|
||||
"Reinstall the [hardware] extra to pick it up."
|
||||
) from None
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ info:
|
||||
version: 1.0.0
|
||||
contact:
|
||||
name: openHop Repeater
|
||||
url: https://github.com/rightup/openhop-repeater
|
||||
url: https://github.com/openhop-dev/openhop_repeater
|
||||
|
||||
servers:
|
||||
- url: /api
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
# Creates an LXC container with USB passthrough and installs openHop Repeater
|
||||
#
|
||||
# Usage (run on the Proxmox host):
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/pyMC-dev/openhop-repeater/main/scripts/proxmox-install.sh)"
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/openhop-dev/openhop_repeater/main/scripts/proxmox-install.sh)"
|
||||
#
|
||||
# License: MIT
|
||||
# Source: https://github.com/openhop-dev/openhop-repeater
|
||||
# Source: https://github.com/openhop-dev/openhop_repeater
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# ── Defaults ───────────────────────────────────────────────────────────────
|
||||
REPO="https://github.com/openhop-dev/openhop-repeater.git"
|
||||
REPO="https://github.com/openhop-dev/openhop_repeater.git"
|
||||
BRANCH="dev"
|
||||
CT_TEMPLATE="debian-12-standard"
|
||||
CT_RAM=1024
|
||||
@@ -210,7 +210,7 @@ OS=\$(. /etc/os-release && echo \"\$NAME\")
|
||||
VER=\$(. /etc/os-release && echo \"\$VERSION_ID\")
|
||||
echo \"\"
|
||||
echo \" openHop Repeater LXC Container\"
|
||||
echo \" 🌐 GitHub: https://github.com/openhop-dev/openhop-repeater\"
|
||||
echo \" 🌐 GitHub: https://github.com/openhop-dev/openhop_repeater\"
|
||||
echo \"\"
|
||||
echo \" 🖥️ OS: \$OS - Version: \$VER\"
|
||||
echo \" 🏠 Hostname: \$HOSTNAME\"
|
||||
|
||||
Reference in New Issue
Block a user