1
0
Fork 0
forked from q04/www.trr379.de
www.trr379.de/.forgejo/workflows
Michał Szczepanik 8c6802192c ci: inline attribution roles when processing publications
Inlining roles in attribution allows looking up their mappings. This
means that whichever role qualifies as an author attribution (as
opposed to, e.g., a funding attribution) can be expressed in the pool
by declaring a broad mapping. Previously, we relied on a narrow
mapping of an author to be declared in the code.

This is enabled by two changes done elsewhere in recent weeks:

- query-things (former query-research-group): inline-records will no
  longer error when the requested property is not present (1)

- pool-publication-page: publication.py will also work with inlined
  roles; if the role is inlined it will check broad_mappings before
  resorting to a predefined list (2)

One thing to note is that now if attributed_to::roles is not present,
inline-records will drop the entire attribution (instead of keeping it
and inlining just the object). This is inconsequential, as
publication.py would only consider attributions with roles anyway.

(1) e4c9d4498e
(2) 35c21b9123
2026-03-13 14:46:44 +01:00
..
contributors-projects.yml ci: adapt to breaking change of join-association CLI 2026-03-13 14:46:35 +01:00
deploy.yml Simplify deployment to use hugo action, not custom container 2025-12-10 09:03:41 +01:00
publications.yml ci: inline attribution roles when processing publications 2026-03-13 14:46:44 +01:00