Skip to content

Sync addons-source@maintenance/gramps60 with upstream (2026-06-30)#58

Closed
eduralph wants to merge 1 commit into
maintenance/gramps60from
sync/upstream-maintenance-gramps60-auto
Closed

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

Conversation

@eduralph

Copy link
Copy Markdown
Owner

Automated nightly sync from gramps-project/addons-source@maintenance/gramps60. 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: 5ac51fa96e

ℹ️ 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 Require a NAD before accepting Riksarkivet input

With the new * quantifier, a Riksarkivet-like string that omits the NAD, such as Foo, Bar, (1833-1840), now matches this regex with nad set to None; the following match.group("nad").strip() then raises before the click handler's transaction try block, so the gramplet crashes instead of reporting “Could not parse the reference string.” Keep this group mandatory or explicitly reject a missing NAD before stripping it.

Useful? React with 👍 / 👎.

@eduralph eduralph force-pushed the sync/upstream-maintenance-gramps60-auto branch 7 times, most recently from 7bb7ae8 to 7cd2e99 Compare July 7, 2026 07:26
@eduralph eduralph force-pushed the sync/upstream-maintenance-gramps60-auto branch from 7cd2e99 to 79ae072 Compare July 8, 2026 06:20
@eduralph eduralph closed this Jul 8, 2026
@eduralph eduralph deleted the sync/upstream-maintenance-gramps60-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