Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crossref deposit improvements #4311

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joemull
Copy link
Member

@joemull joemull commented Jul 3, 2024

This completes 3 of 5 requests in #3131:

  • map Janeway's first page and last page fields to Crossref
  • output clean proceedings title
  • respect custom publisher names set at journal level

Depending on if the reporter is happy with these fixes alone, closes #3131.

@joemull joemull requested a review from mauromsl July 3, 2024 13:58
@joemull joemull changed the title Crossref deposit improvements #3131 Crossref deposit improvements Jul 3, 2024
@joemull joemull requested review from ajrbyers and removed request for mauromsl July 18, 2024 05:58
@joemull joemull assigned ajrbyers and unassigned mauromsl Jul 18, 2024
Copy link
Member

@ajrbyers ajrbyers left a comment

Choose a reason for hiding this comment

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

This looks fine, though perhaps we should include the Janeway field pages as other_pages here when present? There is also a failing test.

@ajrbyers ajrbyers assigned joemull and unassigned ajrbyers Jul 23, 2024
@joemull
Copy link
Member Author

joemull commented Jul 24, 2024

perhaps we should include the Janeway field pages as other_pages here when present?

Which field do you mean?

If it's related to page_numbers, see my comment on #3131 about that.

@joemull joemull force-pushed the 3131-crossref-metadata-adjustments branch from 45c411e to 7a241e6 Compare July 24, 2024 13:28
@joemull
Copy link
Member Author

joemull commented Jul 24, 2024

I've now rebased it onto master to avoid failing tests, but it has the same number of failing tests as master: FAILED (failures=3, errors=54) -- some of these are plugin-related.

@joemull joemull requested a review from ajrbyers July 24, 2024 13:49
@joemull joemull assigned ajrbyers and unassigned joemull Jul 24, 2024
@ajrbyers ajrbyers requested a review from mauromsl August 7, 2024 10:50
@ajrbyers ajrbyers assigned mauromsl and unassigned ajrbyers Aug 7, 2024
Comment on lines +7 to +14
<conference_name>{{ crossref_issue.journal.title }}</conference_name>
{% endif %}
</event_metadata>
<proceedings_metadata>
{% if crossref_issue.issue.issue_title %}
<proceedings_title>{{ crossref_issue.issue.issue_title }}</proceedings_title>
{% else %}
<proceedings_title>{{ crossref_issue.journal.title }} - {{ crossref_issue.issue.year }}</proceedings_title>
<proceedings_title>{{ crossref_issue.journal.title }}</proceedings_title>
Copy link
Member

@mauromsl mauromsl Aug 22, 2024

Choose a reason for hiding this comment

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

I think this can be a breaking change for a lot of folks. When a conference proceedings "journal" has articles for multiple years, they can't set a single journal title that works. I need the logic has to be altered on identifiers.logic to cover the following cases:

  • When an article has a publication_title, that always takes precedece.
  • When a conference title is used and the issue has a year, preserve the existing functionality
  • when a conference title is used but no year is available in the issue, render just the title.

@mauromsl mauromsl assigned joemull and unassigned joemull Aug 22, 2024
Copy link
Member

@mauromsl mauromsl left a comment

Choose a reason for hiding this comment

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

@joemull I think the reporter is right about this comment

* [ ]  Map our `page_numbers` field to Crossref's field `other_pages`. JM note: It looks like Crossref's field `other_pages` is used for items with non-contiguous page information. That's different from our page_numbers field, which is for a custom page range, like with roman numerals or something. I think we should not populate it with our custom page range field because the systems ingesting this info will not expect that field to duplicate info in first_page and last_page, just provide extra info. Something I'm not considering?

Yes, page_numbers in Janeway doesn't have an explicit use case, but its main use case it is still for non-contiguous page ranges. There is also no reason why roman numerals can't be part of this field according to Crossref schema, so I think that use case is safe too. Then I'd be happy to close #3131

@mauromsl mauromsl removed their assignment Sep 11, 2024
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.

Crossref deposit adjustments
3 participants