From 20a42c55eeafa8765e1c1cd21f08694f10ed7e25 Mon Sep 17 00:00:00 2001 From: "Jeffrey A. Clark" Date: Tue, 8 Apr 2025 16:34:14 -0400 Subject: [PATCH 1/3] Remove feature to fetch upstream --- django_mongodb_cli/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_mongodb_cli/repo.py b/django_mongodb_cli/repo.py index 907b21f..69471e4 100644 --- a/django_mongodb_cli/repo.py +++ b/django_mongodb_cli/repo.py @@ -148,7 +148,7 @@ def install(repo, ctx, repo_names, all_repos): @pass_repo def update(repo, ctx, repo_names, all_repos): """Update cloned repositories with `git pull`.""" - repos, url_pattern, _, _ = get_repos("pyproject.toml") + repos, url_pattern, _ = get_repos("pyproject.toml") if repo_names: for repo_name in repo_names: for repo_entry in repos: From c441cacd5aa049fdde766530c4b0c94fb9381c73 Mon Sep 17 00:00:00 2001 From: "Jeffrey A. Clark" Date: Wed, 9 Apr 2025 10:57:46 -0400 Subject: [PATCH 2/3] Remove feature to fetch upstream --- django_mongodb_cli/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_mongodb_cli/repo.py b/django_mongodb_cli/repo.py index 69471e4..09ac900 100644 --- a/django_mongodb_cli/repo.py +++ b/django_mongodb_cli/repo.py @@ -404,7 +404,7 @@ def test( @pass_repo def status(repo, ctx, repo_names, all_repos, reset): """Repository status.""" - repos, url_pattern, _, _ = get_repos("pyproject.toml") + repos, url_pattern, _ = get_repos("pyproject.toml") if repo_names: for repo_name in repo_names: not_found = set() From 2a758fee242bdca267d2190cff2fd0948695e7a4 Mon Sep 17 00:00:00 2001 From: "Jeffrey A. Clark" Date: Wed, 9 Apr 2025 11:03:17 -0400 Subject: [PATCH 3/3] Return on success of single repo status --- django_mongodb_cli/repo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django_mongodb_cli/repo.py b/django_mongodb_cli/repo.py index 09ac900..489a69f 100644 --- a/django_mongodb_cli/repo.py +++ b/django_mongodb_cli/repo.py @@ -414,6 +414,7 @@ def status(repo, ctx, repo_names, all_repos, reset): == repo_name ): repo_status(repo_entry, url_pattern, repo, reset=reset) + return else: not_found.add(repo_name) click.echo(f"Repository '{not_found.pop()}' not found.")