relaton / relaton-data-bipm

Relaton bibliographic data for BIPM
2 stars 1 forks source link

Auto-fetching CCTF references #28

Closed anermina closed 10 months ago

anermina commented 1 year ago

CCTF references cannot be auto-fetched.

Example:

bundle exec relaton fetch "CCTF Meeting 22"
(...)
[relaton] (CCTF Meeting 22) not found.

The following reference should have been fetched with the above example:

* [[[cctf,1]]], Consultative Committee for Time and Frequency (CCTF), 22nd meeting (session II -- online), Recommendation PSFS-2 available at https://www.bipm.org/en/committees/cc/cctf/22-_2-2021
andrew2net commented 1 year ago

There is only "CCTF Meeting 5" in the data source that we use to obtain documents.

ronaldtse commented 1 year ago

Back them when we ran the import only that entry was available on the BIPM site.

We need to rerun the import procedure and possibly update the bipm-data-importer code to support all the newly uploaded meetings.

andrew2net commented 1 year ago

We need to rerun the import procedure and possibly update the bipm-data-importer code to support all the newly uploaded meetings.

@ronaldtse I'm not sure if can do it.

andrew2net commented 10 months ago

We need to rerun the import procedure and possibly update the bipm-data-importer code to support all the newly uploaded meetings.

It's implemented now

$ relaton fetch "CCTF Meeting 22"
[relaton-bipm] (CCTF Meeting 22) Fetching from Relaton repository ...
[relaton-bipm] Downloaded index from https://raw.githubusercontent.com/relaton/relaton-data-bipm/master/index2.zip
[relaton-bipm] (CCTF Meeting 22) Found: `CCTF 22nd Meeting (2020)`
<bibdata type="proceedings" schema-version="v1.2.4">
  ...