Skip to content

Commit 660d2c0

Browse files
committed
fixes and TODOs
1 parent 2ceefa3 commit 660d2c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

conda_forge_tick/auto_tick.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,7 @@ def _run_migrator_on_feedstock_branch(
758758

759759
except (github3.GitHubError, github.GithubException) as e:
760760
# TODO: pull this down into run() - also check the other exceptions
761+
# TODO: continue here, after that run locally and add tests, backend should be injected into run
761762
if hasattr(e, "msg") and e.msg == "Repository was archived so is read-only.":
762763
attrs["archived"] = True
763764
else:
@@ -1091,7 +1092,7 @@ def _update_nodes_with_bot_rerun(gx: nx.DiGraph, package: str | None = None):
10911092

10921093
nodes = gx.nodes.items() if not package else [(package, gx.nodes[package])]
10931094

1094-
for i, (name, node) in nodes:
1095+
for i, (name, node) in enumerate(nodes):
10951096
# logger.info(
10961097
# f"node: {i} memory usage: "
10971098
# f"{psutil.Process().memory_info().rss // 1024 ** 2}MB",
@@ -1299,6 +1300,7 @@ def main(ctx: CliContext, package: str | None = None) -> None:
12991300
smithy_version=smithy_version,
13001301
pinning_version=pinning_version,
13011302
)
1303+
# TODO: this does not support --online
13021304
migrators = load_migrators()
13031305

13041306
# compute the time per migrator

0 commit comments

Comments
 (0)