metanorma / metanorma-cli

CLI (Command Line Interface) for Metanorma
BSD 2-Clause "Simplified" License
5 stars 5 forks source link

Dump more gem versions on metanorma version #345

Open opoudjis opened 3 days ago

opoudjis commented 3 days ago

From https://github.com/metanorma/metanorma-plateau/issues/121

In the mn-samples-plateau action, the metanorma version command does not show mn2pdf version (which it should!),

Which other gems do you regard as part of the core Metanorma stack, @ronaldtse.

ronaldtse commented 1 day ago

Direct dependencies:

      metanorma (~> 2.0.0)
      metanorma-bipm (~> 2.5.0)
      metanorma-cc (~> 2.5.0)
      metanorma-csa (~> 2.5.0)
      metanorma-generic (~> 2.7.0)
      metanorma-iec (~> 2.5.0)
      metanorma-ieee (~> 1.3.0)
      metanorma-ietf (~> 3.3.0)
      metanorma-iho (~> 1.0.0)
      metanorma-iso (~> 2.8.0)
      metanorma-itu (~> 2.5.0)
      metanorma-jis (~> 0.3.0)
      metanorma-ogc (~> 2.6.0)
      metanorma-plateau (~> 0.1.0)
      metanorma-standoc (~> 2.9.6)
      metanorma-un (~> 0.12.0)
      mnconvert
    html2doc (1.8.7)
      isodoc (>= 2.6.3)
      metanorma-utils (>= 1.9.0)
      mn2pdf (~> 2)
      mn-requirements (~> 0.4.0)
    isodoc-i18n (1.2.2)
    metanorma-plugin-datastruct (0.3.0)
    metanorma-plugin-glossarist (0.2.1)
    metanorma-plugin-lutaml (0.7.11)

Relaton:

      relaton-iev (~> 1.2.0)
    relaton (1.19.2)
      relaton-3gpp (~> 1.19.0)
      relaton-bipm (~> 1.19.0)
      relaton-bsi (~> 1.19.1)
      relaton-calconnect (~> 1.19.0)
      relaton-ccsds (~> 1.19.0)
      relaton-cen (~> 1.19.0)
      relaton-cie (~> 1.19.0)
      relaton-doi (~> 1.19.0)
      relaton-ecma (~> 1.19.0)
      relaton-etsi (~> 1.19.0)
      relaton-gb (~> 1.19.0)
      relaton-iana (~> 1.19.0)
      relaton-iec (~> 1.19.0)
      relaton-ieee (~> 1.19.0)
      relaton-ietf (~> 1.19.0)
      relaton-iho (~> 1.19.0)
      relaton-isbn (~> 1.19.0)
      relaton-iso (~> 1.19.0)
      relaton-itu (~> 1.19.0)
      relaton-jis (~> 1.19.0)
      relaton-nist (~> 1.19.0)
      relaton-oasis (~> 1.19.0)
      relaton-ogc (~> 1.19.0)
      relaton-omg (~> 1.19.0)
      relaton-plateau (~> 1.19.0)
      relaton-un (~> 1.19.0)
      relaton-w3c (~> 1.19.0)
      relaton-xsf (~> 1.19.0)

Pubid:

    pubid (0.1.2)
      pubid-bsi (~> 0.3.4)
      pubid-ccsds (~> 0.1.3)
      pubid-cen (~> 0.2.4)
      pubid-core (~> 1.12.5)
      pubid-etsi (~> 0.1.0)
      pubid-iec (~> 0.3.1)
      pubid-ieee (~> 0.2.2)
      pubid-iso (~> 0.7.5)
      pubid-itu (~> 0.1.0)
      pubid-jis (~> 0.3.2)
      pubid-nist (~> 0.4.0)

Associated dependencies :

      glossarist (~> 2.0.1)
      fontist (>= 1.14.3)
      plurimath (~> 0.8.0)
    lutaml (0.9.21)
      expressir (~> 1.3)
      xmi (~> 0.3.10)
    lutaml-model (0.3.22)
    emf2svg (1.4.3-arm64-darwin)
      unitsml
      vectory (~> 0.7)
      pngcheck
    ogc-gml (1.0.2)
    oscal (0.1.1)
opoudjis commented 7 hours ago

I asked

(what other software dumps out 50 gem versions when you ask it for a version),

and sure enough, you're asking for 41 gems at minimum, and if I itemise all the pubid and relaton gems, 81.

Taking the former approach (because 41 gems really are bad enough),

Metanorma 2.0.7
Metanorma::Cli 1.10.11
Metanorma::Standoc 2.9.10/IsoDoc 2.12.0
Metanorma::Iso 2.8.9
Metanorma::Iec 2.5.5
Metanorma::Ieee 1.3.3
Metanorma::Ietf 3.3.10
Metanorma::Generic 2.7.1
Metanorma::Bipm 2.5.4
Metanorma::Cc 2.5.5
Metanorma::Csa 2.5.5
Metanorma::Iho 1.0.6
Metanorma::Jis 0.3.7
Metanorma::UN 0.12.19
Metanorma::Ogc 2.6.5
Metanorma::Itu 2.5.6
Metanorma::Plateau 0.1.8
Metanorma::Nist 2.5.3
emf2svg 1.4.3
expressir 1.4.3
fontist 1.21.2
glossarist 2.0.10
html2doc 1.8.7
isodoc 2.12.0
isodoc-i18n 1.2.2
lutaml 0.9.19
lutaml-model 0.3.15
metanorma-plugin-datastruct 0.3.0
metanorma-plugin-glossarist 0.2.1
metanorma-plugin-lutaml 0.7.11
metanorma-utils 1.10.2
mn-requirements 0.4.1
mn2pdf 2.06
ogc-gml 1.0.2
oscal 0.1.1
plurimath 0.8.17
pubid 0.1.2
relaton-cli 1.19.3
unitsml 0.2.6
vectory 0.7.7
xmi 0.3.11
opoudjis commented 4 hours ago

@ronaldtse Please confirm that is sufficient.