Skip to content

Sync addons-source@maintenance/gramps61 with upstream (2026-06-30)#59

Closed
eduralph wants to merge 1 commit into
maintenance/gramps61from
sync/upstream-maintenance-gramps61-auto
Closed

Sync addons-source@maintenance/gramps61 with upstream (2026-06-30)#59
eduralph wants to merge 1 commit into
maintenance/gramps61from
sync/upstream-maintenance-gramps61-auto

Conversation

@eduralph

Copy link
Copy Markdown
Owner

Automated nightly sync from gramps-project/addons-source@maintenance/gramps61. Generated by .github/workflows/upstream-sync.yml on the testbed.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c2000d6b19

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

r'(?P<nad>SE/\w+/\d+/[^,]+)\s*'
r'\((?P<years>\d{4}(?:-\d{4})?)\),\s*'
r'bildid[^_]*_(?P<bildid>\d+)'
r'(?P<nad>[^\(]+)*'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the nested quantifier from NAD parsing

When the user pastes a partial Riksarkivet-like string with two comma-separated fields but no following ( year section, (?P<nad>[^\(]+)* can repartition the same NAD text exponentially while trying to satisfy the next group, so the GTK click handler can freeze on short invalid input; in addition, the outer * lets nad be None before the later .strip(). Make the NAD portion required without the outer repetition, or fail before dereferencing it.

Useful? React with 👍 / 👎.

@eduralph eduralph force-pushed the sync/upstream-maintenance-gramps61-auto branch 7 times, most recently from f3e6a77 to 92887d6 Compare July 7, 2026 07:26
@eduralph eduralph force-pushed the sync/upstream-maintenance-gramps61-auto branch from 92887d6 to 41ec6fc Compare July 8, 2026 06:20
@eduralph eduralph closed this Jul 8, 2026
@eduralph eduralph deleted the sync/upstream-maintenance-gramps61-auto branch July 8, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant