Skip to content

Commit 1ad9eed

Browse files
committed
Add pylock.toml to the --list-packages snapshot fixture
Signed-off-by: Guillem Serra Cazorla <guillem@meta.com>
1 parent 3b8334b commit 1ad9eed

2 files changed

Lines changed: 35 additions & 66 deletions

File tree

docs/source/reference/scancode-supported-packages.rst

Lines changed: 28 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
.. _supported-packages:
1+
2+
3+
.. _supported_packages:
24

35
Supported package manifests and package datafiles
46
-------------------------------------------------
57

6-
ScanCode supports a wide variety of package manifests, lockfiles
8+
Scancode supports a wide variety of package manifests, lockfiles
79
and other package datafiles containing package and dependency
810
information.
911

@@ -138,13 +140,6 @@ parsers in scancode-toolkit during documentation builds.
138140
- ``cargo_toml``
139141
- Rust
140142
- https://doc.rust-lang.org/cargo/reference/manifest.html
141-
* - Rust binary
142-
- None
143-
- ``cargo``
144-
- ``linux``, ``win``, ``mac``
145-
- ``rust_binary``
146-
- Rust
147-
- https://github.com/rust-secure-code/cargo-auditable/blob/master/PARSING.md
148143
* - Chef cookbook metadata.json
149144
- ``*/metadata.json``
150145
- ``chef``
@@ -442,7 +437,7 @@ parsers in scancode-toolkit during documentation builds.
442437
- https://guides.rubygems.org/specification-reference/
443438
* - RubyGems Bundler Gemfile
444439
- ``*/Gemfile``
445-
``*/*.gemfile``
440+
``*.gemfile``
446441
``*/Gemfile-*``
447442
- ``gem``
448443
- ``linux``, ``win``, ``mac``
@@ -505,13 +500,6 @@ parsers in scancode-toolkit during documentation builds.
505500
- ``godeps``
506501
- Go
507502
- https://github.com/tools/godep
508-
* - Go binary
509-
- None
510-
- ``golang``
511-
- ``linux``, ``win``, ``mac``
512-
- ``golang_binary``
513-
- Go
514-
- https://github.com/nexB/go-inspector/
515503
* - Haxe haxelib.json metadata file
516504
- ``*/haxelib.json``
517505
- ``haxe``
@@ -622,13 +610,6 @@ parsers in scancode-toolkit during documentation builds.
622610
- ``mozilla_xpi``
623611
- JavaScript
624612
- https://en.wikipedia.org/wiki/XPInstall
625-
* - Microsoft MSI installer
626-
- ``*.msi``
627-
- ``msi``
628-
- ``linux``
629-
- ``msi_installer``
630-
- None
631-
- https://docs.microsoft.com/en-us/windows/win32/msi/windows-installer-portal
632613
* - npm package.json
633614
- ``*/package.json``
634615
- ``npm``
@@ -812,6 +793,14 @@ parsers in scancode-toolkit during documentation builds.
812793
- ``pypi_poetry_pyproject_toml``
813794
- Python
814795
- https://packaging.python.org/en/latest/specifications/pyproject-toml/
796+
* - PEP 751 pylock.toml Python lockfile
797+
- ``*pylock.toml``
798+
``*pylock.*.toml``
799+
- ``pypi``
800+
- ``linux``, ``win``, ``mac``
801+
- ``pypi_pylock_toml``
802+
- Python
803+
- https://peps.python.org/pep-0751/
815804
* - Python pyproject.toml
816805
- ``*pyproject.toml``
817806
- ``pypi``
@@ -840,6 +829,20 @@ parsers in scancode-toolkit during documentation builds.
840829
- ``pypi_setup_py``
841830
- Python
842831
- https://docs.python.org/3.11/distutils/setupscript.html
832+
* - Python UV lockfile
833+
- ``*uv.lock``
834+
- ``pypi``
835+
- ``linux``, ``win``, ``mac``
836+
- ``pypi_uv_lock``
837+
- Python
838+
- https://docs.astral.sh/uv/concepts/projects/sync/#the-uvlock-file
839+
* - Python UV pyproject.toml
840+
- ``*pyproject.toml``
841+
- ``pypi``
842+
- ``linux``, ``win``, ``mac``
843+
- ``pypi_uv_pyproject_toml``
844+
- Python
845+
- https://docs.astral.sh/uv/concepts/projects/
843846
* - PyPI wheel
844847
- ``*.whl``
845848
- ``pypi``
@@ -876,27 +879,6 @@ parsers in scancode-toolkit during documentation builds.
876879
- ``rpm_archive``
877880
- None
878881
- https://en.wikipedia.org/wiki/RPM_Package_Manager
879-
* - RPM installed package BDB database
880-
- ``*var/lib/rpm/Packages``
881-
- ``rpm``
882-
- ``linux``
883-
- ``rpm_installed_database_bdb``
884-
- None
885-
- https://man7.org/linux/man-pages/man8/rpmdb.8.html
886-
* - RPM installed package NDB database
887-
- ``*usr/lib/sysimage/rpm/Packages.db``
888-
- ``rpm``
889-
- ``linux``
890-
- ``rpm_installed_database_ndb``
891-
- None
892-
- https://fedoraproject.org/wiki/Changes/NewRpmDBFormat
893-
* - RPM installed package SQLite database
894-
- ``*rpm/rpmdb.sqlite``
895-
- ``rpm``
896-
- ``linux``
897-
- ``rpm_installed_database_sqlite``
898-
- None
899-
- https://fedoraproject.org/wiki/Changes/Sqlite_Rpmdb
900882
* - RPM mariner distroless package manifest
901883
- ``*var/lib/rpmmanifest/container-manifest-2``
902884
- ``rpm``
@@ -970,27 +952,6 @@ parsers in scancode-toolkit during documentation builds.
970952
- ``java_war_web_xml``
971953
- Java
972954
- https://en.wikipedia.org/wiki/WAR_(file_format)
973-
* - Windows Registry Installed Program - Docker SOFTWARE
974-
- ``*/Files/Windows/System32/config/SOFTWARE``
975-
- ``windows-program``
976-
- ``linux``
977-
- ``win_reg_installed_programs_docker_file_software``
978-
- None
979-
- https://en.wikipedia.org/wiki/Windows_Registry
980-
* - Windows Registry Installed Program - Docker Software Delta
981-
- ``*/Hives/Software_Delta``
982-
- ``windows-program``
983-
- ``linux``
984-
- ``win_reg_installed_programs_docker_software_delta``
985-
- None
986-
- https://en.wikipedia.org/wiki/Windows_Registry
987-
* - Windows Registry Installed Program - Docker UtilityVM SOFTWARE
988-
- ``*/UtilityVM/Files/Windows/System32/config/SOFTWARE``
989-
- ``windows-program``
990-
- ``linux``
991-
- ``win_reg_installed_programs_docker_utility_software``
992-
- None
993-
- https://en.wikipedia.org/wiki/Windows_Registry
994955
* - Microsoft Update Manifest .mum file
995956
- ``*.mum``
996957
- ``windows-update``
@@ -1021,3 +982,4 @@ parsers in scancode-toolkit during documentation builds.
1021982
- ``windows_executable``
1022983
- None
1023984
- https://en.wikipedia.org/wiki/Portable_Executable
985+

tests/packagedcode/data/plugin/plugins_list_linux.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,13 @@ Package type: pypi
762762
description: Python poetry pyproject.toml
763763
path_patterns: '*pyproject.toml'
764764
--------------------------------------------
765+
Package type: pypi
766+
datasource_id: pypi_pylock_toml
767+
documentation URL: https://peps.python.org/pep-0751/
768+
primary language: Python
769+
description: PEP 751 pylock.toml Python lockfile
770+
path_patterns: '*pylock.toml', '*pylock.*.toml'
771+
--------------------------------------------
765772
Package type: pypi
766773
datasource_id: pypi_pyproject_toml
767774
documentation URL: https://packaging.python.org/en/latest/specifications/pyproject-toml/

0 commit comments

Comments
 (0)