aboutsummaryrefslogtreecommitdiff
path: root/maintainers
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-03-18 18:13:36 -0700
committerJade Lovelace <lix@jade.fyi>2024-03-18 18:14:31 -0700
commit81be5eb7c6302e3573578f4013dd99f989b1acad (patch)
treee695c948eda16fe048490af31142df0753ed31ce /maintainers
parentb3599166ad98c3cad304183bd7cc7bc280522e71 (diff)
issue importer: list issues that are *not* closed when finding existing issues
Turns out also, you cannot set the queue to 0 with any success. So we really should just like, prevent notifications in forgejo itself. Filed a bug for that: https://git.lix.systems/lix-project/web-services/issues/38 Change-Id: Ib96749f3159659182904963cab7b2ef88fc64442
Diffstat (limited to 'maintainers')
-rw-r--r--maintainers/issue_import.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintainers/issue_import.py b/maintainers/issue_import.py
index 4e6fea0fd..be736165d 100644
--- a/maintainers/issue_import.py
+++ b/maintainers/issue_import.py
@@ -96,7 +96,7 @@ def issues_to_import():
yield from paginate('GET', '/repos/nixos/nix/issues?state=open&labels=lix-import')
def issues_already_imported():
- yield from paginate('GET', '/repos/lix-project/lix/issues?state=open&labels=imported')
+ yield from paginate('GET', '/repos/lix-project/lix/issues?state=all&labels=imported')
UPSTREAM_ISSUE_RE = re.compile(r'^Upstream-Issue: https://git\.lix\.systems/NixOS/nix/issues/(\d+)$', re.MULTILINE)
@@ -139,7 +139,7 @@ def import_issue(iss: Issue):
new_issue(new_title, new_body, new_labels)
def go():
- print('Have you turned off the forgejo mailer or limited the queue workers to 0 (assuming that works)? Enter "We have" if so:')
+ print('Have you turned off the forgejo mailer? Enter "We have" if so:')
answer = input('> ')
if answer != 'We have':
return