{"id":28206354,"url":"https://github.com/colcon/colcon-installed-package-information","last_synced_at":"2026-02-23T00:42:16.237Z","repository":{"id":40478966,"uuid":"452878183","full_name":"colcon/colcon-installed-package-information","owner":"colcon","description":"Extensions for colcon to inspect packages which have already been installed","archived":false,"fork":false,"pushed_at":"2024-11-25T20:35:13.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-07-19T10:43:33.133Z","etag":null,"topics":["colcon"],"latest_commit_sha":null,"homepage":"http://colcon.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colcon.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-27T23:23:23.000Z","updated_at":"2024-11-25T20:35:17.000Z","dependencies_parsed_at":"2024-02-09T21:27:23.513Z","dependency_job_id":"4ff947dc-2ae6-41cf-bae3-fdb082e3ba1b","html_url":"https://github.com/colcon/colcon-installed-package-information","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/colcon/colcon-installed-package-information","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colcon%2Fcolcon-installed-package-information","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colcon%2Fcolcon-installed-package-information/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colcon%2Fcolcon-installed-package-information/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colcon%2Fcolcon-installed-package-information/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colcon","download_url":"https://codeload.github.com/colcon/colcon-installed-package-information/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colcon%2Fcolcon-installed-package-information/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267436588,"owners_count":24086898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["colcon"],"created_at":"2025-05-17T10:09:43.593Z","updated_at":"2026-02-23T00:42:16.191Z","avatar_url":"https://github.com/colcon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"colcon-installed-package-information\n====================================\n\nExtensions for `colcon-core \u003chttps://github.com/colcon/colcon-core\u003e`_ to inspect packages which have already been installed.\n\nOverview\n--------\n\nThese colcon extensions provide a mechanism which can be used for getting information about packages outside of the workspace, which have already been built and installed prior to the current operation.\nIn general, it works similarly to and is based on the `PackageDiscoveryExtensionPoint \u003chttps://colcon.readthedocs.io/en/released/developer/extension-point.html#packagediscoveryextensionpoint\u003e`_ and `PackageAugmentationExtensionPoint \u003chttps://colcon.readthedocs.io/en/released/developer/extension-point.html#packageaugmentationextensionpoint\u003e`_ extensions provided by ``colcon-core``.\n\nDifferences\n-----------\n\nInstalled packages don't generally have a single directory which stores the package content and metadata.\nThis set of extensions store the \"prefix\" under which the package resides rather than the package directory (e.g. ``~/workspace/install`` instead of ``~/workspace/install/share/\u003cpackage_name\u003e`` or ``~/workspace/src/\u003cpackage_name\u003e``), meaning many packages will likely share the same ``path`` attribute value.\n\nRecursively crawling an entire system or even selective subdirectories to look for installed packages could be very slow, so this process also deviates from the Discover -\u003e Identify -\u003e Augment pipeline used in ``colcon-core``.\nRather than attempting identification on prospective package locations, the discovery phase generally loads a list of installed packages from a database of some kind, such as the file-based colcon index.\nIn some cases, the database might already populate sufficient information on the descriptor to identify the package.\nFor others, only presence can be known, and augmentation extensions must add additional information to the descriptor by searching for specific files throughout the prefix directory.\n\nThe ``type`` attribute of an installed package works similarly to workspace packages, but must always start with ``installed.`` followed by a more specific package type.\nIf more information about a package cannot be determined and it is known only to exist under a certain prefix, the ``type`` should be set to ``installed``.\n\nSupported Package Types\n-----------------------\n\nThis package provides extensions which are able to discover packages using the ``PrefixPathExtensionPoint`` to enumerate install prefixes, and ``FindInstalledPackagesExtensionPoint`` to enumerate names of packages installed under those prefixes.\nIt can then use the colcon index in those prefixes as well as python eggs to determine dependency information and augment the packages appropriately.\n\nSupport for more package databases for discovery and augmentation can be added by other packages by implementing and registering appropriate extensions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolcon%2Fcolcon-installed-package-information","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolcon%2Fcolcon-installed-package-information","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolcon%2Fcolcon-installed-package-information/lists"}