rattler icon indicating copy to clipboard operation
rattler copied to clipboard

about.json - not all fields are parsed

Open wolfv opened this issue 1 year ago • 2 comments

Our implementation of about.json doesn't parse / expose all the fields that are commonly found in packages created by conda-build.

We should probably add the remaining fields (even if we don't write them with rattler-build).

wolfv avatar May 22 '24 11:05 wolfv

Can you describe what they are?

baszalmstra avatar May 22 '24 11:05 baszalmstra

Going from the following example, we're missing:

  • root_pkgs (pkgs of the conda-build env, I guess?)
  • extra (anything that was in the extra section of the recipe
  • conda_build_version / conda_version
  • env_vars (CIO seems to be some weird conda feature, not sure what other env vars would be recorded there)
  • identifiers, keywords, tags
{
  "channels": [
    "https://conda.anaconda.org/conda-forge"
  ],
  "conda_build_version": "3.24.0",
  "conda_version": "23.1.0",
  "description": "zlib is designed to be a free, general-purpose, lossless data-compression\nlibrary for use on virtually any computer hardware and operating system.\n",
  "dev_url": "https://github.com/madler/zlib",
  "doc_url": "http://zlib.net/manual.html",
  "env_vars": {
    "CIO_TEST": "<not set>"
  },
  "extra": {
    "copy_test_source_files": true,
    "feedstock-name": "zlib",
    "final": true,
    "parent_recipe": {
      "name": "zlib-split",
      "path": "/Users/runner/work/1/s/recipe",
      "version": "1.2.13"
    },
    "recipe-maintainers": [
      "groutr",
      "msarahan",
      "ocefpaf",
      "isuruf"
    ]
  },
  "home": "http://zlib.net/",
  "identifiers": [],
  "keywords": [],
  "license": "Zlib",
  "license_family": "Other",
  "license_file": "license.txt",
  "root_pkgs": [
    "pip 23.1.2 pyhd8ed1ab_0",
    "xorg-libxau 1.0.11 h0dc2134_0",
    "gettext 0.21.1 h8a4c099_0",
    "urllib3 1.26.15 pyhd8ed1ab_0",
    "pthread-stubs 0.4 hc929b4f_1001",
    "conda-env 2.6.0 1",
    "six 1.16.0 pyh6c4a22f_0",
    "curl 7.88.1 h6df9250_1",
    "pygments 2.15.1 pyhd8ed1ab_0",
    "libsolv 0.7.23 hbc0c0cd_0",
    "colorama 0.4.6 pyhd8ed1ab_0",
    "jq 1.6 hc929b4f_1000",
    "icu 72.1 h7336db1_0",
    "packaging 23.1 pyhd8ed1ab_0",
    "yaml 0.2.5 h0d85af4_2",
    "pillow 9.5.0 py310hd63a8c7_1",
    "watchgod 0.8.2 pyhd8ed1ab_0",
    "openssl 3.1.1 h8a1eda9_1",
    "prompt-toolkit 3.0.38 pyha770c72_0",
    "ruamel.yaml 0.17.21 py310h90acd4f_3",
    "pyyaml 6.0 py310h90acd4f_5",
    "openjpeg 2.5.0 h13ac156_2",
    "libzlib 1.2.13 hfd90126_4",
    "cffi 1.15.1 py310ha78151a_3",
    "readline 8.2 h9e318b2_1",
    "libmambapy 1.4.1 py310hb15139c_0",
    "chardet 5.1.0 py310h2ec42d9_0",
    "conda-package-handling 2.0.2 pyh38be061_0",
    "reproc 14.2.4 hb7f2c08_0",
    "mdurl 0.1.0 pyhd8ed1ab_0",
    "freetype 2.12.1 h3f81eb7_1",
    "pcre2 10.40 h1c4e4bc_0",
    "glob2 0.7 py_0",
    "nbformat 5.9.0 pyhd8ed1ab_0",
    "python-dateutil 2.8.2 pyhd8ed1ab_0",
    "python 3.10.10 he7542f4_0_cpython",
    "requests 2.28.2 pyhd8ed1ab_1",
    "pyopenssl 23.1.1 pyhd8ed1ab_0",
    "libjpeg-turbo 2.1.5.1 hb7f2c08_0",
    "lcms2 2.15 h2dcdeff_1",
    "importlib-metadata 6.6.0 pyha770c72_0",
    "xorg-libxdmcp 1.1.3 h35c211d_0",
    "conda 23.1.0 py310h2ec42d9_0",
    "toolz 0.12.0 pyhd8ed1ab_0",
    "ncurses 6.3 h96cf925_1",
    "charset-normalizer 3.1.0 pyhd8ed1ab_0",
    "libedit 3.1.20191231 h0678c8f_2",
    "markdown-it-py 2.2.0 pyhd8ed1ab_0",
    "perl 5.32.1 2_h0d85af4_perl5",
    "sigtool 0.1.3 h88f4db0_0",
    "libwebp-base 1.3.0 hb7f2c08_0",
    "exceptiongroup 1.1.1 pyhd8ed1ab_0",
    "joblib 1.2.0 pyhd8ed1ab_0",
    "pysocks 1.7.1 pyha2e5f31_6",
    "soupsieve 2.3.2.post1 pyhd8ed1ab_0",
    "jinja2 3.1.2 pyhd8ed1ab_1",
    "lz4-c 1.9.4 hf0c8a7f_0",
    "tornado 6.3.2 py310h6729b98_0",
    "libcxx 16.0.0 h71dddab_0",
    "libcurl 7.88.1 h6df9250_1",
    "anaconda-project 0.11.1 pyhd8ed1ab_0",
    "prompt_toolkit 3.0.38 hd8ed1ab_0",
    "psutil 5.9.5 py310h90acd4f_0",
    "libexpat 2.5.0 hf0c8a7f_1",
    "libdeflate 1.18 hac1461d_0",
    "anaconda-client 1.11.3 pyhd8ed1ab_0",
    "wcwidth 0.2.6 pyhd8ed1ab_0",
    "libnghttp2 1.52.0 he2ab024_0",
    "sniffio 1.3.0 pyhd8ed1ab_0",
    "typing_extensions 4.6.3 pyha770c72_0",
    "conda-pack 0.7.0 pyh6c4a22f_0",
    "requests-toolbelt 1.0.0 pyhd8ed1ab_0",
    "ripgrep 13.0.0 hbbacdb1_2",
    "fmt 9.1.0 hb8565cd_0",
    "conda-build 3.24.0 py310h2ec42d9_1",
    "zstandard 0.19.0 py310h3cf44b0_1",
    "rich 13.4.1 pyhd8ed1ab_0",
    "anyio 3.7.0 pyhd8ed1ab_1",
    "patch 2.7.6 hbcf498f_1002",
    "pkginfo 1.9.6 pyhd8ed1ab_0",
    "libffi 3.4.2 h0d85af4_5",
    "python_abi 3.10 3_cp310",
    "traitlets 5.9.0 pyhd8ed1ab_0",
    "pluggy 1.0.0 pyhd8ed1ab_5",
    "defusedxml 0.7.1 pyhd8ed1ab_0",
    "reproc-cpp 14.2.4 hf0c8a7f_0",
    "liblief 0.12.3 hf0c8a7f_0",
    "platformdirs 3.5.3 pyhd8ed1ab_0",
    "certifi 2023.5.7 pyhd8ed1ab_0",
    "tapi 1100.0.11 h9ce4665_0",
    "libxml2 2.10.3 h554bb67_6",
    "zipp 3.15.0 pyhd8ed1ab_0",
    "setuptools 65.6.3 pyhd8ed1ab_0",
    "cctools 973.0.1 h40f6528_13",
    "libmamba 1.4.1 h9d281b0_0",
    "importlib_resources 5.12.0 pyhd8ed1ab_0",
    "libssh2 1.10.0 h47af595_3",
    "libpng 1.6.39 ha978bb4_0",
    "python-libarchive-c 4.0 py310h2ec42d9_2",
    "markupsafe 2.1.3 py310h6729b98_0",
    "xz 5.2.6 h775f41a_0",
    "yaml-cpp 0.7.0 hf0c8a7f_2",
    "tzdata 2023c h71feb2d_0",
    "backports 1.0 pyhd8ed1ab_3",
    "cctools_osx-64 973.0.1 h5676edf_13",
    "zstd 1.5.2 hbc0c0cd_6",
    "bzip2 1.0.8 h0d85af4_4",
    "pkgutil-resolve-name 1.3.10 pyhd8ed1ab_0",
    "libllvm16 16.0.1 h7001e86_0",
    "c-ares 1.18.1 h0d85af4_0",
    "ld64 609 ha02d983_13",
    "json5 0.9.5 pyh9f0ad1d_0",
    "libtiff 4.5.0 hedf67fa_6",
    "py-lief 0.12.3 py310h7a76584_0",
    "tqdm 4.65.0 pyhd8ed1ab_1",
    "ca-certificates 2023.5.7 h8857fd0_0",
    "attrs 23.1.0 pyh71513ae_1",
    "tomli 2.0.1 pyhd8ed1ab_0",
    "libsqlite 3.40.0 ha978bb4_0",
    "shyaml 0.6.2 pyhd3deb0d_0",
    "mamba 1.4.1 py310h6bde348_0",
    "libxcb 1.15 hb7f2c08_0",
    "pycosat 0.6.4 py310h90acd4f_1",
    "filelock 3.12.1 pyhd8ed1ab_0",
    "clyent 1.2.2 py_1",
    "brotlipy 0.7.0 py310h90acd4f_1005",
    "click 8.1.3 unix_pyhd8ed1ab_2",
    "oras-py 0.1.14 pyhd8ed1ab_0",
    "lerc 4.0.0 hb486fe8_0",
    "conda-package-streaming 0.7.0 pyhd8ed1ab_1",
    "ld64_osx-64 609 hbfe4790_13",
    "jsonschema 4.17.3 pyhd8ed1ab_0",
    "conda-oci-mirror 0.1.0 pyhd8ed1ab_0",
    "ruamel_yaml 0.15.80 py310h90acd4f_1008",
    "git 2.41.0 pl5321h5c607e1_0",
    "oniguruma 6.9.8 hac89ed1_0",
    "beautifulsoup4 4.12.2 pyha770c72_0",
    "python-fastjsonschema 2.17.1 pyhd8ed1ab_0",
    "jupyter_core 5.3.0 py310h2ec42d9_0",
    "cryptography 40.0.1 py310hdd0c95c_0",
    "conda-forge-ci-setup 3.31.0 py310h22f808f_100",
    "libiconv 1.17 hac89ed1_0",
    "dataclasses 0.8 pyhc8e2a94_3",
    "typing-extensions 4.6.3 hd8ed1ab_0",
    "lzo 2.10 haf1e3a3_1000",
    "krb5 1.20.1 h049b76e_0",
    "pybind11-abi 4 hd8ed1ab_3",
    "ruamel.yaml.clib 0.2.7 py310h90acd4f_1",
    "pytz 2023.3 pyhd8ed1ab_0",
    "boa 0.14.0 pyhd8ed1ab_4",
    "libarchive 3.6.2 h6d8d9f1_0",
    "backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0",
    "pyrsistent 0.19.3 py310h90acd4f_0",
    "pycparser 2.21 pyhd8ed1ab_0",
    "tk 8.6.12 h5dbffcc_0",
    "libev 4.33 haf1e3a3_1",
    "idna 3.4 pyhd8ed1ab_0",
    "conda-forge-metadata 0.5.0 pyhd8ed1ab_0",
    "wheel 0.40.0 pyhd8ed1ab_0"
  ],
  "summary": "Massively spiffy yet delicately unobtrusive compression library",
  "tags": []
}

wolfv avatar May 22 '24 11:05 wolfv