Skip to content

Commit 9938240

Browse files
authored
Merge branch 'Bugsterapp:main' into main
2 parents 6c393e4 + 2ff10eb commit 9938240

File tree

5 files changed

+5
-105
lines changed

5 files changed

+5
-105
lines changed

bugster/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Bugster CLI - A command-line interface tool for managing test cases.
33
"""
44

5-
__version__ = "0.3.16"
5+
__version__ = "0.3.19"

bugster/cli.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -291,20 +291,6 @@ def sync(
291291
sync_command(branch, pull, push, clean_remote, dry_run, prefer)
292292

293293

294-
@app.command(help=CLIMessages.get_upgrade_help())
295-
def upgrade(
296-
yes: bool = typer.Option(
297-
False,
298-
"--yes",
299-
"-y",
300-
help="Automatically confirm the upgrade.",
301-
),
302-
):
303-
"""Upgrade Bugster CLI to the latest version."""
304-
from bugster.commands.upgrade import upgrade_command
305-
306-
upgrade_command(yes=yes)
307-
308294

309295
@app.command()
310296
def issues(

bugster/commands/upgrade.py

Lines changed: 0 additions & 83 deletions
This file was deleted.

bugster/utils/console_messages.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -446,11 +446,6 @@ def get_destructive_help():
446446
[{BugsterColors.PRIMARY}]bugster destructive --headless[/{BugsterColors.PRIMARY}] - Run without browser UI
447447
[{BugsterColors.PRIMARY}]bugster destructive --max-concurrent 5[/{BugsterColors.PRIMARY}] - Run up to 5 agents in parallel"""
448448

449-
@staticmethod
450-
def get_upgrade_help():
451-
"""Get the help message for the upgrade command."""
452-
return "Upgrade Bugster CLI to the latest version."
453-
454449

455450
class RunMessages:
456451
"""Messages for the test command."""

scripts/install.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,10 @@ def main():
468468
path_added = False
469469
path_added = add_to_path(install_dir)
470470

471-
# Test installation
472-
if not test_installation(installed_path, version):
471+
# Test installation, but skip if we're in an upgrade
472+
if os.environ.get("BUGSTER_UPGRADE_IN_PROGRESS"):
473+
print_step("Skipping installation test during upgrade process.")
474+
elif not test_installation(installed_path, version):
473475
sys.exit(1)
474476

475477
# Print installation success message

0 commit comments

Comments
 (0)