Bug 286686 - [new port] sysutils/py-container-inspector: Analysis utilities and command line tools for Docker container images
Summary: [new port] sysutils/py-container-inspector: Analysis utilities and command li...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-09 06:55 UTC by Tuukka Pasanen
Modified: 2025-07-16 15:29 UTC (History)
2 users (show)

See Also:


Attachments
Patch to add Python container-inspector to ports (2.72 KB, patch)
2025-05-09 06:55 UTC, Tuukka Pasanen
no flags Details | Diff
Patch to add Python container-inspector to ports (2.78 KB, patch)
2025-06-13 06:41 UTC, Tuukka Pasanen
no flags Details | Diff
Patch to add Python container-inspector to ports (2.78 KB, patch)
2025-06-26 06:27 UTC, Tuukka Pasanen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tuukka Pasanen 2025-05-09 06:55:12 UTC
Created attachment 260278 [details]
Patch to add Python container-inspector to ports

container-inspector is a suite of analysis utilities and command line tools for Docker container images, their layers and how these relate to each other. It can also handle OCI images and Dockerfiles
    
Initial port version 33.0.1
Comment 1 Tuukka Pasanen 2025-06-13 06:41:23 UTC
Created attachment 261223 [details]
Patch to add Python container-inspector to ports
Comment 2 Hiroki Tagato freebsd_committer freebsd_triage 2025-06-14 09:05:29 UTC
Thanks for a new port submission.

A couple of comments:
- NOARCH should read NO_ARCH.
- Please check the port with portlint/portclppy.
Comment 3 Tuukka Pasanen 2025-06-26 06:27:33 UTC
Created attachment 261625 [details]
Patch to add Python container-inspector to ports

container-inspector is a suite of analysis utilities and command line tools for Docker container images, their layers and how these relate to each other. It can also handle OCI images and Dockerfiles

Tested with Poudriere (14.2 and 14.3) and Portclippy to be compliant
Comment 4 Tuukka Pasanen 2025-06-26 06:28:40 UTC
(In reply to Hiroki Tagato from comment #2)
Thank you for review. Fixed that and tested with Poudriere.
Comment 5 Hiroki Tagato freebsd_committer freebsd_triage 2025-06-26 13:52:20 UTC
Thanks for the updated patch.

The "install_requires" specified in setup.cfg does not match the list of RUN_DEPENDS. Maybe some dependencies are missing in RUN_DEPENDS?

At least, "make test" fails with the following error:
ModuleNotFoundError: No module named 'commoncode'
Comment 6 commit-hook freebsd_committer freebsd_triage 2025-07-16 15:28:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18f9efa45317517521289196e7bdc0a9b9b16d1a

commit 18f9efa45317517521289196e7bdc0a9b9b16d1a
Author:     Tuukka Pasanen <tuukka.pasanen@ilmi.fi>
AuthorDate: 2025-05-06 16:15:19 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-07-16 14:53:24 +0000

    sysutils/py-container-inspector: New port

    container-inspector is a suite of analysis utilities and
    command line tools for Docker container images, their layers
    and how these relate to each other. It can also handle OCI
    images and Dockerfiles

    WWW: https://github.com/aboutcode-org/container-inspector
    PR:             286686
    Sponsored by:   The FreeBSD Foundation

 sysutils/Makefile                               |  1 +
 sysutils/py-container-inspector/Makefile (new)  | 29 +++++++++++++++++++++++++
 sysutils/py-container-inspector/distinfo (new)  |  3 +++
 sysutils/py-container-inspector/pkg-descr (new) |  5 +++++
 4 files changed, 38 insertions(+)
Comment 7 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2025-07-16 15:29:20 UTC
Committed with changes.