andrew / PBOM

Paper Bill of Materials (PBOM) - Generate a paper bill of materials from the software of a paper
https://rubygems.org/gems/pbom
GNU Affero General Public License v3.0
1 stars 1 forks source link

Ignoring some dependencies #7

Closed RichardLitt closed 1 month ago

RichardLitt commented 1 month ago

I tried running this on matplotlib, scipy, numpy, and pandas. And it's not coming up with huge dependency trees. Scipy, for instance, was only ten refs.

./exe/pbom generate --input ../test/scipy/. --output ../test/s/.
Generating a new PBOM...
Looking up pkg:github/actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9...
Looking up pkg:github/actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332...
Looking up pkg:github/actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9...
Looking up pkg:github/actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3...
Looking up pkg:github/actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874...
Looking up pkg:github/conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca...
Looking up pkg:github/deadsnakes/action@e640ac8743173a67cca4d7d77cd837e514bf98e8...
Looking up pkg:github/github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685...
Looking up pkg:github/pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23...
Looking up pkg:github/scientific-python/circleci-artifacts-redirector-action@4e13a10d89177f4bfc8007a7064bdbeda848d8d1...

PBOM generated at ../test/s/.
  - 10 unique packages found
  - sbom.json
  - references.bib

To cite all packages in your research, add the following to your LaTeX document:

\cite{github:actions:cache}, \cite{github:actions:checkout}, \cite{github:actions:labeler}, \cite{github:actions:setup-python}, \cite{github:actions:upload-artifact}, \cite{github:conda-incubator:setup-miniconda}, \cite{github:deadsnakes:action}, \cite{github:github:issue-labeler}, \cite{github:pypa:cibuildwheel}, \cite{github:scientific-python:circleci-artifacts-redirector-action}

I feel like it's not using the environment manifest.

RichardLitt commented 1 month ago

This looks like an issue in to_cite. I can't figure out how to find the name of the package in references.bib, though, instead of regenerating it.

RichardLitt commented 1 month ago

Ah, wrong issue. That comment and the PR were for #6.

RichardLitt commented 1 month ago

Reopen.