Skip to content

Add git pull to upgrade command#152

Merged
LuernOutOfOrder merged 1 commit intodevelopfrom
149-update-upgrade-command-to-use-git
Jun 20, 2025
Merged

Add git pull to upgrade command#152
LuernOutOfOrder merged 1 commit intodevelopfrom
149-update-upgrade-command-to-use-git

Conversation

@LuernOutOfOrder
Copy link
Owner

This pull request introduces a new git_pull function to handle pulling updates from a remote repository and integrates it into the upgrade_bin function. It also includes minor adjustments to imports to accommodate the new functionality.

New functionality:

  • Added git_pull function in src/git/mod.rs to execute a git pull command and log an error if the pull operation fails.

Integration:

  • Updated the upgrade_bin function in src/upgrade/mod.rs to call the new git_pull function, ensuring the repository is updated before proceeding with the upgrade process.

Import adjustments:

  • Added imports for LogLevel and log_from_log_level in src/git/mod.rs to support logging in the git_pull function.
  • Adjusted imports in src/upgrade/mod.rs to include the git module for accessing the new git_pull function.

@LuernOutOfOrder LuernOutOfOrder self-assigned this Jun 20, 2025
@LuernOutOfOrder LuernOutOfOrder added the enhancement New feature or request label Jun 20, 2025
@LuernOutOfOrder LuernOutOfOrder merged commit 620628d into develop Jun 20, 2025
1 check passed
@LuernOutOfOrder LuernOutOfOrder deleted the 149-update-upgrade-command-to-use-git branch June 20, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant