feat(octoeverywhere): implement update function #310
Reference in New Issue
Block a user
Delete Branch "oe-updater"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I assume this name was just never updated for generic git clone, and it's not oversight?
@@ -279,0 +276,4 @@do_action_service "stop" "octoeverywhere"if [[ ! -d ${OCTOEVERYWHERE_DIR} ]]; thenclone_octoeverywhere "${OCTOEVERYWHERE_REPO}"Will this handle the octoeveryhere-* other possible service names?
@@ -279,0 +287,4 @@"${OCTOEVERYWHERE_ENV}"/bin/pip install -r "${OCTOEVERYWHERE_DIR}/requirements.txt"fiok_msg "Update complete!"I don't know much about virtual environments, but I assume this installs into it? The only way I have interactive with virtual envs is by using the /bin/activate the script.
@@ -279,0 +309,4 @@function install_octoeverywhere_dependencies() {local packageslocal install_script="${OCTOEVERYWHERE_DIR}/install.sh"This is great!
@@ -279,0 +276,4 @@do_action_service "stop" "octoeverywhere"if [[ ! -d ${OCTOEVERYWHERE_DIR} ]]; thenclone_octoeverywhere "${OCTOEVERYWHERE_REPO}"Yes, calling that function handles all services beginning with "octoeverywhere".
Oops, nope, thats something i have to fix.
@@ -279,0 +287,4 @@"${OCTOEVERYWHERE_ENV}"/bin/pip install -r "${OCTOEVERYWHERE_DIR}/requirements.txt"fiok_msg "Update complete!"Correct, i added the evn you create during setup to the global variables and with that command i just run pip from that env and install possible new python deps into that specific env.
Looks great, thanks for doing this!
👏