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

Bibliographic item auto-fetch cut-off date to prevent auto-fetching items post-publication #773

Open
ronaldtse opened this issue Apr 12, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@ronaldtse
Copy link
Contributor

Now that we are increasingly encoding extant documents there is a real need to "freeze" the bibliographic entries accessible to those documents at their publication/drafting date.

For example, in ISO 80000-10:2019 there is a citation to IEC 80000-6. This document cites IEC 80000-6, which was published in 2008. However, when generating ISO 80000-10:2019 via Metanorma it fetches IEC 80000-6:2022 and adds a note that it is "under preparation" (actually it is also wrong because IEC 80000-6:2022 is already published)

Original:
Screenshot 2023-04-12 at 9 05 52 AM

Using auto-fetch:
Screenshot 2023-04-12 at 9 02 14 AM
Screenshot 2023-04-12 at 9 02 24 AM

It would be most reasonable to add a bibliography "auto-fetch cut-off date" which indicates that we should not auto-fetch bibliographic items that are published after this cut-off date.

Originally posted by @ronaldtse in https://github.com/metanorma/iso-iec-80000/issues/17#issuecomment-1504372622

@ronaldtse ronaldtse added the enhancement New feature or request label Apr 12, 2023
@andrew2net
Copy link
Contributor

@ronaldtse do we need to add a cut-off option?

$ relaton fetch 'IEC 80000-6' --cut-off 2008

@ronaldtse
Copy link
Contributor Author

ronaldtse commented Jun 16, 2023

@andrew2net I think so, maybe we call it the publication date?

$ relaton fetch 'IEC 80000-6' --publication-date-before 2008
$ relaton fetch 'IEC 80000-6' --publication-date-after 2002
$ relaton fetch 'IEC 80000-6' --publication-date-before 2008-02-02 --publication-date-after 2002-01-01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: On hold
Development

No branches or pull requests

3 participants