Skip to content

Update published preprints and suggest paper links in the weekly job - #157

Merged
sbfnk merged 12 commits into
mainfrom
publication-meta
Nov 19, 2026
Merged

sbfnk merged 12 commits into
mainfrom
publication-meta

Conversation

@sbfnk-bot

@sbfnk-bot sbfnk-bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

The weekly publications job adds new papers to papers.bib but leaves their links in paper-open.yml to be filled in by hand, and a listed preprint stays on the page after its published version appears unless the two titles match. A new job, running snippets/update_paper_meta.R, replaces a listed preprint with its published version, found through Crossref, medRxiv or OpenAlex, and keeps the preprint as the Preprint link. It also suggests code, preprint, open peer review and registered protocol links for papers without an entry, read from public metadata and the full text of each paper, and looks a paper up again until its full text can be read.

Its changes are worked out from main each week, so they go to one pull request on the fixed branch paper-links, which each run updates; the papers added from publications issues keep their own weekly pull requests as before. Links already recorded win over new suggestions, a wrong published-version match can be declined with not_published: true, and the job writes nothing if papers.bib comes out with fewer entries than expected.

Comment thread snippets/update_paper_meta.R Resolved
Comment thread snippets/update_paper_meta.R Resolved
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-19 13:11 UTC

sbfnk-bot and others added 3 commits November 19, 2026 10:19
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Comment thread snippets/update_paper_meta.R Resolved
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Comment thread snippets/update_paper_meta.R Resolved
sbfnk-bot and others added 2 commits November 19, 2026 10:49
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
… merge cleanly

Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Comment thread snippets/update_paper_meta.R Resolved
@sbfnk-bot
sbfnk-bot marked this pull request as ready for review November 19, 2026 12:40
@sbfnk-bot
sbfnk-bot requested a review from sbfnk November 19, 2026 12:40
…ed paper

Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Comment thread snippets/update_paper_meta.R Resolved
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
@sbfnk-bot
sbfnk-bot requested a review from sbfnk November 19, 2026 13:08
@sbfnk
sbfnk merged commit a15c0f2 into main Nov 19, 2026
4 checks passed
@sbfnk
sbfnk deleted the publication-meta branch November 19, 2026 13:11
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.

2 participants